:root {
  --wine-1000: #1f0305;
  --wine-950: #2f0507;
  --wine-900: #4a0810;
  --wine-800: #6b0e16;
  --wine-700: #8a141d;
  --wine-card: rgba(48, 5, 8, 0.78);
  --wine-card-2: rgba(74, 8, 16, 0.72);
  --gold: #e8bf62;
  --gold-soft: #f4d783;
  --gold-deep: #c89940;
  --cream: #fff6df;
  --white: #ffffff;
  --muted: #d9b9a8;
  --muted-2: #b89888;
  --line: rgba(244, 215, 131, 0.22);
  --line-strong: rgba(244, 215, 131, 0.42);
  --danger: #ffbe99;
  --success: #f4d783;
  --shadow-lg: 0 40px 110px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-lg: 18px;
  color-scheme: dark;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--wine-1000);
  color: var(--white);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

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

a:hover {
  color: var(--cream);
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i,
.input-icon,
.btn-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* ─── Top ticker ────────────────────────────────────────────── */

.top-strip {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 60%),
    #741113;
  color: var(--gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 500;
}

.ticker {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  gap: 56px;
  padding: 0 30px;
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
}

.ticker-track span {
  position: relative;
  letter-spacing: 0.01em;
}

.ticker-track span::after {
  position: absolute;
  top: 50%;
  right: -32px;
  width: 6px;
  height: 6px;
  content: "";
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(135deg, #d9573c, #b63b2c);
  box-shadow: 0 0 10px rgba(217, 87, 60, 0.55);
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

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

/* ─── Hero stage ────────────────────────────────────────────── */

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 14%, rgba(247, 80, 91, 0.28), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(232, 191, 98, 0.12), transparent 35%),
    linear-gradient(95deg, var(--wine-950) 0%, #5a0911 38%, #8c0f1c 72%, #c4122a 100%);
}

.hero-asset {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  opacity: 0.92;
}

.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(31, 3, 5, 0.97) 0%,
      rgba(47, 5, 7, 0.92) 26%,
      rgba(74, 8, 16, 0.62) 52%,
      rgba(74, 8, 16, 0.18) 78%,
      rgba(74, 8, 16, 0.06) 100%);
}

.hero-vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.55), transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.35), transparent 50%);
  pointer-events: none;
}

/* ─── Brand bar ─────────────────────────────────────────────── */

.brandbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 70px 32px 0;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 215, 131, 0.16), rgba(244, 215, 131, 0.04));
  color: var(--gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark em {
  margin: 0 1px;
  color: var(--cream);
  font-style: normal;
}

.brand-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-meta {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-meta .i {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

/* ─── Hero content ─────────────────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  flex: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 56px 32px 88px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 540px);
  gap: 64px;
  align-items: center;
}

.copy-column {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow--hero::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 em {
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  color: var(--cream);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.subtitle {
  max-width: 500px;
  margin-bottom: 26px;
  color: rgba(255, 246, 223, 0.84);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-bullets .i {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(244, 215, 131, 0.16);
  color: var(--gold-soft);
}

/* ─── Lookup panel ─────────────────────────────────────────── */

.lookup-panel {
  position: relative;
  width: 100%;
  padding: 30px 28px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(74, 8, 16, 0.85), rgba(31, 3, 5, 0.92)),
    radial-gradient(circle at top right, rgba(244, 215, 131, 0.1), transparent 60%);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lookup-panel::before {
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 2px;
  content: "";
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.8;
}

.panel-glow {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 215, 131, 0.18), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}

.panel-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-status-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ad28a;
  box-shadow: 0 0 0 4px rgba(106, 210, 138, 0.18), 0 0 12px rgba(106, 210, 138, 0.6);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.format-badges {
  display: flex;
  gap: 6px;
}

.format-badges span {
  display: inline-grid;
  min-width: 44px;
  min-height: 28px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-heading .eyebrow {
  margin-bottom: 6px;
  letter-spacing: 0.16em;
}

.availability {
  margin: 0;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 280ms ease;
}

.availability.is-visible {
  opacity: 1;
}

.availability::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: middle;
  content: "";
  border-radius: 50%;
  background: var(--gold-soft);
}

/* ─── Form ─────────────────────────────────────────────────── */

.lookup-form {
  display: grid;
  gap: 12px;
}

.lookup-form label {
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lookup-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: rgba(54, 16, 18, 0.55);
  pointer-events: none;
  transition: color 160ms ease;
}

.lookup-row input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(244, 215, 131, 0.22);
  border-radius: 12px;
  padding: 0 18px 0 46px;
  background: rgba(255, 246, 223, 0.97);
  color: #2a0a0c;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lookup-row input::placeholder {
  color: rgba(54, 16, 18, 0.5);
  font-weight: 400;
}

.lookup-row input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232, 191, 98, 0.22);
}

