/* Swimzy product pages — shared styles for /analysis and /speed-guide.
   Tokens match /sprint/styles.css so the paid sections read as one family. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy-950: #04111c;
  --navy-900: #071827;
  --navy-850: #092033;
  --navy-800: #0b2840;
  --navy-700: #123d5e;
  --cyan: #34d8e5;
  --cyan-bright: #62f0f4;
  --cyan-soft: #c9fbfb;
  --cyan-deep: #0e8192;
  --lime: #d8ff61;
  --cream: #f4f1e9;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #081722;
  --slate: #53616c;
  --slate-light: #8a969e;
  --rule: #dce2e3;
  --orange: #ff764d;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(1, 18, 29, 0.16);
  --shell: min(1140px, calc(100vw - 48px));
  --head: 'Manrope', 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { color: var(--navy-950); background: var(--cyan); }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
h1 em, h2 em, h3 em { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; color: var(--cyan-deep); }
.on-dark h1 em, .on-dark h2 em, .hero h1 em, .final-cta h2 em { color: var(--cyan-bright); }
p { margin: 0; }

.skip-link {
  position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 14px;
  color: var(--navy-950); background: var(--cyan-bright);
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 66px; padding: 0 clamp(16px, 3vw, 32px);
  color: var(--white); background: rgba(7, 24, 39, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 22px; font-weight: 800; letter-spacing: -0.05em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #19bdf1; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--white); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px;
  color: var(--navy-950); background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  font-family: var(--head); font-size: 15px; font-weight: 800; text-decoration: none;
  box-shadow: 0 14px 28px rgba(52, 216, 229, 0.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(52, 216, 229, 0.3); }
.button[disabled] { opacity: .7; cursor: wait; transform: none; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.button-light { color: var(--white); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: none; }
.button-light:hover { background: rgba(255, 255, 255, 0.18); box-shadow: none; }
.button-dark { color: var(--white); background: var(--navy-900); box-shadow: none; }
.button-dark:hover { background: var(--navy-800); box-shadow: none; }
.button-outline { color: var(--navy-900); background: transparent; border: 1px solid var(--rule); box-shadow: none; }
.button-outline:hover { background: var(--cream); box-shadow: none; }
.button-full { width: 100%; }
.text-link { color: var(--cyan-deep); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: var(--cyan-deep); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-on-dark { color: var(--cyan-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(circle at 80% 10%, rgba(52, 216, 229, 0.18), transparent 34%), linear-gradient(180deg, #051520 0%, var(--navy-900) 60%, var(--navy-850) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -0.05em; }
.hero-lede { margin-top: 20px; max-width: 560px; color: rgba(247, 251, 252, 0.84); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: rgba(247, 251, 252, 0.86); font-size: 15px; }
.hero-list li { position: relative; padding-left: 26px; }
.hero-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan-bright); font-weight: 800; }
.hero-visual { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: var(--navy-950); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 17, 28, 0) 40%, rgba(4, 17, 28, 0.78) 100%); }
.hero-badge {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px;
  padding: 16px 18px; border-radius: 16px; background: rgba(4, 17, 28, 0.72); border: 1px solid rgba(98, 240, 244, 0.2);
  backdrop-filter: blur(10px);
}
.hero-badge span { display: block; color: rgba(98, 240, 244, 0.85); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-badge strong { display: block; margin-top: 4px; font-family: var(--head); font-size: 18px; letter-spacing: -0.03em; }
.hero-badge b { font-family: var(--head); font-size: 30px; letter-spacing: -0.05em; color: var(--cyan-bright); }

.signal-strip { background: var(--navy-950); color: rgba(255, 255, 255, 0.8); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.signal-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding: 16px 0; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal-inner i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-heading { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-heading h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-heading p { margin-top: 16px; color: var(--slate); font-size: 17px; line-height: 1.65; }
.section-dark .section-heading p { color: rgba(255, 255, 255, 0.76); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: end; max-width: none; }
.split-heading p { margin-top: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  padding: 26px 24px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(4, 17, 28, 0.05);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15px; line-height: 1.6; }
.card .index { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; color: var(--navy-950); background: var(--cyan-soft); font-family: var(--head); font-weight: 800; }
.card-image { padding: 0; overflow: hidden; }
.card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-image .card-body { padding: 22px 24px 26px; }
.section-dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.section-dark .card p { color: rgba(255, 255, 255, 0.72); }
.section-dark .card .index { background: rgba(98, 240, 244, 0.16); color: var(--cyan-bright); }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--navy-950); background: var(--cyan); font-size: 11px; font-weight: 800; }
.checklist li b { color: var(--ink); }
.section-dark .checklist li { color: rgba(255, 255, 255, 0.78); }
.section-dark .checklist li b { color: var(--white); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.figure { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { padding: 12px 16px; background: var(--navy-950); color: rgba(255, 255, 255, 0.7); font-size: 12px; }

.callout { padding: 20px 22px; border-left: 4px solid var(--cyan); border-radius: 12px; background: var(--cyan-soft); color: var(--ink); font-size: 15px; line-height: 1.6; }
.callout strong { display: block; margin-bottom: 4px; font-family: var(--head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-deep); }
.callout-warn { border-left-color: var(--orange); background: #fff0e8; }
.callout-warn strong { color: #b4471f; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--rule); }
.stat strong { display: block; font-family: var(--head); font-size: 34px; letter-spacing: -0.05em; color: var(--navy-900); }
.stat span { display: block; margin-top: 4px; color: var(--slate); font-size: 13px; line-height: 1.4; }
.section-dark .stat { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section-dark .stat strong { color: var(--cyan-bright); }
.section-dark .stat span { color: rgba(255, 255, 255, 0.7); }

/* ---------- Pricing ---------- */
.price-card {
  position: relative; overflow: hidden; padding: 30px 28px; border-radius: 24px;
  color: var(--white); background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(98, 240, 244, 0.22); box-shadow: var(--shadow);
}
.price-card::before { content: ""; position: absolute; inset: -40% 40% auto -20%; height: 220px; background: radial-gradient(circle, rgba(52, 216, 229, 0.28), transparent 70%); pointer-events: none; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(98, 240, 244, 0.85); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.price-line { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 20px 0 6px; }
.price-line span { display: block; color: rgba(255, 255, 255, 0.62); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.price-line strong { font-family: var(--head); font-size: 52px; letter-spacing: -0.06em; line-height: 1; }
.currency-select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: var(--white); font-size: 13px; font-weight: 700; }
.currency-select option { color: var(--ink); }
.price-card .checklist { margin: 18px 0 22px; }
.price-card .checklist li { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }
.price-card .checklist li b { color: var(--white); }
.price-note { margin-top: 12px; color: rgba(255, 255, 255, 0.58); font-size: 12px; line-height: 1.55; text-align: center; }
.checkout-notice { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff4ce; color: #72520a; font-size: 12.5px; line-height: 1.55; }
.checkout-notice a { color: #72520a; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 10px; max-width: 820px; }
.accordion details { border: 1px solid var(--rule); border-radius: 14px; background: var(--white); overflow: hidden; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; font-family: var(--head); font-size: 16px; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--cyan-deep); font-size: 16px; transition: transform .2s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { padding: 0 20px 20px; color: var(--slate); font-size: 15px; line-height: 1.65; }

/* ---------- Final CTA + footer ---------- */
.final-cta { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.final-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 32px; align-items: center; padding: clamp(56px, 8vw, 96px) 0; }
.final-cta h2 { font-size: clamp(34px, 4.8vw, 58px); }
.final-offer { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.final-offer > div { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.final-offer span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.final-offer strong { font-family: var(--head); font-size: 36px; letter-spacing: -0.05em; }
.final-offer p { margin: 10px 0 16px; color: rgba(255, 255, 255, 0.62); font-size: 13px; }

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.66); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 30px 0; font-size: 13px; }
.footer-inner .brand { color: var(--white); font-size: 18px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-inner a:hover { color: var(--white); }

/* ---------- Forms ---------- */
.form-card { width: min(780px, 100%); margin: 0 auto; overflow: hidden; background: var(--white); border-radius: 22px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32); }
.form-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 28px; color: var(--white); background: var(--navy-900); }
.form-card > header .brand { font-size: 20px; }
.form-card > header small { font-size: 12px; color: rgba(255, 255, 255, 0.64); }
.form-card > main { padding: clamp(28px, 5vw, 48px); }
.form-label { color: #287a87; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form-card h1 { margin: 12px 0 14px; font-size: clamp(34px, 6vw, 52px); line-height: .98; letter-spacing: -0.05em; }
.lead { color: var(--slate); font-size: 15.5px; line-height: 1.7; }
form { display: grid; gap: 18px; }
.form-section { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--rule); }
.form-section h2 { font-size: 17px; margin-bottom: 4px; }
.form-section > p { color: var(--slate-light); font-size: 13px; line-height: 1.5; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; }
.field > span, .legend { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.field small { display: block; margin-top: 6px; color: var(--slate-light); font-size: 12px; line-height: 1.45; }
input, select, textarea { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--white); color: var(--ink); }
textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choices.two { grid-template-columns: repeat(2, 1fr); }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; min-height: 0; }
.choice span { min-height: 62px; padding: 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; border: 1px solid var(--rule); border-radius: 12px; color: var(--slate); background: var(--white); cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1.3; }
.choice span small { font-weight: 500; font-size: 11px; color: var(--slate-light); }
.choice input:checked + span { color: var(--ink); background: var(--cyan-soft); border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 12px; color: var(--slate); font-size: 13px; line-height: 1.55; }
.consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.field-error { display: none; color: #bd3e31; font-size: 12.5px; }
.field-error.visible { display: block; }
.status { margin-top: 6px; padding: 16px 18px; display: flex; align-items: center; gap: 13px; background: var(--cyan-soft); border-radius: 12px; font-size: 13.5px; font-weight: 700; }
.status.error { background: #fff0e8; }
.spinner { width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid rgba(7, 24, 39, 0.2); border-top-color: #087f8d; border-radius: 50%; animation: spin .8s linear infinite; }
.status.done .spinner { display: grid; place-items: center; border: 0; background: #087f8d; color: var(--white); font-size: 11px; animation: none; }
.status.error .spinner { border: 0; background: var(--orange); animation: none; }
.help { margin-top: 22px; color: var(--slate-light); font-size: 12px; line-height: 1.6; }
.help a { color: var(--cyan-deep); }
.form-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 75% 15%, #123e59 0, transparent 32%), var(--navy-950); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
th { font-family: var(--head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-deep); background: var(--cream); }
tr:last-child td { border-bottom: 0; }
td b { color: var(--ink); }
td { color: var(--slate); }

/* ---------- Mobile ---------- */
.mobile-buy { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(251, 250, 246, 0.94); border: 1px solid var(--rule); box-shadow: 0 16px 32px rgba(4, 17, 28, 0.16); backdrop-filter: blur(14px); }
.mobile-buy span { display: block; color: var(--slate); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.mobile-buy strong { display: block; font-family: var(--head); font-size: 24px; letter-spacing: -0.05em; }
.mobile-buy.is-visible { display: flex; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .split-heading, .final-inner { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 11; }
  .site-header nav { display: none; }
}
@media (max-width: 600px) {
  :root { --shell: min(1140px, calc(100vw - 32px)); }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .row, .choices, .choices.two, .choices.three { grid-template-columns: 1fr 1fr; }
  .choices:not(.two):not(.three) { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .form-card > main { padding: 28px 20px; }
  .button-mobile-full { width: 100%; }
  body.has-mobile-buy { padding-bottom: 88px; }
}
@media (min-width: 901px) { .mobile-buy { display: none !important; } }
