/* blackfriday.best — the .Best Black Friday: stone white, ink and burgundy, after the campaign poster. */
@font-face { font-family: "Urbanist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/urbanist-latin-wght-normal.woff2") format("woff2"); 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: "Urbanist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/urbanist-latin-ext-wght-normal.woff2") format("woff2"); 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 {
  --stone: #F3F1EE;
  --stone-2: #E7E3DE;
  --white: #FFFFFF;
  --ink: #141414;
  --ink-2: #3D3A37;
  --muted: #6F6A64;
  --line: rgba(20, 20, 20, 0.1);
  --burgundy: #7A1630;
  --burgundy-2: #5E0F24;
  --burgundy-hi: #962040;
  --cream: #F6E9D8;
  --ok: #1F7A4D;
  --ribbon: linear-gradient(180deg, #962040 0%, #7A1630 55%, #5E0F24 100%);
  --radius: 18px;
  --display: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--stone); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--display);
  color: var(--ink);
  background:
    radial-gradient(80% 60% at 50% 0%, #FFFFFF 0%, transparent 70%),
    linear-gradient(180deg, var(--stone) 0%, var(--stone-2) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--burgundy); }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 56px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--burgundy-hi); outline-offset: 2px; }

/* The burgundy Black Friday band across the top, running like the ribbon's text. */
.band { position: relative; z-index: 20; background: var(--ribbon); color: var(--cream); overflow: hidden; border-bottom: 1px solid var(--burgundy-2); }
.band-track { display: flex; width: max-content; animation: band 38s linear infinite; }
.band-run { display: flex; align-items: center; white-space: nowrap; font-family: var(--serif); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; padding: 9px 0; }
.band-run span { padding: 0 18px; }
.band-run i { font-style: normal; opacity: 0.7; }
.band a { color: inherit; text-decoration: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* Bar */
.bar { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; display: block; }
.brand small { margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(20, 20, 20, 0.06); }
.nav a.cta { background: var(--ribbon); color: var(--cream); white-space: nowrap; }
@media (max-width: 520px) { .nav a.cta { display: none; } .brand small { display: none; } }

/* Home: the search in the middle of the page, the ribbon around it. */
.home { position: relative; flex: 1; display: grid; place-items: center; padding: 24px 0 64px; isolation: isolate; }
.ribbon { position: absolute; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }
.ribbon text { font-family: var(--serif); font-size: 30px; letter-spacing: 0.16em; fill: var(--cream); }
.hero { position: relative; width: min(860px, 100% - 32px); text-align: center; }
.pill { display: inline-block; padding: 8px 22px; border-radius: 12px; background: var(--ribbon); color: #fff; font-weight: 800; font-style: italic; letter-spacing: 0.02em; font-size: clamp(18px, 2.4vw, 26px); text-transform: uppercase; box-shadow: 0 12px 28px -14px rgba(94, 15, 36, 0.8); }
.hero h1 { margin: 20px 0 0; font-size: clamp(38px, 6.4vw, 78px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--burgundy); }
.hero .lede { margin: 16px auto 0; max-width: 46ch; font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); line-height: 1.45; }

.search { margin: 34px auto 0; display: flex; align-items: stretch; gap: 10px; padding: 10px; border-radius: 26px; background: var(--white); border: 2px solid var(--burgundy); box-shadow: 0 30px 70px -30px rgba(94, 15, 36, 0.55), 0 2px 0 rgba(255, 255, 255, 0.9) inset; max-width: 820px; }
.search label { position: absolute; left: -999px; }
.field { flex: 1; display: flex; align-items: center; min-width: 0; padding: 0 8px 0 18px; }
.field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: clamp(22px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); padding: 14px 0; }
.field input::placeholder { color: #B8B2AB; font-weight: 600; }
.field .tld { font-size: clamp(22px, 3.4vw, 36px); font-weight: 800; color: var(--burgundy); letter-spacing: -0.02em; }
.search button { flex: none; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; border-radius: 18px; padding: 0 clamp(18px, 3vw, 34px); background: var(--ribbon); color: #fff; font: inherit; font-weight: 700; font-size: clamp(17px, 2vw, 21px); }
.search button:hover { filter: brightness(1.08); }
.search button[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 560px) {
  .search { flex-direction: column; border-radius: 22px; }
  .search button { justify-content: center; padding: 16px; }
}

/* The answer under the box. */
.result { margin: 22px auto 0; max-width: 820px; text-align: left; }
.result[hidden] { display: none; }
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 20px 22px; box-shadow: 0 18px 40px -26px rgba(20, 20, 20, 0.45); }
.card h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.card h2 .dom { color: var(--burgundy); }
.card p { margin: 8px 0 0; color: var(--ink-2); }
.card.ok h2::before { content: "✓ "; color: var(--ok); }
.card.taken h2::before { content: "✕ "; color: var(--burgundy); }
.regs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
@media (max-width: 640px) { .regs { grid-template-columns: 1fr; } }
.reg { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--stone); border: 1px solid var(--line); }
.reg:hover { border-color: var(--burgundy); background: #fff; }
.reg b { font-size: 17px; }
.reg span { font-size: 14px; color: var(--muted); }
.reg em { font-style: normal; font-weight: 700; color: var(--burgundy); }
.small { font-size: 13px; color: var(--muted); }
.more { margin-top: 12px; }

/* Promotions */
.page { flex: 1; padding: 30px 0 70px; }
.page h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.03em; margin: 14px 0 0; line-height: 1.05; }
.page .lede { color: var(--ink-2); font-size: 18px; max-width: 70ch; line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 26px; font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(20, 20, 20, 0.45); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td.price { font-weight: 800; font-size: 17px; white-space: nowrap; }
td.price s { color: var(--muted); font-weight: 600; font-size: 14px; margin-left: 6px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--ribbon); color: #fff; }
.na { color: var(--muted); font-style: italic; }
td a { font-weight: 600; }
.group { margin: 36px 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.note { color: var(--muted); font-size: 14px; max-width: 80ch; line-height: 1.55; }

/* Footer */
.foot { position: relative; z-index: 20; border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.foot a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }
