/* MagpieFeed homepage, visual redesign v5 (remote.com-inspired layout patterns, MagpieFeed's own identity).
   Loaded by templates/web/landing.html after ui.css and the page's own small <style>.
   Geist only (800 headlines, tight tracking). Colours are tokens (static/css/tokens.css): ink + brand blue,
   coral --accent, blue-to-violet --grad, cool-grey bands (--bg-warm on html.v3). The shared kit
   (.section, .section-head, .stats, .band-grad, .badge ...) lives in static/css/ui.css under html.v3.
   Motion is opt-in: floating hero blobs and everything that moves sit under
   prefers-reduced-motion: no-preference and html.lj (set by the page, confirmed by static/js/landing.js),
   so no script or reduced motion shows the finished, static page.
   Contrast (WCAG AA, measured): --accent-text #c4292f on white 5.7:1 and on --cool 5.0:1 (dark: #ff8d91 on
   #0f1217 8.0:1) · white on --grad-a 7.0:1, on --grad-b 6.2:1 · --on-grad-soft (88% white) on --grad-b 5.0:1 ·
   ink #12151b on white button 18.4:1. */

.home {
  --lift: 0 22px 50px -26px rgba(33, 44, 84, .45), 0 2px 6px rgba(33, 44, 84, .06);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hi: transparent;
  --glass: var(--paper);
  overflow-x: clip;
}
@media screen and (prefers-color-scheme: dark) {
  .home { --lift: 0 22px 50px -24px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .35); }
}
html:has(body.home) { scroll-padding-top: 84px; }
.home h2, .home h3, .home h4 { margin: 0; }
.home .section { padding-block: clamp(64px, 9vw, 112px); }
.home .display-2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.04; }

/* ----------------------------------------------------------------- section heads and the "more" expander */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto clamp(32px, 4.5vw, 56px); max-width: 48rem; text-align: center; }
.sec-head p { margin: 0; color: var(--muted); font-size: .9375rem; }
.sec-head .display-2 { text-wrap: balance; }

