/* Angler — 70 "Getting started, honestly" + 80 FAQ.
   Both sections live here; 70-* and faq-* prefixes keep them apart. */

/* ============================================================
   70 — Getting started, honestly
   ============================================================ */

.start { background: var(--vellum-2); }

.start-head { max-width: 60ch; }
.start-head .h2 { margin-top: 18px; }
.start-head .lead { margin-top: 16px; }

/* ---------- the four steps: horizontal rail wide, vertical rail narrow ---------- */

.start-steps {
  list-style: none;
  margin-top: clamp(46px, 5.5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
}

.start-step__mark { display: flex; align-items: center; gap: 14px; }
/* the rail: reaches across the column gap so it lands on the next number */
.start-step__mark::after {
  content: ""; flex: 1; height: 1px; margin-right: -28px; background: var(--line);
}
.start-step:last-child .start-step__mark::after { display: none; }

.start-step__num {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--sh-selected);
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  color: var(--lake);
}

.start-step__title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ink);
}
.start-step__text {
  margin-top: 9px;
  font-size: 15px; line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

@media (max-width: 900px) {
  .start-steps { grid-template-columns: 1fr; }
  .start-step {
    position: relative;
    display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 18px;
    padding-bottom: 30px;
  }
  .start-step:last-child { padding-bottom: 0; }
  .start-step__mark::after { display: none; }
  .start-step:not(:last-child)::before {
    content: ""; position: absolute; left: 14.5px; top: 38px; bottom: 6px;
    width: 1px; background: var(--line);
  }
  .start-step__title { margin-top: 3px; }
  .start-step__text { max-width: 46ch; }
}

/* ---------- what this costs you ---------- */

.start-cost { margin-top: clamp(48px, 6vw, 78px); }

.start-cost__label {
  font-family: var(--mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

.start-cost__list {
  list-style: none;
  margin-top: 14px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.start-cost__list > li {
  padding: clamp(20px, 2.4vw, 26px) clamp(20px, 2.4vw, 28px);
  border-left: 1px solid var(--line-soft);
}
.start-cost__list > li:first-child { border-left: 0; }

.start-cost__val {
  display: block;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  line-height: 1.05; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--lake);
}
.start-cost__key {
  display: block; margin-top: 11px;
  font-family: var(--mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 700px) {
  .start-cost__list { grid-template-columns: 1fr; }
  .start-cost__list > li { border-left: 0; border-top: 1px solid var(--line-soft); }
  .start-cost__list > li:first-child { border-top: 0; }
}

/* ---------- the post-install fact: it lives in the notch ---------- */

.start-fact {
  margin-top: clamp(48px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.6vw, 46px);
  background: var(--lake-deep);
  border-radius: var(--r-large);
  box-shadow: var(--sh-float);
}

.start-fact__label {
  font-family: var(--mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--presence-bright);
}
.start-fact__title {
  margin-top: 14px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.16; letter-spacing: -0.02em;
  color: var(--vellum);
}
.start-fact__text {
  margin-top: 15px;
  font-size: 15.5px; line-height: 1.62;
  color: var(--line);
  max-width: 44ch;
}

/* keycap */
.start-kbd, .faq-kbd {
  font-family: var(--mono); font-weight: 500; font-size: 0.84em;
  padding: 2px 6px; border-radius: var(--r-card);
  background: var(--parchment); border: 1px solid var(--line); color: var(--ink);
  white-space: nowrap;
}
.start-fact .start-kbd {
  background: var(--notch-field); border-color: var(--notch-border); color: var(--notch-text);
}

/* the mock: menu-bar edge, notch, presence cue, two abstract windows behind.
   --r-screen (the system's one non-6px radius) because this is the one object on the
   page that depicts a physical display; --sh-float is the shadow every mock carries. */
.start-mock-screen {
  position: relative;
  height: clamp(136px, 16vw, 172px);
  border-radius: var(--r-screen);
  background: linear-gradient(163deg, var(--lake) 0%, var(--lake-dark) 62%, var(--lake-deep) 100%);
  border: 1px solid var(--notch-border);
  box-shadow: var(--sh-float);
  overflow: hidden;
}
.start-mock-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: var(--pill);
}
.start-mock-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(50%, 168px); height: 34px;
  background: var(--pill);
  border-radius: 0 0 var(--r-card) var(--r-card);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 7px;
}
.start-mock-cue {
  width: 5px; height: 5px; border-radius: var(--r-pill);
  background: var(--presence-glow);
  box-shadow: 0 0 12px 3px color-mix(in srgb, var(--presence-glow) 42%, transparent);
  animation: start-cue 3.4s var(--ease-nav) infinite;
}
/* the one sanctioned idle motion in the system: the notch presence cue */
@keyframes start-cue { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.start-mock-win {
  position: absolute;
  border-radius: var(--r-card);
  background: var(--notch-surface);
  border: 1px solid var(--notch-hairline);
}
/* The same coloured traffic lights the #agents terminal uses — flat rather than
   two-tone, because at 4px a radial gradient is one colour anyway. One element,
   two box-shadow copies: it is the cheapest thing that makes these two rectangles
   read as windows instead of empty slabs. */
.start-mock-win::before {
  content: "";
  position: absolute;
  top: 6px; left: 7px;
  width: 4px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  box-shadow: 7px 0 0 var(--dawn), 14px 0 0 var(--moss);
}
.start-mock-win--a { left: 11%; top: 46%; width: 35%; height: 44%; }
.start-mock-win--b { right: 9%;  top: 58%; width: 41%; height: 36%; }

@media (max-width: 860px) {
  .start-fact { grid-template-columns: 1fr; align-items: start; }
  .start-fact__text { max-width: none; }
}

/* ---------- the privacy split ---------- */

.start-privacy {
  margin-top: clamp(46px, 5.5vw, 74px);
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-panel);
  box-shadow: var(--sh-panel);
}
.start-privacy__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.14rem, 1.7vw, 1.4rem);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink);
}
.start-privacy__split {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.start-privacy__col:first-child { padding-right: clamp(24px, 3vw, 40px); }
.start-privacy__col:last-child {
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line-soft);
}
.start-privacy__key {
  font-family: var(--mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dawn-deep);
}
.start-privacy__text {
  margin-top: 11px;
  font-size: 15px; line-height: 1.62;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .start-privacy__split { grid-template-columns: 1fr; }
  .start-privacy__col:first-child { padding-right: 0; padding-bottom: 24px; }
  .start-privacy__col:last-child {
    padding-left: 0; padding-top: 24px;
    border-left: 0; border-top: 1px solid var(--line-soft);
  }
}

