@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --fg: #141413;
  --muted: #5F5D57;
  --brass: #D6B06A;
  --brass-hover: #E2BE7B;
  --brass-ink: #17140F;
  --brass-text: #806A40;
  --ok: #1A7747;
  --bad: #C23030;
  --night: #0B0B0C;
  --night-raise: #151517;
  --night-muted: #A3A09A;
  --line: rgba(20, 20, 19, 0.10);
  --line-2: rgba(20, 20, 19, 0.22);
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --page: 1120px;
  --pad: 24px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

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

a { color: var(--brass-text); }

a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--page), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: 72px;
}

h1 span { display: block; }

h2 {
  margin: 0;
  font-size: 40px;
}

.lead {
  margin: 24px auto 0;
  max-width: 38em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

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

.nav-buy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-price {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--brass-text);
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--brass);
  color: var(--brass-ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 8px;
}

.button:hover {
  background: var(--brass-hover);
  text-decoration: none;
}

.hero {
  padding: 88px 0 56px;
  text-align: center;
}

.meta {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.price { margin-top: 12px; }

.price-terms {
  margin: 8px auto 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.close .price-terms { margin-left: 0; }

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

.mac-note {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--fg);
}

.actions { margin-top: 32px; }

.night { background: var(--night); }

.mock {
  position: relative;
  margin: 0;
  background: var(--night-raise);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.mock-story {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 340px;
  justify-self: center;
}

.mock img,
.mock video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stage { margin: 0; min-width: 0; }

.stage svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--night);
  border-radius: 16px;
  overflow: hidden;
}

.stage svg text { font-family: var(--sans); }
.stage svg text.m { font-family: var(--mono); }

.again {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--brass-text);
  font: 600 14px var(--sans);
  cursor: pointer;
}

.again:hover { background: rgba(20, 20, 19, 0.06); }

/* Hover extras: they repeat what the animation says, so touch screens lose nothing. */
.stage .hv, .stage .t, .stage .s { transition: opacity 0.2s ease-out; }
.stage .t > g, .stage .lift { transition: transform 0.2s ease-out; }
.stage .dim .t:not(.lit) { opacity: 0.2; }
.stage .dim .s:not(.lit) { opacity: 0.45; }
.stage .t.lit > g { transform: scale(1.08); }

@media (hover: hover) {
  .stage .lift:hover { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .stage .t > g, .stage .lift { transition: none; }
  .stage .t.lit > g, .stage .lift:hover { transform: none; }
}
.still .again { display: none; }

.night-band { padding: 56px 0; color: #F3F1EC; }
.night-band .eyebrow { color: var(--brass); }
.night-band .band-copy p:not(.eyebrow) { color: var(--night-muted); }
.night-band .stage svg { border: 1px solid rgba(255, 255, 255, 0.08); }
.night-band .again { color: var(--brass); }
.night-band .again:hover { background: rgba(255, 255, 255, 0.08); }

.band-block { padding: 16px 0 8px; }

.band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.band.reverse .band-copy { order: 2; }

.band h2 { font-size: 40px; }

.band-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 36em;
}

.compare {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
}

.compare th {
  padding: 0 16px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}

.compare th:last-child { color: var(--brass-text); }

.compare td {
  padding: 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-size: 16px;
}

.compare td:nth-child(2) { color: var(--muted); }

.compare td:nth-child(3) { font-weight: 600; }

.mark {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  background: currentColor;
}

.mark.yes {
  color: var(--ok);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.1 11.2 2.8 7.9l1.3-1.3 2 2 5.8-5.8 1.3 1.3z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.1 11.2 2.8 7.9l1.3-1.3 2 2 5.8-5.8 1.3 1.3z'/></svg>") center / contain no-repeat;
}

.mark.no {
  color: var(--bad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M3.2 1.8 8 6.6l4.8-4.8 1.4 1.4L9.4 8l4.8 4.8-1.4 1.4L8 9.4l-4.8 4.8-1.4-1.4L6.6 8 1.8 3.2z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M3.2 1.8 8 6.6l4.8-4.8 1.4 1.4L9.4 8l4.8 4.8-1.4 1.4L8 9.4l-4.8 4.8-1.4-1.4L6.6 8 1.8 3.2z'/></svg>") center / contain no-repeat;
}

.section { padding: 56px 0; }

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 40px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rail strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.rail p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.rail .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass-text);
}

.limits {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.limits li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.limits li:last-child { border-bottom: 1px solid var(--line); }

.faq { margin-top: 8px; }

.faq details { border-top: 1px solid var(--line); }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  width: 24px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--brass-text);
}

.faq details[open] summary::after { content: "\2212"; }

.faq details p {
  margin: 0 0 18px;
  max-width: 62ch;
  color: var(--muted);
}

.close {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding: 24px 0 88px;
}

.close .lead { margin-left: 0; }

.foot {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-note {
  flex-basis: 100%;
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
}

.foot a { display: inline-block; line-height: 24px; color: inherit; }

.policy { max-width: 38em; padding: 72px 0 88px; font-size: 17px; line-height: 1.55; }
.policy h1 { font-size: 56px; }
.policy-date { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.policy section { margin-top: 48px; }
.policy h2 { margin-bottom: 12px; font-size: 32px; }
.policy p { margin: 12px 0 0; }
.policy ul { margin: 12px 0 0; padding-left: 20px; }
.policy li { margin-top: 8px; }
.policy dl { margin: 16px 0 0; }
.policy dt { margin-top: 16px; font-weight: 600; }
.policy dd { margin: 4px 0 0; }
.policy code { font-family: var(--mono); font-size: 14px; }
.policy mark { padding: 0 4px; background: var(--brass); color: var(--ink, inherit); }
@media (max-width: 900px) { .policy h1 { font-size: 48px; } }

@media (max-width: 900px) {
  h1 { font-size: 48px; }
  h2, .band h2 { font-size: 32px; }
  .band, .band.reverse, .close {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .band.reverse .band-copy { order: 0; }
  .rail { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 56px; }
}

@media (max-width: 640px) {
  h1 { font-size: 40px; }
  .nav-buy { flex-direction: column; align-items: flex-end; gap: 4px; }
  .rail { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .compare td { border-top: 0; padding: 2px 0; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .compare td:nth-child(3)::before { color: var(--brass-text); }
}
