/* ============================================================
   SponsorTheDay — design system
   cream + dark navy + logo orange, VibeWar family
   ============================================================ */

:root {
  --bg: #FEFCF8;
  --surface: #FFFEFB;
  --surface-accent: #FDEFE8;
  --surface-accent-soft: #FEF7F3;
  --ink: #1D1B26;
  --muted: #777482;
  --muted-strong: #66626F;
  --muted-2: #A5A1AD;
  --accent: #F4552E;
  --accent-hover: #DD4419;
  --accent-text: #BC3B17;
  --border: #E4DED5;
  --border-accent: #F0906B;
  --green: #1FA971;
  --orange: #FA6740;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 16px;
  --transition: 180ms ease;
  --shadow-sm: 0 1px 2px rgba(29, 27, 38, 0.04), 0 5px 16px rgba(29, 27, 38, 0.05);
  --shadow-md: 0 2px 6px rgba(29, 27, 38, 0.05), 0 16px 38px rgba(29, 27, 38, 0.09);
  --shadow-accent: 0 6px 18px rgba(244, 85, 46, 0.28);
  --grad-accent: linear-gradient(180deg, #FF7346 0%, #F4552E 55%, #EA4C22 100%);
  --grad-surface: linear-gradient(180deg, #FFF7F2 0%, #FDEFE8 100%);
}

/* the logo's four-point star, used as a faint watermark on hero cards */
.wm {
  position: relative;
  overflow: hidden;
}

.wm::after {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -56px;
  width: 250px;
  height: 250px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C55 30 70 45 100 50 70 55 55 70 50 100 45 70 30 55 0 50 30 45 45 30 50 0Z' fill='%23F4552E'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.07;
  transform: rotate(14deg);
  pointer-events: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent-text); text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ Header ============ */

.site-header {
  padding: 22px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand img {
  height: 32px;
  width: auto;
}

.brand .wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wordmark .tm-the { color: var(--orange); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.site-nav a.nav-link:hover { color: var(--ink); }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition),
    border-color var(--transition), color var(--transition);
}

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  padding: 15px 30px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  filter: brightness(0.94);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(244, 85, 46, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:active { transform: translateY(0); }

.btn-small {
  background: var(--grad-accent);
  color: #fff;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(244, 85, 46, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-small:hover { filter: brightness(0.94); transform: translateY(-1px); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 14px 26px;
  font-size: 14px;
}

.btn-secondary:hover { border-color: var(--border-accent); }

.text-action {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-action .icon { width: 13px; height: 13px; }

.text-action:hover { color: var(--accent-hover); }

/* ============ Hero ============ */

.hero {
  padding: 64px 0 72px;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* floating mini day-cards flanking the hero */
.hero-float {
  position: absolute;
  top: 210px;
  width: 148px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  animation: float 6s ease-in-out infinite alternate;
}

.hero-float.left {
  left: -96px;
  transform: rotate(-6deg);
}

.hero-float.right {
  right: -96px;
  top: 300px;
  transform: rotate(5deg);
  animation-delay: -3s;
  border-color: var(--border-accent);
  background: var(--grad-surface);
}

@keyframes float {
  from { translate: 0 0; }
  to { translate: 0 -14px; }
}

.hero-float .hf-num { font-size: 20px; font-weight: 800; }

.hero-float .hf-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.hero-float .hf-price { font-size: 16px; font-weight: 800; margin-top: 8px; }

.hero-float .hf-claim {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-top: 8px;
}

.hero-float .hf-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.hero-float .hf-owner img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--border);
}

.hero-float .hf-owner span { font-size: 12px; font-weight: 700; }

.hero-float .hf-owned {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.stats-pill strong { color: var(--ink); font-weight: 700; }

.stats-pill .dot-sep { color: var(--muted-2); }

.stats-pill a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  font-size: 13px;
}

.stats-pill a:hover { color: var(--accent-hover); }

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 169, 113, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(31, 169, 113, 0); }
}

.hero-badge {
  display: inline-block;
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hero h1 {
  margin-top: 28px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
}

.hero-question {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-question em {
  font-style: normal;
  color: var(--accent);
}

.hero-cta { margin-top: 28px; }

.hero-helper {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.tour-link { margin-top: 12px; }

.tour-link .icon { width: 13px; height: 13px; }

/* ============ Sections ============ */

.section { padding: 44px 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.pill-accent {
  background: var(--surface-accent);
  border: 1px solid var(--border-accent);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-accent);
  border: 1px solid var(--border-accent);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ Today's sponsor ============ */

.today-card {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--grad-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-md);
}

.today-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 24px;
}

.today-card .sponsor-info { flex: 1; min-width: 0; }

.today-card .sponsor-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.today-card .sponsor-tagline {
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--muted-strong);
}

.today-card .sponsor-meta {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted-strong);
  font-weight: 500;
}

.today-card .sponsor-side {
  text-align: right;
  flex-shrink: 0;
}

.today-card .sponsor-price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.today-card .sponsor-side .text-action { margin-top: 6px; }

/* takeover: the largest treatment */
.today-card.takeover {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 40px;
}

.takeover-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.today-card.takeover .takeover-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.today-card.takeover .takeover-headline {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.today-card.takeover .sponsor-tagline { font-size: 15px; }

.today-card.takeover .takeover-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.today-card.takeover .sponsor-meta { margin-top: 0; }

/* ============ Pinned post ============ */

.pin-card {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--grad-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--shadow-md);
}

.pin-info { flex: 1; min-width: 0; }

.pin-headline {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.pin-headline span { color: var(--accent); }

.pin-stats {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-strong);
}

.pin-stats .dot-sep { color: var(--muted-2); padding: 0 6px; }

.pin-benefits {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pin-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted-strong);
}

