/* One designed look: white and deep-teal bands in turn, large light headings, and
   pictures that move. Light only on purpose; the dark bands are part of the design. */
:root {
  --ink: #15212b; --muted: #56636e; --paper: #f5f6f3; --sheet: #ffffff; --rule: #d8ddd8;
  --accent: #0b6b68; --mint: #7fe0d6; --tint: #e7efed; --deep: #0e2a30; --night: #081a20;
  --late: #b5361f; --warn: #a15c00; --ok: #2e7044;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--sheet); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--mint); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
.eyebrow { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.thesis { font: 500 1.22rem/1.5 var(--body); max-width: 56ch; }
.pair span { display: block; text-wrap: balance; }
.head .lede { max-width: 66ch; }
.center { text-align: center; justify-items: center; }
.band { padding-block: clamp(64px, 9vw, 120px); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 999px; font: 600 0.98rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { box-shadow: 0 10px 22px -10px rgba(11, 107, 104, 0.7); }
.btn.line { border-color: var(--accent); color: var(--accent); }
.on-dark .btn.primary { background: var(--mint); color: #062a2b; }
.on-dark .btn.primary:hover { box-shadow: 0 10px 26px -10px rgba(127, 224, 214, 0.7); }
.on-dark .btn.line { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* menu bar */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font: 700 1.08rem/1 var(--display); letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 0.95rem; }
.links a { color: var(--ink); text-decoration: none; opacity: 0.78; }
.links a:hover { opacity: 1; color: var(--accent); }
.nav .btn { padding: 10px 18px; font-size: 0.92rem; }
.menu { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 4px 20px 14px; box-shadow: 0 20px 30px -20px rgba(10, 30, 40, 0.3); }
  .links.open { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--rule); opacity: 1; }
  .menu { display: inline-flex; }
  .nav .cta { display: none; }
}

/* opening */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--night) 0%, var(--deep) 52%, #11403f 100%); min-height: min(calc(100svh - 64px), 820px); display: grid; place-items: center; padding-block: clamp(72px, 10vw, 120px); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 64% 62% at 50% 48%, rgba(8, 26, 32, 0.9) 0%, rgba(8, 26, 32, 0.6) 45%, rgba(8, 26, 32, 0) 76%); }
.hero-in { max-width: 880px; margin: 0 auto; text-align: center; display: grid; gap: 24px; justify-items: center; }
.hero .eyebrow { color: var(--mint); }
.hero p { color: rgba(255, 255, 255, 0.84); font-size: 1.18rem; max-width: 58ch; }
.hero .ctas { justify-content: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; font: 400 0.76rem/1 var(--mono); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--mint); }
.legend i.late { background: #ff8a6b; }

/* how it works */
.how { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hstep { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; width: 100%; text-align: left; background: none; border: 0; border-left: 2px solid var(--rule); padding: 14px 0 14px 20px; font: inherit; color: inherit; cursor: pointer; transition: opacity 0.35s, border-color 0.35s; }
.hstep .n { font: 500 0.8rem/1.9 var(--mono); color: var(--accent); }
.hstep .t { font: 600 1.15rem/1.3 var(--display); }
.hstep .d { grid-column: 2; color: var(--muted); font-size: 0.98rem; }
.js .hstep { opacity: 0.5; }
.js .hstep.on, .js .hstep:hover { opacity: 1; }
.js .hstep.on { border-left-color: var(--accent); }
.loop { display: block; width: 100%; max-width: 430px; margin: 0 auto; overflow: visible; }
.loop .ring { fill: none; stroke: var(--accent); stroke-opacity: 0.4; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.loop .node { color: var(--accent); cursor: pointer; }
.loop .node circle { fill: #fff; stroke: var(--rule); stroke-width: 1.5; transition: fill 0.35s, stroke 0.35s; }
.loop .node path, .loop .node rect { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.35s; }
.loop .node text { font: 500 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; fill: currentColor; text-anchor: middle; transition: fill 0.35s; }
.loop .node.on { color: #fff; }
.loop .node.on circle { fill: var(--accent); stroke: var(--accent); }
.loop .mid { font-family: var(--display); fill: var(--ink); text-anchor: middle; }
.loop .mid.small { font: 500 10.5px var(--mono); letter-spacing: 0.14em; fill: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .loop .ring { animation: flow 2.4s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -24; } }
}

/* product tour */
.tour { background: var(--deep); color: #fff; }
.tour .eyebrow { color: var(--mint); }
.tour .lede { color: rgba(255, 255, 255, 0.76); }
.tour-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.tabs { display: grid; gap: 4px; }
.tab { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; background: none; border: 0; border-left: 2px solid transparent; color: rgba(255, 255, 255, 0.72); font: 500 1rem/1.2 var(--body); text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s; }
.tab svg { flex: none; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.1); border-left-color: var(--mint); }
.pane { display: grid; gap: 16px; min-width: 0; }
.pane[hidden] { display: none; }
.pane-note { color: rgba(255, 255, 255, 0.82); max-width: 64ch; }
.pane + .pane { margin-top: 32px; }
.js .pane + .pane { margin-top: 0; }
.win { background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.7); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #fff; border-bottom: 1px solid var(--rule); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.win-bar span { margin-left: 10px; font: 400 0.74rem/1 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { padding: clamp(16px, 2.5vw, 26px); display: grid; gap: 16px; font-size: 0.94rem; line-height: 1.5; }
.w-label { font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.w-head { font: 600 1.1rem/1.35 var(--display); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.tile b { font: 600 1.5rem/1.1 var(--display); }
.tile span { font-size: 0.8rem; color: var(--muted); }
.tile em { font: 500 0.66rem/1 var(--mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.rows { display: grid; gap: 8px; }
.row { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1.2fr) 108px 150px minmax(0, 2.2fr); gap: 6px 16px; align-items: center; }
.row .sku { font-weight: 600; }
.row .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .do { color: var(--muted); font-size: 0.88rem; }
.chip { display: inline-block; justify-self: start; font: 500 0.72rem/1 var(--mono); padding: 5px 8px; border-radius: 5px; border: 1px solid currentColor; white-space: nowrap; }
.chip.late { color: var(--late); }
.chip.warn { color: var(--warn); }
.chip.ok { color: var(--ok); }
.mailcard { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
.mailcard pre { margin: 0; font: 400 0.84rem/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.mailcard .from { font-size: 0.84rem; color: var(--muted); }
.why { background: var(--tint); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; }
.fake { display: flex; flex-wrap: wrap; gap: 8px; }
.fake span { font: 600 0.82rem/1 var(--body); padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--rule); color: var(--muted); }
.fake span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.read { display: grid; gap: 8px; }
.read div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; }
.read .mono { font: 500 0.82rem/1 var(--mono); }
.w-foot { font-size: 0.84rem; color: var(--muted); }
@media (max-width: 860px) {
  .tour-grid { grid-template-columns: minmax(0, 1fr); }
  .tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; border-left: 0; border-radius: 999px; padding: 10px 14px; background: rgba(255, 255, 255, 0.07); }
  .tab[aria-selected="true"] { background: var(--mint); color: #062a2b; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .do { grid-column: 1 / -1; }
}

/* where it fits */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--rule); border-radius: 14px; padding: 26px 22px; display: grid; gap: 10px; align-content: start; background: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 32px -24px rgba(10, 30, 40, 0.45); }
.ico { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* pilot */
.pilot { background: var(--paper); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.offer .head { margin: 0; }
.ticket { background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; box-shadow: 0 30px 50px -36px rgba(10, 30, 40, 0.5); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.price b { font: 400 3.4rem/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.terms li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.98rem; }
.terms li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.4 2.6 2.6L13 6.6' fill='none' stroke='%230b6b68' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* questions */
.faq { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--rule); padding-block: 20px; }
summary { cursor: pointer; font: 600 1.08rem/1.4 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 12px; color: var(--muted); max-width: 68ch; }

/* closing band and footer */
.close { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, var(--deep), #12403f); color: #fff; text-align: center; }
.close .arcs { position: absolute; left: 50%; bottom: 0; width: max(100%, 1100px); transform: translateX(-50%); z-index: -1; }
.close .head { margin-bottom: 28px; }
.close .lede { color: rgba(255, 255, 255, 0.8); }
.close .ctas { justify-content: center; }
footer { background: var(--night); color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; padding-block: 52px 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot h4 { margin: 0 0 12px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.foot a:hover { color: var(--mint); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 860px) {
  .hero canvas { opacity: 0.5; }
  .how-grid, .offer { grid-template-columns: minmax(0, 1fr); }
  .loop { max-width: 340px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
}
/* sections ease in as they are reached; without the script they are simply there */
.rv .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv .reveal.in { opacity: 1; transform: none; }
