:root {
  --brand: #1d4ed8;
  --brand-dark: #1e40af;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --warn-bg: #fff7ed;
  --warn-line: #fdba74;
  --radius: 10px;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 20;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------- header --------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav a {
  color: var(--body);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
  text-decoration: underline;
}

/* ----------------------------------- hero ---------------------------------- */

.hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  max-width: 21ch;
}

.hero .lede {
  font-size: 18px;
  max-width: 62ch;
  margin: 0 0 24px;
}

.hero .lede strong {
  color: var(--ink);
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cta-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* --------------------------------- sections -------------------------------- */

section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

section.soft {
  background: var(--soft);
}

h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.section-lede {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 28px;
}

.grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 780px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 15px;
}

.card .quiet {
  color: var(--muted);
  font-size: 14px;
}

.quote {
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 6px;
}

/* ---------------------------------- steps ---------------------------------- */

.steps {
  display: grid;
  gap: 26px;
}

.step {
  display: grid;
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.step:first-child {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 860px) {
  .step {
    grid-template-columns: 1fr 1.1fr;
    gap: 34px;
  }
  .step:nth-child(even) .step-media {
    order: -1;
  }
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--ink);
}

.step p {
  margin: 0;
  font-size: 15px;
}

/* Keep the card at the image's natural height: a stretched grid cell would clip the shot. */
.step-media {
  align-self: start;
}

.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Natural aspect: for shots whose content is short and wide, forcing 16:10 leaves a
   white band under the image. */
.shot-natural img {
  width: 100%;
  height: auto;
}

/* Fixed crops keep the page rhythm even when a screenshot is very tall. */
.shot-wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot-portrait img {
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: top center;
  max-height: 560px;
}

.shot figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

/* ---------------------------------- lists ---------------------------------- */

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

ul.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}

ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* "What you don't get" list: a cross reads correctly for a limitation. */
ul.checks-no li::before {
  content: "✕";
  color: #b91c1c;
}

/* --------------------------------- pricing --------------------------------- */

.price-card {
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  max-width: 520px;
}

.price {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}

.spec th,
.spec td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec th {
  color: var(--muted);
  font-weight: 500;
  width: 44%;
}

/* ---------------------------------- table ---------------------------------- */

table.md {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 14px 0;
}

table.md th,
table.md td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

table.md th {
  background: var(--soft);
  color: var(--ink);
}

/* --------------------------------- doc page -------------------------------- */

.doc {
  padding: 40px 0 56px;
}

.doc h1 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  margin: 0 0 6px;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 26px;
}

.doc h2 {
  font-size: 21px;
  margin: 32px 0 10px;
}

.doc h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--ink);
}

.doc p,
.doc li {
  font-size: 15px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.doc code {
  background: var(--soft);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.pending {
  background: var(--warn-bg);
  border: 1px dashed var(--warn-line);
  border-radius: 4px;
  padding: 1px 6px;
  color: #9a3412;
  font-size: 0.95em;
}

/* ---------------------------------- notice --------------------------------- */

.notice {
  border: 1px solid var(--warn-line);
  background: var(--warn-bg);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  color: #7c2d12;
}

.notice strong {
  color: #7c2d12;
}

/* --------------------------------- footer ---------------------------------- */

.site-footer {
  padding: 34px 0 46px;
  font-size: 13.5px;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
}

@media print {
  .site-header,
  .site-footer,
  .cta-row {
    display: none;
  }
}

/* ------------------------------- checkout -------------------------------- */

.checkout {
  padding: 64px 0 88px;
}

.checkout-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.checkout-card .eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.checkout-card h1 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.25;
}

#checkout-status {
  min-height: 52px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

#checkout-status p {
  margin: 0 0 8px;
}

.checkout-error {
  color: #b91c1c;
  font-weight: 600;
}

.checkout-meta {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