.more { margin: clamp(24px, 3vw, 40px) auto 0; max-width: 44rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.more > summary {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; cursor: pointer; list-style: none;
  font-size: .9375rem; font-weight: 650; color: var(--ink); border-radius: 18px; position: relative;
  transition: background-color .18s var(--ease);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "\ea13"; font-family: "remixicon"; font-size: 1.25rem; font-weight: 400; margin-left: auto; color: var(--muted); }
.more[open] > summary::after { content: "\f1af"; }
.more > summary > i { color: var(--blue); font-size: 1.25rem; }
.more > summary:hover { background: var(--bg-warm); }
.more-body { padding: 4px 20px 22px; display: flex; flex-direction: column; gap: 14px; font-size: .9375rem; line-height: 1.55; color: var(--text); }
.more-body p { margin: 0; }
.more-body h3, .more-body h4 { color: var(--ink); font-weight: 650; line-height: 1.3; }
.more-body h3 { font-size: 1.25rem; }
.more-body h4 { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .more[open] > .more-body { animation: more-in .22s var(--ease); }
  @keyframes more-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------------ scroll reveal (script-gated; used once per section group) */
@media (prefers-reduced-motion: no-preference) {
  html.lj .reveal { opacity: 0; transform: translateY(10px); transition: opacity .35s ease-out, transform .35s ease-out; transition-delay: calc(var(--i, 0) * 40ms); }
  html.lj .reveal.in { opacity: 1; transform: none; }
}

/* ======================================================================= hero */
.home .hero { position: relative; isolation: isolate; overflow: clip; background: var(--canvas); padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 8vw, 112px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(34% 40% at 74% 78%, var(--blob-c), transparent 70%); }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; will-change: transform; }
.hero-bg::before { width: 52rem; height: 52rem; right: -14rem; top: -22rem; background: radial-gradient(circle at 50% 50%, var(--blob-a), transparent 66%); }
.hero-bg::after { width: 44rem; height: 44rem; left: -18rem; bottom: -24rem; background: radial-gradient(circle at 50% 50%, var(--blob-b), transparent 66%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg::before { animation: blob-a 16s ease-in-out infinite alternate; }
  .hero-bg::after { animation: blob-b 20s ease-in-out infinite alternate; }
  @keyframes blob-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-5rem, 4rem, 0) scale(1.12); } }
  @keyframes blob-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(6rem, -3rem, 0) scale(.92); } }
}
.home .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 64rem) { .home .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 4vw, 72px); } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.hero-copy .eyebrow, .hero-copy .lede { margin: 0; }
.home .hero .display-1 { font-size: clamp(2.625rem, 1rem + 4.9vw, 4.5rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.home .hero .lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 30em; }

/* the URL form: one field, one blue pill button (also used by the final band) */
.home .hero-form, .home .final-form { width: 100%; max-width: 34rem; margin: 0; gap: 8px; }
.home :is(.hero-form, .final-form) input {
  min-height: 56px; font-size: 1.0625rem; border-radius: 999px; padding-inline: 22px;
  background: var(--paper); border: 1.5px solid var(--field-line); color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.home :is(.hero-form, .final-form) input:focus { border-color: var(--blue); }
.home :is(.hero-form, .final-form) .btn { min-height: 56px; padding: .8rem 1.6rem; font-size: 1rem; border-radius: 999px; }
.home :is(.hero-form, .final-form) .field-error { padding-inline: 8px; }
@media (min-width: 30.0625rem) {
  .home .hero-form {
    flex-wrap: nowrap; padding: 5px; gap: 6px; background: var(--paper); border: 1.5px solid var(--field-line); border-radius: 999px;
    box-shadow: 0 18px 40px -24px rgba(33, 44, 84, .45); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  }
  .home .hero-form:focus-within { border-color: var(--blue); box-shadow: var(--ring), 0 18px 40px -24px rgba(33, 44, 84, .45); }
  .home .hero-form input { border-color: transparent; background: transparent; min-width: 0; min-height: 52px; padding-left: 20px; }
  .home .hero-form input:focus { border-color: transparent; box-shadow: none; }
  .home .hero-form .btn { flex: 0 0 auto; min-height: 52px; }
  .home .hero-form > .field-error { flex: 1 1 100%; }
  .home .hero-form:has(> .field-error:not([hidden])) { flex-wrap: wrap; }
}
@media (max-width: 30rem) { .url-row > .btn { flex: 1 1 100%; } }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--text); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust i { color: var(--blue); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.hero-actions .btn {
  gap: 8px; min-height: 44px; padding: .4rem .1rem; border: 0; border-radius: 6px; background: none; color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color .18s var(--ease);
}
.hero-actions .btn:hover { color: var(--ink); text-decoration-color: var(--ink); background: none; }
.hero-actions .btn i { font-size: 1.1rem; }

/* the stage: the framed product window (composer recording) plus the animated mock feed */
.hero-stage { position: relative; display: flex; flex-direction: column; gap: 20px; min-width: 0; width: 100%; }
.hero-media { display: flex; flex-direction: column; gap: 10px; min-width: 0; order: 2; }
.mock-wrap { order: 1; position: relative; width: min(100%, 27rem); margin-inline: auto; }
.home .landing-demo { border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 0 0 8px color-mix(in srgb, var(--paper) 55%, transparent), var(--shadow-lg); }
.home .landing-demo-toggle { right: 14px; bottom: 14px; border: 1px solid var(--on-band-line); }
.landing-demo-cap { margin: 0; font-size: .8125rem; color: var(--muted); }
.demo-alt { margin: 0; font-size: .8125rem; color: var(--muted); }
.demo-alt a { color: var(--ink); text-underline-offset: 3px; }
.demo-alt a:hover { text-decoration-thickness: 2px; }
.home .hero-media .landing-demo-cap, .home .hero-media .demo-alt { text-align: center; }
@media (min-width: 64rem) {
  .hero-stage { display: block; padding-bottom: 104px; }
  .mock-wrap { position: absolute; z-index: 3; left: -44px; bottom: 0; width: 288px; margin: 0; }
  .home .hero-media .landing-demo-cap, .home .hero-media .demo-alt { padding-left: 262px; text-align: left; }
  .hero-media .landing-demo-cap { padding-top: 14px; }
}
@media (min-width: 64rem) and (max-width: 75rem) { .mock-wrap { left: -24px; width: 264px; } .home .hero-media .landing-demo-cap, .home .hero-media .demo-alt { padding-left: 244px; } }

/* the mock: an address, then cards that wait for approval */
.mock {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mock-top { display: flex; align-items: center; gap: 10px; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--field-line); }
.mock-url { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--bg-sunk); color: var(--ink); font-family: var(--mono); font-size: .75rem; }
.mock-url i { color: var(--muted); font-size: .9rem; }
.mock-type { display: inline-block; overflow: hidden; white-space: nowrap; }
.mock-read { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.mock-read span { display: block; height: 100%; background: var(--grad); transform-origin: left; }
.mock-feed { display: flex; flex-direction: column; gap: 8px; }
.mc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mc-ph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; color: #fff; font-size: 1.35rem; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.mc-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mc-chip { align-self: flex-start; padding: 1px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 700; background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line); }
.mc-l { display: block; height: 6px; border-radius: 3px; background: var(--bg-sunk); }
.mc-l.s { width: 60%; }
.mc-time { display: inline-flex; align-items: center; gap: 4px; font-size: .6875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mc-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok); font-size: .95rem; }
.mock-replay {
  position: absolute; z-index: 4; right: 10px; bottom: -22px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.15rem; cursor: pointer; box-shadow: var(--shadow-lg);
}
.mock-replay:hover { color: var(--blue); }
.mock-replay[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  html.lj .mock-type { clip-path: inset(0 100% 0 0); }
  html.lj .mock.is-live .mock-type { animation: m-type 1.2s steps(15, end) .3s both; }
  @keyframes m-type { to { clip-path: inset(0 0 0 0); } }
  html.lj .mock-read span { transform: scaleX(0); }
  html.lj .mock.is-live .mock-read span { animation: m-read 1s ease-in-out 1.3s both; }
  @keyframes m-read { to { transform: scaleX(1); } }
  html.lj .mc { opacity: 0; transform: translateY(18px) scale(.97); }
  html.lj .mock.is-live .mc { animation: m-in .6s var(--ease) var(--d) both; }
  @keyframes m-in { to { opacity: 1; transform: none; } }
  html.lj .mc-ok { opacity: 0; transform: scale(.3); }
  html.lj .mock.is-live .mc-ok { animation: m-pop .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d) + .7s) both; }
  @keyframes m-pop { to { opacity: 1; transform: none; } }
}

