/* sharkTAG live — landing & legal pages */
:root {
  --blue-50: #eaf3fc;
  --blue-100: #d6e9fa;
  --blue-300: #8ec5f5;
  --blue-500: #3b8ed8;
  --blue-600: #2063ad;
  --blue-700: #1d5b9b;
  --navy-800: #0f3b68;
  --navy-900: #0a2b4e;
  --ink-900: #111418;
  --ink-700: #30363d;
  --ink-500: #5c6670;
  --ink-300: #a0a8b1;
  --line: #e6eaf0;
  --paper: #ffffff;
  --paper-2: #f6f8fa;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* The root background shows through Safari's rubber-band overscroll below the footer,
   so it matches the footer colour instead of defaulting to white. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--blue-600); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  /* iOS Safari tints its bottom toolbar with the body background; keep it the footer blue
     and give the light page sections their own backgrounds instead. */
  background: var(--blue-600);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 14px 0 12px;
  background: #000; color: #fff;
  border: 1px solid #8a8a8a; border-radius: 9px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.badge:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.05; }
.badge small { font-size: 10px; font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .95; }
.badge b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.badge--play small { text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: var(--phone-w, 260px);
  aspect-ratio: 1206 / 2300;
  padding: 2.8%;
  background: #0d0f14;
  border-radius: 14% / 6.7%;
  box-shadow:
    0 0 0 2px #2b2f38,
    0 30px 60px -20px rgba(3, 20, 45, .65),
    0 12px 24px -12px rgba(3, 20, 45, .5);
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  border-radius: 12% / 5.8%;
  background: #1b2a3c;
}

/* ---------- Waves ---------- */
.wave { display: block; width: 100%; height: clamp(48px, 9vw, 130px); }
.wave--bottom { margin-bottom: -1px; }
.wave--top { margin-top: -1px; }

/* ---------- Top bar (landing) ---------- */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0 0;
}
.topbar .brand { color: #fff; font-size: 18px; }
.topbar .brand img { width: 40px; }
.topnav { display: flex; gap: 28px; font-size: 14px; color: rgba(255,255,255,.8); }
.topnav a:hover { color: #fff; }
.topnav a[aria-current="page"] { color: #fff; font-weight: 600; }
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 10px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   LANDING
   ================================================================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(160deg, #4a9be0 0%, #3b8ed8 45%, #2b7ac7 100%);
}
.hero__rings {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 48px;
  padding: 72px 0 40px;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.04;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 26px; max-width: 520px;
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.86);
}
.hero .badges { margin-top: 36px; }

.hero__phones {
  position: relative; height: clamp(420px, 44vw, 600px);
}
.hero__phones .phone { position: absolute; }
.hero__phones .phone--map {
  --phone-w: clamp(190px, 21vw, 300px);
  left: 6%; top: 0; z-index: 2;
}
.hero__phones .phone--shark {
  --phone-w: clamp(170px, 19vw, 270px);
  right: 4%; top: 12%; z-index: 1;
  transform: rotate(-2deg);
}
.hero__wave { position: relative; margin-top: 40px; }
.hero__wave--mobile { display: none; }

/* Features */
.features {
  position: relative; color: #fff;
  background: var(--navy-800);
  padding: 72px 0 0;
}
.features h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 600; }
.features__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; margin-top: 36px;
}
.card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end;
  min-height: 500px; padding: 44px 0 0 36px;
  background: linear-gradient(180deg, #1f6bb3 0%, #1b5b9c 100%);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.card__body { align-self: center; padding: 0 16px 24px 0; }
.card__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue-300); white-space: nowrap;
}
.card__eyebrow svg { width: 20px; height: 20px; flex: none; }
.card h3 { margin-top: 20px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.card p { margin-top: 18px; max-width: 280px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.82); }
.card .phone { --phone-w: clamp(160px, 14.5vw, 206px); margin-right: 32px; margin-bottom: -12%; }
.features__wave { margin-top: 64px; }
.features__wave--mobile { display: none; }

