/* Ocean Trust brand colours, from apps/ops/src/app/globals.css, with a deeper night navy for the hero. */
:root {
  --night: #041a42;
  --navy-950: #051f4d;
  --navy-900: #072b68;
  --navy-800: #073d80;
  --navy-700: #1a4fa6;
  --navy-100: #d3e0f5;
  --navy-50: #eef3fb;
  --green-700: #0e6e31;
  --green-600: #08913d;
  --green-500: #5cb848;
  --green-300: #8fe0a0;
  --green-50: #e9f7ee;
  --cyan-500: #11a6e9;
  --cyan-400: #4cc3f2;
  --cyan-700: #0b78b0;
  --cyan-50: #e6f5fd;
  --ink: #0b2451;
  --muted: #4a5d78;
  --line: #d9e2ee;
  --page: #f4f7fb;
  --white: #ffffff;
  --brand-gradient: linear-gradient(120deg, var(--cyan-400) 0%, var(--green-500) 60%, #b8f06a 100%);
  --font-display: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(7, 43, 104, 0.06), 0 12px 32px rgba(7, 43, 104, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.wrap-narrow { max-width: 820px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 30; background: var(--white); color: var(--navy-900); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.gradient-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }

/* Header: transparent over the hero, solid once you scroll (site.js). Without JS it is always solid. */
.topbar { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { position: relative; display: block; }
.brand img { height: 42px; width: auto; transition: opacity 0.35s ease; }
.brand-light { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 6px 0; transition: color 0.3s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }
.js .topbar:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; }
.js .topbar:not(.is-scrolled) .nav a { color: var(--white); }
.js .topbar:not(.is-scrolled) .brand-light { opacity: 1; }
.js .topbar:not(.is-scrolled) .brand-dark { opacity: 0; }
.topbar.is-scrolled { box-shadow: 0 8px 30px rgba(4, 26, 66, 0.08); }

.button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 0.97rem; text-decoration: none; white-space: nowrap; transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
.button-green { background: linear-gradient(120deg, var(--green-600), #19a84f); color: var(--white); box-shadow: 0 8px 22px rgba(8, 145, 61, 0.35); }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8, 145, 61, 0.45); }
.button::after, .store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease-out); pointer-events: none; }
.button:hover::after, .store.is-live:hover::after { transform: translateX(120%); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); padding: 150px 0 170px; }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: 0.9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 52vw; height: 52vw; left: -6vw; top: 4vh; background: radial-gradient(circle, #1a6fc4 0%, transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 44vw; height: 44vw; right: -4vw; top: -6vh; background: radial-gradient(circle, rgba(17, 166, 233, 0.85) 0%, transparent 62%); animation: drift-b 26s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; left: 32vw; bottom: -14vh; background: radial-gradient(circle, rgba(92, 184, 72, 0.7) 0%, transparent 60%); animation: drift-c 30s ease-in-out infinite alternate; }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.88rem; font-weight: 600; color: #d8e6fb; backdrop-filter: blur(6px); animation: rise 0.8s var(--ease-out) both; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-500); animation: ping 1.8s ease-out infinite; }

.headline { margin-top: 22px; font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }
.word { display: inline-block; animation: word-in 0.9s var(--ease-out) both; animation-delay: calc(0.12s + var(--i) * 0.1s); }
.rise { animation: rise 0.9s var(--ease-out) both; animation-delay: calc(0.15s + var(--i) * 0.08s); }
.lede { margin-top: 22px; font-size: 1.15rem; color: #cbdaf2; max-width: 36rem; }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: #a9bfe2; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { font-size: 0.82rem; color: #a9bfe2; }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Store buttons: placeholders until site.js has a listing URL. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; min-width: 180px; padding: 8px 18px 8px 14px; border-radius: 10px; background: #000; border: 1px solid #a6a6a6; color: var(--white); text-decoration: none; transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
.store-icon { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.store-text small { font-weight: 500; font-size: 0.68rem; letter-spacing: 0.03em; }
/* Placeholder: a quiet badge that does not invite a tap. */
.store:not(.is-live) { cursor: default; border-style: dashed; border-color: rgba(166, 166, 166, 0.7); }
.store:not(.is-live)::after { display: none; }
.store.is-live:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }

/* Phone stage */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; perspective: 1200px; animation: rise 1s var(--ease-out) 0.3s both; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings span { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(76, 195, 242, 0.35); animation: ripple 6s ease-out infinite; }
.rings span:nth-child(2) { animation-delay: 2s; }
.rings span:nth-child(3) { animation-delay: 4s; }
.phone { position: relative; width: 300px; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #1b2c4f, #07142d); box-shadow: 0 40px 80px rgba(0, 8, 28, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease-out); animation: float 7s ease-in-out infinite; }
.phone-screen { border-radius: 33px; background: var(--page); color: var(--ink); padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; color: var(--navy-900); margin-bottom: 4px; }
.phone-top img { border-radius: 8px; }
.phone-label { font-size: 0.8rem; color: var(--muted); }
.phone-total { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; color: var(--navy-900); margin-top: -8px; font-variant-numeric: tabular-nums; }
.phone-card { background: linear-gradient(135deg, var(--navy-900), #1a6fc4); color: var(--white); border-radius: 16px; padding: 14px; box-shadow: 0 12px 24px rgba(7, 43, 104, 0.3); }
.phone-card-name { font-weight: 700; font-size: 0.86rem; }
.phone-card-rate { font-size: 0.78rem; color: var(--green-300); font-weight: 600; }
.phone-progress { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); margin: 12px 0 6px; overflow: hidden; }
.phone-progress span { display: block; height: 100%; width: 33%; border-radius: 999px; background: var(--brand-gradient); transform-origin: left; animation: fill 1.6s var(--ease-out) 0.9s both; }
.phone-card-meta { display: flex; justify-content: space-between; font-size: 0.74rem; color: #c9d8f0; }
.phone-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; white-space: nowrap; background: var(--white); border-radius: 12px; padding: 10px 12px; font-size: 0.8rem; color: var(--muted); }
.phone-row strong { color: var(--ink); font-size: 0.86rem; }
.slide { animation: slide-in 0.7s var(--ease-out) both; animation-delay: calc(1.1s + var(--i) * 0.15s); }
.phone-section { margin-top: 4px; font-weight: 700; color: var(--navy-900); }
.phone-ok { color: var(--green-700) !important; }
.phone-caption { margin-top: 4px; text-align: center; font-size: 0.7rem; color: var(--muted); }

.toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 8, 28, 0.35); font-size: 0.82rem; line-height: 1.25; opacity: 0; animation: toast 12s var(--ease-out) infinite; }
.toast strong { display: block; font-size: 0.86rem; }
.toast small { color: var(--muted); }
.toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--white); font-size: 0.9rem; font-weight: 800; flex: none; }
.toast-green { background: var(--green-600); }
.toast-blue { background: var(--navy-700); }
.toast-cyan { background: var(--cyan-500); }
.toast-a { left: -4%; top: 22%; animation-delay: 1.6s; }
.toast-b { right: -6%; top: 48%; animation-delay: 5.6s; }
.toast-c { left: 2%; bottom: 12%; animation-delay: 9.6s; }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; overflow: hidden; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; animation: wave-roll linear infinite; }
.wave-back { fill: rgba(17, 166, 233, 0.28); animation-duration: 22s; }
.wave-mid { fill: rgba(92, 184, 72, 0.22); animation-duration: 16s; animation-direction: reverse; }
.wave-front { fill: var(--white); animation-duration: 12s; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-list li { display: flex; align-items: center; gap: 18px; padding: 16px 0 16px 18px; white-space: nowrap; font-weight: 700; color: var(--navy-900); }
.ticker-list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); }