/* ================================================================= networks strip */
.home .strip { background: var(--canvas); padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); }
.home .strip .wrap { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.home .strip h2 { font-size: 1rem; font-weight: 650; letter-spacing: -.01em; color: var(--muted); text-align: center; }
.nets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
@media (max-width: 33.99rem) { .nets .landing-net { padding: 14px 6px 12px; } .landing-net-name { font-size: .8125rem; } }
@media (min-width: 52rem) { .nets { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.nets > ul { display: contents; }
.nets .landing-net {
  order: 0; position: relative; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 20px 10px 16px; min-height: 0; text-align: center;
  border-radius: 20px; box-shadow: none; background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.nets .landing-net:hover { border-color: var(--blue-line); box-shadow: var(--lift); }
.nets .landing-net.is-soon { order: 2; border-style: dashed; background: transparent; }
.nets .landing-net.is-review { order: 1; }
.nets .landing-net.is-soon:hover { border-color: var(--line); box-shadow: none; }
.landing-net-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-warm); }
.landing-net:not(.is-soon)::before { content: ""; position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.landing-net-text { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; max-width: 100%; }
.landing-net-name { display: block; max-width: 100%; font-size: .9375rem; font-weight: 650; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.net-plan { display: block; max-width: 100%; font-size: .75rem; font-weight: 500; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.landing-soon { margin-top: 2px; padding: 2px 9px; border-radius: 999px; background: var(--bg-sunk); font-size: .6875rem; font-weight: 650; color: var(--muted); }
.nets .landing-net.is-soon .net-plan { display: none; }
.strip-more { margin-top: 2px; width: min(100%, 36rem); }
.strip-more .strip-else, .strip-more .landing-marks-note { font-size: .875rem; }
.landing-marks-note { color: var(--muted); font-size: .75rem; }

/* ====================================================================== stats */
.stats-sec { padding: clamp(40px, 6vw, 80px) 0; background: var(--bg-warm); }

/* ============================================================== how it works: the flow pieces (also in the rail) */
.steps-sec { padding-top: clamp(64px, 9vw, 112px); }
.steps-more { margin-top: clamp(28px, 4vw, 48px); }
.steps { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; }
.steps .step-n { grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.steps p { margin: 0; }
.steps-note { padding-top: 14px; border-top: 1px solid var(--line); }
.steps-note b { color: var(--ink); font-weight: 600; }
.fi-url { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--bg-sunk); border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-size: .75rem; }
.fi-url > i { color: var(--blue); font-size: 1rem; }
.fi-url b { font-weight: 500; flex: 1 1 auto; text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fill-ink); color: var(--on-fill-ink); }
.fi-post { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 14px; background: var(--bg-warm); border: 1px solid var(--line); }
.fi-thumb { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 1.2rem; }
.fi-lines { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.fi-lines span { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.fi-lines span + span { width: 60%; }
.fi-btns { display: flex; gap: 10px; }
.fi-yes, .fi-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; }
.fi-yes { background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok); }
.fi-no { background: var(--bg-sunk); border: 1px solid var(--line); color: var(--muted); }
.fi-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; }
.fi-cal i { aspect-ratio: 1; border-radius: 6px; background: var(--bg-sunk); }
.fi-cal i.on { background: var(--blue); }
.fi-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.1rem; }

/* ======================================================= owner features: alternating rows (markup: ul.owner-points.bento) */
.owners-sec { background: var(--bg-warm); }
.bento { display: grid; gap: clamp(28px, 4vw, 56px); margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.bento > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: center; min-width: 0; }
.bento > li > :not(.art) { grid-column: 1; justify-self: start; }
@media (min-width: 52rem) {
  .bento > li { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); row-gap: 12px; grid-template-rows: 1fr auto auto auto 1fr; align-content: stretch; }
  .bento > li > .art { grid-column: 1; grid-row: 1 / span 5; }
  .bento > li > :not(.art) { grid-column: 2; }
  .bento > li > .owner-point-k { grid-row: 2; }
  .bento > li > h3 { grid-row: 3; }
  .bento > li > p:last-child { grid-row: 4; }
  .bento > li:nth-child(even) > .art { grid-column: 2; }
  .bento > li:nth-child(even) > :not(.art) { grid-column: 1; }
}
.bento .owner-point-k {
  margin: 0; padding: 3px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.5;
  background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line);
}
.bento h3 { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 750; line-height: 1.08; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.bento > li > p:last-child { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--text); max-width: 26em; text-wrap: pretty; }
.art {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 200px; padding: clamp(20px, 3vw, 32px); min-width: 0;
  border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
  background-image: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--violet) 12%, transparent), transparent 70%), radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 70%);
}
.ap-page, .ap-post { display: flex; flex-direction: column; gap: 8px; width: 40%; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ap-line { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.ap-line.s { width: 62%; }
.ap-line.hl { background: color-mix(in srgb, var(--blue) 35%, var(--paper)); outline: 2px solid var(--blue-line); outline-offset: 2px; }
.ap-arrow { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--fill-ink); color: var(--on-fill-ink); font-size: 1.1rem; }
.ap-thumb { display: grid; place-items: center; height: 56px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 1.4rem; }
.ap-src { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .6875rem; font-weight: 700; }
.ac-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; width: min(100%, 17rem); }
.ac-grid i { aspect-ratio: 1; border-radius: 7px; background: var(--bg-sunk); }
.ac-grid i.on { background: var(--blue); }
.art-ok { flex-direction: column; }
.ao-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--text); font-size: .875rem; font-weight: 650; }
.ao-yes { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.art-fan { position: relative; }
.af-post { display: flex; align-items: center; gap: 8px; width: 44%; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--blue); font-size: 1.2rem; }
.af-post .ap-line { flex: 1 1 auto; }
.af-post .ap-line.s { display: none; }
.af-out { display: flex; flex-direction: column; gap: 8px; width: 30%; }
.af-out span { display: block; height: 24px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); position: relative; }
.af-out span::before { content: ""; position: absolute; left: -24px; top: 50%; width: 20px; border-top: 2px dashed var(--field-line); }
.af-out span:nth-child(1) { background: var(--blue-soft); }
.af-out span:nth-child(2) { background: color-mix(in srgb, var(--violet) 26%, var(--paper)); }
.af-out span:nth-child(3) { background: var(--accent-soft); }
.art-price { justify-content: center; }
.aprice { font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 51.99rem) { .art { min-height: 200px; } }

