/* Otter Vault landing: the river at night up top (deep green, mint, a slow ripple), then the
   quiet daylight of the Teams page below (sage page, off-white cards, deep green ink). Lumiare
   only for the big headlines; everything else stays soft. */
@font-face {
  font-family: "Lumiare";
  src: url("assets/fonts/Lumiare.otf") format("opentype");
  font-display: swap;
}

:root {
  --night: #0b231e;
  --deep: #0e2a24;
  --river: #133b33;
  --mint: #9fe2b0;
  --mint-soft: rgba(159, 226, 176, .14);
  --foam: #e9f5ee;
  --page: #e9ede7;
  --card: #fbfcfa;
  --ink: #17362f;
  --muted: #5d6f68;
  --line: #d8dfd9;
  --soft: #edf1ec;
  --accent: #1f4b40;
  --amber: #a8611f;
  --display: "Lumiare", "Iowan Old Style", Georgia, serif;
  --body: ui-rounded, "SF Pro Rounded", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.mint { background: var(--mint); color: var(--night); }
.button.mint:hover { background: #b4ebc2; }
.button.ghost-dark { background: transparent; color: var(--foam); border-color: rgba(159, 226, 176, .3); }
.button.ghost-dark:hover { border-color: rgba(159, 226, 176, .6); background: rgba(159, 226, 176, .06); }
.button.dark { background: var(--accent); color: #fff; }
.button.dark:hover { background: #173b32; }
.button.mint-on-dark { background: var(--mint); color: var(--night); }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--foam); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 60% at 78% 30%, rgba(63, 191, 168, .22), transparent 70%),
    radial-gradient(45% 50% at 10% 85%, rgba(42, 143, 127, .25), transparent 70%),
    linear-gradient(175deg, var(--night), var(--deep) 45%, var(--river));
}
/* grain, so the gradient reads as water rather than a flat fill */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* one slow ripple drifting across, like light on a river */
.hero::after {
  content: ""; position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 70% 40%, transparent 0 46px, rgba(159, 226, 176, .035) 46px 48px);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(-2%, -1%) scale(1); } to { transform: translate(2%, 2%) scale(1.06); } }