/* Sections */
.section { position: relative; padding: 100px 0; }
.section-head { max-width: 46rem; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.eyebrow-light { color: var(--green-300); }
.section h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -0.015em; color: var(--navy-900); }
.section-lede { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* Scroll reveal, staged by site.js. Without JS (or with reduced motion) everything is simply shown. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.1s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* After the reveal, hover effects respond at once instead of waiting out the stagger delay. */
.js [data-reveal].is-settled { transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, opacity 0.45s ease; }

/* Plans */
.plans { background: linear-gradient(180deg, var(--white) 0%, var(--page) 100%); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; overflow: hidden; isolation: isolate; background: var(--white); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, opacity 0.9s var(--ease-out); }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--accent); }
.plan-cyan { --accent: linear-gradient(90deg, var(--cyan-500), var(--cyan-400)); --glow: rgba(17, 166, 233, 0.18); }
.plan-green { --accent: linear-gradient(90deg, var(--green-600), var(--green-500)); --glow: rgba(92, 184, 72, 0.2); }
.plan-glow { position: absolute; z-index: -1; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 70%); transition: transform 0.6s var(--ease-out); }
.plan:hover, .js .plan.is-visible:hover { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(7, 43, 104, 0.06), 0 28px 50px rgba(7, 43, 104, 0.16); }
.plan:hover .plan-glow { transform: scale(1.35) translate(-30px, 30px); }
.plan-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-800); background: var(--navy-50); border-radius: 999px; padding: 4px 11px; }
.plan h3 { font-size: 1.25rem; color: var(--navy-900); }
.plan-rate { display: flex; align-items: center; gap: 12px; }
.plan-rate strong { font-family: var(--font-display); font-size: 3.6rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.plan-rate > span { color: var(--muted); font-size: 0.95rem; line-height: 1.35; }
.plan-facts { margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.plan-facts div { display: grid; grid-template-columns: 7.2rem 1fr; gap: 10px; font-size: 0.95rem; }
.plan-facts dt { color: var(--muted); font-weight: 600; }
.plan-facts dd { margin: 0; }
.plan-example { background: var(--green-50); border-radius: 12px; padding: 11px 13px; font-size: 0.95rem; }
.plan-small { font-size: 0.88rem; color: var(--muted); }
.plan-link { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--navy-700); text-decoration: none; padding: 6px 0; }
.plan-link:hover { color: var(--green-700); }
.plan-soon { background: linear-gradient(160deg, var(--navy-50), var(--white)); box-shadow: none; border: 2px dashed var(--navy-100); justify-content: center; }
.plan-soon::before { display: none; }
.plan-soon .plan-tag { background: var(--cyan-50); color: var(--cyan-700); }
.plan-soon p:not(.plan-tag) { color: var(--muted); }
.disclosure { margin-top: 30px; font-size: 0.9rem; color: var(--muted); max-width: 56rem; }

/* Calculator */
.calculator { overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(17, 166, 233, 0.35), transparent 45%), radial-gradient(circle at 85% 80%, rgba(92, 184, 72, 0.28), transparent 45%), var(--night); color: var(--white); }
.calculator h2 { color: var(--white); }
.calc-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.calc-intro p:last-child { margin-top: 16px; color: #cbdaf2; font-size: 1.1rem; }
.calc { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 26px; padding: 28px; backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0, 8, 28, 0.35); }
.calc-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 22px; padding: 6px; border: 0; border-radius: 16px; background: rgba(0, 0, 0, 0.22); }
.calc-plans legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.calc-plans label { position: relative; cursor: pointer; }
.calc-plans input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calc-plans span { display: block; text-align: center; padding: 11px 10px; border-radius: 12px; font-weight: 700; font-size: 0.92rem; color: #cbdaf2; transition: background 0.3s ease, color 0.3s ease; }
.calc-plans input:checked + span { background: var(--white); color: var(--navy-900); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }
.calc-plans input:focus-visible + span { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.calc-amount-label { display: block; font-weight: 700; font-size: 0.92rem; color: #cbdaf2; margin-bottom: 10px; }
.calc-amount { display: grid; grid-template-columns: 9.5rem 1fr; gap: 18px; align-items: center; }
.calc-amount input[type="number"] { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.25); color: var(--white); font: 700 1.1rem var(--font-body); padding: 8px 12px; }
.calc-amount input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-400), var(--green-500)) 0 / var(--fill, 0%) 100% no-repeat, rgba(255, 255, 255, 0.18); cursor: pointer; }
.calc-amount input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 4px solid var(--green-500); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease; }
.calc-amount input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-amount input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--green-500); }
.calc-limits { margin-top: 10px; font-size: 0.85rem; color: #a9bfe2; }
.calc-result { margin-top: 22px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.95); color: var(--ink); }
.calc-result-label { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.calc-total { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 2.8rem); letter-spacing: -0.02em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.calc-detail { color: var(--muted); font-size: 0.95rem; }
.calc-timeline { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 8px; align-items: end; min-height: 0; }
.calc-timeline:empty { display: none; }
.calc-timeline li { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-align: center; font-size: 0.74rem; color: var(--muted); }
.calc-timeline .bar { height: var(--h, 20px); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--green-500), var(--green-600)); transform-origin: bottom; animation: grow 0.7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 0.07s); }
.calc-timeline .bar.capital { background: linear-gradient(180deg, var(--cyan-400), var(--navy-700)); }
.calc-timeline strong { color: var(--ink); font-size: 0.78rem; }
.calc-note { margin-top: 14px; font-size: 0.82rem; color: #a9bfe2; }
.bump { animation: bump 0.45s var(--ease-out); }

/* How it works */
.steps { position: relative; list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 3px; border-radius: 3px; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) 0.3s; }
.steps.is-visible::before, html:not(.js) .steps::before { transform: scaleX(1); }
.steps li { counter-increment: step; position: relative; text-align: center; padding: 0 8px; }
.steps li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 900; box-shadow: 0 0 0 6px var(--white), 0 10px 20px rgba(7, 43, 104, 0.25); transition: transform 0.5s var(--ease-out), background 0.3s ease; transition-delay: calc(0.4s + var(--i) * 0.25s); }
.js .steps:not(.is-visible) li::before { transform: scale(0.4); }
.steps li:hover::before { background: var(--green-600); }
.steps h3 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Why Ocean Trust */
.why { background: var(--page); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.why-item { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, opacity 0.9s var(--ease-out); }
.why-item:hover, .js .why-item.is-visible:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(7, 43, 104, 0.14); }
.why-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-900), #1a6fc4); margin-bottom: 18px; transition: transform 0.5s var(--ease-out); }
.why-item:hover .why-icon { transform: rotate(-8deg) scale(1.08); }
.why-icon svg { width: 28px; height: 28px; fill: var(--green-300); }
.why-item h3 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 0.97rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.service { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, opacity 0.9s var(--ease-out); }
.service::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(17, 166, 233, 0.14), transparent 70%); transition: transform 0.6s var(--ease-out); }
.service-live::after { background: radial-gradient(circle, rgba(92, 184, 72, 0.18), transparent 70%); }
.service:hover, .js .service.is-visible:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(7, 43, 104, 0.14); }
.service:hover::after { transform: scale(1.4); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-900), #1a6fc4); transition: transform 0.5s var(--ease-out); }
.service:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-icon svg { width: 26px; height: 26px; fill: var(--green-300); }
.service-status { align-self: flex-start; margin-top: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--green-700); background: var(--green-50); border-radius: 999px; padding: 3px 10px; }
.service-soon { color: var(--cyan-700); background: var(--cyan-50); }
.service h3 { font-size: 1.3rem; color: var(--navy-900); }
.service p:not(.service-status) { color: var(--muted); font-size: 0.97rem; }
.service-link { margin-top: auto; font-weight: 700; color: var(--navy-700); text-decoration: none; padding-top: 6px; }
.service-link:hover { color: var(--green-700); }

