/* ============================================================
   Neptune Marketing, shared stylesheet
   Oceanic / cosmic. Light trustworthy base + deep-teal bands.
   ============================================================ */

:root {
  /* Ink & neutrals */
  --ink:      #14283c;
  --ink-2:    #33485c;
  --muted:    #5d7184;
  --faint:    #93a4b3;
  --line:     #e4e9ef;
  --line-2:   #d3dce4;
  --bg:       #f4f6f9;
  --surface:  #ffffff;
  --surface-2:#eef2f6;

  /* Ocean / deep navy */
  --abyss:    #0a1d30;
  --deep:     #103254;
  --deep-2:   #143a5c;

  /* Brand, navy primary, teal accent (used sparingly) */
  --navy:     #143a5c;
  --navy-700: #102f4a;
  --teal:     #0e8074;
  --teal-600: #0c6f64;
  --aqua:     #14988a;
  --foam:     #5bc3b8;
  --blue:     #1f5e9e;
  --cyan:     #2f7fb8;

  /* Gradients, single-hue navy only, kept subtle */
  --g-planet: #1f5e9e;
  --g-aqua:   #0e8074;
  --g-ocean:  linear-gradient(168deg, #0a1d30 0%, #102f4a 60%, #143a5c 100%);
  --g-mix:    #143a5c;

  /* Type */
  --display: "Sora", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(10,31,44,.06), 0 2px 6px rgba(10,31,44,.05);
  --sh:    0 8px 24px rgba(10,31,44,.08), 0 2px 6px rgba(10,31,44,.05);
  --sh-lg: 0 24px 60px rgba(10,31,44,.14), 0 8px 20px rgba(10,31,44,.08);
  --sh-teal: 0 10px 24px rgba(20,58,92,.16);
  --sh-blue: 0 10px 24px rgba(20,58,92,.18);

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--foam); color: var(--abyss); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content:""; width: 22px; height: 2px; border-radius: 2px; background: var(--g-aqua); }
.eyebrow.on-dark { color: var(--foam); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); line-height: 1.55; }
.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin: 16px 0 0; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { transform: translateY(-2px); background: var(--navy-700); box-shadow: 0 14px 30px rgba(20,58,92,.26); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-ghost { background: rgba(255,255,255,.0); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-glass { background: rgba(255,255,255,.10); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,249,251,.78); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(10,31,44,.06); background: rgba(255,255,255,.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.02em; }
.brand .mark { display: none; }
.brand b { font-weight: 800; }
.brand span.sub { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 500; color: var(--ink-2); font-size: .98rem; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.mobile-menu { display: none; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 76px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0 26px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .26s ease; z-index: 55; box-shadow: var(--sh-lg); }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 6vw; font-family: var(--display); font-weight: 600; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin: 16px 6vw 0; display: flex; }
}

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }

