/* ============================================================
   WebsitePairs — shared styles
   Layout concept: deep-water hero and footer that bookend
   light "foam" sections; content sits on a 1120px chart grid.
   ============================================================ */
:root {
  /* Color — all water */
  --abyss: #031a2e;   /* deepest background */
  --deep: #062c4a;    /* hero + footer */
  --ocean: #0a4a75;   /* headings on light, borders on dark */
  --tide: #1677b3;    /* links, secondary buttons */
  --aqua: #38c6e0;    /* primary action */
  --aqua-ink: #032438;/* text on aqua */
  --foam: #eef8fb;    /* light section ground */
  --mist: #d5ebf2;    /* hairlines, card fills on light */
  --ink: #0b2235;     /* body text on light */
  --slate: #48667a;   /* muted text on light */
  --spray: #b9dcea;   /* muted text on dark */
  --white: #ffffff;

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.1rem, 4.5vw, 3rem);
  --step-4: clamp(2.6rem, 6vw, 4.4rem);

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--tide); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h2 { font-size: var(--step-3); color: var(--ocean); text-transform: uppercase; font-weight: 800; }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--slate); font-size: var(--step-1); line-height: 1.5; }

/* Chart-style label: like a depth sounding or coordinate on a nautical chart */
.sounding {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tide);
  display: inline-flex; align-items: center; gap: 10px;
}
.sounding::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body);
  padding: 15px 22px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua); color: var(--aqua-ink); box-shadow: 0 10px 30px -10px rgba(56,198,224,.7); }
.btn-primary:hover { background: #5fd5ea; }
.btn-ghost { border-color: rgba(185,220,234,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--aqua); }
.btn-outline { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn-outline:hover { background: var(--ocean); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(3,26,46,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185,220,234,.12);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 800 1.5rem/1 var(--font-display); letter-spacing: .02em; }
.logo span { color: var(--aqua); }
.logo svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--spray); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { padding: 10px 18px; color: var(--aqua-ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(56,198,224,.28), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(22,119,179,.45), transparent 60%),
    linear-gradient(180deg, var(--abyss) 0%, var(--deep) 55%, var(--ocean) 100%);
  padding-block: clamp(56px, 8vw, 96px) clamp(130px, 14vw, 180px);
}
.rays { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(105deg, transparent 0 60px, rgba(185,220,234,.06) 60px 90px, transparent 90px 170px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  animation: sway 14s ease-in-out infinite alternate; }
@keyframes sway { from { transform: translateX(-30px) skewX(-2deg); } to { transform: translateX(30px) skewX(2deg); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero .sounding { color: var(--aqua); }
.hero h1 { font-size: var(--step-4); font-weight: 800; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero-lede { font-size: var(--step-1); color: var(--spray); max-width: 34rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: .8rem; color: var(--spray); letter-spacing: .04em; }
.hero-proof span::before { content: "✓ "; color: var(--aqua); }

/* Phone mockup of a sample charter site */
.phone {
  justify-self: center; width: min(320px, 100%);
  background: #0d1b26; border-radius: 40px; padding: 12px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), inset 0 0 0 2px rgba(185,220,234,.18);
  transform: rotate(2.5deg);
}
.screen { background: var(--white); color: var(--ink); border-radius: 30px; overflow: hidden; }
.screen-top { position: relative; height: 170px; background:
  linear-gradient(180deg, rgba(3,26,46,0) 40%, rgba(3,26,46,.75)),
  linear-gradient(160deg, #7fd3e6 0%, #2a8fc0 45%, #0a4a75 100%); }
.screen-top svg { display: block; position: absolute; bottom: 0; left: 0; width: 100%; }
.screen-tag { position: absolute; top: 14px; left: 14px; font: 600 .62rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.9); color: var(--ocean); padding: 5px 8px; border-radius: 99px; }
.screen-title { position: absolute; left: 16px; bottom: 38px; color: var(--white); font: 800 1.45rem/1 var(--font-display); text-transform: uppercase; }
.screen-body { padding: 14px; display: grid; gap: 10px; }
.trip { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 12px; border: 1px solid var(--mist); border-radius: 12px; font-size: .8rem; }
.trip b { font-size: .88rem; }
.trip .trip-price { font: 700 .9rem/1.3 var(--font-mono); color: var(--ocean); text-align: right; }
.trip small { color: var(--slate); }
.trip .deposit { grid-column: 1 / -1; margin-top: 6px; background: var(--aqua); color: var(--aqua-ink); font-weight: 700; text-align: center; padding: 8px; border-radius: 99px; font-size: .78rem; }
.screen-row { display: flex; gap: 8px; }
.screen-row span { flex: 1; text-align: center; font-size: .7rem; font-weight: 700; padding: 8px 4px; border-radius: 10px; background: var(--foam); color: var(--ocean); }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; pointer-events: none; }
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { animation: drift 18s linear infinite; opacity: .35; }
.waves .w2 { animation: drift 11s linear infinite reverse; opacity: .55; }
.waves .w3 { animation: none; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { transform: none; }
}

/* ---------- Leaks (problems) ---------- */
.leaks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--mist); border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; }
.leak { background: var(--white); padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.leak .num { font: 800 2.4rem/1 var(--font-display); color: var(--tide); }
.leak p { color: var(--slate); font-size: .98rem; }
@media (max-width: 900px) { .leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .leaks { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; }
.feature .icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--deep); color: var(--aqua); display: grid; place-items: center; }
.feature p { color: var(--slate); font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .features { grid-template-columns: 1fr; } }

/* ---------- Plans ---------- */
.plans-section { background: linear-gradient(180deg, var(--foam), #dff1f7); }
.billing-note { font-family: var(--font-mono); font-size: .8rem; color: var(--slate); margin-top: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--mist); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.featured { background: var(--deep); color: var(--white); border-color: var(--ocean); box-shadow: 0 30px 60px -25px rgba(6,44,74,.55); }
.plan-badge { position: absolute; top: -13px; left: 26px; background: var(--aqua); color: var(--aqua-ink); font: 700 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: 99px; }
.plan-depth { font: 500 .75rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tide); }
.plan.featured .plan-depth { color: var(--aqua); }
.plan h3 { font: 800 2.4rem/1 var(--font-display); text-transform: uppercase; }
.plan-for { color: var(--slate); font-size: .98rem; }
.plan.featured .plan-for { color: var(--spray); }
.price { display: grid; gap: 2px; padding-block: 14px; border-block: 1px solid var(--mist); }
.plan.featured .price { border-color: rgba(185,220,234,.18); }
.price-main { font: 800 2.9rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.price-main small { font: 600 1rem var(--font-body); color: var(--slate); }
.plan.featured .price-main small { color: var(--spray); }
.price-sub { font-family: var(--font-mono); font-size: .82rem; color: var(--slate); }
.plan.featured .price-sub { color: var(--spray); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .97rem; line-height: 1.45; }
.plan li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; border: 3px solid var(--aqua); }
.plan li.inherit { font-weight: 700; }
.plan li.inherit::before { background: var(--aqua); }
.plan .launch { font-family: var(--font-mono); font-size: .8rem; color: var(--slate); text-align: center; }
.plan.featured .launch { color: var(--spray); }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--mist); }
.step::before { counter-increment: step; content: "0" counter(step); font: 800 1.1rem/1 var(--font-mono); color: var(--tide); }
.step p { color: var(--slate); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 52rem; }
.faq details { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.3rem/1 var(--font-mono); color: var(--tide); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--slate); }

/* ---------- CTA band + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--ocean), var(--tide)); color: var(--white); border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--spray); margin-top: 10px; max-width: 34rem; }
.footer { background: var(--abyss); color: var(--spray); padding-block: 48px 36px; margin-top: clamp(64px, 9vw, 112px); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { color: var(--spray); }
.footer small { font-family: var(--font-mono); font-size: .78rem; }

/* ---------- Start Here page ---------- */
.page-hero { background: linear-gradient(180deg, var(--abyss), var(--deep)); color: var(--white); padding-block: clamp(48px, 7vw, 80px); }
.page-hero h1 { font-size: var(--step-4); font-weight: 800; text-transform: uppercase; }
.page-hero p { color: var(--spray); font-size: var(--step-1); max-width: 40rem; margin-top: 16px; }
.page-hero .sounding { color: var(--aqua); margin-bottom: 14px; }

.start-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.start-grid > * { min-width: 0; }
@media (max-width: 900px) { .start-grid { grid-template-columns: 1fr; } }
.checklist { background: var(--white); border: 1px solid var(--mist); border-radius: 20px; padding: 28px; display: grid; gap: 16px; position: sticky; top: 90px; }
@media (max-width: 900px) { .checklist { position: static; } }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: .98rem; }
.checklist input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--tide); }
.checklist small { display: block; color: var(--slate); }