.schedule { max-width: 56rem; margin-top: clamp(40px, 5vw, 72px); }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 22px; margin-top: 4px; }
.schedule-col h4 { margin: 0 0 8px; }
.schedule-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.schedule-col li, .schedule-col p { font-size: .9375rem; line-height: 1.5; color: var(--text); margin: 0; }
.schedule-col li b { color: var(--ink); font-weight: 600; }

/* ============================================================== mid-page call to action */
.mid-cta-wrap { margin-block: 0 clamp(56px, 8vw, 96px); }
.mid-cta {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 4vw, 48px); border-radius: 28px; color: var(--on-grad); background: var(--grad);
}
.mid-cta::before { content: ""; position: absolute; z-index: -1; width: 24rem; height: 24rem; right: -8rem; top: -12rem; border-radius: 50%; background: rgba(255, 255, 255, .16); filter: blur(50px); }
.mid-cta-mark { display: inline-flex; }
.mid-cta-t { margin: 0 auto 0 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--on-grad); }
.mid-cta :focus-visible { outline-color: #fff; }
.mid-cta .btn { min-height: 52px; }
@media (max-width: 40rem) { .mid-cta { flex-direction: column; align-items: flex-start; } .mid-cta .btn { width: 100%; } }

/* ================================================================== three things */
.benefits-sec { background: var(--bg-warm); }
.trio { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 43.99rem) {
  .trio li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px; }
  .trio-ic { grid-row: 1 / span 2; margin: 0; }
}
@media (min-width: 44rem) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.trio li:hover { border-color: var(--blue-line); box-shadow: var(--lift); }
.trio-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: var(--grad); color: #fff; font-size: 1.5rem; }
.trio h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -.025em; color: var(--ink); }
.trio p { margin: 0; font-size: 1rem; color: var(--text); }
.benefits { display: grid; gap: 18px; }
.benefit { display: flex; flex-direction: column; gap: 4px; }
.benefit-k { margin: 0; width: fit-content; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line); }