.pin-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent-text);
}

.pin-proof {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-accent);
}

.pin-proof-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.pin-proof-grid {
  margin-top: 10px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.pin-proof-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pin-proof-item span {
  font-size: 11px;
  color: var(--muted-strong);
}

.pin-proof-months {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted-strong);
}

.pin-shots {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pin-shot {
  display: block;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: zoom-in;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pin-shot:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.pin-shot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pin-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pin-shot-cap {
  display: block;
  padding: 5px 10px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-strong);
  border-top: 1px solid var(--border);
}

.pin-shots-hint {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.pin-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.pin-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pin-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted-strong);
}

.pin-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  flex-shrink: 0;
  user-select: none;
}

.avatar.accent { background: var(--accent); }

.avatar.has-logo {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Calendar ============ */

.month-nav {
  margin: 26px auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.month-nav .month-label {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 190px;
  text-align: center;
}

.nav-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color var(--transition), color var(--transition),
    opacity var(--transition);
}

.nav-btn:hover:not(:disabled) { border-color: var(--border-accent); color: var(--accent-text); }

.nav-btn:disabled { opacity: 0.35; cursor: default; }

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.weekday-row span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.day-cell {
  position: relative;
  min-width: 0;
  min-height: 106px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 1px 2px rgba(29, 27, 38, 0.03);
  transition: border-color var(--transition), background var(--transition),
    transform var(--transition), box-shadow var(--transition);
}

.day-cell.empty {
  background: transparent;
  border-color: transparent;
  min-height: 0;
}

.day-num {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.day-bottom { margin-top: auto; position: relative; }

/* available */
.day-cell.available { cursor: pointer; }

.day-cell.available .day-status {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.day-cell.available .day-price {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

/* overlaid on the price so the swap never reflows the grid */
.day-cell.available .day-claim {
  position: absolute;
  left: 0;
  bottom: 1px;
  visibility: hidden;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.day-cell.available:hover,
.day-cell.available:focus-visible {
  border-color: var(--border-accent);
  background: var(--surface-accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.day-cell.available:hover .day-price,
.day-cell.available:focus-visible .day-price { visibility: hidden; }

.day-cell.available:hover .day-claim,
.day-cell.available:focus-visible .day-claim { visibility: visible; }

.day-cell:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* owned — clickable, opens the public sponsor page */
.day-cell.owned {
  background: var(--surface-accent);
  border-color: var(--border-accent);
  cursor: pointer;
}

.day-cell.owned:hover,
.day-cell.owned:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.day-cell.owned .avatar {
  width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 6px;
  margin-top: 6px;
}

.day-cell.owned .owner-name {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-cell.owned .owner-domain {
  font-size: 10px;
  color: var(--muted-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-cell.owned .day-owned-label {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.day-cell.owned .day-owned-label.takeover {
  top: 8px;
  right: 8px;
  background: var(--accent-text);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* partial: calendar sold, X promotion still for sale */
.day-cell.owned.partial { cursor: pointer; }

.day-cell.owned.partial .x-avail-line {
  margin-top: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* fully booked with two different brands */
.duo-avatars {
  display: flex;
  margin-top: 6px;
}

.day-cell.owned .duo-avatars .avatar {
  width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 6px;
  margin-top: 0;
}

/* facepile overlap so two logos fit even in narrow cells */
.duo-avatars .avatar + .avatar { margin-left: -7px; }

/* past */
.day-cell.past {
  background: transparent;
  opacity: 0.75;
}

.day-cell.past .day-num { color: var(--muted); }

.day-cell.past .day-status {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 5px;
}

.day-cell.past.owned { opacity: 0.85; background: var(--surface); border-color: var(--border); }

.day-cell.past.owned .day-owned-label { color: var(--muted-2); }

.day-cell.past.owned .day-owned-label.takeover {
  background: var(--muted);
  color: #fff;
}

/* today */
.day-cell.today {
  border-color: var(--border-accent);
  background: var(--surface-accent);
}

.day-cell.today .today-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--accent-text);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
}

.day-cell.today.owned .day-owned-label.takeover { top: 24px; }

.day-cell.flash {
  animation: cell-flash 1.2s ease;
}

@keyframes cell-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 85, 46, 0); }
  30% { box-shadow: 0 0 0 4px rgba(244, 85, 46, 0.25); }
}

.calendar-helper {
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ Leaderboard ============ */

.leaderboard {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.lb-row:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lb-row.first {
  background: var(--grad-surface);
  border-color: var(--border-accent);
}

.lb-rank {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  flex-shrink: 0;
}

.lb-row.first .lb-rank {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
}

.lb-row.first .lb-domain,
.lb-row.first .lb-day { color: var(--muted-strong); }

.lb-row .avatar {
  width: 36px;
  height: 36px;
  font-size: 15px;
  border-radius: 9px;
}

.lb-info { flex: 1; min-width: 0; }

.lb-name { font-size: 15px; font-weight: 700; }

.lb-domain { font-size: 12px; color: var(--muted); }

.lb-day {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
}

.lb-clicks {
  min-width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.lb-clicks strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.lb-clicks span { font-size: 11px; color: var(--muted); }

.lb-action { flex-shrink: 0; }

/* ============ How it works ============ */

.steps {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.step-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  background: var(--surface-accent);
  border-radius: 999px;
  padding: 3px 10px;
}

.step-card .icon {
  width: 22px;
  height: 22px;
  margin-top: 14px;
  color: var(--ink);
  stroke-width: 1.5;
}

.step-card h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step-card p {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ============ Footer ============ */

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  text-align: center;
}

.site-footer img {
  height: 110px;
  width: auto;
  margin: 0 auto;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
}

.footer-links a { color: var(--muted); transition: color var(--transition); }

.footer-links a:hover { color: var(--ink); }

.footer-copy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ============ Modals (shared shell) ============ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 27, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s 200ms;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 200ms ease;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(29, 27, 38, 0.22);
  transform: scale(0.96) translateY(6px);
  transition: transform 200ms ease;
}

.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal:focus { outline: none; }

.modal-body {
  overflow-y: auto;
  padding: 30px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.modal-close:hover { color: var(--ink); border-color: var(--border); }

/* ============ Analytics screenshot lightbox ============ */

.shot-modal { max-width: 1040px; }

.shot-frame {
  overflow: auto;
  background: #FFFFFF;
  padding: clamp(12px, 2.5vw, 24px);
}

.shot-frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 620px; /* below this the figures stop being legible — pan instead of shrink */
}

.shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.shot-cap {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.shot-nav {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted-strong);
  background: var(--bg);
  transition: color var(--transition), border-color var(--transition);
}

.shot-nav:hover { color: var(--ink); border-color: var(--border-accent); }

.shot-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ Booking modal ============ */

.modal-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  padding-right: 44px; /* keep clear of the absolute close button */
}

.modal h3 {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.modal-sub {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  max-width: 480px;
}

.modal-proof {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.modal-proof .dot-sep { color: var(--muted-2); padding: 0 3px; }

.modal-proof-live {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-text);
}

/* --- slot availability strip --- */

.slot-strip {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.slot-chip {
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted-strong);
}

.slot-chip.sold {
  background: var(--surface-accent);
  border-color: var(--border-accent);
  color: var(--accent-text);
}

.modal-slotnote {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-text);
}

/* responsive short/long labels inside calendar cells */
.lbl-s { display: none; }

/* --- tier cards --- */

.tier-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}

.tier-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), background var(--transition),
    box-shadow var(--transition), transform var(--transition);
}

.tier-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.tier-card.selected {
  background: var(--grad-surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

/* the card dims but the "why is this unavailable" note stays readable */
.tier-card.sold {
  pointer-events: none;
  transform: none !important;
  box-shadow: none;
}

.tier-card.sold > *:not(.tier-sold) { opacity: 0.4; }

.tier-sold {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.tier-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tier-radio {
  display: block;
  width: 100%;
}

.tier-radio:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.tier-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.tier-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier-card.selected .tier-name { color: var(--accent-text); }

.tier-chip {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-text);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
}

.tier-chip.outline {
  background: transparent;
  color: var(--accent-text);
  border: 1px solid var(--border-accent);
}

.tier-price {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tier-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.tier-benefits,
.tier-extra {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.tier-extra { margin-top: 5px; }

.tier-extra[hidden] { display: none; }

.tier-benefits li,
.tier-extra li {
  position: relative;
  padding-left: 25px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted-strong);
}

.tier-benefits li::before,
.tier-extra li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--surface-accent);
  color: var(--accent-text);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* anchored at the bottom so the row sits at the same level on all three cards */
.tier-more {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-text);
}

.tier-more .icon { width: 11px; height: 11px; transition: transform var(--transition); }

.tier-more[aria-expanded="true"] .icon { transform: rotate(180deg); }

.tier-highlight {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent-text);
}

.tier-foot {
  display: block;
  margin-top: 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- X takeover preview --- */

.x-preview { margin-top: 18px; }

.x-preview-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.x-mock {
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.x-mock-banner {
  position: relative;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-accent);
  border-bottom: 1px dashed var(--border-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.x-tag {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-text);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
}

.x-mock-body { padding: 14px 16px 16px; }

.x-mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.x-mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.x-mock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x-mock-name { font-size: 13.5px; font-weight: 700; }

.x-mock-followers { font-size: 11.5px; color: var(--muted); }

.x-mock-bio {
  position: relative;
  margin-top: 10px;
  background: var(--surface-accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 9px;
  padding: 8px 78px 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.x-mock-bio a { color: var(--accent-text); }

.x-mock-post {
  position: relative;
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 96px 8px 12px;
  font-size: 12px;
  color: var(--muted);
}

.x-mock-post strong { color: var(--ink); }

/* --- why sponsor --- */

.why-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.why-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.why-row {
  margin-top: 10px;
  display: flex;
  gap: 28px;
}

.why-item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.why-item span {
  font-size: 11px;
  color: var(--muted);
}

/* --- CTA / scarcity / trust --- */

.modal-cta {
  width: 100%;
  margin-top: 20px;
}

.modal-scarcity {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-scarcity .icon { width: 12px; height: 12px; }

.modal-scarcity-data {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.modal-trust {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

/* ============ Sponsor page modal ============ */

.sponsor-modal { max-width: 520px; }

.share-card {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 30px 24px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.share-date {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.share-label {
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-card .avatar {
  margin-top: 14px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 28px;
}

.share-brand {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.share-domain {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.share-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  width: 100%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.share-foot .tm-the { color: var(--orange); }

.sp-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface-accent);
  border: 1px solid var(--border-accent);
  color: var(--accent-text);
}

.sp-chip.neutral {
  background: var(--surface);
  border-color: var(--border);
  color: var(--muted);
}

.sp-chip.live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sp-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* the other slot's sponsor (different brand) */
.sp-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.sp-row .avatar {
  width: 34px;
  height: 34px;
  font-size: 14px;
  border-radius: 9px;
}

.sp-row-info { flex: 1; min-width: 0; }

.sp-row-name { font-size: 14.5px; font-weight: 700; }

.sp-row-role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.report {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.report-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.report-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

.report-row:first-of-type { border-top: none; }

.report-row .r-label { color: var(--muted); }

.report-row .r-value { font-weight: 700; text-align: right; }

.report-row .r-value.done::before {
  content: '✓ ';
  color: var(--accent-text);
}

.sp-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sp-actions .btn-primary { width: 100%; }

/* ============ Onboarding tour ============ */

.tour-blocker {
  position: fixed;
  inset: 0;
  z-index: 300;
  cursor: pointer;
}

.tour-highlight {
  position: fixed;
  z-index: 301;
  pointer-events: none;
  border: 2px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 0 0 200vmax rgba(29, 27, 38, 0.5);
  transition: top 250ms ease, left 250ms ease, width 250ms ease, height 250ms ease;
}

.tour-tip:focus { outline: none; }

.tour-tip {
  position: fixed;
  z-index: 302;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(29, 27, 38, 0.14);
  transition: top 250ms ease, left 250ms ease;
}

.tour-count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.tour-title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tour-text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-strong);
}

.tour-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.tour-open { overflow-x: hidden; }

/* ============ Toast ============ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 12px;
  padding: 12px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ Responsive ============ */

@media (max-width: 1220px) {
  .hero-float { display: none; }
}

@media (max-width: 900px) {
  .calendar-grid, .weekday-row { gap: 8px; }
  .day-cell { min-height: 92px; padding: 8px 9px; }
  .lb-day { display: none; }

  /* cells are too narrow for corner labels here — put them all in the flow */
  .day-cell.owned .day-owned-label {
    position: static;
    align-self: flex-start;
    margin-top: 4px;
    order: 5;
  }
}

@media (max-width: 720px) {
  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: 41px; }
  .hero-sub { font-size: 15.5px; }
  .section-head h2 { font-size: 26px; }
  .site-nav a.nav-link { display: none; }
  .stats-pill { font-size: 12px; padding: 7px 14px; flex-wrap: wrap; justify-content: center; }

  .calendar-grid, .weekday-row { gap: 5px; }
  .day-cell { min-height: 64px; padding: 6px 7px; border-radius: 10px; }
  .day-num { font-size: 13px; }
  .day-cell.available .day-status { display: none; }
  .day-cell.available .day-price { font-size: 12px; }
  .day-cell.available .day-claim { font-size: 8.5px; letter-spacing: 0.06em; }
  .lbl-l { display: none; }
  .lbl-s { display: inline; }
  .day-cell.owned .owner-domain { display: none; }
  .day-cell.owned .owner-name { font-size: 10px; }
  .day-cell.owned .avatar { width: 18px; height: 18px; font-size: 9px; margin-top: 3px; }
  .day-cell.owned.partial .x-avail-line { font-size: 7.5px; letter-spacing: 0.04em; }
  .day-cell.owned .duo-avatars .avatar { width: 16px; height: 16px; font-size: 8px; }
  .duo-avatars .avatar + .avatar { margin-left: -6px; }
  /* cells are too narrow for any label chip here — mark takeover days
     with a full-accent border instead (the aria-label carries the tier) */
  .day-cell.owned .day-owned-label { display: none; }
  .day-cell.owned.tier-takeover:not(.past) { border-color: var(--accent); }
  .day-cell.today .today-badge { font-size: 7.5px; padding: 2px 6px; }

  .hero-float { display: none; }

  .today-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
  }

  .pin-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 22px;
  }
  .pin-side { align-items: flex-start; }
  .today-card .sponsor-side { text-align: left; }
  .today-card.takeover { padding: 24px 22px; }
  .today-card.takeover .takeover-headline { font-size: 24px; }

  .steps { grid-template-columns: 1fr; }

  .tier-grid { grid-template-columns: 1fr; }

  .why-row { gap: 20px; flex-wrap: wrap; }

  .lb-clicks { min-width: 64px; }
  .lb-action { display: none; }

  .modal-body { padding: 24px 20px; }
  .modal h3 { font-size: 25px; }
  .x-mock-bio { padding-right: 12px; }
  .x-mock-post { padding-right: 12px; }
  .x-mock-bio .x-tag, .x-mock-post .x-tag { position: static; margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
