/* The chrome the inner pages share with the home page: the tokens, the
 * type, the one glossy blue button, the frosted nav with the wordmark,
 * the grey-blue cards, the accordion, the footer, and the scroll reveal.
 * index.html carries its own copy of these because its nav floats over the
 * hero sky; anything changed here should be mirrored there. */
:root {
  --ink: #1d1d1f; --mid: #6e6e73; --soft: #86868b; --hair: rgba(0,0,0,.08);
  --paper: #ffffff; --canvas: #f5f5f7;
  --blue: #2f63e8; --blue-2: #6f8dff; --blue-deep: #244fc4;
  --card: linear-gradient(180deg, #f4f6fb 0%, #e3e8f3 100%);
  --card-ring: inset 0 0 0 1px rgba(255,255,255,.8), 0 0 0 1px rgba(20,30,60,.05);
  --serif: "EB Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --accent: #4953c8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
section { padding: clamp(72px, 9vw, 120px) 0; }
section.tight { padding-top: 0; }
.band { background: var(--canvas); }

/* type */
.h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 600; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 600; }
.dim { background: linear-gradient(90deg, #6b6f80, #a9adbb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--mid); margin-top: 16px; max-width: 560px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }
.head { margin-bottom: clamp(36px, 4vw, 56px); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.cap { font-size: 14px; line-height: 1.4; color: var(--soft); }
.new { color: #b64400; font-size: 14px; font-weight: 500; }

/* the one blue thing */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35);
       background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 100%); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
       box-shadow: 0 10px 26px rgba(47,99,232,.35), inset 0 1px 0 rgba(255,255,255,.45); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(47,99,232,.4), inset 0 1px 0 rgba(255,255,255,.45); }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn.sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; box-shadow: 0 6px 16px rgba(47,99,232,.3), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.ghost { background: #fff; color: var(--ink); border-color: rgba(0,0,0,.14); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn.ghost:hover { background: var(--canvas); box-shadow: 0 6px 16px rgba(20,30,60,.08); }
.btn.soon { background: rgba(255,255,255,.55); color: var(--mid); border-color: rgba(0,0,0,.08); box-shadow: none; cursor: default; }
.btn.soon:hover { transform: none; }
.btn.full { width: 100%; }
.more { color: var(--blue); font-weight: 500; } .more::after { content: " ›"; } .more:hover { text-decoration: underline; }

/* nav: sticky, frosted, the wordmark alone */
.nav-shell { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav { height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: var(--ink); }
.nav-links { display: flex; gap: 28px; font-size: 16px; font-weight: 500; color: var(--mid); }
.nav-links a { transition: color .2s ease; } .nav-links a:hover, .nav-links a.here { color: var(--ink); }
.nav .btn.sm { margin-left: auto; }

/* cards */
.card { border-radius: 32px; padding: clamp(28px, 3.6vw, 44px); background: var(--card); box-shadow: var(--card-ring); }
.card.white { background: #fff; }
.card.blue { background: linear-gradient(160deg, #7a95ff 0%, #4d6fe8 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 24px 60px rgba(47,99,232,.28); }
.card h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.card .p { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--mid); }
.card.blue .p { color: rgba(255,255,255,.88); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 14px 3px; border-radius: 999px; vertical-align: 2px; font-weight: 600; background: #fff; box-shadow: 0 1px 6px rgba(20,30,60,.1), 0 0 0 1px rgba(20,30,60,.06); }
.card.blue .chip { background: rgba(255,255,255,.22); box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
.chip svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* accordion */
.qa details { border-bottom: 1px solid var(--hair); }
.qa details:first-child { border-top: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: color .2s ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa summary .tg { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); transition: background .2s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.qa summary .tg svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.band .qa summary .tg { background: #fff; }
.qa summary:hover .tg, .band .qa summary:hover .tg { background: #e6edff; }
.qa details[open] summary .tg { transform: rotate(180deg); background: var(--ink); }
.qa details[open] summary .tg svg { stroke: #fff; }
.qa .a { padding: 0 0 26px; color: var(--mid); font-size: 17px; line-height: 1.55; max-width: 64ch; }
.qa .a p + p { margin-top: 10px; }
.qa details[open] .a { animation: qa-in .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa-foot { margin-top: 32px; font-size: 17px; color: var(--mid); }

/* footer */
footer.site { background: #e9edf5; padding: 64px 0 40px; font-size: 16px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer.site h4 { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
footer.site .cols a { display: block; margin: 12px 0; color: var(--mid); }
footer.site .cols a.brand { display: inline-flex; margin: 0; color: var(--ink); }
footer.site .cols a:hover { color: var(--ink); }
footer.site .status { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; padding: 10px 16px; border-radius: 10px; background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.06); font-size: 15px; }
footer.site .status i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
footer.site .legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--soft); }
footer.site .legal svg { width: 22px; height: 22px; fill: var(--ink); }

/* scroll reveal: each scene rises into place as it comes into view */
[data-reveal] { opacity: 0; transform: translateY(64px); transition: opacity 1.1s cubic-bezier(.16,.8,.24,1), transform 1.1s cubic-bezier(.16,.8,.24,1); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(56px); transition: opacity 1s cubic-bezier(.16,.8,.24,1), transform 1s cubic-bezier(.16,.8,.24,1); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > :nth-child(2) { transition-delay: .16s; } [data-stagger].in > :nth-child(3) { transition-delay: .32s; }
[data-stagger].in > :nth-child(4) { transition-delay: .48s; } [data-stagger].in > :nth-child(5) { transition-delay: .6s; } [data-stagger].in > :nth-child(6) { transition-delay: .72s; }
[data-stagger].in > :nth-child(7) { transition-delay: .84s; }
.rise { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.rise:nth-child(2) { animation-delay: .1s; } .rise:nth-child(3) { animation-delay: .2s; } .rise:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  .rise { animation: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  footer.site .cols { grid-template-columns: 1fr; }
  footer.site .legal { flex-direction: column; align-items: flex-start; }
}