/* Goals */
.goals { background: var(--page); }
.horizon { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; padding-top: 26px; font-weight: 700; font-size: 0.85rem; color: var(--navy-800); }
.horizon::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--brand-gradient); transform-origin: left; transform: scaleX(1); transition: transform 1.6s var(--ease-out) 0.2s; }
.js .horizon:not(.is-visible)::before { transform: scaleX(0); }
.horizon span { position: relative; }
.horizon span::before { content: ""; position: absolute; top: -26px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--green-600); }
.goal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.goal { padding: 24px 22px; border-radius: var(--radius); background: var(--white); border-left: 5px solid var(--cyan-500); box-shadow: var(--shadow); transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, opacity 0.9s var(--ease-out); }
.goal:nth-child(3) { border-left-color: var(--green-600); }
.goal:hover, .js .goal.is-visible:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(7, 43, 104, 0.14); }
.goal-when { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cyan-700); }
.goal h3 { margin-top: 8px; font-size: 1.15rem; color: var(--navy-900); }
.goal p:not(.goal-when) { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.goal-soon { border-left-style: dashed; border-left-color: var(--navy-100); }

/* Security */
.security { overflow: hidden; color: var(--white); background: radial-gradient(circle at 85% 15%, rgba(17, 166, 233, 0.3), transparent 45%), radial-gradient(circle at 10% 90%, rgba(92, 184, 72, 0.22), transparent 45%), var(--night); }
.security h2 { color: var(--white); }
.security-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 56px; align-items: start; }
.security-lede { margin-top: 16px; color: #cbdaf2; font-size: 1.08rem; }
.security-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.security-list li { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #cbdaf2; font-size: 0.95rem; backdrop-filter: blur(10px); transition: transform 0.45s var(--ease-out), background 0.3s ease, opacity 0.9s var(--ease-out); }
.security-list li:hover, .js .security-list li.is-visible:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.11); }
.security-list strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1.02rem; }
.security-list strong::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--brand-gradient); }
.security-tip { grid-column: 1 / -1; padding: 18px 22px; border-radius: 16px; background: rgba(251, 188, 4, 0.12); border: 1px solid rgba(251, 188, 4, 0.45); color: #fde9b0; }
.security-tip strong { color: #ffd45c; }

/* FAQ */
.faq-list { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--navy-900); transition: color 0.25s ease; }
.faq summary:hover { color: var(--navy-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--navy-50); color: var(--navy-800); font-size: 1.3rem; font-weight: 600; transition: transform 0.35s var(--ease-out), background 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green-50); color: var(--green-700); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46rem; }
.faq details[open] p { animation: rise 0.45s var(--ease-out) both; }

