:root {
  --indigo: #2e1065;
  --indigo-deep: #1e0944;
  --violet: #4c1d95;
  --gold: #d97706;
  --gold-bright: #f59e0b;
  --pearl: #f8f7ff;
  --lavender: #ede9fe;
  --ink: #1e1b4b;
  --muted: #4b5563;
  --line: #ddd6fe;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font: 400 16px/1.65 var(--sans);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.04;
}
h2 { font-size: clamp(2.35rem, 4.5vw, 3.75rem); color: var(--indigo); }
p { margin: 0.9rem 0; }

.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 1rem;
  padding: 0.65rem 1rem;
  background: white;
  transform: translateY(-120%);
}
.skip:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }

/* Top Bar */
.top-bar {
  background: var(--indigo-deep);
  color: #e9d5ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.top-bar-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 6px;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--indigo);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo img { width: 46px; height: 46px; border-radius: 10px; }
.logo strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 2px;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
nav a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gold);
  color: #ffffff;
  font: 800 0.95rem/1.2 var(--sans);
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.button:hover { background: #b45309; }
.button:disabled { cursor: wait; opacity: 0.75; }
.header-button { background: var(--indigo); }
.header-button:hover { background: var(--violet); }

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 20%, #4c1d95 0%, var(--indigo) 55%, var(--indigo-deep) 100%);
  color: #ffffff;
  padding-block: 56px 64px;
}
.hero-grid, .detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.85fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.eyebrow {
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1rem;
}
.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.hero h1, .detail-intro h1 {
  font-size: clamp(3.3rem, 5.8vw, 5.4rem);
  color: #ffffff;
}
.hero em {
  color: #fde68a;
  font-style: italic;
}
.hero-copy > p:not(.eyebrow), .detail-lead {
  max-width: 54ch;
  font-size: 1.08rem;
  color: #ede9fe;
  margin: 1.25rem 0 1.5rem;
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.hero-highlights div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
}
.hero-highlights strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fde68a;
}
.hero-highlights span {
  font-size: 0.8rem;
  color: #e9d5ff;
}
.hero-banner-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.hero-banner-photo img {
  max-height: 230px;
  width: 100%;
  object-fit: cover;
}

/* Offer Form */
.offer {
  color: var(--ink);
  background: #ffffff;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  border-radius: 14px;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 22px 50px rgba(18, 6, 44, 0.45);
}
.form-pill {
  display: inline-block;
  background: var(--lavender);
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.offer h2 { font-size: 2.5rem; color: var(--indigo); }
.offer p { color: var(--muted); margin: 0.5rem 0 1.1rem; font-size: 0.92rem; }
.offer label { display: block; font-size: 0.84rem; font-weight: 800; margin: 0.85rem 0 0.35rem; color: var(--indigo); }
.offer input {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem;
  min-height: 48px;
  border: 1.5px solid #c4b5fd;
  color: var(--ink);
  border-radius: 7px;
  background: var(--pearl);
  font: 1rem var(--sans);
}
.offer input:focus {
  background: #ffffff;
  border-color: var(--violet);
}
.offer button { width: 100%; min-height: 52px; margin-top: 1.25rem; font-size: 1rem; }
.offer .form-note { font-size: 0.78rem; margin: 0.85rem 0 0; text-align: center; }
.offer .form-status {
  margin: 0.9rem 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
}
.offer .form-status[data-error] {
  background: #fef2f2;
  color: #991b1b;
}

/* Band */
.band { background: var(--violet); color: #ffffff; border-bottom: 3px solid var(--gold-bright); }
.band-row {
  padding-block: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.band-row span::before { content: "★"; margin-right: 0.5rem; color: #fde68a; }

/* Sections */
.section { padding-block: clamp(3.5rem, 6.5vw, 5.75rem); }
.section-heading { max-width: 760px; margin-bottom: 2.25rem; }
.section-tag {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
}
.section-heading p:not(.section-tag), .area-grid p:not(.section-tag), .article p, .prose p { color: var(--muted); }
.tint { background: var(--pearl); border-block: 1px solid var(--line); }

/* Matrix Comparison Table */
.matrix-table {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}
.matrix-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  border-top: 1px solid var(--line);
}
.matrix-row:first-child { border-top: none; }
.matrix-row > div {
  padding: 16px 20px;
  font-size: 0.95rem;
}
.matrix-head {
  background: var(--indigo);
  color: #ffffff;
  font-weight: 800;
}
.matrix-head .highlight-col {
  background: var(--violet);
  color: #fde68a;
}
.highlight-col {
  background: var(--pearl);
  color: var(--indigo);
  border-inline: 1px solid var(--line);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}
.card {
  color: var(--ink);
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid var(--line);
  padding: 1.75rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.badge {
  background: var(--lavender);
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 99px;
}
.region-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
}
.card strong, .steps strong { font: 400 2.1rem/1.08 var(--serif); color: var(--indigo); }
.card span:not(.arrow):not(.badge):not(.region-tag) { font-size: 0.95rem; color: var(--muted); }
.arrow {
  color: var(--violet);
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 800;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.steps li {
  counter-increment: step;
  background: var(--pearl);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem;
}
.steps li::before {
  content: "STEP 0" counter(step);
  display: block;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

/* Areas */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.area-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--line);
}
.area-links { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.area-links a {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  margin-bottom: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--indigo);
  font-weight: 800;
}
.area-links a::after { content: "View City Guide ↗"; font-size: 0.84rem; color: var(--gold); }
.area-links a:hover { border-color: var(--violet); }

/* Visible FAQs */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.faq-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.faq-box {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
}
.faq-box h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--indigo);
}
.faq-box p {
  margin: 0.65rem 0 0;
  font-size: 0.94rem;
}

/* Detail Pages */
.detail-intro {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #ffffff;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.breadcrumb {
  font-size: 0.84rem;
  color: #e9d5ff;
  margin-bottom: 1rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #fde68a; text-decoration: none; font-weight: 700; }
.article {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.content-block + .content-block { margin-top: 2.25rem; }
.article h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); }
.detail-faqs {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.sidebar {
  display: grid;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}
.sidebar-card h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--indigo);
}

/* Footer */
.footer {
  background: var(--indigo-deep);
  color: #ede9fe;
  padding-top: 3.5rem;
  border-top: 4px solid var(--gold);
}
.footer .logo { color: #ffffff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.9fr;
  gap: 2rem;
}
.footer strong {
  color: #fde68a;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer li, .footer p { color: #ddd6fe; font-size: 0.88rem; }
.footer ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.footer li + li { margin-top: 0.4rem; }
.footer li a { text-decoration: none; }
.footer li a:hover { color: #ffffff; text-decoration: underline; }
.footer-base {
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  font-size: 0.8rem;
  color: #c4b5fd;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .wrap { width: calc(100% - 40px); }
  .hero-grid, .detail-hero-grid, .area-grid, .steps, .article, .cards, .faq-grid, .matrix-row {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { flex-wrap: wrap; padding-block: 0.75rem; }
  nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 0.6rem; }
  .hero-highlights, .footer-grid { grid-template-columns: 1fr; }
}