/* CTA + footer */
.bottom {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 70% 30%, rgba(255,255,255,.10), transparent 60%),
    var(--blue-600);
}
.cta { position: relative; color: #fff; }
.cta__rings { position: absolute; inset: 0; pointer-events: none; opacity: .35; }
.cta__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: 40px;
  padding: 36px 0 56px;
}
.cta h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; max-width: 600px; }
.cta p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.82); }

.footer { position: relative; color: #fff; background: var(--blue-600); }
.bottom .footer { background: transparent; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 16px 0 40px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 52px; height: auto; }
.brand--footer { gap: 14px; }
.footer__links { display: flex; gap: 28px; font-size: 13px; color: rgba(255,255,255,.85); }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__copy { width: 100%; font-size: 12px; color: rgba(255,255,255,.6); }

/* =================================================================
   LEGAL PAGES
   ================================================================= */
.site-header { background: var(--paper-2); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
}
.site-header .brand { color: var(--ink-900); font-size: 18px; }
.site-header .brand img { width: 40px; }
.nav { display: flex; gap: 28px; font-size: 13px; color: var(--ink-500); }
.nav a:hover { color: var(--blue-600); }
.nav a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }

.doc-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.doc-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px;
  padding: 40px 0 64px;
}
.doc-hero h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.doc-hero__meta { margin-top: 14px; font-size: 13px; color: var(--ink-500); }
.doc-hero__meta b { font-weight: 600; color: var(--ink-700); }
.callout {
  margin-top: 26px; max-width: 520px; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--blue-500);
  font-size: 15px; line-height: 1.6; color: var(--ink-700);
}
.doc-hero__art { position: relative; justify-self: end; width: min(100%, 440px); }
.doc-hero__art img { width: 100%; height: auto; }

.doc-main { background: var(--paper); }
.doc-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start;
  padding: 24px 0 0;
}
.doc-layout--single { grid-template-columns: minmax(0, 1fr); }
.doc-body { min-width: 0; }
.doc-section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.doc-section:last-child { border-bottom: 0; }
.doc-section h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.doc-section h3 { margin-top: 26px; font-size: 16px; font-weight: 600; }
.doc-section p { margin-top: 14px; max-width: 760px; font-size: 15px; line-height: 1.65; color: var(--ink-700); }
.doc-section ul { margin: 14px 0 0; padding-left: 22px; max-width: 760px; font-size: 15px; line-height: 1.65; color: var(--ink-700); }
.doc-section li + li { margin-top: 6px; }
.doc-section a { color: var(--blue-600); text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 2px; }
.doc-section a:hover { text-decoration-color: var(--blue-600); }
.doc-section .num { display: inline-block; min-width: 1.6em; color: var(--blue-500); font-variant-numeric: tabular-nums; }

.doc-table { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0; font-size: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.doc-table th { text-align: left; padding: 12px 16px; background: var(--blue-50); color: var(--ink-700); font-weight: 600; font-size: 12px; }
.doc-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-700); line-height: 1.5; }
.doc-table td:first-child { font-weight: 600; color: var(--ink-900); width: 34%; }

.toc { position: sticky; top: 24px; padding: 8px 0 8px 0; font-size: 13px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--ink-700);
}
.toc a::before { content: counter(toc) "."; color: var(--ink-300); font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.is-active { background: var(--paper-2); color: var(--ink-900); }
.toc a.is-active::before { color: var(--blue-500); }

.contact { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 72px; }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 48px; align-items: start; }
.contact h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.contact p { margin-top: 12px; max-width: 480px; font-size: 15px; line-height: 1.6; color: var(--ink-700); }
.contact__art { margin-top: 28px; width: min(100%, 360px); }
.contact__art img { width: 100%; height: auto; }
.contact-card {
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -30px rgba(10, 43, 78, .35);
}
.contact-card h3 { font-size: 17px; font-weight: 600; }
.contact-card dl { margin: 18px 0 0; display: grid; gap: 14px; }
.contact-card dt { font-size: 12px; font-weight: 600; color: var(--ink-500); }
.contact-card dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-900); word-break: break-word; }
.contact-card dd a { color: var(--blue-600); text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 22px; padding: 11px 18px; border-radius: 10px;
  background: var(--blue-500); color: #fff; font-weight: 600; font-size: 14px;
  transition: background .15s ease;
}
.btn:hover { background: var(--blue-600); }

