* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --night: #08131d;
  --panel: #101f2b;
  --ink: #f6fbfc;
  --muted: #b4c5ce;
  --line: #263d49;
  --teal: #88f1e1;
  --serif: Fraunces, Georgia, serif;
  --gutter: clamp(20px, 5vw, 64px);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100%, 1220px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 10px 16px; background: var(--night); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); font-size: 13px; font-weight: 700; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--teal); }
.nav-action { gap: 8px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(680px, 78svh); background: #101f2b; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,19,29,.96), rgba(8,19,29,.83) 32%, rgba(8,19,29,.23) 73%), linear-gradient(0deg, var(--night), transparent 28%); }
.hero-copy { padding-block: clamp(56px, 10vw, 118px); }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin-top: 16px; font-size: clamp(58px, 9vw, 116px); line-height: .93; }
.hero h1 em { color: var(--teal); }
.hero h1 + p { max-width: 40ch; margin-top: 24px; font-size: clamp(15px, 2vw, 19px); color: #e0edf1; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border-radius: 999px; background: var(--teal); color: #092521; font-weight: 800; text-decoration: none; }
.button:hover { background: #b6fff1; }
.text-link { font-size: 14px; font-weight: 700; }

.section { padding-block: clamp(58px, 8vw, 104px); }
.section-heading { margin-bottom: clamp(24px, 4vw, 42px); }
.section h2 { font-size: clamp(34px, 5.6vw, 65px); }
.section-heading p { max-width: 58ch; margin-top: 12px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.feature { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.feature img { width: 100%; height: auto; aspect-ratio: 2.2; object-fit: cover; }
.feature-copy { padding: clamp(20px, 3vw, 30px); }
.feature h3, .plan h3 { font-size: clamp(25px, 3.1vw, 36px); }
.feature h3 { margin-top: 10px; }
.feature h3 + p, .plan p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.comparison { border-block: 1px solid var(--line); background: #0c1a25; }
table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: clamp(12px, 1.8vw, 15px); }
th, td { padding: clamp(10px, 2.3vw, 20px); text-align: left; overflow-wrap: anywhere; }
thead th { border-bottom: 1px solid var(--line); background: #122532; }
thead th:first-child { width: 46%; }
tbody tr + tr > * { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; }
tbody td { color: var(--muted); }
table tr > :last-child { background: #112c32; color: var(--teal); font-weight: 700; }
.fine-print { margin-top: 16px; color: var(--muted); font-size: 13px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.plan:first-child { border-color: #417a76; background: #102a30; }
.plan-action { margin-top: 24px; }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
summary::marker { color: var(--teal); }
details p { margin: 0 0 16px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding-block: 20px; }

@media (max-width: 700px) {
  .site-header { padding-block: 10px; }
  .brand { font-size: 22px; }
  .site-header nav > :first-child { display: none; }
  .hero { min-height: 580px; align-items: end; }
  .hero-photo { object-position: 56% center; }
  .hero::after { background: linear-gradient(0deg, var(--night) 3%, rgba(8,19,29,.95) 35%, rgba(8,19,29,.52) 77%, transparent); }
  .hero-copy { padding-block: 160px 50px; }
  .features, .plans, .faq { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
