/* Shared look for every page except the homepage (which keeps its own inline copy of the same rules):
   the day-to-night watercolour sky travels behind the page, a floating liquid-glass top bar,
   frosted glass sheets for content, glass buttons. Pair with sky.js. (2026-10-21) */
:root {
  --paper: #fbfbfd; --ink: #0d1530; --muted: #5c6378; --line: #e4e7ef; --wash: #f1f3f8; --blue: #3d7bff;
  --sans: "Hanken Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* the sky: one tall painting, sized and moved by sky.js */
.world { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--paper); }
.world .strip { position: absolute; left: 50%; top: 0; max-width: none; height: auto; translate: -50% 0; will-change: translate; }

/* glass */
.glass-surface, .sheet, .kicker, .btn.ghost {
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
}
.sheet { position: relative; width: min(1240px, calc(100% - 32px)); margin: 0 auto; border-radius: 40px;
  background: rgba(251,251,253,.62); border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 #fff, 0 50px 100px -50px rgba(13,21,48,.45); }
.sheet.read { background: rgba(251,251,253,.9); }  /* long text: near-solid so body copy stays crisp */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; padding: 5px 12px; border-radius: 99px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(13,21,48,.08); color: var(--ink); }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border: 0; border-radius: 99px;
  background: rgba(13,21,48,.88); color: #fff; font: 500 15px var(--sans); cursor: pointer; white-space: nowrap; transition: transform .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.18), 0 8px 20px -8px rgba(13,21,48,.5); }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: rgba(255,255,255,.55); color: var(--ink); border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(13,21,48,.12), 0 6px 16px -8px rgba(13,21,48,.25); }
.link { color: var(--blue); }
.link:hover { text-decoration: underline; }

/* floating glass top bar */
nav.top { position: fixed; top: 14px; left: 0; right: 0; height: 0; z-index: 20; color: var(--ink); }
nav.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; height: 60px; margin: 0 auto; padding: 0 8px 0 20px; border-radius: 99px;
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  background: rgba(255,255,255,.34); border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(13,21,48,.05), 0 0 0 .5px rgba(13,21,48,.08), 0 14px 36px -16px rgba(13,21,48,.35);
  transition: background .3s ease, box-shadow .3s ease; }
nav.top.scrolled .bar { background: rgba(255,255,255,.62); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
nav.top ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
nav.top ul a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 99px; white-space: nowrap; transition: background .2s ease, box-shadow .2s ease; }
nav.top ul a:hover, nav.top ul a[aria-current="page"] { background: rgba(255,255,255,.6); box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(13,21,48,.10), 0 2px 8px -3px rgba(13,21,48,.2); }
.navcta { display: flex; align-items: center; gap: 6px; }
nav.top .btn { height: 44px; padding: 0 18px; font-size: 14px; }
nav.top .btn.webchat { background: rgba(255,255,255,.62); color: var(--ink); border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 .5px rgba(13,21,48,.12), 0 4px 12px -6px rgba(13,21,48,.25); }
nav.top .btn.webchat:hover { background: rgba(255,255,255,.85); }

/* text that sits straight on the painting flips white over dark parts (sky.js adds .on-dark) */
nav.top.on-dark:not(.scrolled) { color: #fff; }
nav.top.on-dark:not(.scrolled) .bar { background: rgba(13,21,48,.22); border-color: rgba(255,255,255,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 36px -16px rgba(0,0,0,.5); }
nav.top.on-dark:not(.scrolled) ul a:hover { color: var(--ink); }
nav.top.on-dark:not(.scrolled) .btn:not(.webchat) { background: #fff; color: var(--ink); }
.free.on-dark { color: #fff; }
.free.on-dark .btn:not(.ghost) { background: #fff; color: var(--ink); }
.free.on-dark .link { color: #cfe0ff; }

/* page header that sits on the sky */
.hero { padding: 168px 0 72px; text-align: center; }
.hero .copy { display: grid; justify-items: center; gap: 20px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); }
.hero .sub { font-size: 19px; max-width: 38ch; opacity: .85; text-wrap: pretty; }

/* closing band on the sky */
.close { min-height: 520px; display: grid; place-items: center; text-align: center; padding: 120px 0 100px; }
.close .copy { display: grid; justify-items: center; gap: 18px; }
.close h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 16ch; }
.close p { max-width: 46ch; }

footer.site { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13.5px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 34px; }
footer.site .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a:hover { color: #fff; }

@media (max-width: 1100px) { nav.top ul { display: none; } }
@media (max-width: 860px) {
  nav.top { top: 10px; } nav.top .bar { height: 56px; margin-inline: 12px; } nav.top .btn { padding: 0 14px; }
  .sheet { width: calc(100% - 20px); border-radius: 28px; }
  .hero { padding: 132px 0 56px; } .hero .sub { font-size: 17px; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  nav.top .bar { padding-left: 14px; }
  nav.top .btn { padding: 0 13px; font-size: 13.5px; }
  .brand { font-size: 0; gap: 0; } .brand img { width: 30px; height: 30px; }
  .close { min-height: 420px; padding: 90px 0 80px; }
}
@media (prefers-reduced-motion: reduce) { .btn, nav.top .bar, nav.top ul a { transition: none; } }

/* closing blocks sit on a soft glass card so the painting never runs through the text (2026-10-21) */
.close .copy { width: min(620px, calc(100% - 32px)); margin-inline: auto; padding: 44px 32px; border-radius: 32px;
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -36px rgba(13,21,48,.45); color: var(--ink); }
.close .copy.on-dark { color: var(--ink); }
/* in-page links land below the floating top bar */
[id] { scroll-margin-top: 96px; }

/* "Chat on the web": brand-blue glass so it reads as a button, still second to the dark "Get the app" */
nav.top .btn.webchat, nav .btn.webchat { background: rgba(61,123,255,.14); color: #1f4fc4; border: 1px solid rgba(61,123,255,.35); font-weight: 600; gap: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 14px -6px rgba(61,123,255,.45); }
nav.top .btn.webchat:hover, nav .btn.webchat:hover { background: rgba(61,123,255,.22); }
nav.top.on-dark:not(.scrolled) .btn.webchat, nav.on-dark:not(.scrolled) .btn.webchat { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 480px) { nav .btn.webchat svg { display: none; } }
