/* Landing page styles. No framework, no web fonts: system stack only. */

:root {
  --bg: #f6f4ee;
  --paper: #ffffff;
  --ink: #14161b;
  --muted: #5b6170;
  --line: #e3dfd4;
  --accent: #3a34d2;
  --accent-ink: #2a25a8;
  --accent-soft: #eceafd;
  --green: #0c7a50;
  --green-soft: #e0f3ea;
  --amber: #a85f00;
  --amber-soft: #fbefd9;
  --slate-soft: #e9ecf1;
  --dark: #14161b;
  --radius: 14px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--mono); font-size: .92em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 620; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.028em; font-weight: 620; text-wrap: balance; max-width: 22ch; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 620; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.section-lede { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 62ch; text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid var(--ink);
  transition: background .15s, transform .15s, border-color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9c4b6; }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; }
.brand-mark::after { content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 11px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; }
.nav-links { display: none; gap: 24px; margin-left: auto; font-size: .95rem; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-copy { padding: clamp(40px, 8vh, 96px) 0 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy .lede { margin-top: 22px; }
.hero-copy .actions { margin-top: 30px; justify-content: center; }

.stage { width: min(1080px, 100% - 32px); margin: 48px auto 0; padding-bottom: 56px; }
.captions { display: none; }
.frame {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(20,22,27,.03), 0 30px 60px -30px rgba(20,22,27,.28), 0 12px 24px -18px rgba(20,22,27,.2);
  overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfaf6; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4c7; }
.frame-title { font-size: .82rem; color: var(--muted); font-weight: 550; }
.frame-title b { color: var(--accent); font-weight: 600; padding: 0 4px; }
.frame-note { margin-top: 14px; text-align: center; font-size: .84rem; color: var(--muted); }

.scene { display: grid; gap: 20px; padding: 20px; }
@media (min-width: 900px) { .scene { grid-template-columns: 360px 1fr; gap: 28px; padding: 28px 32px; align-items: start; } }

.chip { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 9px; vertical-align: 1px; flex: none; }
.c-sale { background: var(--accent); }
.c-vat { background: #d98a00; }
.c-pay { background: var(--green); }
.c-bank { background: #6b7385; }

.pill { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill-green { background: var(--green-soft); color: var(--green); }

.order { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; font-size: .95rem; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-id { font-weight: 650; font-size: 1.05rem; letter-spacing: -.01em; }
.order-meta { color: var(--muted); font-size: .84rem; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.order-lines b, .order-totals dd { font-variant-numeric: tabular-nums; font-weight: 550; white-space: nowrap; }
.order-totals { padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.order-totals .total { color: var(--ink); font-weight: 650; font-size: 1.05rem; padding-top: 8px; }
.order-totals .total dd { font-weight: 650; }
.order-pay { padding-top: 12px; color: var(--muted); font-size: .88rem; }

.ledger table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ledger th { text-align: left; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 8px 8px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 7px 8px; border-bottom: 1px solid #f0ede4; }
.ledger .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .84rem; }
.ledger th.num { font-family: var(--sans); font-size: .72rem; }
.ledger .ltr-col { text-align: center; width: 76px; }
.ledger code { color: var(--ink); font-weight: 600; margin-right: 6px; }
.g-head td { padding-top: 12px; padding-bottom: 4px; border-bottom: 0; font-size: .72rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ltr { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 700 .78rem var(--mono); }
.ltr-a { background: var(--accent-soft); color: var(--accent-ink); }
.ltr-b { background: var(--green-soft); color: var(--green); }
.sent { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--green-soft); color: #075a3a; font-size: .88rem; font-weight: 600; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

@media (max-width: 520px) {
  .ledger .ltr-col { width: 34px; }
  .ledger th.ltr-col { font-size: 0; }
  .ledger th.ltr-col::after { content: "Let."; font-size: .72rem; }
  .ledger td, .ledger th { padding-left: 4px; padding-right: 4px; }
  .ledger table { font-size: .8rem; }
  .ledger .num { font-size: .76rem; }
}

/* Hero, animated mode (class set by hero.js on wide screens when motion is allowed) */
/* No transitions until the first frame is placed, so the scene does not replay on load. */
.anim:not(.ready) .hero * { transition: none !important; }
.anim .hero { height: 360vh; }
.anim .hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.anim .hero-copy { padding-top: calc(var(--nav-h) + clamp(24px, 6vh, 72px)); will-change: opacity, transform; }
.anim .stage { position: absolute; left: 50%; top: 0; width: 1080px; margin: 0; padding: 0; transform-origin: top center; will-change: transform; }
.anim .captions { display: block; position: relative; height: 34px; margin-bottom: 14px; text-align: center; opacity: 0; transition: opacity .3s; }
.anim .hero.zoomed .captions { opacity: 1; }
.anim .captions li { position: absolute; inset: 0; font-size: 1.25rem; font-weight: 620; letter-spacing: -.02em; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.anim .hero[data-phase="0"] .captions [data-for="0"],
.anim .hero[data-phase="1"] .captions [data-for="1"],
.anim .hero[data-phase="2"] .captions [data-for="2"],
.anim .hero[data-phase="3"] .captions [data-for="3"] { opacity: 1; transform: none; }
.anim .frame-note { opacity: 0; transition: opacity .3s; }
.anim .hero.zoomed .frame-note { opacity: 1; }
.anim .scene { grid-template-columns: 360px 1fr; gap: 28px; padding: 28px 32px; height: 528px; align-items: start; }

.anim .order { transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .7s; }
.anim .ledger { transition: opacity .5s .15s, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim .hero[data-phase="0"] .order { transform: translateX(328px) scale(1.14); box-shadow: 0 24px 48px -28px rgba(20,22,27,.35); }
.anim .hero[data-phase="0"] .ledger { opacity: 0; transform: translateX(48px); transition-delay: 0s; }

/* Row, letter and status reveals: shared by the pinned desktop scene (.anim)
   and the phone version (.reveal), which plays once when the ledger scrolls into view. */
:is(.anim, .reveal) .g tr { transition: opacity .4s; }
:is(.anim, .reveal) .g tr:nth-child(2) { transition-delay: .25s; }
:is(.anim, .reveal) .g tr:nth-child(3) { transition-delay: .37s; }
:is(.anim, .reveal) .g tr:nth-child(4) { transition-delay: .49s; }
:is(.anim, .reveal) .hero[data-phase="0"] .g tr,
:is(.anim, .reveal) .hero[data-phase="1"] .g2 tr, :is(.anim, .reveal) .hero[data-phase="1"] .g3 tr,
:is(.anim, .reveal) .hero[data-phase="2"] .g3 tr { opacity: 0; transition-delay: 0s; }

:is(.anim, .reveal) .hero .ltr, :is(.anim, .reveal) .sent { transition: opacity .35s .7s, transform .45s .7s cubic-bezier(.3,1.6,.5,1); }
:is(.anim, .reveal) .hero[data-phase="0"] .ltr, :is(.anim, .reveal) .hero[data-phase="1"] .ltr,
:is(.anim, .reveal) .hero[data-phase="2"] .ltr-b { opacity: 0; transform: scale(.3); transition-delay: 0s; }
:is(.anim, .reveal) .hero[data-phase="0"] .sent, :is(.anim, .reveal) .hero[data-phase="1"] .sent, :is(.anim, .reveal) .hero[data-phase="2"] .sent { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.reveal .order { transition: box-shadow .5s, border-color .5s; }
.reveal .hero[data-phase="0"] .order { border-color: var(--ink); box-shadow: 0 18px 36px -24px rgba(20,22,27,.45); }

/* ---------- Clients ---------- */
.clients { padding: 44px 0 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfaf6; }
.clients-title { text-align: center; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.clients-list { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 56px; }
.clients-list a { display: block; padding: 6px; opacity: .72; transition: opacity .15s, transform .15s; }
.clients-list a:hover, .clients-list a:focus-visible { opacity: 1; transform: translateY(-1px); }
.clients-list img { height: 30px; width: auto; }
.clients-list .logo-wide { height: 34px; }
.clients-list .logo-flat { height: 22px; }
.clients-list .logo-tall { height: 74px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tint { background: #efece3; }

/* Shared small parts */
.flag { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 650; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.flag-red { background: #fde4e1; color: #a3261a; }
.flag-amber { background: var(--amber-soft); color: #7a4500; }
.flag-green { background: var(--green-soft); color: var(--green); }
.viz-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 550; color: var(--muted); background: #fbfaf6; }

/* Before / after */
.ba { margin-top: 44px; display: grid; gap: 18px; }
@media (min-width: 880px) { .ba { grid-template-columns: 1fr 1fr; gap: 22px; } }
.ba-col { border-radius: 20px; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.ba-tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.ba-before .ba-tag { background: #dcd7ca; color: #55503f; }
.ba-after .ba-tag { background: var(--green-soft); color: var(--green); }
.ba-col h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.ba-col > ul { margin-top: 22px; }
.ba-col > ul li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid rgba(20,22,27,.08); text-wrap: pretty; }
.ba-col > ul li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 16px; height: 16px; border-radius: 50%; }
.ba-before { background: #f1eee6; color: #474b57; }
.ba-before > ul li::before { background: #cfc9ba; }
.ba-before > ul li::after { content: ""; position: absolute; left: 6px; top: 24px; width: 8px; height: 2px; background: #fff; }
.ba-after { background: var(--paper); border-color: var(--ink); box-shadow: 0 24px 48px -32px rgba(20,22,27,.3); }
.ba-after > ul li::before { background: var(--green); }
.ba-after > ul li::after { content: ""; position: absolute; left: 8px; top: 20px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.viz { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; font-size: .86rem; min-height: 268px; position: relative; }
.viz-sheet { transform: rotate(-.6deg); box-shadow: 0 10px 24px -18px rgba(20,22,27,.4); }
.viz-sheet table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .78rem; color: #5b5f69; }
.viz-sheet td { padding: 7px 10px; border-bottom: 1px solid #efece4; border-right: 1px solid #efece4; white-space: nowrap; }
.viz-sheet td:last-child { border-right: 0; width: 92px; font-family: var(--sans); }
.viz-sheet .num { text-align: right; }
.viz-sheet .bad td { background: #fff6f4; color: #8a2b20; }
.sticky { position: absolute; right: 14px; bottom: 12px; max-width: 190px; padding: 10px 12px; background: #ffe98a; color: #4d4100; font-size: .82rem; font-weight: 600; line-height: 1.3; transform: rotate(2.5deg); box-shadow: 0 8px 14px -8px rgba(20,22,27,.45); }
.viz-nights ul li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #efece4; }
.viz-nights ul b { font-weight: 600; }
.viz-nights ul span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.viz-nights .flag { margin-left: 6px; }
.ba-col { min-width: 0; }
@media (max-width: 560px) {
  .ba-col { padding: 20px; }
  .viz-sheet table { font-size: .7rem; }
  .viz-sheet td { padding: 6px 6px; }
  .viz-sheet td:last-child { width: auto; }
  .viz-sheet td:nth-child(2) { white-space: normal; }
  .sticky { position: relative; right: auto; bottom: auto; margin: 12px 12px 14px auto; }
  .viz { min-height: 0; }
}
.note-amber { margin: 12px 14px 14px; padding: 9px 12px; border-left: 3px solid #d98a00; background: var(--amber-soft); border-radius: 6px; font-size: .82rem; color: #5a4a2c; }

/* Figures: daily averages, what Shopify holds → what is written for Pennylane */
.figures { padding-top: 0; }
.flow { margin-top: 40px; display: grid; gap: 14px; align-items: stretch; }
@media (min-width: 960px) { .flow { grid-template-columns: 1fr 72px 1fr; gap: 0; } }
.flow-group { padding: 24px 28px; border-radius: 20px; border: 1px solid var(--line); background: #f1eee6; }
.flow-out { background: var(--paper); border-color: var(--ink); box-shadow: 0 24px 48px -32px rgba(20,22,27,.3); }
.flow-label { font-size: .72rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.flow-out .flow-label { color: var(--green); }
.flow dl { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fig dt { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 620; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fig dd { margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.35; text-wrap: balance; }
.flow-arrow { display: grid; place-items: center; }
.flow-arrow span { position: relative; display: block; width: 44px; height: 2px; background: repeating-linear-gradient(90deg, #8f8a7c 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: pipe 1s linear infinite; }
.flow-arrow span::after { content: ""; position: absolute; right: -2px; top: -4px; width: 8px; height: 8px; border: solid #6f6a5d; border-width: 2px 2px 0 0; transform: rotate(45deg); }
@keyframes pipe { to { background-position: 12px 0; } }
@media (max-width: 959px) {
  .flow-arrow { height: 34px; }
  .flow-arrow span { transform: rotate(90deg); width: 26px; }
}
@media (max-width: 520px) { .flow dl { grid-template-columns: 1fr; gap: 12px; } .fig { display: flex; align-items: baseline; gap: 12px; } .fig dt { min-width: 4.2ch; } }
.flow-note { margin-top: 16px; font-size: .86rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .flow-arrow span { animation: none; } }

/* Cards */
.cards { margin-top: 44px; display: grid; gap: 18px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.card > p, .card-text p { margin-top: 10px; color: var(--muted); text-wrap: pretty; }
.card-wide { display: grid; gap: 24px; }
@media (min-width: 760px) { .card-wide { grid-column: 1 / -1; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; padding: 36px; } }
.card-wide h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.card-wide .card-text p { font-size: 1.05rem; }

.map li { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf6; font-weight: 550; }
.map li + li { margin-top: 8px; }
.map i { height: 0; border-top: 2px dotted #c4bfb0; position: relative; }
.map i::after { content: ""; position: absolute; right: -2px; top: -5px; width: 7px; height: 7px; border: solid #a9a393; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.map code { background: var(--accent-soft); color: var(--accent-ink); padding: 3px 9px; border-radius: 6px; font-weight: 600; }

.alerts li { padding: 12px 16px 12px 18px; border-radius: 10px; background: var(--amber-soft); border-left: 4px solid #d98a00; }
.alerts li + li { margin-top: 8px; }
.alerts b { display: block; font-size: .95rem; color: #6d3f00; }
.alerts span { display: block; font-size: .9rem; color: #5a4a2c; margin-top: 2px; text-wrap: pretty; }

/* Small cards: a mini visual, and more detail on hover or focus */
.mini { margin-bottom: 20px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf6; font-size: .84rem; min-height: 118px; display: flex; flex-direction: column; justify-content: center; }
.mini li { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
.mini li + li { border-top: 1px solid #ebe7dc; }
.mini li > span:first-child { margin-right: auto; color: #474b57; }
.mini b { font-family: var(--mono); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini code { background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 6px; font-weight: 600; font-size: .8rem; }
.mini .ltr { width: 20px; height: 20px; font-size: .7rem; margin-left: 4px; font-style: normal; display: inline-grid; vertical-align: -4px; }
.mini-mail { justify-content: flex-start; padding: 12px; }
.mini-mail p { margin: 0; padding: 5px 0; color: #474b57; font-size: .82rem; }
.mini-mail p + p { border-top: 1px solid #ebe7dc; }
.mini-mail .mail-subject { font-weight: 650; color: var(--ink); }

@media (min-width: 1040px) { .card-span2 { grid-column: span 2; } .card-span2 .mini { min-height: 118px; } }
.card-more { position: relative; cursor: default; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-more::after { content: ""; position: absolute; right: 18px; bottom: 14px; width: 26px; height: 26px; border-radius: 50%; background-color: #efece3; color: var(--muted); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 10px 2px, 2px 10px; background-position: center; background-repeat: no-repeat; transition: transform .25s, background-color .2s, color .2s; }
.card-more .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.card-more .more > div { overflow: hidden; }
.card-more .more p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; color: #3a3e49; text-wrap: pretty; }
.card-more > p:not(:last-child) { padding-right: 0; }
.card-more:hover, .card-more:focus-within, .card-more:focus { border-color: var(--ink); box-shadow: 0 20px 40px -30px rgba(20,22,27,.35); transform: translateY(-2px); outline: none; }
.card-more:hover .more, .card-more:focus-within .more, .card-more:focus .more { grid-template-rows: 1fr; }
.card-more:hover::after, .card-more:focus::after { transform: rotate(45deg); background-color: var(--ink); color: #fff; }
.card-more:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.card-more .more p { padding-bottom: 22px; }
@media (hover: none) {
  .card-more .more { grid-template-rows: 1fr; }
  .card-more::after { display: none; }
  .card-more .more p { padding-bottom: 0; }
}

/* Steps */
.steps { margin-top: 48px; display: grid; gap: 18px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps > li { position: relative; }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-day { flex: none; font-size: .78rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; }
.step-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #c9c4b6 0 6px, transparent 6px 12px); }
.steps > li:last-child .step-line { background: linear-gradient(90deg, #c9c4b6, transparent); }
@media (max-width: 879px) { .step-line { display: none; } .steps > li { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; } }
.step-icon { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: var(--accent-soft); fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.steps > li:last-child .step-icon { background: var(--green-soft); stroke: var(--green); }
.steps h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.steps p { margin-top: 10px; color: var(--muted); text-wrap: pretty; }
.steps .step-you { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #efece3; color: #33363f; font-size: .92rem; }
.step-you b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

.start { margin-top: 44px; padding: 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.start h3 { font-size: 1.15rem; }
.start-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.start-list li { position: relative; padding-left: 26px; color: #33363f; }
.start-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); }
.start-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* About */
.section-dark { background: var(--dark); color: #fff; }
.section-dark .eyebrow { color: #a9a5ff; }
.section-dark p { color: #c3c6cf; max-width: 60ch; margin-top: 18px; font-size: 1.08rem; text-wrap: pretty; }
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 3fr 2fr; gap: 72px; } }
.partner { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 36px; border-radius: 22px; text-decoration: none; color: #fff; background: linear-gradient(160deg, #23262f 0%, #191b22 60%); border: 1px solid #353945; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; transition: transform .2s, border-color .2s; }
.partner::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122,116,255,.35), transparent); pointer-events: none; }
.partner:hover, .partner:focus-visible { transform: translateY(-3px); border-color: #7a74ff; }
.partner-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #9aa0ad; font-weight: 600; }
.partner img { width: min(300px, 100%); }
.partner-desc { color: #c3c6cf; font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.partner-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; }
.partner-link .arrow { transition: transform .2s; }
.partner:hover .arrow { transform: translate(2px, -2px); }

.people { margin-top: 32px; display: grid; gap: 14px; }
@media (min-width: 620px) { .people { grid-template-columns: 1fr 1fr; } }
.person { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; padding: 18px; border-radius: 16px; border: 1px solid #2f323b; background: #1b1e25; text-decoration: none; color: #fff; transition: border-color .15s, transform .15s; }
.person:hover, .person:focus-visible { border-color: #7a74ff; transform: translateY(-2px); }
.person-avatar { grid-row: span 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #2a2d37; color: #c9c6ff; font-weight: 650; letter-spacing: .02em; }
.person-name { font-weight: 640; font-size: 1.05rem; align-self: end; }
.section-dark .person-role { margin: 0; font-size: .9rem; color: #b4b8c2; line-height: 1.4; }
.person-link { font-size: .84rem; font-weight: 600; color: #a9a5ff; }

/* FAQ */
.faq { display: grid; gap: 32px; align-items: start; }
@media (min-width: 880px) { .faq { grid-template-columns: 2fr 3fr; gap: 72px; } .faq > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); } }
.qa { border-top: 1px solid #d5d0c3; }
.qa:last-child { border-bottom: 1px solid #d5d0c3; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; font-weight: 620; font-size: 1.1rem; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background-color: #e9e5da; color: var(--ink); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform .2s, background-color .2s, color .2s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--ink); color: #fff; }
.qa summary:hover::after { background-color: var(--ink); color: #fff; }
.qa > div { padding: 0 44px 22px 4px; color: #3a3e49; text-wrap: pretty; }
.qa > div p + p { margin-top: 10px; }
.qa a { color: var(--accent-ink); font-weight: 600; }

/* Contact */
.contact-in { display: grid; gap: 40px; align-items: start; }
@media (min-width: 880px) { .contact-in { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-call { margin-top: 28px; }
.contact-or { margin-top: 18px; color: var(--muted); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 24px 48px -36px rgba(20,22,27,.3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1px solid #cfcabc; border-radius: 10px; background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.field ::placeholder { color: #a09c90; }
.form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #a3261a; }
.form-legal { margin-top: 4px; font-size: .82rem; color: var(--muted); }

/* Modal */
.modal { width: min(680px, 100% - 32px); max-height: min(84vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(20,22,27,.5); }
.modal::backdrop { background: rgba(20,22,27,.55); backdrop-filter: blur(3px); }
.modal-close { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 12px 12px 0; margin: 0; }
.modal-close button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.modal-close button:hover { background: var(--ink); color: #fff; }
.modal-body { padding: 0 32px 32px; }
.legal-body h1 { font-size: 1.8rem; margin-bottom: 20px; }
.legal-body h2 { font-size: 1.1rem; letter-spacing: -.01em; margin: 26px 0 6px; max-width: none; }
.legal-body p { color: #3a3e49; }
.legal-body p + p { margin-top: 10px; }
.legal-body a { color: var(--accent-ink); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .88rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
.foot-tm { margin-left: auto; }
.foot-partner a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.foot-partner a:hover { color: var(--ink); }
.foot-partner img { height: 10px; width: auto; opacity: .75; }
@media (max-width: 700px) { .foot-tm { margin-left: 0; } }

/* Legal page */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; letter-spacing: -.01em; margin: 32px 0 8px; max-width: none; }
.legal p, .legal li { color: #3a3e49; max-width: 68ch; }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
