@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-Medium.woff2") format("woff2");
}

:root {
  --navy: #0e2240;
  --navy-deep: #091628;
  --navy-mid: #1a3d68;
  --ink: #162033;
  --muted: #536274;
  --line: #e4dac9;
  --paper: #f3efe6;
  --card: #fffdf8;
  --cream: #f7f2e8;
  --yellow: #f5c400;
  --yellow-press: #e2b400;
  --shadow: 0 18px 40px rgba(14, 34, 64, 0.08);
  --sans: Inter, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1120px;
  --header: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--navy-mid); }
a:hover { color: var(--navy); }

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

h1, h2, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  background: var(--yellow);
  color: var(--navy);
  padding: 8px 12px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--yellow);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
}
.logo svg { width: 196px; height: 36px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(247, 242, 232, 0.35);
  background: transparent;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--navy-deep);
  padding: 8px 16px 18px;
  border-bottom: 3px solid var(--yellow);
}
body.nav-open .site-nav { display: flex; flex-direction: column; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 12px 4px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
}
.site-nav a[aria-current="page"] { color: var(--yellow); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    border: 0;
    gap: 4px;
    flex-direction: row;
    align-items: center;
  }
  .site-nav a {
    border: 0;
    padding: 8px 12px;
  }
}

.band {
  background:
    radial-gradient(1200px 420px at 90% -10%, rgba(245, 196, 0, 0.16), transparent 55%),
    var(--navy);
  color: var(--cream);
}

.hero {
  display: grid;
  gap: 36px;
  padding: 40px 0 48px;
}
.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero h1 { max-width: 11em; }
.lede {
  margin-top: 18px;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #e7e0d2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy-deep);
  border-color: var(--yellow);
}
.btn-yellow:hover { background: var(--yellow-press); color: var(--navy-deep); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 242, 232, 0.45);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--cream); }
.btn-block { width: 100%; }

.hero-art {
  display: grid;
  align-content: end;
  min-height: 220px;
}
@media (max-width: 420px) {
  .logo svg { width: 158px; height: 30px; }
}
.sheet-stack {
  position: relative;
  height: 248px;
  width: min(100%, 420px);
  margin-left: auto;
}
.sheet {
  position: absolute;
  width: min(230px, 68%);
  background: var(--card);
  color: var(--navy);
  border: 1px solid #d9d0c0;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}
.sheet:nth-child(1) { top: 6px; left: 0; transform: rotate(-6deg); }
.sheet:nth-child(2) { top: 72px; right: 0; transform: rotate(3deg); }
.sheet-top {
  height: 8px;
  margin: -16px -16px 12px;
  background: var(--navy);
  border-bottom: 4px solid var(--yellow);
}
.sheet strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}
.sheet span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  background: var(--card);
  padding: 20px 22px;
}
.fact b {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.fact span { color: var(--muted); font-size: 0.95rem; }

.section { padding: 56px 0; }
.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 40rem;
}
.section-head p { color: var(--muted); }

.grid {
  display: grid;
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(14, 34, 64, 0.04);
  min-width: 0;
}
.card:hover { border-color: #c9b88a; }
.card-media {
  display: block;
  background: #ebe4d6;
  border-bottom: 1px solid var(--line);
}
.card-media img {
  width: 100%;
  height: auto;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1;
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card .tagline { color: var(--muted); font-size: 0.98rem; }
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 8px;
}
.card .more {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: #fff4c2;
  padding: 3px 6px;
}

.cover { color: var(--navy); background: #f7f4ee; }
.cover .bar { fill: var(--navy); }
.cover .bar-line { fill: var(--yellow); }
.cover .tick { fill: none; stroke: var(--navy); stroke-width: 1.4; }
.cover .mark { fill: var(--yellow); }
.cover .ink { fill: var(--navy); }
.cover .quiet { fill: #5c6b7c; }
.cover text { font-family: var(--display); }

.price { margin: 0; }
.price-note {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-now {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}
.price.is-amount .price-now {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.15rem;
}
.price-was {
  margin-left: 0.4rem;
  color: var(--muted);
  text-decoration: line-through;
  font-family: var(--mono);
  font-size: 0.95rem;
}
.price-lg .price-now { font-size: 1.2rem; }
.price-lg.is-amount .price-now { font-size: 1.85rem; }
.price-lg .price-was { font-size: 1.15rem; }

.feature {
  display: grid;
  gap: 16px;
}
.feature .card { border-top: 4px solid var(--yellow); }

.steps {
  display: grid;
  gap: 12px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
}
.step b {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--navy-mid);
}

.page {
  padding: 28px 0 64px;
}
.prose { max-width: 42rem; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 8px 0 12px; }
.prose .lede { color: var(--ink); margin-top: 0; }
.prose h2 { margin: 28px 0 10px; font-size: 2rem; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 8px 0 0; padding-left: 1.2rem; }
.prose li + li { margin-top: 4px; }

.crumbs {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }

.product { display: grid; gap: 22px; }
.product-head h1 {
  font-family: var(--sans);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-top: 10px;
}
.product-head .tagline {
  margin-top: 12px;
  font-size: 1.2rem;
  max-width: 38rem;
}
.buy-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  padding: 14px;
  box-shadow: var(--shadow);
}
.buy-panel .preview { margin: 0 0 14px; }
.buy-panel .btn { margin-top: 14px; font-size: 1.05rem; min-height: 54px; }
.meta {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.meta div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.meta dt { color: var(--muted); font-size: 0.92rem; }
.meta dd { margin: 0; font-family: var(--mono); font-size: 0.82rem; text-align: right; }
.product-copy section + section { margin-top: 26px; }
.product-copy h2 { font-size: 1.8rem; margin-bottom: 8px; }
.prose h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.prose ul, .prose ol { margin: 8px 0 0; padding-left: 1.2rem; }
.prose li + li { margin-top: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: 0.86em; }
.gallery { margin: 0 0 22px; }
.gallery img { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  line-height: 0;
}
.thumbs button[aria-pressed="true"] { border-color: var(--yellow); }
.thumbs img { width: 96px; height: auto; border: 0; }
.buy-panel .preview img { width: 100%; height: auto; border: 1px solid var(--line); }
.end-buy { margin-top: 28px; }

.site-footer {
  background: var(--navy-deep);
  color: #d9d1c3;
  padding: 36px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 22px;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .logo { margin-bottom: 8px; }
.fine {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 232, 0.15);
  font-size: 0.88rem;
  color: #b7ad9e;
}
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

@media (min-width: 700px) {
  .facts {
    width: min(var(--wrap), calc(100% - 32px));
    margin-inline: auto;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero { padding: 64px 0 72px; }
}

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1.2fr 1fr 1fr; }
  .product {
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 36px;
    align-items: start;
  }
  .product-head { grid-column: 1; }
  .product-copy { grid-column: 1; }
  .buy-panel { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 92px; }
}

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