/* ===================================================================== pricing */
.plans-head p { color: var(--muted); font-size: .9375rem; }
.home .plans { gap: 18px; align-items: stretch; }
.home .plan { position: relative; gap: 12px; padding: 28px; border-radius: 24px; box-shadow: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.home .plan:hover { border-color: var(--blue-line); box-shadow: var(--lift); }
.home .plan-pitch, .home .plan-for, .home .plan-sub { display: none; }
.home .plan-feats { padding-top: 16px; }
.home .plan-feats li:nth-child(n + 3) { display: none; }
.home .plan-amount { font-weight: 800; font-size: 3.5rem; letter-spacing: -.055em; line-height: .95; }
.home .plan.is-hi { border-color: var(--blue); background: linear-gradient(180deg, var(--blue-soft), var(--paper) 60%); box-shadow: 0 0 0 1px var(--blue), var(--lift); }
.home .plan .btn { border-radius: 999px; }
@media (min-width: 52rem) { .home .plan.is-hi { transform: translateY(-10px); } }
.plans-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 18px; font-size: .9375rem; font-weight: 650; text-decoration: none; }
.plans-more:hover { text-decoration: underline; }
.plans-sec .plans-more { display: flex; justify-content: center; margin-top: 28px; }

/* ======================================================================== FAQ */
.faq-sec { background: var(--bg-warm); }
.faq-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 56rem) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); } .faq-head { position: sticky; top: calc(var(--head-h) + 28px); } }
.faq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.faq-head .plans-more { margin-top: 6px; }
.home-faq { display: flex; flex-direction: column; gap: 10px; }
.home-faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.home-faq details:hover { border-color: var(--field-line); }
.home-faq details[open] { border-color: var(--blue-line); box-shadow: var(--shadow); }
.home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 0 22px; cursor: pointer; list-style: none; font-weight: 650; color: var(--ink); border-radius: 18px; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "\ea13"; flex: none; font-family: "remixicon"; font-size: 1.25rem; font-weight: 400; color: var(--muted); }
.home-faq details[open] summary::after { content: "\f1af"; color: var(--blue); }
.home-faq p { margin: 0; padding: 0 22px 20px; font-size: .9375rem; line-height: 1.6; color: var(--text); }

