/* Polyment landing v2, Step 6: the other pages in the campaign voice.
   The founding list (waitlist-success.html), the investors page (investors.html) and the two
   link-preview images. Loaded after home-v2.css; reuses its sheet, sections, band, buttons,
   footer and form rules. Directional spacing is logical, so the Arabic mirror is a translation. */

/* ---------- the founding list (waitlist-success) ------------------------------- */
.sec--done {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); column-gap: clamp(36px, 4.5vw, 64px);
  align-items: end; padding-top: clamp(44px, 6vw, 96px); padding-bottom: clamp(56px, 6.5vw, 96px);
}
.sec--done .sec-main { grid-column: 1; }
/* Heading caps in em (S5): 9.023em = 15ch and 7.218em = 12ch of Fraunces 500 at opsz 144, 9.195em = 15ch
   at 600, so the metric-matched fallback face (css/site.css) breaks the lines where Fraunces will. */
.sec--done h1 { max-width: 9.023em; margin: 0; font-size: var(--fs-display); line-height: 1.04; font-variation-settings: "opsz" 144; }
.sec--done .lead { margin-top: 16px; }

/* The one motion moment: a single roundel inks in over its pencil sketch, once, in verdigris
   (joining is progress, not something earned, so no gold). Reduced motion shows it inked. */
.done-roundel { display: block; width: 88px; height: 88px; margin-bottom: 26px; overflow: visible; }
.done-roundel .dr-pencil { fill: none; stroke: var(--graphite-soft); stroke-width: 1.5; stroke-dasharray: 3 5; }
.done-roundel .dr-wash { fill: var(--verdigris-wash); }
.done-roundel .dr-ring { fill: none; stroke: var(--verdigris); stroke-width: 3; stroke-dasharray: 1; transform: rotate(-90deg); transform-origin: 48px 48px; }
.done-roundel .dr-tick { fill: none; stroke: var(--verdigris-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
@keyframes dr-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dr-fade { from { opacity: 0; } to { opacity: 1; } }
.done-roundel .dr-ring { animation: dr-draw .9s cubic-bezier(.45, 0, .25, 1) .25s both; }
.done-roundel .dr-wash { animation: dr-fade .45s ease 1s both; }
.done-roundel .dr-tick { animation: dr-draw .45s ease-out 1.15s both; }
@media (prefers-reduced-motion: reduce) { .done-roundel * { animation: none !important; } }

.next-steps { list-style: none; counter-reset: nx; display: grid; gap: 18px; max-width: 54ch; margin: 30px 0 0; padding: 0; }
.next-steps > li { counter-increment: nx; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
.next-steps > li::before { content: counter(nx, upper-roman) "."; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; line-height: 1.5; color: var(--navy); }
.next-steps p { font-size: 1.125rem; line-height: 1.6; }
.next-steps strong { color: var(--navy); }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 32px; }
.done-actions .btn svg { width: 20px; height: 20px; }
.done-gloss { grid-column: 2; align-self: center; margin: 0; }

.sec--share { background: var(--line-soft); }
.share-body { max-width: 52ch; font-size: 1.125rem; line-height: 1.6; text-wrap: balance; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 24px; }
.share-copy { min-width: 136px; }
.share-copy svg { width: 18px; height: 18px; }
.share-copy .when-copied { display: none; align-items: center; gap: 6px; }
.share-copy.is-copied, .share-copy.is-copied:hover { background: var(--verdigris-wash); border-color: var(--verdigris); color: var(--verdigris-ink); }
.share-copy.is-copied .when-idle { display: none; }
.share-copy.is-copied .when-copied { display: inline-flex; }

@media (max-width: 980px) {
  .sec--done { grid-template-columns: minmax(0, 1fr); }
  .done-gloss { grid-column: 1; margin-top: 30px; }
}
@media (max-width: 640px) {
  .done-roundel { width: 72px; height: 72px; margin-bottom: 20px; }
  .done-actions .btn { width: 100%; }
  .share-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-row .btn { width: 100%; min-width: 0; padding: 0 12px; }
}
@media (max-width: 359px) { .share-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- how it works, in the campaign voice (Step 7) ----------------------------- */
/* Four numbered steps that mirror the home page's four parts, in the order a learner meets them.
   Each: the step, the old part in pencil and crossed out, the hook inked large as the heading, a
   sentence or two, and a visual taken from the home page (the noticeboard drawing, the plate
   posters): alternating sides on desktop, stacked on phones. Every section keeps its own paper
   tone; the science band is the page's one navy ground. Leo appears once. Nothing moves by itself. */
.hw-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); column-gap: clamp(36px, 4.5vw, 64px); align-items: end;
  padding-top: clamp(48px, 6.5vw, 104px); padding-bottom: clamp(48px, 6vw, 88px);
}
.hw-intro .sec-main { grid-column: 1; }
.hw-intro h1 { max-width: 7.218em; margin: 0; font-size: clamp(2.875rem, .1rem + 6.46vw, 6rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.hw-lead { max-width: 40ch; margin-top: 22px; }
.hw-gloss { grid-column: 2; margin: 0 0 8px; }

.hw-steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.hw-step {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-block: clamp(56px, 7vw, 108px);
}
.hw-step:nth-child(odd) { background: var(--cream-surface); }
.hw-step:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--line-soft); }
.hw-step:nth-child(even) .hw-visual { order: -1; }
.hw-text { min-width: 0; }
.hw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 16px; }
.hw-roman {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--graphite); border-radius: 50%;
  background: var(--cream); font-family: var(--font-serif); font-weight: 600; font-size: 17px; line-height: 1; color: var(--navy);
}
.hw-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.4375rem; line-height: 1.2; color: var(--navy); }
.hw-head .part-old { margin: 0; margin-inline-start: 10px; font-size: clamp(1.25rem, .9125rem + .62vw, 1.5rem); }
.hw-step h2 { max-width: 9.195em; margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(1.875rem, .3875rem + 2.87vw, 3rem); line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "opsz" 144; }
.hw-body { max-width: 44ch; font-size: var(--fs-body-lead); line-height: 1.6; }
.hw-note { max-width: 44ch; margin-top: 14px; font-size: 1rem; line-height: 1.55; }
.hw-note .pill { margin-inline-end: 6px; vertical-align: 1px; }
.hw-visual { min-width: 0; }
.hw-art { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; }
.hw-plate .vplate-cap { margin-top: 12px; }
.hw-plate .vplate-cap h3 { font-size: 1.1875rem; }
.hw-plate .vplate-head { align-items: center; }

