/* Feature pages. Loaded after home.css, which holds the colours, type,
   navigation, buttons, screenshots and the download section. This file adds
   only what the homepage does not have. */

.nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }

/* ---------- Opening ---------- */
.feature .opening h1 {
  font-size: clamp(56px, 6.1vw, 88px);
  max-width: 760px;
}
.feature .opening-side { flex-basis: 440px; }
.lead { font-size: 21px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions .btn { white-space: nowrap; }

/* ---------- Marks placed per page ----------
   Each mark carries --x/--y for the desktop screenshot and, when the phone
   screenshot differs, --mx/--my for that one. */
.feature .mark { left: var(--x); top: var(--y); }

/* ---------- Heading on the left, content on the right ---------- */
.split {
  display: flex;
  gap: 72px;
  padding: 0 var(--edge) 150px;
}
.split > h2 { flex: 0 0 400px; font-size: 60px; line-height: 0.97; }
.split-body { flex: 1; min-width: 0; padding-top: 10px; }
.split-body > p, .steps { max-width: 680px; }
.split-body > p + .steps { margin-top: 22px; }

.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { display: flex; gap: 14px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  flex: 0 0 18px;
  font-weight: 600;
  color: var(--ink);
}

.rows { margin: 0; }
.rows > div {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.rows > div:first-child { padding-top: 0; }
.rows dt {
  flex: 0 0 300px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  color: var(--ink);
}
.rows dd { margin: 0; }
.rows.last-open > div:last-child { border-bottom: 0; }

.more { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 24px; font-weight: 400; font-size: 16px; }
.more a { color: var(--sage); }

@media (max-width: 1180px) {
  .feature .opening-side { flex-basis: 380px; }
  .split { gap: 48px; }
  .split > h2 { flex-basis: 280px; font-size: 48px; }
  .rows dt { flex-basis: 220px; font-size: 28px; }
}

@media (max-width: 760px) {
  .feature .opening h1 { font-size: clamp(46px, 14vw, 58px); line-height: 0.87; }
  .feature .opening-side { flex: none; }
  .lead { font-size: 17px; line-height: 1.65; }
  .actions .btn.ghost { display: none; }
  .feature .mark { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .feature .reader .shot.flat { border-radius: 12px; }

  .split { flex-direction: column; gap: 16px; padding-bottom: 72px; }
  .split > h2 { flex: none; font-size: 44px; line-height: 0.96; }
  .split-body { padding-top: 0; }
  .split-body > p + .steps { margin-top: 16px; }
  .steps { gap: 6px; }
  .steps li { gap: 12px; }

  .rows > div { flex-direction: column; gap: 4px; padding: 16px 0; }
  .rows dt { flex: none; font-size: 28px; }
  .more { flex-direction: column; padding-top: 20px; }
}