/* ================================================================== final band: the big gradient call to action */
.home .final {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-grad); background: var(--grad); background-color: #1a2f66;
  padding: clamp(80px, 11vw, 148px) 0;
}
.home .final::before, .home .final::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(60px); }
.home .final::before { width: 44rem; height: 44rem; right: -14rem; top: -22rem; background: rgba(255, 255, 255, .15); }
.home .final::after { width: 34rem; height: 34rem; left: -12rem; bottom: -22rem; background: rgba(255, 255, 255, .08); }
@media (prefers-reduced-motion: no-preference) {
  .home .final::before { animation: blob-a 18s ease-in-out infinite alternate; }
  .home .final::after { animation: blob-b 22s ease-in-out infinite alternate; }
}
.final .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.final h2 { max-width: 12em; font-size: clamp(2.5rem, 1rem + 6vw, 5.25rem); line-height: .98; letter-spacing: -.05em; font-weight: 800; text-wrap: balance; color: var(--on-grad); }
.final-mark { position: absolute; z-index: 0; right: -40px; bottom: -50px; opacity: .08; pointer-events: none; }
.final-mark svg { width: 340px; height: auto; }
.final-note { margin: 0; font-size: .9375rem; color: var(--on-grad-soft); max-width: 34rem; }
.home .final :focus-visible { outline-color: #fff; }
.home .final-form input { background: rgba(255, 255, 255, .14); border-color: var(--on-grad-line); color: #fff; }
.home .final-form input::placeholder { color: rgba(255, 255, 255, .85); }
.home .final-form input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28); }
.home .final-form .btn { background: #fff; color: #12151b; border: 0; }
.home .final-form .btn:hover { background: #eef0f3; color: #12151b; }
.home .final-form .field-error { color: #fff; }
@media (min-width: 30.0625rem) {
  .home .final-form { flex-wrap: nowrap; }
  .home .final-form > .field-error { flex: 1 1 100%; }
  .home .final-form:has(> .field-error:not([hidden])) { flex-wrap: wrap; }
}

/* ================================================================ video lightbox */
.lightbox { width: min(100% - 2rem, 62rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--on-band-line); border-radius: 22px; background: var(--band); color: var(--on-band); overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7); }
.lightbox::backdrop { background: rgba(8, 10, 14, .72); backdrop-filter: blur(6px); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 20px; border-bottom: 1px solid var(--on-band-line); }
.lightbox-bar h2 { font-size: 1rem; font-weight: 650; color: var(--on-band); }
.lightbox-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--on-band); font-size: 1.4rem; cursor: pointer; }
.lightbox-close:hover { background: color-mix(in srgb, var(--on-band) 14%, transparent); }
.lightbox :focus-visible { outline-color: var(--on-band); }
.lightbox video { display: block; width: 100%; height: auto; max-height: calc(100dvh - 7rem); aspect-ratio: 16 / 9; background: #0b0d11; }
.lightbox video a { color: var(--on-band); }

/* =================================================================== examples */
.ex-head { gap: 16px; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-sunk); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg [role="tab"] {
  border: 0; cursor: pointer; font: inherit; font-size: .9375rem; font-weight: 600; min-height: max(40px, var(--tap-min));
  padding: 8px 18px; border-radius: 999px; background: transparent; color: var(--muted); white-space: nowrap; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.seg [role="tab"]:hover { color: var(--ink); }
.seg [role="tab"][aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.ex-note { margin: 0; font-size: .8125rem; color: var(--muted); }
.ex-panel[hidden] { display: none; }
.ex-panel:focus-visible { outline-offset: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .ex-panel:not([hidden]) { animation: panel-in .45s var(--ease); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
.ex-site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 auto 8px; max-width: 46rem; padding: 12px 14px 12px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); }
.ex-avatar, .post-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--site-colour, var(--blue)); font-weight: 700; }
.ex-avatar { width: 40px; height: 40px; font-size: 1.05rem; }
.ex-site-id { flex: 1 1 14rem; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ex-site-name { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: .9375rem; color: var(--ink); }
.ex-site-name .link { font-size: .8125rem; font-weight: 500; overflow-wrap: anywhere; padding-block: max(0px, calc(var(--tap-min) / 2 - .5em)); }
.ex-flow { margin: 0; font-size: .8125rem; color: var(--muted); }
.ex-flow-k { font-weight: 700; color: var(--ink); }
.ex-arrow { color: var(--blue); padding: 0 2px; }
.ex-try { flex: 0 0 auto; }
.landing-ex-cap { margin: 0 0 18px; text-align: center; font-size: .8125rem; color: var(--muted); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; align-items: start; min-width: 0; max-width: 100%; }
@media (max-width: 40rem) {
  .ex-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 6px 2px 14px; scrollbar-width: thin; }
  .ex-grid > .post { scroll-snap-align: start; }
  .ex-swipe { display: block; }
  .ex-try { width: 100%; }
}
.ex-swipe { display: none; margin: -6px 0 8px; text-align: center; font-size: .75rem; color: var(--muted); }
.post {
  margin: 0; min-width: 0; max-width: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) { .post:hover { transform: translateY(-5px); box-shadow: var(--lift); } }
.post-meta { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: .75rem; color: var(--muted); }
.post-meta b { flex: 1 1 auto; color: var(--ink); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-avatar { width: 26px; height: 26px; font-size: .7rem; }
.post-media { position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; background: var(--bg-sunk); background: color-mix(in srgb, var(--site-colour, var(--blue)) 24%, var(--bg-sunk)); }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; color: transparent; }
.post-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1rem; color: #fff; background: linear-gradient(160deg, var(--site-colour, #2d56a0), #12151b 85%); }
.post-ph b { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.5rem; line-height: 1.1; }
.post-ph span { font-size: .75rem; opacity: .85; }
.post-actions { display: flex; gap: 14px; padding: 10px 12px 0; font-size: 1.15rem; color: var(--ink); }
.post-actions i:last-child { margin-left: auto; }
.post-body { padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.post-text { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--text); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .chip { align-self: flex-start; }
.post-body:has(.post-more[open]) .post-text { display: none; }
.post-more, .post-src { border-top: 1px solid var(--line); padding-top: 2px; }
.post-more + .post-src { border-top: 0; padding-top: 0; }
.post-body summary { display: flex; align-items: center; gap: 6px; min-height: max(36px, var(--tap-min)); cursor: pointer; list-style: none; font-size: .8125rem; font-weight: 600; color: var(--blue); }
.post-body summary::-webkit-details-marker { display: none; }
.post-body summary .faq-ic { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; font-size: .8rem; line-height: 1; }
.post-body summary .faq-ic--open { display: none; }
.post-body details[open] > summary .faq-ic--open { display: inline-grid; }
.post-body details[open] > summary .faq-ic--closed { display: none; }
.post-caption p { margin: 0 0 8px; font-size: .875rem; line-height: 1.5; color: var(--text); }
.src { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-sunk); }
.src-page { font-size: .75rem; font-weight: 600; overflow-wrap: anywhere; display: flex; align-items: center; min-height: var(--tap-min); }
.src blockquote { margin: 0; padding-left: 10px; border-left: 3px solid var(--site-colour, var(--blue)); font-size: .875rem; line-height: 1.5; color: var(--ink); }
.src mark { background: color-mix(in srgb, var(--site-colour, #2d56a0) 16%, transparent); color: inherit; padding: 0 2px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.src-note { margin: 0; font-size: .75rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .post-body details[open] > :not(summary) { animation: ex-reveal .18s ease-out; }
  @keyframes ex-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

