/* =====================================================================
   Newbreeds — landing page
   "Tidal Narrative" deep-sea theme. Tokens lifted from src/theme/tokens.ts
   ===================================================================== */

:root {
  /* surfaces */
  --bg:            #131313;
  --surface-lowest:#0e0e0e;
  --surface-low:   #1c1b1b;
  --surface:       #201f1f;
  --surface-high:  #2a2a2a;
  --surface-highest:#353534;

  /* text */
  --on-surface:    #e5e2e1;
  --on-variant:    #c1c6d7;
  --outline:       #8b90a0;
  --border:        #414755;

  /* accents */
  --blue:          #4b8eff;
  --blue-bright:   #adc6ff;
  --green:         #4ae183;
  --orange:        #fc5b00;

  --font-display:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1140px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.hl-blue { color: var(--blue-bright); }
.hl-green { color: var(--green); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--outline);
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(74,225,131,.16); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #00285c; }
.btn--primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--on-surface); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-bright); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,19,19,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(65,71,85,.5);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
.brand__fish { width: 30px; height: 30px; }
.brand__word { font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; font-size: 1.06rem; color: var(--blue); }
.brand__word b { font-weight: 700; color: var(--blue-bright); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: .94rem; color: var(--on-variant); transition: color .15s; }
.nav__links a:hover { color: var(--on-surface); }
.nav__cta { padding: 9px 18px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(75,142,255,.20), transparent 70%),
    radial-gradient(closest-side, rgba(74,225,131,.10), transparent 70%);
  background-position: 35% 30%, 70% 60%;
  background-repeat: no-repeat; filter: blur(6px);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center; padding-bottom: 56px;
}
.hero__copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); margin-bottom: 22px; }
.lead { font-size: 1.16rem; color: var(--on-variant); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero__meta { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
.hero__meta li { font-size: .82rem; color: var(--outline); position: relative; padding-left: 18px; }
.hero__meta li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero__meta strong { color: var(--on-variant); font-weight: 600; }

/* ---------- phone mockup ---------- */
.hero__device { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; padding: 12px;
  background: linear-gradient(160deg, #2a2a2a, #131313);
  border-radius: 44px; border: 1px solid #3a3a3a;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #0a0a0a; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { background: var(--bg); border-radius: 34px; overflow: hidden; }

.app { padding: 38px 16px 12px; font-size: .82rem; }
.app__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app__word { font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; color: var(--blue); font-size: .92rem; }
.app__word b { color: var(--blue-bright); }
.app__gear { color: var(--outline); }
.app__label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; color: var(--outline); text-transform: uppercase; margin: 14px 0 7px; }

.seg { display: flex; gap: 7px; }
.seg__opt { flex: 1; text-align: center; padding: 9px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: .74rem; color: var(--on-variant); }
.seg__opt.is-active { background: rgba(75,142,255,.18); border-color: var(--blue); color: var(--blue-bright); font-weight: 600; }

.cond { background: var(--surface-low); border: 1px solid var(--border); border-radius: var(--r-md); padding: 13px; display: grid; gap: 10px; }
.cond__row { display: flex; align-items: center; gap: 10px; color: var(--on-surface); font-size: .78rem; }
.cond__row .i { color: var(--green); width: 16px; text-align: center; }

.share { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-low); }
.share__ic { color: var(--green); font-size: 1.05rem; }
.share strong { display: block; font-family: var(--font-body); font-size: .8rem; }
.share span { font-size: .68rem; color: var(--outline); }

.app__note { font-size: .64rem; color: var(--outline); margin: 12px 2px; }
.app__note em { color: var(--blue); font-style: normal; font-weight: 600; }

.logbtn { width: 100%; margin-top: 4px; padding: 14px; border: none; border-radius: var(--r-md); background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; font-size: .92rem; cursor: default; }

.tabbar { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.tabbar span { flex: 1; text-align: center; font-size: .56rem; line-height: 1.8; color: var(--outline); }
.tabbar .is-on { color: var(--blue); }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-lowest); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: scroll 38s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; color: var(--outline); }
.marquee__track span::before { content: '🐟'; margin-right: 12px; filter: grayscale(.2); }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 100px 0; }
.section--alt { background: var(--surface-lowest); border-top: 1px solid rgba(65,71,85,.4); border-bottom: 1px solid rgba(65,71,85,.4); }