.nav { position: relative; max-width: 1180px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 17px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: rgba(233, 245, 238, .72); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--foam); }
.nav-cta { padding: 9px 15px; border-radius: 10px; border: 1px solid rgba(159, 226, 176, .35); color: var(--mint); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-cta:hover { background: var(--mint-soft); }

.hero-grid { max-width: 1180px; margin: 0 auto; padding: 48px 28px 120px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); font-size: 14px; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(159, 226, 176, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(159, 226, 176, 0); } }
h1 { margin: 0; font: 400 clamp(46px, 6.4vw, 84px)/.98 var(--display); letter-spacing: -.5px; color: #f4fbf6; }
.lede { max-width: 520px; margin: 24px 0 30px; font-size: 19px; color: rgba(233, 245, 238, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; font-size: 14px; color: rgba(233, 245, 238, .55); }

/* staggered entrance */
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.stage { animation: rise 1s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.shore { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; fill: var(--page); }

/* ---------- the acted-out moment ---------- */
.stage { margin: 0; position: relative; }
.console {
  position: relative; border-radius: 18px; background: #fbfcfa; color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(159, 226, 176, .12); overflow: hidden; transform: rotate(-1.2deg);
}
.console-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #eef2ee; border-bottom: 1px solid var(--line); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd5; }
.console-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--muted); }
.console-body { padding: 22px 22px 104px; }
.console-title { margin: 0; font-weight: 650; font-size: 18px; }
.console-hint { margin: 4px 0 16px; font-size: 14px; color: var(--muted); }
.key-field { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.key-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2c4a43; }
.key-text::after { content: attr(data-shown); }
.hero-grid > *, .teams-grid > *, .steps > *, .plans > * { min-width: 0; }
.caret { width: 2px; height: 18px; margin-left: 2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-row { display: flex; gap: 8px; margin-top: 14px; }
.pill { padding: 3px 10px; border-radius: 999px; background: #fbeeeb; color: #a3463b; font-size: 12px; font-weight: 600; }
.pill.soft { background: var(--soft); color: var(--muted); }

.offer, .saved {
  position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; box-shadow: 0 14px 34px rgba(11, 35, 30, .28);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.15); pointer-events: none;
}
.offer { background: var(--deep); color: var(--foam); }
.offer div, .saved div { display: grid; flex: 1; line-height: 1.3; }
.offer strong, .saved strong { font-size: 15px; font-weight: 650; }
.offer div span { font-size: 13px; color: rgba(233, 245, 238, .7); }
.offer-button { padding: 8px 12px; border-radius: 9px; background: var(--mint); color: var(--night); font-size: 13px; font-weight: 650; transition: transform .15s ease, filter .15s ease; }
.saved { background: var(--mint); color: var(--night); }
.saved div span { font-size: 12.5px; color: rgba(11, 35, 30, .7); }
.lock { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--deep); }
.lock svg { width: 22px; height: 22px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; }
.lock svg rect { fill: var(--mint); stroke: none; }

.stage[data-phase="offer"] .offer, .stage[data-phase="press"] .offer { opacity: 1; transform: none; }
.stage[data-phase="press"] .offer-button { transform: scale(.94); filter: brightness(1.1); }
.stage[data-phase="saved"] .saved { opacity: 1; transform: none; }
.stage[data-phase="saved"] .key-text { filter: blur(5px); transition: filter .5s ease; }
.stage[data-phase="saved"] .lock svg path { animation: shut .5s .1s ease both; }
@keyframes shut { from { transform: translateY(-3px); } }

.stage-steps { display: flex; justify-content: center; gap: 22px; margin-top: 26px; font-size: 13px; color: rgba(233, 245, 238, .45); }
.stage-steps span { display: inline-flex; align-items: center; gap: 7px; transition: color .3s ease; }
.stage-steps span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stage-steps span.on { color: var(--mint); }

/* ---------- the otter (the popup's four-pose sprite) ---------- */
.otter-sprite { display: inline-block; flex: none; width: 44px; height: 44px; background: url("assets/otter-poses.webp") 0 0 / 200% 200% no-repeat; }
.otter-sprite.happy { background-position: 0 0; }
.otter-sprite.run { background-position: 100% 0; }
.otter-sprite.talk { background-position: 0 100%; }
.otter-sprite.puzzled { background-position: 100% 100%; }

/* ---------- light sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 96px 28px 24px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:not(.kicker) { max-width: 620px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #2d6a52; font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 0; font: 400 clamp(34px, 4.2vw, 52px)/1.04 var(--display); letter-spacing: -.3px; color: var(--ink); }
.section-head p:not(.kicker) { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; letter-spacing: -.2px; }
.fine { color: var(--muted); font-size: 14px; }
.fine a { color: var(--accent); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 14px 14px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.step-shot { margin: 0 0 20px; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: #e9efe9; border: 1px solid var(--line); }
.step-shot img { width: 100%; height: 100%; object-fit: cover; }
.step h3, .step p { padding: 0 10px; }
.step-no { display: block; padding: 0 10px; margin-bottom: 4px; font: 13px var(--mono); color: #9aa9a2; }
.step p { margin: 0; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 24px; background: var(--card); }
.fact code { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 7px; background: var(--soft); color: var(--accent); font-size: 14px; }
.fact p { margin: 0; color: var(--muted); font-size: 15.5px; }
.security .fine { margin-top: 18px; }

.teams-grid { display: grid; gap: 40px; }
.teams-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
.teams-copy > .kicker, .teams-copy > h2, .teams-copy > p { grid-column: 1; }
.teams-copy > .countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 76px)); gap: 10px; margin: 4px 0 26px; }
.countdown > div { display: grid; justify-items: center; gap: 2px; padding: 12px 0 10px; border-radius: 14px; background: var(--deep); color: var(--foam); }
.countdown b { font: 400 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(233, 245, 238, .65); }
.countdown-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.countdown.live > div { display: none; }
.countdown.live .countdown-note { font-size: 16px; font-weight: 600; color: var(--ink); }
a.eyebrow { text-decoration: none; color: inherit; }
a.eyebrow:hover { filter: brightness(1.2); }
/* launch-list form: one field and a button; the honeypot stays off screen */
.notify { display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.notify input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px; }
.notify button { padding: 12px 18px; border-radius: 12px; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.notify.on-light input[type="email"] { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.notify.on-light button { background: var(--deep); color: var(--foam); }
.notify.on-dark input[type="email"] { border: 1px solid rgba(159, 226, 176, .35); background: rgba(255, 255, 255, .06); color: var(--foam); }
.notify.on-dark input[type="email"]::placeholder { color: rgba(233, 245, 238, .5); }
.notify.on-dark button { background: var(--mint); color: var(--deep); }
.notify button:disabled { opacity: .6; cursor: progress; }
.notify-status { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; min-height: 1.2em; }
.notify.on-light .notify-status { color: var(--muted); }
.notify.on-dark .notify-status { color: rgba(233, 245, 238, .8); }
.notify.done input[type="email"], .notify.done button { display: none; }
.notify.done .notify-status { font-size: 16px; font-weight: 600; }
.notify.on-light.done .notify-status { color: #2d6a52; }
.notify-fine { flex-basis: 100%; margin: 0; font-size: 12px; opacity: .7; }
.notify-fine a { color: inherit; }
.notify.done .notify-fine { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.plan .notify { margin-top: auto; }
.ticks { grid-column: 2; grid-row: 1 / span 4; margin-top: 8px; }
.teams-copy > .button { grid-column: 1; justify-self: start; }
.window { max-width: 1060px; width: 100%; justify-self: center; }
.teams-copy h2 { margin-bottom: 16px; }
.teams-copy > p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.soon { padding: 3px 9px; border-radius: 999px; background: #fbf1e6; color: var(--amber); font-size: 11px; letter-spacing: .06em; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: #dcede2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%232d6a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ticks strong { color: var(--ink); font-weight: 650; }
.window { margin: 0; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(23, 54, 47, .14); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2ee; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd5; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.window video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--page); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plan { position: relative; padding: 30px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { display: flex; align-items: center; gap: 10px; }
.price { margin: 6px 0 4px; font: 400 46px/1 var(--display); }
.price span { font: 500 16px var(--body); color: var(--muted); margin-left: 4px; }
.price s { margin-right: 12px; font-size: 30px; color: var(--muted); text-decoration-thickness: 2px; }
.plan.featured .price s { color: rgba(233, 245, 238, .45); }
.early { align-self: flex-start; margin: 14px 0 2px; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--deep); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.price-note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.plan ul { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { padding-left: 22px; position: relative; color: var(--muted); }
.plan li::before { content: "·"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.plan .button { align-self: flex-start; }
.plan.featured { background: var(--deep); color: var(--foam); border-color: var(--deep); }
.plan.featured .price span, .plan.featured .price-note, .plan.featured li { color: rgba(233, 245, 238, .72); }
.plan.featured li::before { color: var(--mint); }
.plan-otter { position: absolute; right: 22px; top: -38px; width: 76px; height: 76px; }

.faq-list { max-width: 760px; display: grid; gap: 10px; }
details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
details a { color: var(--accent); }

.closer { max-width: 1180px; margin: 110px auto 0; padding: 0 28px 90px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.closer-otter { width: 120px; height: 120px; animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.closer .button.mint { background: var(--accent); color: #fff; }
.closer .button.mint:hover { background: #173b32; }

.footer { max-width: 1180px; margin: 0 auto; padding: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer p { margin: 0 0 0 auto; }

/* scroll reveals (site.js adds .in); without JS everything is simply visible */
.js .reveal { opacity: .01; transform: translateY(8px); transition: opacity .35s ease-out, transform .35s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .facts .reveal:nth-child(3n + 2) { transition-delay: .04s; }
.steps .reveal:nth-child(3), .facts .reveal:nth-child(3n) { transition-delay: .08s; }

.demo { width: min(920px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: hidden; }
.demo::backdrop { background: rgba(11, 35, 30, .78); backdrop-filter: blur(4px); }
.demo video { display: block; width: 100%; }
.demo-close { position: absolute; top: 10px; right: 12px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 120px; }
  .steps, .facts { grid-template-columns: 1fr; }
  .teams-copy { grid-template-columns: 1fr; }
  .teams-copy > .ticks { grid-column: 1; grid-row: auto; }
  .window { transform: none; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav, .hero-grid, .section, .closer, .footer { padding-left: 16px; padding-right: 16px; }
  .console { transform: none; }
  .stage-steps { gap: 12px; font-size: 12px; }
  .footer p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.teams-cta { margin: 6px 0 12px; }
.footer-badge img { display: block; }
.hero-free { margin: 22px 0 0; max-width: 520px; font-size: 16px; line-height: 1.5; color: rgba(233, 245, 238, .78); }
.hero-free strong { color: var(--mint); font-weight: 700; }
