/* Tidalume website. Brand: Unbounded (display) + Figtree (body), tide + lume palette. Self-hosted fonts, no trackers. */
@font-face { font-family: "Unbounded"; font-weight: 400 700; font-display: swap; src: url(../fonts/unbounded-1.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-0.woff2) format("woff2"); }

:root {
  --night: #061722; --navy: #0B2A3C; --deep: #0E3550; --tide: #1769A0; --tide-l: #5BB2E8;
  --lume: #F2A65A; --lume-l: #FFC98A; --sand: #F6EFE8; --mist: #EAF2F6; --paper: #FBF8F4;
  --ink: #0B2A3C; --ink-2: #36556A; --muted: #5E7686; --line: rgba(11, 42, 60, .12);
  --on-dark: #EAF2F6; --on-dark-2: #A9C3D3;
  --r: 22px; --r-sm: 14px;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 30px 60px -30px rgba(6, 23, 34, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lume); color: var(--night); padding: .75rem 1rem; z-index: 99; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--lume); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.375rem; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn-lume { background: var(--lume); color: var(--night); box-shadow: 0 10px 30px -10px rgba(242, 166, 90, .7); }
.btn-lume:hover { background: var(--lume-l); transform: translateY(-1px); }
.btn-ghost { background: rgba(234, 242, 246, .08); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(234, 242, 246, .35); }
.btn-ghost:hover { background: rgba(234, 242, 246, .16); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(6, 23, 34, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: var(--on-dark); border-bottom: 1px solid rgba(234, 242, 246, .08); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; font: 600 1.375rem/1 var(--display); letter-spacing: -.02em; color: var(--on-dark); min-height: 48px; }
.brand .mark { width: 34px; height: 34px; color: var(--tide-l); }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 .875rem; text-decoration: none; color: var(--on-dark-2); font-weight: 500; border-radius: 999px; }
.nav-links a:hover { color: var(--on-dark); background: rgba(234, 242, 246, .06); }
.nav-cta { padding: .625rem 1.125rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: var(--night); isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 75% 110%, rgba(242, 166, 90, .45), transparent 60%),
  radial-gradient(90% 60% at 20% 0%, rgba(23, 105, 160, .35), transparent 70%),
  linear-gradient(180deg, #061722 0%, #0B2A3C 55%, #3A3242 100%); }
.hero-glow { position: absolute; left: 8%; top: 30%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 138, .35), rgba(242, 166, 90, .08) 45%, transparent 70%); filter: blur(8px); animation: breathe 14s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.85); opacity: .55; } 28% { transform: scale(1.05); opacity: 1; } 57% { transform: scale(1.05); opacity: .95; } }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 4.5rem 0 4rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .625rem; font-weight: 600; font-size: .9375rem; letter-spacing: .02em; color: var(--lume-l); background: rgba(242, 166, 90, .12); border: 1px solid rgba(242, 166, 90, .3); padding: .5rem .875rem; border-radius: 999px; margin-bottom: 1.5rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lume); box-shadow: 0 0 0 0 rgba(242, 166, 90, .7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 166, 90, .6); } 100% { box-shadow: 0 0 0 12px rgba(242, 166, 90, 0); } }
.hero h1 { font-size: clamp(2.25rem, 5.2vw, 4.125rem); font-weight: 700; max-width: 15ch; text-wrap: balance; }
.lede { margin-top: 1.375rem; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--on-dark-2); max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.fine { margin-top: 1.25rem; font-size: .875rem; color: #87A3B5; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(234, 242, 246, .08); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-media figcaption { margin-top: .625rem; font-size: .8125rem; color: #87A3B5; text-align: right; }

/* ---------- strip ---------- */
.strip { background: var(--navy); color: var(--on-dark); border-top: 1px solid rgba(234, 242, 246, .06); }
.strip-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.75rem 0; }
.strip p { display: flex; flex-direction: column; gap: .125rem; }
.strip b { font: 600 1.125rem/1.2 var(--display); color: var(--lume-l); }
.strip span { color: var(--on-dark-2); font-size: .9375rem; }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.sec-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.kicker { font-weight: 700; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tide); margin-bottom: .875rem; }
.section h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; }
.sec-lede { margin-top: 1.125rem; font-size: 1.1875rem; color: var(--ink-2); }
.note { margin-top: 2.5rem; font-size: .9375rem; color: var(--muted); border-left: 3px solid var(--lume); padding: .25rem 0 .25rem 1rem; max-width: 44rem; }