.sec-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.sec-sub { color: var(--on-variant); font-size: 1.08rem; }

/* ---------- auto-capture grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: transform .2s ease, border-color .2s ease;
}
.cap:hover { transform: translateY(-4px); border-color: var(--outline); }
.cap__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; font-size: 1.3rem; margin-bottom: 18px; }
.ic-blue { background: rgba(75,142,255,.14); }
.ic-green { background: rgba(74,225,131,.14); }
.ic-orange { background: rgba(252,91,0,.14); }
.cap h3 { font-size: 1.18rem; margin-bottom: 9px; }
.cap p { color: var(--on-variant); font-size: .96rem; }
.cap__src { display: inline-block; margin-top: 16px; font-size: .68rem; letter-spacing: .06em; color: var(--outline); padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__visual { order: -1; }
.split__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.ticks { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--on-variant); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 9px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.ticks b { color: var(--on-surface); }

/* biting panel */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; }
.panel__bar { margin-bottom: 14px; }
.panel__bar .mono { font-size: .66rem; letter-spacing: .14em; color: var(--outline); }
.search { display: flex; align-items: center; gap: 10px; background: var(--surface-low); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--outline); font-size: .92rem; }
.biting { color: var(--green); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; margin: 20px 0 12px; display: flex; align-items: center; gap: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { padding: 9px 15px; border-radius: 999px; background: var(--surface-high); border: 1px solid var(--border); font-size: .86rem; color: var(--on-variant); }
.chip--other { background: rgba(75,142,255,.12) !important; border-color: var(--blue) !important; color: var(--blue-bright) !important; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.mini { background: var(--surface-low); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.mini .mono:first-child { display: block; font-size: .62rem; letter-spacing: .12em; color: var(--outline); margin-bottom: 8px; }
.mini strong { font-size: 1.4rem; color: var(--on-surface); font-weight: 600; }
.mini strong i { font-size: .8rem; color: var(--outline); font-style: normal; }

/* map card */
.map-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 16px; }
.map-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.seg--sm { display: inline-flex; gap: 0; background: var(--surface-low); border-radius: 999px; padding: 4px; border: 1px solid var(--border); }
.seg--sm .seg__opt { border: none; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: .78rem; }
.seg--sm .seg__opt.is-active { background: var(--surface-highest); color: var(--on-surface); }
.globe { width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface-low); border: 1px solid var(--border); border-radius: 11px; }
.map-card__field {
  position: relative; height: 360px; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(75,142,255,.10), transparent 45%),
    linear-gradient(180deg, #0d1726, #0a0f18);
  border: 1px solid var(--border);
}
.map-card__field::after { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(65,71,85,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(65,71,85,.18) 1px, transparent 1px); background-size: 38px 38px; }
.ppin { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; font-size: 1.1rem; z-index: 2; animation: bob 3s ease-in-out infinite; }
.ppin em { font-style: normal; font-size: .64rem; font-family: var(--font-mono); color: var(--on-surface); background: rgba(19,19,19,.85); padding: 2px 7px; border-radius: 6px; margin-top: 2px; border: 1px solid var(--border); }
@keyframes bob { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-50%,-58%)} }
.map-card__sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(20,20,20,.92); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; display: grid; gap: 6px; z-index: 3; }
.map-card__sheet strong { font-family: var(--font-display); font-size: .92rem; }
.map-card__sheet span { font-size: .78rem; color: var(--on-variant); }
.mono--blue { color: var(--blue-bright); font-size: .8rem; }