.doc-footer .wave { background: #fff; height: clamp(40px, 7vw, 96px); }
.doc-footer .footer__inner { padding-top: 0; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1024px) {
  .hero__inner { gap: 24px; padding-top: 56px; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  /* hamburger menu */
  .menu-btn { display: flex; }
  .topnav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 12px); z-index: 20;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: #fff; color: var(--ink-900); border-radius: 14px;
    box-shadow: 0 20px 50px -20px rgba(3, 20, 45, .5);
  }
  .topnav a { padding: 12px 18px; font-size: 15px; }
  .topnav a:hover { color: var(--blue-600); background: var(--paper-2); }
  .topnav a[aria-current="page"] { color: var(--blue-600); }
  .nav-open .topnav { display: flex; }

  /* hero: phones first, then text */
  .hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .hero__text { order: 2; }
  .hero__phones {
    order: 1; position: relative; height: auto;
    display: grid; grid-template-columns: 1fr; justify-items: center;
    height: clamp(300px, 82vw, 420px);
  }
  .hero__phones { height: clamp(260px, 72vw, 330px); }
  .hero__phones .phone { position: absolute; top: 0; }
  .hero__phones .phone--map { --phone-w: clamp(140px, 38vw, 165px); left: calc(50% - var(--phone-w) * .98); z-index: 2; }
  .hero__phones .phone--shark { --phone-w: clamp(120px, 33vw, 145px); left: calc(50% + var(--phone-w) * .08); top: 9%; transform: none; }
  .hero h1 { font-size: clamp(27px, 7.9vw, 32px); line-height: 1.12; text-wrap: wrap; }
  .hero__lead { margin-top: 14px; font-size: 15px; }
  .hero .badges { margin-top: 22px; }
  .topbar { padding-top: 16px; }
  .topbar .brand { font-size: 15px; gap: 10px; }
  .topbar .brand img { width: 32px; }
  .hero .badges, .cta .badges { justify-content: center; }

  .hero__wave--desktop { display: none; }
  .hero__wave--mobile { display: block; height: 26px; margin-top: 14px; }

  /* features: centered stack */
  .features { padding-top: 40px; }
  .features h2 { text-align: center; text-wrap: balance; font-size: 30px; }
  .features__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 26px; }
  .card { min-height: 0; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 24px 0; border-radius: 24px; }
  .card__body { padding: 0; }
  .card h3 { margin-top: 16px; font-size: 22px; }
  .card h3 br { display: none; }
  .card p { margin: 10px auto 0; font-size: 15px; max-width: 300px; }
  .card .phone { --phone-w: clamp(170px, 52vw, 205px); margin: 26px 0 -45%; }
  .card__eyebrow { justify-content: center; font-size: 10.5px; letter-spacing: .06em; }
  .features__wave--desktop { display: none; }
  .features__wave--mobile { display: block; height: 28px; margin-top: 20px; }

  /* CTA */
  .cta__inner { padding-top: 24px; }
  .cta h2 { font-size: 30px; }
  .cta p { font-size: 15px; }

  /* footer: centered column */
  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 0 40px; }
  .brand--footer { flex-direction: column; gap: 10px; font-size: 18px; }
  .brand--footer img { width: 56px; }
  .footer__links { justify-content: center; flex-wrap: wrap; gap: 20px; row-gap: 10px; font-size: 12px; }
  .footer__copy { width: auto; max-width: 320px; }
  .doc-footer .footer__inner { padding-top: 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 0; }
  .doc-hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 24px 0 48px; }
  .doc-hero__art { justify-self: center; width: min(100%, 340px); }
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero__inner { padding-top: 56px; }
  .hero .badges, .cta .badges { gap: 12px; }
  .badge { height: 48px; }
  .badge b { font-size: 19px; }
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .nav { gap: 18px; }
  .footer__links { gap: 18px; }
  .doc-section { padding: 36px 0; }
  .doc-table td:first-child { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge, .btn { transition: none; }
}