/* station */
.station { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.station-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.station-photo { margin: 0; position: sticky; top: 96px; }
.station-photo img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature { background: #fff; border-radius: var(--r); padding: 1.5rem 1.5rem 1.625rem; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(11, 42, 60, .35); }
.feature .ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(140deg, rgba(242, 166, 90, .22), rgba(91, 178, 232, .18)); color: var(--tide); margin-bottom: 1rem; }
.feature .ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: .5rem; }
.feature p { color: var(--ink-2); }

/* morning timeline */
.morning { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.morning::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(242, 166, 90, .2), transparent); pointer-events: none; }
.morning .kicker { color: var(--lume-l); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 2rem 2.5rem; border-left: 2px solid rgba(234, 242, 246, .14); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--lume); }
.timeline time { font: 600 .9375rem/1 var(--display); color: var(--lume-l); }
.timeline h3 { font-size: 1.25rem; font-weight: 600; margin: .5rem 0 .375rem; }
.timeline p { color: var(--on-dark-2); max-width: 30rem; }

/* people band */
.band { display: grid; grid-template-columns: 1fr; }
.band-img { margin: 0; position: relative; }
.band-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.band-img figcaption { position: absolute; left: 1.5rem; bottom: 1.25rem; font: 600 clamp(1.25rem, 2.6vw, 1.75rem)/1.1 var(--display); color: #fff; text-shadow: 0 2px 20px rgba(6, 23, 34, .55); }

/* app */
.app { background: var(--sand); }
.app-in { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.ticks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .875rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--tide) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat; }
.ticks b { color: var(--ink); }
.store-badge { display: inline-flex; align-items: center; gap: .75rem; margin-top: 2rem; background: var(--night); color: #fff; padding: .75rem 1.25rem .75rem 1rem; border-radius: 14px; min-height: 56px; }
.store-badge svg { width: 28px; height: 28px; }
.store-badge span { display: flex; flex-direction: column; font: 600 1.125rem/1.1 var(--body); }
.store-badge small { font-size: .75rem; font-weight: 500; color: var(--on-dark-2); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 2vw, 1.25rem); align-items: center; }
.phone { margin: 0; background: #0B1F2C; padding: 6px; border-radius: 30px; box-shadow: 0 30px 60px -25px rgba(6, 23, 34, .55); }
.phone img { border-radius: 24px; }
.phone.p1 { transform: translateY(1.5rem) rotate(-3deg); }
.phone.p3 { transform: translateY(1.5rem) rotate(3deg); }

/* honest */
.honest { background: var(--paper); padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.honest h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.honest-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.honest-grid p { background: #fff; border-radius: var(--r-sm); padding: 1.25rem 1.375rem; color: var(--ink-2); box-shadow: 0 1px 0 var(--line); }
.honest-grid b { display: block; color: var(--ink); margin-bottom: .25rem; }

/* waitlist */
.waitlist { background: linear-gradient(160deg, var(--night), var(--navy) 60%, #2D3446); color: var(--on-dark); }
.wl-in { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.wl-media { margin: 0; }
.wl-media img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.waitlist .kicker { color: var(--lume-l); }
.wl-card > p { color: var(--on-dark-2); margin-top: 1rem; font-size: 1.125rem; }
.wl-form { margin-top: 1.75rem; display: grid; gap: .875rem; }
.wl-form > label { font-weight: 600; }
.hp { display: none; } /* honeypot: hidden from people, bots fill it */
.wl-row { display: flex; gap: .625rem; flex-wrap: wrap; }
.wl-row input { flex: 1 1 15rem; min-height: 56px; border-radius: 999px; border: 1.5px solid rgba(234, 242, 246, .3); background: rgba(234, 242, 246, .06); color: #fff; padding: 0 1.25rem; font: 500 1.0625rem var(--body); }
.wl-row input::placeholder { color: #87A3B5; }
.wl-row input:focus { border-color: var(--lume); outline: none; box-shadow: 0 0 0 4px rgba(242, 166, 90, .25); }
.wl-row .btn { min-height: 56px; }
.consent { display: flex; gap: .625rem; align-items: flex-start; min-height: 48px; padding-top: .5rem; font-size: .9375rem; color: var(--on-dark-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: .125rem 0 0; accent-color: var(--lume); flex: none; }
.consent a { color: var(--lume-l); }
.wl-msg { min-height: 1.5rem; font-weight: 600; color: var(--lume-l); }
.wl-msg.err { color: #FFB4A8; }

/* faq */
.faq-in { max-width: 48rem; }
.faq h2 { margin-bottom: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; font: 600 1.125rem/1.35 var(--body); padding: .75rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231769A0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 40rem; }

/* footer */
.foot { background: var(--night); color: var(--on-dark-2); padding: 3.5rem 0 2.5rem; }
.foot-in { display: grid; gap: 1rem; }
.foot-tag { font: 500 1.125rem/1.3 var(--display); color: var(--on-dark); }
.foot-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; min-height: 48px; align-items: center; text-decoration: none; color: var(--on-dark-2); }
.foot-links a:hover { color: #fff; }
.foot-fine { font-size: .8125rem; color: #6F8A9C; max-width: 52rem; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- layout breakpoints ---------- */
@media (min-width: 760px) {
  .features { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .honest-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .timeline li { padding: 2.25rem 0 0; border-left: 0; border-top: 2px solid rgba(234, 242, 246, .14); }
  .timeline li::before { left: 0; top: -9px; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot-fine { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1fr 1.15fr; padding: 6rem 0 5.5rem; }
  .station-grid { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; }
  .app-in { grid-template-columns: 1fr 1.05fr; }
  .wl-in { grid-template-columns: .95fr 1fr; gap: 4rem; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .strip-in { grid-template-columns: 1fr; gap: .875rem; }
  .strip p { flex-direction: row; align-items: baseline; gap: .75rem; }
  .station-photo { position: static; }
  .hero-glow { width: 340px; height: 340px; left: -10%; top: 10%; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 2rem); }
  .brand span { font-size: 1.1875rem; }
  .nav-cta { padding: .625rem .875rem; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow, .eyebrow .dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* two ways to fill */
.fill { margin-top: clamp(4rem, 8vw, 6rem); }
.fill-h { font-size: clamp(1.625rem, 3.4vw, 2.5rem); font-weight: 700; }
.fill-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.fill-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 24px 50px -32px rgba(11, 42, 60, .4); display: flex; flex-direction: column; }
.fill-card figure { margin: 0; }
.fill-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fill-body { padding: 1.5rem 1.625rem 1.75rem; }
.fill-card .tag { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tide); }
.best-chip { letter-spacing: 0; text-transform: none; font-size: .8125rem; background: var(--lume); color: var(--night); padding: .2rem .6rem; border-radius: 999px; }
.fill-card h4 { font: 600 1.375rem/1.2 var(--display); letter-spacing: -.02em; margin: .5rem 0 .625rem; }
.fill-card p:not(.tag) { color: var(--ink-2); }
.fill-card.best { box-shadow: 0 0 0 2px var(--lume), 0 24px 50px -28px rgba(242, 166, 90, .55); }
.mini { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mini li { font-size: .875rem; font-weight: 600; color: var(--ink); background: var(--mist); padding: .375rem .75rem; border-radius: 999px; }
@media (min-width: 760px) { .fill-grid { grid-template-columns: 1fr 1fr; } }
