:root {
  color-scheme: light;
  --bg: #f4f8f8;
  --surface: #ffffff;
  --surface-soft: #edf5f5;
  --ink: #0e1b22;
  --ink-soft: #314650;
  --muted: #667a83;
  --line: rgba(22, 52, 62, .14);
  --line-strong: rgba(22, 52, 62, .24);
  --brand: #057684;
  --brand-dark: #044f5c;
  --accent: #f07a3b;
  --accent-soft: #ffe2cd;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, .78);
  --shadow: 0 24px 80px rgba(14, 27, 34, .14);
  --radius: 8px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071116;
  --surface: #0d1b21;
  --surface-soft: #12252c;
  --ink: #edf7f8;
  --ink-soft: #c8d8dc;
  --muted: #8fa5ad;
  --line: rgba(221, 240, 243, .14);
  --line-strong: rgba(221, 240, 243, .24);
  --brand: #42c0cb;
  --brand-dark: #7bdbe2;
  --accent: #ff9a5c;
  --accent-soft: rgba(255, 154, 92, .16);
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, .78);
  --shadow: 0 24px 90px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(5, 118, 132, .045) 1px, transparent 1px),
    linear-gradient(rgba(5, 118, 132, .035) 1px, transparent 1px),
    var(--bg);
  background-size: 74px 74px, 74px 74px, auto;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

body,
button,
input,
select,
textarea {
  font: 400 16px/1.5 "Aptos", "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 14px 28px rgba(5, 118, 132, .24);
  font-size: 12px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.nav a,
.footer-links a {
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--brand-dark);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.header-cta {
  color: #ffffff;
  border-color: transparent;
  background: var(--brand-dark);
}

html[data-theme="dark"] .header-cta {
  color: #062026;
  background: var(--brand-dark);
}

.hero {
  position: relative;
  min-height: calc(82svh - 68px);
  overflow: hidden;
  color: var(--hero-text);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background: url("assets/shiptide-hero-v2.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 17, 23, .94) 0%, rgba(4, 17, 23, .78) 39%, rgba(4, 17, 23, .38) 68%, rgba(4, 17, 23, .12) 100%),
    linear-gradient(0deg, rgba(4, 17, 23, .62) 0%, transparent 45%);
}

html[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 17, 23, .92) 0%, rgba(4, 17, 23, .72) 42%, rgba(4, 17, 23, .26) 72%, rgba(4, 17, 23, .06) 100%),
    linear-gradient(0deg, rgba(4, 17, 23, .54) 0%, transparent 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
  width: min(1220px, calc(100% - 36px));
  min-height: calc(82svh - 68px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 108px) 0 clamp(42px, 6vw, 74px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.quote-section .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .88;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: .98;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--hero-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 34px rgba(5, 118, 132, .28);
}

html[data-theme="dark"] .primary {
  color: #041117;
}

.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
}

.full {
  width: 100%;
}

.quote-preview {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(7, 17, 22, .5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(240, 122, 59, .18);
}

.quote-label,
.mode-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quote-preview h2 {
  color: #ffffff;
  font-size: 34px;
}

.quote-preview ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  list-style: none;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1220px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 0 0 36px;
}

.ticker span,
.quote-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  font-size: 13px;
  font-weight: 900;
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 98px) 0;
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .5fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.product-grid,
.steps,
.trust-grid,
.mode-grid {
  display: grid;
  gap: 16px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps,
.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid article,
.steps article,
.trust-grid article,
.mode-grid article,
.quote-form,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset;
}

.product-grid article,
.steps article,
.trust-grid article,
.mode-grid article {
  min-height: 218px;
  padding: 24px;
}

.product-grid span,
.steps span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--accent);
  font-weight: 950;
}

.product-grid p,
.steps p,
.trust-grid p,
.mode-grid p,
.quote-copy p,
.limits li,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, .86fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  margin: 32px 0;
  padding: clamp(58px, 8vw, 94px) max(18px, calc((100% - 1220px) / 2));
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(5, 118, 132, .96), rgba(7, 17, 22, .96)),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: auto, 62px 62px;
}

.split-band h2,
.quote-section h2 {
  color: #ffffff;
}

.split-band .eyebrow {
  color: var(--accent);
}

.mode-grid {
  grid-template-columns: 1fr 1fr;
}

.mode-grid article {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.mode-grid h3,
.mode-grid p {
  color: #ffffff;
}

.mode-grid p:not(.mode-label) {
  color: rgba(255, 255, 255, .76);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, .66fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  margin: 20px auto 0;
  padding: clamp(54px, 7vw, 84px) clamp(20px, 4vw, 54px);
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(140deg, rgba(7, 17, 22, .97), rgba(4, 79, 92, .92)),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: auto, 64px 64px;
  box-shadow: var(--shadow);
}

.quote-copy p {
  max-width: 610px;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
}

.quote-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.quote-badges span {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}

.quote-form {
  padding: 22px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface-soft);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-color: var(--brand);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-help {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-help a {
  color: var(--brand-dark);
  font-weight: 950;
}

.trust .section-kicker {
  margin-bottom: 28px;
}

.limits {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.limits ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.limits li {
  position: relative;
  padding-left: 22px;
}

.limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.faq {
  padding-top: 58px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

summary {
  cursor: pointer;
  padding: 19px 22px;
  color: var(--ink);
  font-weight: 950;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-top: 70px;
  padding: 42px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, .72);
  background: #071116;
}

.footer .brand {
  color: #ffffff;
}

.footer p {
  max-width: 440px;
  margin: 18px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #ffffff;
  font-weight: 900;
}

.mobile-whatsapp {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: none;
  border-radius: 999px;
  padding: 13px 16px;
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: 0 18px 40px rgba(5, 118, 132, .34);
  font-weight: 950;
  text-decoration: none;
}

html[data-theme="dark"] .mobile-whatsapp {
  color: #041117;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-inner,
  .section-kicker,
  .split-band,
  .quote-section,
  .limits {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: end;
  }

  .quote-preview {
    max-width: 430px;
  }

  .product-grid,
  .steps,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    min-height: 60px;
    padding: 10px 14px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    gap: 7px;
  }

  .theme-toggle,
  .header-cta {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: calc(86svh - 60px);
  }

  .hero-background {
    background-position: 58% center;
  }

  .hero-overlay,
  html[data-theme="light"] .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 17, 23, .9) 0%, rgba(4, 17, 23, .74) 52%, rgba(4, 17, 23, .92) 100%);
  }

  .hero-inner {
    width: min(100% - 28px, 1220px);
    padding: 42px 0 28px;
  }

  h1 {
    font-size: clamp(46px, 14.6vw, 66px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions .button,
  .form-row,
  .product-grid,
  .steps,
  .trust-grid,
  .mode-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .quote-preview {
    display: none;
  }

  .ticker {
    justify-content: flex-start;
    overflow: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding: 14px 14px 30px;
  }

  .ticker span {
    white-space: nowrap;
  }

  .section {
    width: min(100% - 28px, 1220px);
    padding: 54px 0;
  }

  .product-grid article,
  .steps article,
  .trust-grid article,
  .mode-grid article {
    min-height: auto;
  }

  .split-band {
    padding: 56px 14px;
  }

  .quote-section {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-bottom: 86px;
  }

  .footer-links {
    flex-direction: column;
  }

  .mobile-whatsapp {
    display: inline-flex;
  }
}