.lookup-row input:focus + .input-icon,
.input-wrap:focus-within .input-icon {
  color: var(--wine-800);
}

.lookup-row button,
.download-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  background: linear-gradient(180deg, #f7d989 0%, #e6c267 50%, #c89940 100%);
  color: #1a0608;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(200, 153, 64, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.lookup-row button:hover,
.download-link:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(200, 153, 64, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.lookup-row button:active,
.download-link:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.lookup-row button:focus-visible,
.download-link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.lookup-row button:disabled {
  background: #6b522d;
  color: rgba(26, 6, 8, 0.6);
  box-shadow: none;
  cursor: wait;
  filter: none;
  transform: none;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.lookup-row button[data-loading="true"] .btn-label {
  visibility: hidden;
}

.lookup-row button[data-loading="true"]::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  border: 2px solid rgba(26, 6, 8, 0.25);
  border-top-color: rgba(26, 6, 8, 0.85);
  border-radius: 50%;
  animation: spin 720ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-hint {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ─── Status & results ─────────────────────────────────────── */

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 26px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.status:empty {
  margin: 0;
  min-height: 0;
}

.status .i {
  width: 16px;
  height: 16px;
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--success);
}

.results {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.results:empty {
  margin: 0;
}

.result-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(244, 215, 131, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 246, 223, 0.04), rgba(255, 246, 223, 0)),
    rgba(31, 3, 5, 0.55);
  box-shadow: var(--shadow-md);
  animation: card-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card .doc-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(244, 215, 131, 0.18), rgba(244, 215, 131, 0.05));
  color: var(--gold-soft);
}

.result-card .doc-icon .i {
  width: 22px;
  height: 22px;
}

.result-body {
  min-width: 0;
}

.result-card h3 {
  margin: 0 0 4px;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.005em;
  word-break: break-word;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  word-break: break-word;
}

.result-meta {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-link {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ─── Skeleton loading ─────────────────────────────────────── */

.skeleton {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 130px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(244, 215, 131, 0.16);
  border-radius: 14px;
  background: rgba(31, 3, 5, 0.55);
}

.skeleton-avatar,
.skeleton-line {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 246, 223, 0.07);
}

.skeleton-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.skeleton-line {
  height: 12px;
}

.skeleton-line.lg { height: 16px; width: 70%; margin-bottom: 8px; }
.skeleton-line.sm { width: 50%; }

.skeleton-cta {
  height: 46px;
  border-radius: 12px;
  background: rgba(244, 215, 131, 0.1);
}

.skeleton-avatar::after,
.skeleton-line::after,
.skeleton-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(244, 215, 131, 0.18), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* ─── Footer ────────────────────────────────────────────────── */

.hero-footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 32px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
  font-size: 0.78rem;
}

.hero-footer p {
  margin: 0;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.1);
  color: #4be38a;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.wa-link:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.7);
  color: #7ef0a9;
}

.wa-link .i {
  width: 16px;
  height: 16px;
}

/* ─── Help button ───────────────────────────────────────────── */

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 246, 223, 0.04);
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.help-btn:hover {
  background: rgba(244, 215, 131, 0.12);
  border-color: var(--line-strong);
  color: var(--gold-soft);
}