/* ---------- five tabs ---------- */
.tabs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; overflow: hidden; transition: transform .2s, border-color .2s; }
.tcard:hover { transform: translateY(-4px); border-color: var(--outline); }
.tcard__k { position: absolute; top: 18px; right: 22px; font-family: var(--font-mono); font-size: .8rem; color: var(--border); }
.tcard h3 { font-size: 1.3rem; margin-bottom: 10px; }
.tcard p { color: var(--on-variant); font-size: .96rem; }
.tcard--accent { background: linear-gradient(160deg, rgba(75,142,255,.12), var(--surface)); border-color: var(--blue); }
.tcard--quiet { background: transparent; border-style: dashed; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 880px; margin: 0 auto 36px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 26px; text-align: center; transition: transform .2s; }
.plan:hover { transform: translateY(-4px); }
.plan--feature { background: linear-gradient(180deg, rgba(75,142,255,.10), var(--surface)); border-color: var(--blue); }
.plan__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #00285c; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan__seats { font-family: var(--font-mono); font-size: .8rem; color: var(--green); margin-bottom: 14px; }
.plan__blurb { color: var(--on-variant); font-size: .94rem; min-height: 44px; margin-bottom: 22px; }

.plan-feats { list-style: none; max-width: 820px; margin: 0 auto 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.plan-feats li { font-size: .9rem; color: var(--on-variant); }
.plan-fine { text-align: center; font-size: .8rem; color: var(--outline); max-width: 620px; margin: 0 auto; }

/* =====================================================================
   CTA
   ===================================================================== */
.cta { position: relative; padding: 110px 0; text-align: center; overflow: hidden; border-top: 1px solid rgba(65,71,85,.4); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 0%, rgba(75,142,255,.20), transparent 70%); pointer-events: none; }
.cta__inner { position: relative; }
.cta__fish { width: 56px; height: 56px; margin-bottom: 18px; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.cta__inner > p { color: var(--on-variant); font-size: 1.1rem; }
.cta__btns { display: flex; gap: 16px; justify-content: center; margin: 36px 0 22px; flex-wrap: wrap; }

.store { display: inline-flex; align-items: center; gap: 12px; background: var(--on-surface); color: var(--bg); padding: 12px 22px; border-radius: 14px; transition: transform .18s; }
.store:hover { transform: translateY(-3px); }
.store__ic { width: 24px; height: 28px; background: var(--bg); -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.store__ic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05 13.1c-.03-2.6 2.13-3.85 2.23-3.91-1.22-1.78-3.11-2.02-3.78-2.05-1.61-.16-3.14.94-3.95.94-.81 0-2.07-.92-3.4-.9-1.75.03-3.36 1.02-4.26 2.58-1.82 3.15-.47 7.81 1.3 10.37.86 1.25 1.89 2.66 3.23 2.61 1.3-.05 1.79-.84 3.36-.84 1.57 0 2.01.84 3.39.81 1.4-.03 2.28-1.28 3.13-2.54.99-1.46 1.4-2.87 1.42-2.94-.03-.01-2.72-1.04-2.75-4.13zM14.6 5.36c.71-.87 1.19-2.07 1.06-3.27-1.02.04-2.27.68-3.01 1.54-.66.76-1.24 1.99-1.08 3.16 1.14.09 2.31-.58 3.03-1.43z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05 13.1c-.03-2.6 2.13-3.85 2.23-3.91-1.22-1.78-3.11-2.02-3.78-2.05-1.61-.16-3.14.94-3.95.94-.81 0-2.07-.92-3.4-.9-1.75.03-3.36 1.02-4.26 2.58-1.82 3.15-.47 7.81 1.3 10.37.86 1.25 1.89 2.66 3.23 2.61 1.3-.05 1.79-.84 3.36-.84 1.57 0 2.01.84 3.39.81 1.4-.03 2.28-1.28 3.13-2.54.99-1.46 1.4-2.87 1.42-2.94-.03-.01-2.72-1.04-2.75-4.13zM14.6 5.36c.71-.87 1.19-2.07 1.06-3.27-1.02.04-2.27.68-3.01 1.54-.66.76-1.24 1.99-1.08 3.16 1.14.09 2.31-.58 3.03-1.43z'/%3E%3C/svg%3E"); }
.store__ic--play { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.6 2.3c-.3.3-.5.8-.5 1.4v16.6c0 .6.2 1.1.5 1.4l.1.1L13 12.1v-.2L3.7 2.2l-.1.1zM16.1 15.2l-3.1-3.1v-.2l3.1-3.1.1.1 3.7 2.1c1 .6 1 1.6 0 2.2l-3.7 2.1-.1-.1zM3.7 21.8c.3.3.9.4 1.5.1l9-5.2-2.6-2.6-7.9 7.7zM11.6 9.9l2.6-2.6-9-5.2c-.6-.3-1.2-.3-1.5.1l7.9 7.7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.6 2.3c-.3.3-.5.8-.5 1.4v16.6c0 .6.2 1.1.5 1.4l.1.1L13 12.1v-.2L3.7 2.2l-.1.1zM16.1 15.2l-3.1-3.1v-.2l3.1-3.1.1.1 3.7 2.1c1 .6 1 1.6 0 2.2l-3.7 2.1-.1-.1zM3.7 21.8c.3.3.9.4 1.5.1l9-5.2-2.6-2.6-7.9 7.7zM11.6 9.9l2.6-2.6-9-5.2c-.6-.3-1.2-.3-1.5.1l7.9 7.7z'/%3E%3C/svg%3E"); }
.store__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store__txt small { font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.store__txt strong { font-family: var(--font-display); font-size: 1.05rem; }
.cta__sub { color: var(--outline); font-size: .88rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { background: var(--surface-lowest); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.foot__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.foot__brand .brand__word { color: var(--blue); font-size: 1.1rem; }
.foot__brand .brand__word b { color: var(--blue-bright); }
.foot__brand p { color: var(--outline); font-size: .92rem; margin-top: 14px; max-width: 320px; }
.foot__dom { font-family: var(--font-mono); color: var(--green) !important; margin-top: 10px !important; }
.foot__col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--outline); margin-bottom: 16px; font-family: var(--font-mono); font-weight: 600; }
.foot__col a { display: block; color: var(--on-variant); font-size: .92rem; margin-bottom: 11px; transition: color .15s; }
.foot__col a:hover { color: var(--blue-bright); }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--outline); font-size: .82rem; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   v1.1 ADDITIONS — insights, reef, screenshots, compare, badges, docs
   ===================================================================== */
.dot--blue { background: var(--blue) !important; box-shadow: 0 0 0 4px rgba(75,142,255,.16) !important; }
.cap-grid--4 { grid-template-columns: repeat(4, 1fr); }
.fine-note { margin-top: 22px; font-size: .82rem; color: var(--outline); border-left: 2px solid var(--border); padding-left: 14px; }
.mono--green { color: var(--green); }

/* screenshots gallery */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 22px; border: 1px solid var(--border); background: var(--surface-lowest); display: block; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.shot figcaption { margin-top: 14px; text-align: center; font-size: .84rem; color: var(--outline); font-family: var(--font-mono); }

/* insight / outlook panels */
.stat { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--on-variant); }
.stat strong { font-weight: 600; }
.lift { margin-top: 18px; }
.lift > .mono { font-size: .64rem; letter-spacing: .14em; color: var(--outline); }
.bar { position: relative; margin-top: 10px; height: 30px; background: var(--surface-low); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; align-items: center; }
.bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(74,225,131,.35), rgba(74,225,131,.12)); border-right: 2px solid var(--green); }
.bar em { position: relative; font-style: normal; font-size: .82rem; padding-left: 12px; color: var(--on-surface); }

