/* White page in the colours of the US flag. Three parts: headline, proof, buy. */
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #ffffff;
  --navy: #0a3161;      /* Old Glory Blue */
  --red: #b31942;       /* Old Glory Red */
  --ink: #0b1b3a;
  --muted: #55607a;
  --line: #dde3ee;
  --soft: #f3f6fb;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 700px; }
h1, h2, h3 { line-height: 1.04; text-wrap: balance; margin: 0; letter-spacing: -0.025em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-s { display: flex; flex-direction: column; gap: 10px; }
.center { align-items: center; text-align: center; }
[hidden] { display: none !important; }

/* Flag bar: navy field with stars, then a strip of red and white */
.flagbar { background: var(--navy); color: #fff; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.flagbar .wrap { padding-block: 10px; }
.flagbar .s { color: #fff; opacity: .9; padding-inline: .5em; letter-spacing: .3em; }
.stripes { height: 10px; background: repeating-linear-gradient(90deg, var(--red) 0 34px, #fff 34px 68px); border-bottom: 1px solid var(--line); }

.label { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.tape { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 2px; }
.center .tape { align-self: center; }
.stars { color: var(--red); letter-spacing: .6em; font-size: 1rem; padding-left: .6em; line-height: 1; }

section { padding-block: clamp(56px, 9vw, 104px); }
section.first { padding-top: clamp(40px, 7vw, 84px); }
section.soft { background: var(--soft); border-block: 1px solid var(--line); }

/* Buy button */
.buy { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.center .buy { align-items: center; }
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--red); color: #fff; font-family: var(--sans); font-weight: 850; font-size: 1.12rem; letter-spacing: -0.01em; padding: 16px 28px; border-radius: 6px; text-decoration: none; box-shadow: 0 5px 0 #7d0f2c; transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 #7d0f2c; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 #7d0f2c; }
.btn .dot { display: none; }
.btn.big { font-size: 1.3rem; padding: 20px 34px; }
.btn.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; transform: none; }
.fine { font-size: 0.88rem; color: var(--muted); }

/* 1. Headline */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hero h1 .claim { display: block; color: var(--red); font-size: 0.62em; letter-spacing: -0.02em; margin-top: 0.35em; line-height: 1.08; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34em; }
.seal { width: clamp(190px, 24vw, 270px); height: auto; transform: rotate(9deg); flex: none; }
.seal text { font-family: var(--sans); }

/* 2. Proof */
.bars { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.bar-head b { font-weight: 900; font-size: clamp(1.7rem, 4.6vw, 2.6rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--navy); line-height: 1; }
.bar-head span { color: var(--muted); font-size: .95rem; }
.track { height: 16px; background: #fff; border: 1px solid var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.fill { height: 100%; background: var(--navy); min-width: 4px; }
.fill.hot { background: repeating-linear-gradient(90deg, var(--red) 0 18px, #c93a5e 18px 36px); }
.bar.win .bar-head b { color: var(--red); }
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; }
.note { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 6px; padding: 20px 22px; text-align: left; }
.note b { font-weight: 900; font-size: 1.7rem; letter-spacing: -0.02em; display: block; line-height: 1.1; color: var(--navy); }

.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; width: 100%; text-align: left; }
.reel { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.frame { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #0b1b3a; border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--red); }
.frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.views { position: absolute; left: 10px; bottom: 10px; background: var(--red); color: #fff; font-weight: 850; font-size: 0.95rem; letter-spacing: -0.01em; padding: 3px 10px; border-radius: 4px; }
.reel figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 0.95rem; line-height: 1.3; }
.reel figcaption b { font-weight: 750; color: var(--navy); }
.in { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); font-weight: 600; white-space: nowrap; }

/* 3. Buy */
.offer { background: #fff; border: 2px solid var(--navy); border-radius: 10px; overflow: hidden; box-shadow: 10px 10px 0 var(--red); }
.offer-top { height: 12px; background: repeating-linear-gradient(90deg, var(--red) 0 34px, #fff 34px 68px); border-bottom: 2px solid var(--navy); }
.offer-in { padding: clamp(24px, 5vw, 46px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 36px; align-items: center; }
.offer .muted { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ticks li { padding-left: 1.7em; position: relative; }
.ticks li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--red); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font-weight: 900; font-size: clamp(3.8rem, 10vw, 5.4rem); line-height: 1; letter-spacing: -0.05em; color: var(--navy); }
.price span { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 30px 46px; font-size: 0.86rem; color: var(--muted); }
footer .wrap { display: flex; flex-direction: column; gap: 10px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Thank-you page */
.access { display: flex; flex-direction: column; gap: 14px; }
.access-item { background: var(--soft); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: 6px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.access-item b { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--navy); }
.hint { border-left: 4px solid var(--red); padding: 4px 0 4px 16px; }

/* Plain text pages */
.prose h2 { font-size: 1.35rem; margin-top: 28px; }
.prose p, .prose ul { margin: 12px 0 0; }
.prose ul { padding-left: 1.2em; }

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

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .seal { width: 170px; justify-self: center; transform: rotate(-7deg); }
  .offer-in { grid-template-columns: minmax(0, 1fr); }
  .others { grid-template-columns: minmax(0, 1fr); }
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .reel:first-child { grid-column: 1 / -1; }
  .frame { box-shadow: 4px 4px 0 var(--red); }
  .offer { box-shadow: 6px 6px 0 var(--red); }
  .buy, .buy .btn { width: 100%; }
}

/* Paper look and the first screen with the videos in orbit (Idea B from the design board) */
body.paper { background-color: #fcfcfa; background-image: repeating-linear-gradient(0deg, rgba(10,49,97,.012) 0 1px, transparent 1px 5px); }
.fold { background-image: linear-gradient(90deg, transparent calc(50% - 4px), rgba(10,49,97,.09) calc(50% - 1px), rgba(255,255,255,.9) calc(50% + 1px), rgba(10,49,97,.035) calc(50% + 4px), transparent calc(50% + 70px)); overflow: hidden; }
.flagbar .wrap { font-weight: 600; }
.hero2 { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 20px; align-items: center; }
.hero2 h1 { font-size: clamp(2.7rem, 6.3vw, 6.1rem); line-height: 0.93; letter-spacing: -0.045em; }
.tapelabel { align-self: flex-start; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(10,49,97,.9); padding: 8px 20px; transform: rotate(-2deg); box-shadow: 0 2px 5px rgba(10,27,58,.25); }
.orbit { position: relative; width: 108%; aspect-ratio: 1 / 0.86; container-type: inline-size; }
.ringline { position: absolute; left: 8%; top: 35%; width: 84%; height: 42%; border: 3px solid rgba(10,49,97,.2); border-radius: 50%; transform: rotate(-14deg); }
.sat { position: absolute; width: 25%; aspect-ratio: 4 / 3; object-fit: cover; background: #0b1b3a; border: 5px solid #fff; border-radius: 5px; box-shadow: 0 14px 30px rgba(10,27,58,.32); will-change: transform, left, top; }
.planet { position: absolute; left: 50%; top: 46%; z-index: 2; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--navy); color: #fff; box-shadow: inset -22px -26px 0 rgba(0,0,0,.16), 0 24px 50px rgba(10,27,58,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.p-top { font-size: 12px; font-size: 2.2cqw; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.p-num { font-size: 34px; font-size: 7.6cqw; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--red); background: #fff; padding: 0.22em 0.5em; margin: 0.16em -9cqw; white-space: nowrap; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.p-views { font-size: 16px; font-size: 3.1cqw; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.p-sub { font-size: 11px; font-size: 2.1cqw; font-weight: 500; letter-spacing: .04em; }

/* What you get */
.stack-l { display: flex; flex-direction: column; gap: 36px; }
.gets-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.gets-head h2 { font-size: clamp(2.2rem, 5.6vw, 5rem); line-height: 0.96; letter-spacing: -0.04em; }
.gets-head .lede { max-width: 26em; }
.gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.get { background: #fff; border: 3px solid var(--navy); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: 7px 7px 0 var(--navy); }
.get b { font-size: 4.4rem; font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; color: var(--red); }
.get h3 { font-size: 1.3rem; font-weight: 900; }
.get p { color: #24365a; font-size: 1rem; line-height: 1.4; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.facts > div { border-top: 4px solid var(--navy); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.facts p { color: #24365a; }
.buyrow { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fold { background-image: none; }
  .orbit { margin: 8px -8px 0; width: calc(100% + 16px); }
  .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .get { padding: 16px; box-shadow: 5px 5px 0 var(--navy); }
  .get b { font-size: 3.2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .buyrow { flex-direction: column; align-items: stretch; }
  .gets-head h2 br { display: none; }
}

/* Black Friday: regular price, saving, countdown. After the deadline the page switches by itself. */
/* Before the deadline nothing marked after-only may show, whatever its own display rule says. */
html:not(.sale-over) .after-only { display: none !important; }
.sale-over .sale-only { display: none !important; }
.flagbar .bf { background: var(--red); color: #fff; padding: 2px 8px; border-radius: 3px; margin-right: 8px; }
.flagbar .sep { color: #fff; opacity: .7; padding-inline: 6px; }
[data-countdown] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.deal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-weight: 700; }
.deal .was { color: var(--muted); font-size: 1.05rem; }
.deal s, .price s { text-decoration-thickness: 3px; text-decoration-color: var(--red); }
.deal .save { background: var(--red); color: #fff; font-size: 0.92rem; letter-spacing: .02em; padding: 4px 12px; border-radius: 4px; transform: rotate(-1.5deg); }
.price s { font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--muted); letter-spacing: -0.03em; align-self: center; }
.ended { font-weight: 700; color: var(--navy); border-left: 4px solid var(--red); padding: 6px 0 6px 14px; }
.updates { background: var(--navy); color: #fff; border-radius: 10px; padding: 18px 24px; font-size: 1.08rem; }
.updates b { font-weight: 900; }

/* Black Friday, loud: sticky bar with a moving shine, starburst stickers that glow, a big $9 */
.flagbar { position: sticky; top: 0; z-index: 50; overflow: hidden; font-size: 0.95rem; box-shadow: 0 4px 18px rgba(10,27,58,.35); }
.flagbar .wrap { padding-block: 12px; position: relative; z-index: 1; }
.flagbar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -180px; width: 140px; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); animation: shine 3.2s linear infinite; }
.flagbar .bf { display: inline-block; animation: pulse 1.3s ease-in-out infinite; }
.flagbar .nine { display: inline-block; background: #fff; color: var(--red); font-family: var(--sans); font-weight: 900; font-size: 1.35rem; line-height: 1; padding: 3px 9px; border-radius: 4px; margin-inline: 4px; vertical-align: -2px; }
.flagbar s { opacity: .8; }
@keyframes shine { to { left: 110%; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0), 0 0 6px rgba(179,25,66,.6); transform: scale(1); } 50% { box-shadow: 0 0 0 4px rgba(255,255,255,.25), 0 0 22px rgba(255,80,120,.95); transform: scale(1.06); } }

.burst { position: relative; isolation: isolate; flex: none; width: 178px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; transform: rotate(-10deg); animation: glow 1.5s ease-in-out infinite; }
.burst::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: polygon(50.0% 0.0%, 57.4% 8.1%, 67.1% 3.0%, 71.2% 13.2%, 82.1% 11.7%, 82.6% 22.7%, 93.3% 25.0%, 89.9% 35.5%, 99.2% 41.3%, 92.5% 50.0%, 99.2% 58.7%, 89.9% 64.5%, 93.3% 75.0%, 82.6% 77.3%, 82.1% 88.3%, 71.2% 86.8%, 67.1% 97.0%, 57.4% 91.9%, 50.0% 100.0%, 42.6% 91.9%, 32.9% 97.0%, 28.8% 86.8%, 17.9% 88.3%, 17.4% 77.3%, 6.7% 75.0%, 10.1% 64.5%, 0.8% 58.7%, 7.5% 50.0%, 0.8% 41.3%, 10.1% 35.5%, 6.7% 25.0%, 17.4% 22.7%, 17.9% 11.7%, 28.7% 13.2%, 32.9% 3.0%, 42.6% 8.1%); }
.burst::after { content: ""; position: absolute; inset: 13%; z-index: -1; border: 2px dashed rgba(255,255,255,.75); border-radius: 50%; }
.burst .b-top { font-size: 0.72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.burst .b-price { font-size: 4.3rem; font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; }
.burst .b-was { font-size: 0.82rem; font-weight: 700; }
.burst s { text-decoration-thickness: 2px; text-decoration-color: #fff; }
.burst.small { width: 118px; transform: rotate(9deg); align-self: center; }
.burst.small .b-price { font-size: 2.3rem; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 5px rgba(179,25,66,.45)); } 50% { filter: drop-shadow(0 0 20px rgba(230,40,90,.95)) drop-shadow(0 0 4px rgba(255,255,255,.9)); } }
.dealrow { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; }
.dealrow .stack-s { flex: 1 1 250px; min-width: 0; align-items: flex-start; }
.dealrow .btn { white-space: nowrap; }
.price.hot { align-items: center; flex-wrap: wrap; }
.price.hot b { color: var(--red); font-size: clamp(6rem, 15vw, 9rem); }

@media (prefers-reduced-motion: reduce) { .flagbar::after, .flagbar .bf, .burst { animation: none; } .burst { filter: drop-shadow(0 0 10px rgba(179,25,66,.6)); } }
@media (max-width: 820px) {
  .dealrow { flex-direction: column; align-items: stretch; gap: 14px; }
  .dealrow .burst { align-self: center; width: 164px; }
  .flagbar { font-size: 0.82rem; }
  .price.hot { justify-content: flex-start; }
}
.price .burst span { color: #fff; font-family: var(--sans); text-transform: none; letter-spacing: 0; }
.price .burst .b-top { font-size: 0.7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.price .burst .b-price { font-size: 2.3rem; font-weight: 900; letter-spacing: -0.04em; }

/* Buy button: glows and breathes like the Black Friday tag */
.buy .btn.big { animation: btnpulse 1.4s ease-in-out infinite; }
.buy .btn.big:hover { animation-play-state: paused; }
@keyframes btnpulse {
  0%, 100% { box-shadow: 0 5px 0 #7d0f2c, 0 0 0 0 rgba(179,25,66,.0), 0 0 8px rgba(179,25,66,.45); transform: scale(1); }
  50% { box-shadow: 0 5px 0 #7d0f2c, 0 0 0 6px rgba(179,25,66,.18), 0 0 30px rgba(230,40,90,.95); transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) { .buy .btn.big { animation: none; box-shadow: 0 5px 0 #7d0f2c, 0 0 18px rgba(179,25,66,.6); } }