.help-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.help-btn .i {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

/* ─── Guided tour ───────────────────────────────────────────── */

.tour-spotlight {
  position: fixed;
  z-index: 90;
  border: 1px solid rgba(244, 215, 131, 0.65);
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 0 0 9999px rgba(15, 2, 4, 0.78),
    0 0 0 4px rgba(244, 215, 131, 0.18),
    0 0 32px rgba(244, 215, 131, 0.35);
  pointer-events: none;
  transition: top 320ms cubic-bezier(.4,.2,.2,1),
              left 320ms cubic-bezier(.4,.2,.2,1),
              width 320ms cubic-bezier(.4,.2,.2,1),
              height 320ms cubic-bezier(.4,.2,.2,1);
  animation: spot-pulse 2s ease-in-out infinite;
}

@keyframes spot-pulse {
  0%, 100% { box-shadow: 0 0 0 9999px rgba(15, 2, 4, 0.78), 0 0 0 4px rgba(244, 215, 131, 0.18), 0 0 32px rgba(244, 215, 131, 0.35); }
  50%      { box-shadow: 0 0 0 9999px rgba(15, 2, 4, 0.78), 0 0 0 4px rgba(244, 215, 131, 0.32), 0 0 48px rgba(244, 215, 131, 0.55); }
}

.tour-tooltip {
  position: fixed;
  z-index: 100;
  width: min(360px, calc(100vw - 32px));
  padding: 22px 22px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(74, 8, 16, 0.96), rgba(31, 3, 5, 0.98));
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease, top 320ms cubic-bezier(.4,.2,.2,1), left 320ms cubic-bezier(.4,.2,.2,1);
}

.tour-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tour-tooltip::before {
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 2px;
  content: "";
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tour-tooltip[data-arrow]::after {
  position: absolute;
  width: 14px;
  height: 14px;
  content: "";
  border: 1px solid var(--line-strong);
  background: linear-gradient(140deg, rgba(74, 8, 16, 0.96), rgba(31, 3, 5, 0.98));
  transform: rotate(45deg);
}

.tour-tooltip[data-arrow="top"]::after {
  top: -8px;
  left: var(--arrow-x, 50%);
  margin-left: -7px;
  border-right: 0;
  border-bottom: 0;
}

.tour-tooltip[data-arrow="bottom"]::after {
  bottom: -8px;
  left: var(--arrow-x, 50%);
  margin-left: -7px;
  border-left: 0;
  border-top: 0;
}

.tour-tooltip[data-arrow="left"]::after {
  top: var(--arrow-y, 50%);
  left: -8px;
  margin-top: -7px;
  border-right: 0;
  border-top: 0;
}

.tour-tooltip[data-arrow="right"]::after {
  top: var(--arrow-y, 50%);
  right: -8px;
  margin-top: -7px;
  border-left: 0;
  border-bottom: 0;
}

.tour-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.tour-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--cream); }
.tour-close .i { width: 14px; height: 14px; }

.tour-progress {
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tour-title {
  margin: 0 0 8px;
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.tour-body {
  margin: 0 0 16px;
  color: rgba(255, 246, 223, 0.84);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tour-prev {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.tour-prev:hover:not(:disabled) {
  border-color: var(--line-strong);
  color: var(--cream);
}

.tour-prev:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tour-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  background: linear-gradient(180deg, #f7d989 0%, #e6c267 50%, #c89940 100%);
  color: #1a0608;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(200, 153, 64, 0.3);
  transition: filter 140ms ease, transform 140ms ease;
}

.tour-next:hover { filter: brightness(1.06); transform: translateY(-1px); }
.tour-next:active { transform: translateY(0); }

/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 24px 24px 56px;
    align-content: start;
  }

  .copy-column { max-width: 100%; }

  .lookup-panel { width: 100%; }
}

@media (max-width: 720px) {
  .top-strip {
    position: sticky;
    font-size: 0.78rem;
  }

  .ticker-track { gap: 36px; }

  .ticker-track span::after { right: -20px; }

  .hero-asset {
    object-position: 70% center;
    opacity: 0.55;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(31, 3, 5, 0.85) 0%, rgba(47, 5, 7, 0.7) 38%, rgba(31, 3, 5, 0.94) 100%);
  }

  .brandbar {
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 18px 0;
  }

  .brand-meta { display: none; }

  .help-btn {
    padding: 7px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .help-btn span { display: none; }

  .tour-tooltip {
    width: calc(100vw - 24px);
    padding: 18px 18px 14px;
  }

  .tour-title { font-size: 1.05rem; }
  .tour-body { font-size: 0.86rem; }

  .hero-content {
    padding: 28px 18px 40px;
    gap: 28px;
  }

  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }

  .subtitle { font-size: 0.95rem; }

  .hero-bullets li { font-size: 0.88rem; }

  .lookup-panel { padding: 22px 18px 20px; }

  .panel-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .availability { text-align: left; }

  .result-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .result-card .download-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .skeleton {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .skeleton-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 24px;
  }
}