/* ---------- Placeholder component ---------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(58,111,240,.10), rgba(22,192,176,.12)),
    repeating-linear-gradient(45deg, rgba(10,31,44,.035) 0 12px, rgba(10,31,44,0) 12px 24px),
    var(--surface-2);
  border: 1.5px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  color: var(--muted); text-align: center; min-height: 160px;
}
.ph .ph-ic { width: 42px; height: 42px; opacity: .55; }
.ph .ph-label { font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.ph .ph-sub { font-size: .76rem; color: var(--faint); margin-top: -6px; max-width: 80%; }
.ph.on-dark { background:
    linear-gradient(135deg, rgba(70,199,240,.16), rgba(95,230,196,.14)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, rgba(255,255,255,0) 12px 24px),
    rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.72); }
.ph.on-dark .ph-sub { color: rgba(255,255,255,.5); }

/* ---------- Footer ---------- */
.footer { background: var(--abyss); color: rgba(255,255,255,.74); padding: 80px 0 40px; position: relative; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--display); font-weight: 600; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.66); transition: color .2s; }
.footer a:hover { color: var(--foam); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 320px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: .96rem; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Compliance badge row ---------- */
.badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: .82rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; box-shadow: var(--sh-sm); }
.badge svg { width: 17px; height: 17px; color: var(--teal); }
.badge.on-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.88); }
.badge.on-dark svg { color: var(--foam); }
.badge-link { cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.badge-link:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

/* ---------- Compliance page ---------- */
.comp-page { padding: clamp(56px, 8vw, 96px) 0; }
.comp-intro { max-width: 720px; margin-bottom: 52px; }
.comp-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 14px; }
.comp-intro .lead { margin-top: 16px; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.pillar .p-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--teal); margin-bottom: 18px; }
.pillar .p-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 9px; }
.pillar p { color: var(--muted); font-size: .98rem; }
.comp-band { background: var(--g-ocean); color: #fff; border-radius: var(--r-xl); padding: clamp(38px, 5vw, 60px); margin-top: 56px; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.comp-band::after { content:""; position: absolute; top: -120px; right: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(31,94,158,.4), transparent 70%); }
.comp-band-inner { position: relative; z-index: 2; max-width: 760px; }
.comp-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 12px 0 16px; }
.comp-band p { color: rgba(231,245,250,.82); margin-bottom: 14px; }
.comp-band .callout-line { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 18px 20px; margin-top: 22px; }
.comp-band .callout-line svg { width: 24px; height: 24px; color: var(--foam); flex: none; margin-top: 2px; }
.comp-band .callout-line p { margin: 0; color: #fff; font-size: .98rem; }
.policy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.policy-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.policy-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.policy-card .pc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--teal); background: var(--surface-2); }
.policy-card .pc-ic svg { width: 22px; height: 22px; }
.policy-card h3 { font-size: 1.12rem; margin-top: 4px; }
.policy-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.policy-card .pc-link { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.policy-card .pc-link svg { width: 15px; height: 15px; }
.policy-card:hover .pc-link { color: var(--teal); }
@media (max-width: 760px) { .pillar-grid { grid-template-columns: 1fr; } .policy-cards { grid-template-columns: 1fr; } }

/* ---------- SMS compliance document ---------- */
.cdoc { max-width: 800px; }
.cdoc .intro-lead { font-size: 1.12rem; color: var(--ink-2); line-height: 1.6; margin-bottom: 6px; }
.cdoc h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 50px 0 14px; scroll-margin-top: 100px; }
.cdoc h2:first-of-type { margin-top: 6px; }
.cdoc p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.65; margin-bottom: 14px; }
.cdoc ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.cdoc ul li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }
.cdoc ul li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--teal); }
.cdoc a.inline { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cdoc a.inline:hover { color: var(--teal); }
.cdoc .ph-val { color: var(--blue); font-weight: 700; }

.disclosure-box { background: var(--surface-2); border: 1px solid var(--line-2); border-left: 4px solid var(--teal); border-radius: 12px; padding: 22px 26px; margin: 16px 0 22px; }
.disclosure-box p { margin: 0 0 12px; color: var(--ink); }
.disclosure-box p:last-child { margin-bottom: 0; }
.disclosure-box .quote { font-weight: 600; font-size: 1.06rem; }

.sample-form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 28px; box-shadow: var(--sh-sm); position: relative; margin: 8px 0 22px; }
.sample-tag { position: absolute; top: 16px; right: 16px; font-family: var(--display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.sf-field { margin-bottom: 16px; max-width: 420px; }
.sf-field label { display: block; font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--ink-2); margin-bottom: 7px; }
.sf-field input[type="text"], .sf-field input[type="tel"] { width: 100%; font-family: var(--body); font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink); }
.sf-field input::placeholder { color: var(--faint); }
.sf-optin { display: flex; gap: 13px; align-items: flex-start; background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 15px 17px; max-width: 620px; }
.sf-optin input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--teal); cursor: pointer; }
.sf-disc { font-size: .9rem; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.sf-disc b { color: var(--ink); }
.sf-policy { margin: 12px 0 0; padding-left: 35px; font-size: .9rem; color: var(--muted); max-width: 620px; }
.sf-policy a.inline { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.sf-policy a.inline:hover { color: var(--teal); }
.sample-form input.invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.14); }
.sf-optin.invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.12); }
.su-btn { margin-top: 18px; width: 100%; justify-content: center; }
.su-note { margin: 12px 0 0; font-size: .9rem; color: #c0392b; font-weight: 600; text-align: center; }
.su-success { text-align: center; padding: 8px 0 4px; }
.su-check { width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 10px 24px rgba(14,128,116,.28); }
.su-check svg { width: 28px; height: 28px; }
.su-success h3 { font-size: 1.35rem; margin-bottom: 8px; }
.su-success p { color: var(--muted); max-width: 440px; margin: 0 auto; font-size: 1rem; line-height: 1.55; }
.su-success p b { color: var(--ink); }
.sample-form input[type="text"]:focus, .sample-form input[type="tel"]:focus { outline: none; border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px rgba(14,128,116,.14); color: var(--ink); }

.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 18px; }
.contact-block .cb { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.contact-block .cb span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-family: var(--display); font-weight: 600; margin-bottom: 5px; }
.contact-block .cb a, .contact-block .cb b { font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.contact-block .cb a:hover { color: var(--teal); }

.doc-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.doc-links a { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.doc-links a svg { width: 18px; height: 18px; color: var(--teal); }
.doc-links a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
@media (max-width: 600px) { .contact-block { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--g-ocean); color: #fff; padding: 64px 0 80px; position: relative; overflow: hidden; }
.legal-hero .legal-deco { position: absolute; top: -140px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(31,94,158,.5), transparent 68%); pointer-events: none; }
.legal-hero .legal-deco::after { content:""; position: absolute; inset: 70px; border-radius: 50%; border: 1.5px solid rgba(91,195,184,.25); }
.legal-updated { font-size: .86rem; color: rgba(255,255,255,.55); margin-top: 18px; }
.legal-hero .wrap { position: relative; z-index: 2; }
.legal-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero p { color: rgba(255,255,255,.72); margin-top: 14px; }
.legal-hero .crumb { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.legal-hero .crumb a:hover { color: var(--foam); }
.legal-body { padding: clamp(48px, 7vw, 90px) 0 90px; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; font-size: .92rem; }
.legal-toc .toc-title { font-family: var(--display); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 7px 16px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; transition: .2s; }
.legal-toc a:hover, .legal-toc a.active { color: var(--teal); border-left-color: var(--teal); }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 52px 0 16px; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.18rem; margin: 30px 0 10px; }
.legal-content p, .legal-content li { color: var(--ink-2); font-size: 1.02rem; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 9px; }
.legal-content a.inline { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a.inline:hover { color: var(--teal); }
.callout { border-radius: var(--r); padding: 22px 24px; margin: 22px 0; border: 1px solid var(--line); background: var(--surface); display: flex; gap: 16px; box-shadow: var(--sh-sm); }
.callout svg { width: 26px; height: 26px; flex: none; color: var(--teal); margin-top: 2px; }
.callout.key { background: linear-gradient(135deg, rgba(58,111,240,.07), rgba(22,192,176,.09)); border-color: rgba(22,192,176,.3); }
.callout strong { color: var(--ink); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: .96rem; }
.legal-content th, .legal-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-content th { font-family: var(--display); font-weight: 600; color: var(--ink); background: var(--surface-2); }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 0; } .legal-toc { display: none; } }