/* ---------- requirements ---------- */

.start-req {
  margin-top: clamp(38px, 4.4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 16px;
  font-family: var(--mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}
/* renders as a text glyph, not a rule — --faint is hairlines-only */
.start-req__dot { color: var(--muted); }

/* ============================================================
   80 — FAQ
   ============================================================ */

.faq { background: var(--vellum); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-aside { position: sticky; top: 108px; }
.faq-aside .h2 { margin-top: 18px; }
.faq-aside .small { margin-top: 14px; max-width: 34ch; }

/* The sticky aside measured 320x192 against a 482px list, so the whole lower-left
   quadrant of the section was empty and #faq offered no next step at all. This is the
   floor of that column. */
.faq-contact {
  margin-top: 26px;
  padding: 16px 18px 6px;
  max-width: 34ch;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
}
.faq-contact__line { font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
/* 12px, not 13: at 13 the 37-character URL measured 289px inside a 282px box and broke
   onto a second line. 18.6px line box + 26px padding = 44.6px, so the row is the tap
   target, not the glyphs. */
.faq-contact__link {
  display: inline-block;
  padding-block: 13px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--lake);
  transition: color 0.15s var(--ease-nav);
}
.faq-contact__link:hover {
  color: var(--lake-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.faq-list { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: 22px 2px; text-align: left;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.15s var(--ease-nav);
}
.faq-q:hover { color: var(--lake); }
.faq-q[aria-expanded="true"] { color: var(--lake); }

/* the glyph: two 1.5px bars in a 14px box. The plus turns into a cross on open. */
.faq-glyph {
  position: relative; flex: none;
  width: 14px; height: 14px;
  color: var(--faint);
  transition: transform 0.28s var(--ease-house), color 0.15s var(--ease-nav);
}
.faq-glyph::before,
.faq-glyph::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: currentColor;
}
.faq-glyph::before { width: 14px; height: 1.5px; }
.faq-glyph::after  { width: 1.5px; height: 14px; }

.faq-q:hover .faq-glyph { color: var(--lake); }
.faq-q[aria-expanded="true"] .faq-glyph { transform: rotate(45deg); color: var(--lake); }

/* panel height: 0fr -> 1fr, no measuring, no jank */
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-house);
}
.faq-head:has(> .faq-q[aria-expanded="true"]) + .faq-a { grid-template-rows: 1fr; }

.faq-a__inner {
  overflow: hidden;
  visibility: hidden;                       /* keeps collapsed copy out of the a11y tree */
  transition: visibility 0s linear 0.32s;
}
.faq-head:has(> .faq-q[aria-expanded="true"]) + .faq-a > .faq-a__inner {
  visibility: visible; transition-delay: 0s;
}

.faq-a p {
  padding: 0 clamp(0px, 5vw, 56px) 24px 2px;
  font-size: 15.5px; line-height: 1.64;
  color: var(--muted);
  max-width: 64ch;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}