/* Download */
.download { padding: 40px 0 100px; }
.download-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 44px; border-radius: 30px; color: var(--white); background: radial-gradient(circle at 10% 50%, rgba(17, 166, 233, 0.45), transparent 50%), radial-gradient(circle at 95% 10%, rgba(92, 184, 72, 0.35), transparent 45%), var(--night); box-shadow: 0 30px 60px rgba(4, 26, 66, 0.25); }
.download-art { position: relative; display: grid; place-items: center; width: 130px; height: 130px; }
.rings-small span { width: 120px; height: 120px; }
.download-icon { position: relative; width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 14px 30px rgba(0, 8, 28, 0.45); animation: float 6s ease-in-out infinite; }
.download h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; }
.download-copy p { color: #cbdaf2; margin-top: 8px; }
.download .stores { margin-top: 0; }

.footer { background: var(--night); color: #c5d4ec; padding: 52px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; gap: 18px; }
.footer-brand img { height: 46px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { font-size: 0.86rem; max-width: 56rem; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.6em) rotate(4deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }
@keyframes drift-a { to { transform: translate(8vw, 6vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-10vw, 10vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-6vw, -8vh) scale(1.2); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes ripple { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toast { 0% { opacity: 0; transform: translateY(16px) scale(0.92); } 4%, 26% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: translateY(-10px) scale(0.96); } }
@keyframes wave-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Tablet */
@media (max-width: 1020px) {
  .hero { padding: 130px 0 160px; }
  .hero-inner, .calc-layout { grid-template-columns: 1fr; }
  .stage { min-height: 560px; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-soon { grid-column: 1 / -1; }
  .steps, .why-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .service-grid, .goal-grid { grid-template-columns: 1fr 1fr; }
  .security-layout { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .download-card { grid-template-columns: auto 1fr; }
  .download .stores { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .topbar-inner { min-height: 64px; }
  .topbar-cta { margin-left: auto; padding-inline: 16px; }
  .brand img { height: 34px; }
  .hero { padding: 108px 0 130px; }
  .headline { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .lede { font-size: 1.04rem; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { width: 100%; }
  .hero-stats { gap: 14px 24px; }
  .hero-stats dd { font-size: 1.45rem; }
  .stage { min-height: 0; padding: 30px 0 10px; }
  .phone { width: min(290px, 100%); }
  .rings span { width: 300px; height: 300px; }
  .toast { font-size: 0.76rem; padding: 8px 12px 8px 8px; }
  .toast-a { left: -2%; top: 10%; }
  .toast-b { right: -2%; top: 52%; }
  .toast-c { left: -2%; bottom: 6%; }
  .section { padding: 72px 0; }
  .plan-grid, .steps, .why-grid, .service-grid, .goal-grid, .security-list { grid-template-columns: 1fr; }
  .horizon { font-size: 0.72rem; }
  .plan-facts div { grid-template-columns: 6.4rem 1fr; }
  .plan-rate strong { font-size: 3rem; }
  .calc { padding: 18px; border-radius: 22px; }
  .calc-plans span { font-size: 0.84rem; padding: 10px 6px; }
  .calc-amount { grid-template-columns: 1fr; gap: 14px; }
  .calc-result { padding: 18px; }
  .steps li { text-align: left; padding: 0 0 0 64px; }
  .steps li::before { position: absolute; left: 0; top: -4px; margin: 0; }
  .download { padding: 20px 0 72px; }
  .download-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .download-art { width: 110px; height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .steps:not(.is-visible) li::before { transform: none; }
  .steps::before { transform: scaleX(1); }
  .js .horizon:not(.is-visible)::before { transform: scaleX(1); }
  .toast { opacity: 1; }
  .toast-b, .toast-c { display: none; }
}
