:root {
  /* Navy carries the weight, gold is the light. Glass as in the app (approved Oct 31, 2026). One visual world, no dark variant. */
  --navy: #16264A;
  --navy-deep: #0E1A35;
  --gold: #E8B23A;
  --cream: #EEE8DC;
  --ink: #16264A;
  --muted: #3E4A63;
  --display: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --top-h: 73px; /* the header: 72px row + 1px edge, the same on every page */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* A page shorter than the window fills the rest with cream, not navy */
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Glass surfaces: the app's exact values */
.glass {
  background: rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 30px rgba(22, 38, 74, 0.10);
}
.navyglass {
  background: rgba(22, 38, 74, 0.80);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 18px 40px rgba(22, 38, 74, 0.30);
}
.darkglass {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}
/* On cream, glass is a little more solid and doesn't boost color, so cards keep their own color */
.on-light .glass { background: rgba(255, 255, 255, 0.66); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.on-light .navyglass { background: rgba(22, 38, 74, 0.98); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }

/* Backgrounds: navy and cream zones; gold glows only in the side margins, never behind content */
.zone { position: relative; }
.zone > :not(.glow) { position: relative; z-index: 1; }
.dark { background: var(--navy); color: #FFFFFF; }
.dark a { color: #FFFFFF; }
.dark.deep { background: var(--navy-deep); }
.on-light { background: var(--cream); }
.glow {
  --margins: linear-gradient(90deg, #000 0, #000 calc(50% - 640px), transparent calc(50% - 545px), transparent calc(50% + 545px), #000 calc(50% + 640px), #000 100%);
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: var(--margins);
          mask-image: var(--margins);
}
/* Cream zones also fade out at the bottom, so a cream footer below shows no seam */
.on-light > .glow {
  -webkit-mask-image: var(--margins), linear-gradient(180deg, #000 calc(100% - 220px), transparent);
  -webkit-mask-composite: source-in;
          mask-image: var(--margins), linear-gradient(180deg, #000 calc(100% - 220px), transparent);
          mask-composite: intersect;
}
.glow i { position: absolute; top: 50%; width: 560px; height: 560px; margin-top: -280px; border-radius: 50%; background: var(--gold); filter: blur(110px); opacity: 0.26; }
.glow i:nth-child(odd) { left: -300px; }
.glow i:nth-child(even) { right: -300px; }
.glow.two i:nth-child(-n+2) { top: 22%; }
.glow.two i:nth-child(n+3) { top: 72%; }
.deep .glow i { opacity: 0.22; }
.on-light .glow i { opacity: 0.40; }

/* Header: sticky navy glass bar */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(22, 38, 74, 0.80);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* On the home pages the dark hero runs up behind the header, which stays clear while the page is at the top
   (site.js adds .at-top); scrolled, it is the frosted bar. Without JS it is always the bar. */
.top.overlay + main { margin-top: calc(-1 * var(--top-h)); }
.top.overlay + main > .zone:first-child { display: flow-root; } /* keeps the margin below inside the hero */
.top.overlay + main > .zone:first-child > .wrap { margin-top: var(--top-h); }
.top.at-top { background-color: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: calc(var(--top-h) - 1px); }
.top .logo { display: flex; align-items: center; min-height: 44px; }
.top .logo img { width: 90px; height: 48px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; color: #FFFFFF; text-decoration: none; padding: 9px 0; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.top-actions { display: flex; gap: 10px; align-items: center; }
.navpill { display: flex; gap: 2px; padding: 3px; border-radius: 999px; }
.top .navyglass, .top .glass { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset; }
.navpill a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 600; }
.navpill a:hover { color: var(--gold); }
.navpill a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }
.langbtn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 999px; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 700; }

/* Centi hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: end; padding-top: 72px; }
.hero-copy { padding-bottom: 96px; }
.kicker { margin: 0 0 18px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin: 22px 0 0; max-width: 34em; font-size: 19px; color: rgba(255, 255, 255, 0.86); }
.hero .soon { display: inline-block; margin: 28px 0 0; padding: 12px 18px; border-radius: 18px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.hero .soon a { font-weight: 700; word-break: break-word; }

/* The phone: a front-facing device drawn in CSS, running off the bottom of the hero */
.phone-col { position: relative; display: flex; justify-content: center; }
.device {
  position: relative; width: 334px; max-width: 100%; padding: 4px 4px 0; border-radius: 60px 60px 0 0;
  background: linear-gradient(140deg, #6B7182 0%, #2B2F38 22%, #16181D 50%, #2B2F38 78%, #5A6070 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 90px rgba(4, 8, 20, 0.65);
}
.device .side { position: absolute; width: 3px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #5A6070, #2B2F38); }
.device .l1 { left: -3px; top: 118px; height: 30px; }
.device .l2 { left: -3px; top: 176px; height: 56px; }
.device .l3 { left: -3px; top: 244px; height: 56px; }
.device .r1 { right: -3px; top: 196px; height: 86px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #5A6070, #2B2F38); }
.bezel { position: relative; padding: 10px 10px 0; border-radius: 56px 56px 0 0; background: #050608; }
.screen { width: 100%; height: 560px; object-fit: cover; object-position: top; border-radius: 46px 46px 0 0; }
.island { position: absolute; left: 50%; top: 21px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000000; }
.glare { position: absolute; inset: 10px 10px 0; border-radius: 46px 46px 0 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0) 40%); pointer-events: none; }

/* Floating "Safe to spend" card (decoration; the screenshot's alt text says it) */
.float-card { position: absolute; left: -40px; bottom: 120px; width: 270px; border-radius: 26px; padding: 18px 20px 16px; color: #FFFFFF; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 30px 60px rgba(14, 26, 53, 0.55); }
.float-card p { margin: 0; }
.fc-coin { position: absolute; right: 16px; top: 14px; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); }
.fc-label { padding-right: 64px; font-size: 12px; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.float-card .fc-amount { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fc-line { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.fc-bar { height: 6px; margin-top: 14px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.fc-bar span { display: block; width: 30%; height: 100%; border-radius: 6px; background: var(--gold); }

/* Waitlist (not on the pages now; see README) */
.waitlist { margin-top: 30px; max-width: 470px; }
.waitlist .row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.waitlist input {
  flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 16px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: #FFFFFF; border: 1px solid transparent; border-radius: 14px;
}
.waitlist input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.btn {
  height: 52px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700;
  background: var(--gold); color: var(--navy);
}
.btn:hover { background: #F0C258; }
.waitlist .note { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.waitlist .status { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--gold); min-height: 1.4em; }
.on-light .waitlist label { color: var(--ink); }
.on-light .waitlist input { border-color: rgba(22, 38, 74, 0.12); }
.on-light .waitlist .note { color: var(--muted); }
.on-light .waitlist .status { color: var(--ink); }

/* Sections */
section.band { padding: 88px 0; }
h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.intro { margin: 0 0 40px; max-width: 36em; color: var(--muted); font-size: 18px; }
.dark .intro { color: rgba(255, 255, 255, 0.82); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { border-radius: 26px; padding: 26px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 16px;
  background: rgba(22, 38, 74, 0.98); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 18px rgba(22, 38, 74, 0.25);
  color: var(--gold); font-weight: 800; font-size: 16px;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.steps p { margin: 0; color: var(--muted); }

.strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 24px 12px; max-width: calc(var(--wrap) + 48px); margin: 0 auto;
}
.dark .strip { scrollbar-color: rgba(255, 255, 255, 0.28) transparent; }
.tile { flex: 0 0 248px; border-radius: 30px; padding: 10px; scroll-snap-align: start; }
.tile img { width: 100%; height: auto; border-radius: 22px; }

.privacy { padding: 96px 0 72px; }
.privacy .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
.privacy .coin { width: 150px; height: 150px; filter: drop-shadow(0 0 40px rgba(232, 178, 58, 0.7)) drop-shadow(0 10px 20px rgba(14, 26, 53, 0.3)); }
.privacy h2 { margin-bottom: 20px; }
.privacy ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.privacy li { display: flex; gap: 12px; align-items: center; border-radius: 18px; padding: 14px 18px; color: #FFFFFF; font-weight: 700; }
.privacy li svg { flex: none; }
.privacy p { margin: 0; color: var(--muted); }
.privacy a { font-weight: 700; }

.story { padding: 0 0 72px; }
.quote { margin: 0; border-radius: 28px; padding: 36px 40px; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.quote figcaption { margin-top: 16px; color: var(--muted); font-weight: 600; }

/* Coming soon: a near-solid navy panel with a gold halo showing only around its edges */
.cta { padding: 24px 0 88px; }
.soon-panel { position: relative; }
.halo { position: absolute; inset: 12% 10%; border-radius: 50%; background: var(--gold); opacity: 0.75; filter: blur(90px); }
.panel { position: relative; border-radius: 40px; padding: 72px 40px; text-align: center; color: #FFFFFF; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 50% 0%, rgba(94, 132, 214, 0.26), rgba(94, 132, 214, 0) 70%); }
.panel > * { position: relative; }
.panel .coin { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); }
.panel h2 { margin: 22px 0 14px; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; }
.panel h2 em { font-style: normal; color: var(--gold); }
.panel p { margin: 0 auto; max-width: 30em; font-size: 19px; color: rgba(255, 255, 255, 0.86); }
.panel a { color: #FFFFFF; font-weight: 700; word-break: break-word; }

/* Studio home (Crescit Labs) */
.studio-hero { padding: 88px 0 150px; }
.studio-hero h1 { margin: 0; max-width: 14em; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.studio-hero h1 em { font-style: normal; color: var(--gold); }
.apps { margin-top: -96px; }
.app-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; max-width: 640px; border-radius: 28px; padding: 26px; }
.app-card img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 8px 20px rgba(14, 26, 53, 0.25); }
.app-card h2 { font-size: 30px; margin: 0 0 4px; }
.app-card p { margin: 0 0 14px; color: var(--muted); }
.app-card .go { font-weight: 700; }
.studio-contact { padding: 64px 0; }
.studio-contact h2 { font-size: 32px; margin-bottom: 8px; }
.studio-contact p { margin: 0; }
.studio-contact a { font-size: 22px; font-weight: 700; word-break: break-word; }

/* Text pages */
.page { padding: 56px 0 88px; }
.page .wrap { max-width: 760px; }
.page h1 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(38px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.02em; }
.page .updated { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.page h2 { font-size: 26px; margin: 44px 0 10px; }
.page h3 { font-size: 19px; margin: 28px 0 6px; }
.page p, .page li { max-width: 65ch; }
.page ul { padding-left: 22px; }
.summary { border-radius: 22px; padding: 26px 28px; color: #FFFFFF; }
.summary p { margin: 0; font-size: 19px; }
.summary strong { color: var(--gold); }
.contact { border-radius: 22px; padding: 24px 28px; }
.contact p { margin: 0; }
.contact .addr { font-size: 22px; font-weight: 700; margin-top: 6px; word-break: break-word; }
details { border-radius: 18px; padding: 0 20px; margin-top: 12px; }
details summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 18px; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid rgba(22, 38, 74, 0.12); }
details > p, details > ol { margin: 14px 0 18px; }

/* Footer: a light glass pill on cream */
/* Overlaps main by 1px so the navy page behind never shows through a fractional seam */
.site-footer { background: var(--cream); margin-top: -1px; padding: 1px 0 32px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; flex-wrap: wrap; border-radius: 999px; padding: 14px 24px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--ink); }

/* Solid fills where glass can't blur, or when the reader asks for less transparency */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .on-light .glass { background: #FBF8F2; }
  .navyglass, .on-light .navyglass, .top { background: #16264A; }
  .darkglass { background: #1D2D55; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .on-light .glass { background: #FBF8F2; }
  .navyglass, .on-light .navyglass, .top { background: #16264A; }
  .darkglass { background: #1D2D55; }
  .glass, .navyglass, .darkglass, .top { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 1000px) {
  .float-card { left: 0; }
}
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; padding-top: 44px; }
  .hero-copy { padding-bottom: 36px; }
  .screen { height: 460px; }
  .float-card { left: auto; right: 12px; bottom: 40px; width: 240px; }
  .float-card .fc-amount { font-size: 38px; }
  .steps { grid-template-columns: 1fr; }
  .tile { flex-basis: 220px; }
  .privacy { padding: 64px 0 56px; }
  .privacy .wrap { grid-template-columns: 1fr; gap: 20px; }
  .privacy .coin { width: 96px; height: 96px; }
  section.band { padding: 64px 0; }
  .quote { padding: 28px 24px; }
  .panel { padding: 56px 24px; border-radius: 32px; }
  .studio-hero { padding: 64px 0 140px; }
  .app-card { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .app-card img { width: 72px; height: 72px; }
  .foot { border-radius: 24px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .top .logo img { width: 72px; height: 38px; }
  .wordmark { font-size: 22px; }
  .top-actions { gap: 6px; }
  .navpill a { padding: 0 11px; font-size: 14px; }
  .langbtn { padding: 0 14px; font-size: 14px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .strip { scroll-behavior: smooth; }
}