.day { display: grid; grid-template-columns: 46px 66px 1fr; align-items: center; gap: 12px; padding: 13px 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--surface-low); }
.day em { font-style: normal; font-size: .82rem; color: var(--outline); }
.day span:first-child { font-family: var(--font-mono); font-weight: 600; }
.day--best { border-color: var(--blue); background: linear-gradient(90deg, rgba(75,142,255,.12), var(--surface-low)); }
.score { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 999px; text-align: center; }
.score--hi { background: rgba(74,225,131,.16); color: var(--green); }
.score--mid { background: rgba(75,142,255,.14); color: var(--blue-bright); }
.score--lo { background: rgba(139,144,160,.16); color: var(--outline); }

/* reef safety strip */
.safety-strip { margin-top: 26px; padding: 16px 20px; border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: 12px; background: rgba(252,91,0,.06); color: var(--on-variant); font-size: .9rem; }
.safety-strip strong { color: var(--on-surface); }

/* free vs premium */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.compare__col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 30px; }
.compare__col--pro { background: linear-gradient(180deg, rgba(75,142,255,.10), var(--surface)); border-color: var(--blue); }
.compare__col h3 { font-size: 1.35rem; margin-bottom: 20px; }
.compare__col ul { list-style: none; display: grid; gap: 13px; }
.compare__col li { position: relative; padding-left: 28px; color: var(--on-variant); }
.compare__col li::before { content: ''; position: absolute; left: 0; top: 8px; width: 15px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.compare__col b { color: var(--on-surface); }

/* pricing price line */
.plan__price { font-size: .82rem; color: var(--outline); margin-bottom: 14px; letter-spacing: .02em; }

/* store badges */
.store-badges { display: flex; gap: 16px; justify-content: center; margin: 34px 0 22px; flex-wrap: wrap; }
.store-badge { display: inline-block; transition: transform .18s, opacity .18s; }
.store-badge img { height: 54px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-3px); }
.store-badge[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.store-badge.is-recommended { position: relative; }
.store-badge.is-recommended::after { content: 'Your device'; position: absolute; top: -10px; right: -6px; background: var(--green); color: #00210c; font-size: .58rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; font-family: var(--font-body); }
.store-badges--lg .store-badge img { height: 60px; }

/* =====================================================================
   DOC PAGES (privacy / terms / support / download)
   ===================================================================== */
.doc { padding: 60px 0 90px; min-height: 60vh; }
.doc__wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin-bottom: 10px; }
.doc__updated { font-family: var(--font-mono); font-size: .82rem; color: var(--outline); margin-bottom: 28px; }
.doc__lead { font-size: 1.1rem; color: var(--on-variant); margin-bottom: 30px; }
.doc h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.doc__h2-lg { font-size: 1.8rem !important; margin-top: 60px !important; }
.doc p { color: var(--on-variant); margin-bottom: 14px; }
.doc ul { margin: 0 0 18px 20px; color: var(--on-variant); }
.doc li { margin-bottom: 9px; }
.doc a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 2px; }
.doc code { font-family: var(--font-mono); font-size: .88em; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }
.doc__note { margin-top: 22px; font-size: .92rem; }