.hw-why { grid-template-columns: minmax(0, 1fr); }
.hw-why .rubric { margin-bottom: 18px; }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 36px; margin: 0; padding: 0; }
.why-list li { padding-top: 16px; border-top: 1px solid rgba(244, 236, 218, .22); }
.why-list p { max-width: 34ch; font-size: 1.09375rem; line-height: 1.55; color: var(--on-navy-soft); }
.why-list strong { font-weight: 700; color: var(--on-navy); }
.hw-why .band-note { margin-top: 22px; }

.hw-final { grid-template-columns: minmax(0, 1fr); }
.hw-final .sec-main { width: 100%; max-width: 760px; margin-inline: auto; }
.hw-final .register .lead { max-width: 44ch; margin-top: 10px; }

@media (max-width: 860px) {
  .hw-intro { grid-template-columns: minmax(0, 1fr); }
  .hw-gloss { grid-column: 1; margin: 26px 0 0; }
  .hw-step, .hw-step:nth-child(even) { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .hw-step:nth-child(even) .hw-visual { order: 0; }
  .hw-art { max-width: 420px; }
}
@media (max-width: 760px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 640px) {
  .hw-intro { padding-top: 32px; padding-bottom: 36px; }
  .hw-lead { margin-top: 14px; }
  .hw-gloss { margin-top: 20px; }
  .hw-step { padding-block: 34px 38px; row-gap: 20px; }
  .hw-head { gap: 6px 12px; margin-bottom: 10px; }
  .hw-head .part-old { margin-inline-start: 4px; font-size: 1.25rem; }
  .hw-roman { width: 40px; height: 40px; font-size: 15px; }
  .hw-name { font-size: 1.25rem; }
  .hw-step h2 { margin-bottom: 12px; font-size: 1.75rem; }
  .hw-body { font-size: 1.03125rem; line-height: 1.55; }
  .hw-art { max-width: 300px; }
  .hw-plate .vplate-cap { margin-top: 8px; }
  .hw-plate .vplate-cap h3 { font-size: 1.0625rem; }
  .hw-why .rubric { margin-bottom: 12px; }
  .why-list { gap: 10px; }
  .why-list li { padding-top: 10px; }
  .why-list p { font-size: 1.03125rem; }
  .hw-why .band-note { margin-top: 16px; }
  .hw-final { padding-block: 40px 44px; }
  .hw-final .register { margin-inline: 0; padding: 0; background: none; border: 0; }   /* no panel here: no bleed either */
}

/* ---------- fields, in the campaign voice (Step 8) ----------------------------------- */
/* Three tones, like the home page: the hero on the sheet's cream, the three fields on parchment
   as the centerpiece, the ask on deep peach. Leo appears once. Quantum is inked in verdigris;
   AI and Robotics stay in pencil because they are not open yet. Nothing moves by itself. */
.fd-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); column-gap: clamp(36px, 4.5vw, 64px); align-items: end;
  padding-top: clamp(48px, 6.5vw, 104px); padding-bottom: clamp(44px, 5.5vw, 80px);
}
.fd-intro .sec-main { grid-column: 1; }
.fd-intro h1 { max-width: 9.023em; margin: 0; font-size: clamp(2.375rem, .1rem + 5.26vw, 4.875rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; font-variation-settings: "opsz" 144; }
.fd-lead { max-width: 44ch; margin-top: 22px; }
.fd-gloss { grid-column: 2; margin: 0 0 8px; }

.fd-fields { background: var(--line-soft); padding-block: clamp(56px, 7vw, 104px); }
.fd-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; }
.fd-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(24px, 2.4vw, 34px);
  background: var(--cream-surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-soft);
}
.fd-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.fd-card h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.625rem, .5375rem + 1.67vw, 2.125rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; font-variation-settings: "opsz" 144; }
.fd-line { max-width: 32ch; font-size: clamp(1.0625rem, 1.0375rem + .11vw, 1.15625rem); line-height: 1.55; color: var(--ink); }
.fd-save { margin-top: auto; align-self: flex-start; }
.fd-card .pill { flex: none; margin-top: 6px; }
.fd-roundel { flex: none; width: 88px; height: 88px; }
.fd-roundel .rf { fill: var(--cream); stroke-width: 1.75; }
.fd-roundel .m { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fd-roundel .nd { fill: var(--cream-surface); }
.is-open .fd-roundel .rf { stroke: var(--verdigris); }
.is-open .fd-roundel .m { stroke: var(--verdigris); stroke-width: 2.25; }
.is-open .fd-roundel .m.thin { stroke-width: 1.25; }
.is-open .fd-roundel .dot { fill: var(--verdigris-ink); }
.is-next .fd-roundel .rf { stroke: var(--graphite-soft); stroke-width: 1.5; stroke-dasharray: 3 4; }
.is-next .fd-roundel .m { stroke: var(--graphite); stroke-width: 1.5; }
.is-next .fd-roundel .nd { stroke: var(--graphite); stroke-width: 1.5; }

.fd-ask { grid-template-columns: minmax(0, 1fr); }
.fd-ask .sec-main { width: 100%; max-width: 760px; margin-inline: auto; }
.fd-ask .register .lead { max-width: 44ch; margin-top: 10px; }

@media (max-width: 900px) {
  .fd-intro { grid-template-columns: minmax(0, 1fr); }
  .fd-gloss { grid-column: 1; margin: 24px 0 0; }
  .fd-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 640px) {
  .fd-intro { padding-top: 28px; padding-bottom: 32px; }
  .fd-lead { margin-top: 14px; }
  .fd-gloss { margin-top: 18px; }
  .fd-fields { padding-block: 32px 36px; }
  .fd-cards { gap: 14px; }
  .fd-card { gap: 12px; padding: 20px 20px 22px; }
  .fd-roundel { width: 64px; height: 64px; }
  .fd-card h3 { font-size: 1.625rem; }
  .fd-line { font-size: 1.03125rem; }
}
