:root {
  --wine-950: #1f292c;
  --wine-900: #2b373a;
  --wine-800: #3d494c;
  --wine-700: #566164;
  --gold: #bd9259;
  --gold-soft: #dec8a6;
  --cream: #fbfaf7;
  --cream-deep: #f1eee8;
  --sand: #e4ded5;
  --ink: #20282a;
  --muted: #687173;
  --line: #ddd8cf;
  --eucalyptus: #687a74;
  --hero-rgb: 49, 61, 64;
}

.site-header {
  border-bottom-color: rgba(49, 61, 64, 0.12);
  background: rgba(251, 250, 247, 0.96);
}

.site-header .brand-mark {
  background: transparent;
}

.site-header .brand-name {
  color: #244f56;
}

.site-header .updated-dot {
  background: #74837d;
  box-shadow: 0 0 0 4px rgba(116, 131, 125, 0.13);
}

.jump-nav {
  border-bottom-color: rgba(49, 61, 64, 0.12);
  background: rgba(251, 250, 247, 0.92);
}

.jump-label,
.jump-inner a:hover,
.jump-inner a:focus-visible {
  color: #344044;
}

.national-hero {
  color: var(--ink);
  background: #ece8e0;
}

.national-hero .hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(251, 250, 247, 0.99) 0%,
      rgba(251, 250, 247, 0.96) 38%,
      rgba(251, 250, 247, 0.72) 56%,
      rgba(251, 250, 247, 0.08) 78%,
      rgba(251, 250, 247, 0) 100%
    ),
    linear-gradient(0deg, rgba(31, 41, 44, 0.18), transparent 42%);
}

@media (min-width: 801px) {
  .national-hero .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(251, 250, 247, 1) 0%,
      rgba(251, 250, 247, 1) 42%,
      rgba(251, 250, 247, 0.98) 46%,
      rgba(251, 250, 247, 0.76) 50%,
      rgba(251, 250, 247, 0.12) 56%,
      rgba(251, 250, 247, 0) 60%
    );
  }
}

.national-hero .hero-sun {
  border-color: rgba(189, 146, 89, 0.23);
  box-shadow:
    0 0 0 70px rgba(189, 146, 89, 0.04),
    0 0 0 140px rgba(189, 146, 89, 0.025);
}

.national-hero .eyebrow {
  color: #786044;
}

.national-hero .hero-deck {
  color: #4f595b;
}

.national-hero .text-link {
  color: #344044;
}

.national-hero .trust-list {
  color: #697275;
}

.national-hero .trust-list li::before {
  color: #9b7442;
}

.disclosure-bar {
  border-bottom-color: #ddd7cd;
  color: #596164;
  background: #f0ede6;
}

.disclosure-bar a {
  color: #344044;
}

.picks-section {
  background:
    radial-gradient(circle at 100% 0, rgba(189, 146, 89, 0.08), transparent 25%),
    var(--cream);
}

.winner-card {
  border-color: rgba(61, 73, 76, 0.22);
}

.winner-ribbon {
  background: #344044;
}

.best-for,
.kicker {
  color: #687a74;
}

.kicker-light,
.state-hub .kicker {
  color: var(--gold-soft);
}

.button-primary {
  background: #344044;
  box-shadow: 0 9px 24px rgba(31, 41, 44, 0.17);
}

.button-primary:hover {
  background: #232d30;
}

.button-outline {
  border-color: rgba(61, 73, 76, 0.3);
  color: #344044;
}

.button-outline:hover {
  border-color: #344044;
}

.site-card:hover {
  border-color: rgba(61, 73, 76, 0.32);
}

.choose-section {
  border-block: 1px solid var(--line);
  background: #f1eee8;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.choice-grid article {
  min-height: 330px;
  padding: 30px 27px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.choice-number {
  display: block;
  margin-bottom: 56px;
  color: rgba(61, 73, 76, 0.22);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.choice-label {
  margin-bottom: 8px;
  color: var(--eucalyptus);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-grid h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
}

.choice-grid p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.state-hub {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: #20292c;
}

.state-hub::after {
  position: absolute;
  top: -230px;
  right: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(222, 200, 166, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(222, 200, 166, 0.026),
    0 0 0 160px rgba(222, 200, 166, 0.018);
  content: "";
}

.state-hub-header {
  position: relative;
  z-index: 1;
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: 1fr 0.86fr;
  align-items: end;
  gap: 70px;
}

.state-hub-header h2 {
  margin-bottom: 0;
}

.state-hub-header > p {
  margin-bottom: 7px;
  color: rgba(255, 249, 243, 0.64);
}

.state-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.state-card {
  display: grid;
  min-height: 122px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 18px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

a.state-card:hover,
a.state-card:focus-visible {
  border-color: rgba(222, 200, 166, 0.58);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

a.state-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.state-code {
  display: grid;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  place-items: center;
  color: var(--wine-950);
  background: var(--gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.88rem;
  font-weight: 900;
}

.state-card p,
.state-card strong {
  display: block;
  margin: 0;
}

.state-card p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 700;
}

.state-card strong {
  margin-top: 3px;
  color: rgba(255, 249, 243, 0.52);
  font-size: 0.72rem;
  font-weight: 600;
}

.state-arrow {
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.state-qld .state-code {
  background: #f3a83b;
}

.state-nsw .state-code {
  background: #91bad6;
}

.state-vic .state-code {
  background: #9ba8d4;
}

.state-wa .state-code {
  background: #e4be5c;
}

.state-sa .state-code {
  background: #d99a85;
}

.state-tas .state-code {
  background: #83b39e;
}

.state-act .state-code {
  background: #8fc3c9;
}

.state-nt .state-code {
  background: #d88b5e;
}

.profile-section {
  background: #f1eee8;
}

.visual-caption {
  background: rgba(31, 41, 44, 0.9);
}

.method-section {
  background: #20292c;
}

.method-grid article {
  background: #20292c;
}

.red-flags {
  background: #344044;
}

.final-cta {
  background:
    linear-gradient(115deg, rgba(31, 41, 44, 0.99), rgba(61, 73, 76, 0.96)),
    #344044;
}

.site-footer {
  background: #172023;
}

.mobile-cta {
  background: rgba(31, 41, 44, 0.98);
}

@media (max-width: 1000px) {
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .state-hub-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 620px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid article {
    min-height: 280px;
  }

  .state-card {
    padding: 20px;
    grid-template-columns: 58px 1fr auto;
  }

  .state-code {
    width: 52px;
    height: 52px;
    font-size: 0.76rem;
  }
}

@media (max-width: 800px) and (min-width: 621px) {
  .national-hero .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(251, 250, 247, 0.96) 0%,
        rgba(251, 250, 247, 0.82) 62%,
        rgba(251, 250, 247, 0.38) 100%
      ),
      linear-gradient(0deg, rgba(31, 41, 44, 0.2), transparent 50%);
  }
}

@media (max-width: 620px) {
  .national-hero .hero-shade {
    display: none;
  }
}