.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--r-md); }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--on-variant); }
.doc th { background: var(--surface); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--outline); }
.doc tr:last-child td { border-bottom: none; }

/* contact form */
.contact { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 30px; margin-bottom: 22px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; color: var(--outline); font-family: var(--font-mono); letter-spacing: .04em; }
.field input, .field textarea { background: var(--surface-low); border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px; color: var(--on-surface); font-family: var(--font-body); font-size: 1rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.contact button { justify-self: start; }
.contact__fallback { font-size: .88rem; color: var(--green); margin: 0; }
.contact__fallback.is-error { color: var(--error); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 20px 20px; margin: 0; }

/* download page */
.download-hero { position: relative; padding: 70px 0 90px; text-align: center; overflow: hidden; }
.download__inner { position: relative; }
.download__inner .cta__fish { margin: 0 auto 18px; }
.download__lead { color: var(--on-variant); font-size: 1.15rem; max-width: 560px; margin: 8px auto 0; }
.download-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.qr { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin: 12px 0 26px; }
.qr__box { width: 150px; height: 150px; border: 2px dashed var(--border); border-radius: 18px; display: grid; place-items: center; background: var(--surface); }
.qr__ph { font-family: var(--font-mono); font-size: 1.6rem; letter-spacing: .2em; color: var(--outline); }
.qr__cap { font-size: .84rem; color: var(--on-variant); }
.qr__cap .mono { font-size: .68rem; color: var(--outline); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy { order: 2; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__meta, .eyebrow { justify-content: center; }
  .hero__device { order: 1; }
  .cap-grid, .tabs-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__visual { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 420px; }
  .compare { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .cap-grid, .tabs-grid, .cap-grid--4 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; gap: 12px; }
  .day { grid-template-columns: 40px 60px 1fr; gap: 8px; }
  .foot__inner { grid-template-columns: 1fr; }
  .hero__meta { gap: 14px 22px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
