@font-face {
  font-family: "Fraunces Variable";
  src: url("fonts/fraunces-latin-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces Variable";
  src: url("fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a1828;
  --bg-2: #07101b;
  --surface: #0f2238;
  --surface-2: #142d48;
  --ink: #e8f3fb;
  --muted: #9db4c8;
  --line: #21405f;
  --accent: #ff8a7e;
  --accent-2: #ff6f61;
  --accent-ink: #0a1828;
  --sky: #4aa9e6;
  --sky-deep: #7cc3f0;
  --green: #4fcf96;
  --serif: "Fraunces Variable", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --r: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(74, 169, 230, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 111, 97, 0.1), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -40px;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.5rem 0.8rem; border-radius: 8px; z-index: 20;
}
.skip:focus { top: 1rem; }

header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { display: flex; align-items: baseline; gap: 0.7rem; color: inherit; text-decoration: none; }
.brand-mark {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.03em; color: var(--ink);
}
.brand-sub { color: var(--muted); font-size: 0.82rem; }
.nav-links { display: flex; gap: 1.15rem; font-size: 0.92rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.hero { padding: 4.5rem 0 3rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--sky); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 560; font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 1rem;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.lede { max-width: 42rem; color: var(--muted); font-size: 1.12rem; margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.35rem;
  padding-bottom: 4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.card-media {
  aspect-ratio: 16 / 9; background: var(--surface-2);
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.badge {
  align-self: flex-start;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--sky-deep);
  background: color-mix(in srgb, var(--sky) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--sky) 35%, transparent);
  padding: 0.2rem 0.5rem; border-radius: 999px;
}
.card h2 {
  font-family: var(--serif); font-weight: 560; font-size: 1.45rem;
  letter-spacing: -0.02em; line-height: 1.2; margin: 0.15rem 0 0;
}
.card .blurb { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card .includes { color: var(--ink); margin: 0; font-size: 0.86rem; opacity: 0.88; }
.price-row { margin-top: auto; padding-top: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; }
.price {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  letter-spacing: -0.03em;
}
.price-note { color: var(--muted); font-size: 0.8rem; margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 1.1rem; border-radius: 999px;
  border: 0; font: inherit; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-decoration: none; margin-top: 0.55rem;
  width: 100%;
}
.btn-buy { background: var(--accent); color: var(--accent-ink); }
.btn-buy:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn[aria-disabled="true"], .btn:disabled {
  background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--line); cursor: not-allowed;
}

.policies {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem;
  padding: 0 0 4.5rem;
}
.policy {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.4rem 1.5rem 1.5rem;
}
.policy h2 {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 560;
  margin: 0 0 0.7rem; letter-spacing: -0.02em;
}
.policy p { margin: 0 0 0.7rem; color: var(--muted); }
.policy p:last-child { margin-bottom: 0; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  color: var(--muted); font-size: 0.92rem;
}
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem 2rem;
}
.foot strong { color: var(--ink); font-weight: 600; }
.error {
  margin: 0 0 2rem; padding: 1rem 1.1rem; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}

@media (max-width: 720px) {
  .brand-sub { display: none; }
  .hero { padding: 3rem 0 2rem; }
  .policies { grid-template-columns: 1fr; }
  .nav-links { gap: 0.8rem; font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