.intake { background: var(--white); border: 1px solid var(--mist); border-radius: 20px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 26px; }
.intake fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.intake legend { font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; color: var(--ocean); margin-bottom: 4px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--mist); border-radius: 10px; background: var(--foam);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tide); background: var(--white); box-shadow: 0 0 0 4px rgba(22,119,179,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--mist); border-radius: 99px; cursor: pointer; font-weight: 600; font-size: .92rem; background: var(--foam); }
.chips input { accent-color: var(--tide); }
.chips label:has(input:checked) { border-color: var(--tide); background: #e3f3fa; color: var(--ocean); }
.form-done { background: #e3f6ee; border: 1px solid #a8dcc4; color: #0f5136; padding: 16px 18px; border-radius: 12px; font-weight: 600; }

.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.thanks .card { background: var(--white); border: 1px solid var(--mist); border-radius: 24px; padding: clamp(28px, 5vw, 56px); max-width: 560px; display: grid; gap: 18px; justify-items: center; }
.thanks h1 { font-size: var(--step-3); color: var(--ocean); text-transform: uppercase; font-weight: 800; }
.thanks p { color: var(--slate); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* fixes */
.wordmark { font-weight: inherit; }
.field .chips input { width: auto; padding: 0; border: 0; margin: 0; background: none; box-shadow: none; }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.plan-cta { display: grid; justify-items: start; gap: 4px; margin-top: 28px; max-width: 880px; }
.plan-cta .btn { padding: 18px 30px; font-size: 1.1rem; }
@media (max-width: 760px) { .plans.two { grid-template-columns: 1fr; } }
