@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

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

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #142235;
  --primary-dark: #0c1624;
  --primary-soft: #213553;
  --gold: #d6a64b;
  --gold-dark: #ab7623;
  --gold-soft: rgba(214, 166, 75, 0.14);
  --silver: #9ba8b9;
  --teal: #1f6f78;
  --text: #1d2735;
  --text-light: #617084;
  --bg-light: #f6f1e8;
  --bg-dark: #0d1725;
  --panel: rgba(255, 250, 242, 0.86);
  --panel-strong: #fffaf2;
  --border: rgba(25, 38, 58, 0.1);
  --border-strong: rgba(25, 38, 58, 0.18);
  --white: #ffffff;
  --danger: #c54747;
  --success: #1f7a52;
  --shadow: 0 18px 60px rgba(18, 28, 43, 0.08);
  --shadow-lg: 0 28px 90px rgba(18, 28, 43, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 166, 75, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(31, 111, 120, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf7f0 0%, #f3ecdf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 34, 53, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 34, 53, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 240, 0.76);
  border-bottom: 1px solid rgba(20, 34, 53, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary);
}

.logo-wordmark {
  display: block;
  width: auto;
  height: 42px;
}

.logo-wordmark--footer {
  height: 46px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  background:
    linear-gradient(145deg, #f4cc7b 0%, #cb8c2d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 30px rgba(171, 118, 35, 0.24);
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(20, 34, 53, 0.06);
  transform: translateY(-1px);
}

.nav-links a[aria-current="page"] {
  color: var(--primary);
  background: rgba(20, 34, 53, 0.08);
  box-shadow: inset 0 0 0 1px rgba(20, 34, 53, 0.08);
  pointer-events: none;
}

.nav-links a.nav-cta {
  color: #fff7e8;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  box-shadow: 0 14px 32px rgba(20, 34, 53, 0.18);
}

.menu-toggle {
  display: none;
  background: rgba(20, 34, 53, 0.06);
  border: 1px solid rgba(20, 34, 53, 0.08);
  border-radius: 14px;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  color: #fff8ef;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 166, 75, 0.26), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(77, 176, 189, 0.18), transparent 25%),
    linear-gradient(135deg, #101b2b 0%, #162840 54%, #0e5960 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -16% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 137, 0.14), transparent 65%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.hero-accent {
  display: inline-block;
  color: #ffd68f;
}

.hero-subtitle {
  margin: 22px 0 28px;
  max-width: 60ch;
  font-size: 1.08rem;
  color: rgba(255, 248, 239, 0.78);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.1);
  border: 1px solid rgba(255, 248, 239, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 800;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd68f;
  box-shadow: 0 0 18px rgba(255, 214, 143, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary,
.btn-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  color: #131d2d;
  background: linear-gradient(135deg, #f1c974 0%, #d69734 100%);
  box-shadow: 0 18px 34px rgba(198, 136, 35, 0.26);
}

.btn-secondary {
  color: #fff8ef;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-refresh {
  color: #fff7eb;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  box-shadow: 0 16px 30px rgba(20, 34, 53, 0.14);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-refresh:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-metric {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.12);
  backdrop-filter: blur(8px);
}

.hero-metric strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-metric span {
  color: rgba(255, 248, 239, 0.72);
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.12);
  color: #fff2d2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.hero-panel-card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.12), rgba(255, 250, 242, 0.04));
  border: 1px solid rgba(255, 250, 242, 0.1);
}

.hero-panel-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 248, 239, 0.58);
  margin-bottom: 10px;
}

.hero-panel-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.hero-panel-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
  min-width: 0;
}

.hero-panel-price span {
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.9rem;
  text-align: right;
}

.hero-panel-price-live strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.hero-panel-price-live span {
  flex-shrink: 0;
}

.hero-panel-stack {
  display: grid;
  gap: 8px;
}

.hero-panel-stack strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-panel-stack span {
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.96rem;
  line-height: 1.5;
}

.hero-panel-foot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-panel-foot .hero-panel-card {
  min-height: 110px;
}

.section-light,
.section-dark,
.section-accent {
  position: relative;
  padding: 84px 0;
}

.section-light {
  background: transparent;
}

.section-dark {
  color: #fef5e6;
  background:
    radial-gradient(circle at right top, rgba(214, 166, 75, 0.14), transparent 22%),
    linear-gradient(180deg, #101927 0%, #18283d 100%);
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.8) 0%, rgba(246, 241, 232, 0.92) 100%);
}

.section-header {
  margin-bottom: 42px;
  max-width: 720px;
}

.section-header h2,
.section-light h2,
.section-dark h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.section-dark .section-header h2,
.section-dark h2 {
  color: #fff6e7;
}

.section-header p {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: rgba(255, 248, 239, 0.72);
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.rate-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

.gold-card {
  background:
    linear-gradient(180deg, rgba(214, 166, 75, 0.18), rgba(255, 248, 239, 0.08));
}

.silver-card {
  background:
    linear-gradient(180deg, rgba(155, 168, 185, 0.18), rgba(255, 248, 239, 0.08));
}

.rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metal-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.rate-price-large {
  margin: 18px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.3rem);
  letter-spacing: -0.06em;
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 248, 239, 0.72);
}

.toggle-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.rate-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 248, 239, 0.1);
  color: rgba(255, 248, 239, 0.62);
  font-size: 0.88rem;
}

.refresh-section {
  margin-top: 28px;
  text-align: center;
}

.cities-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  gap: 20px;
  justify-content: center;
}

.city-card,
.info-card,
.faq-item,
.feature-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.city-card {
  padding: 16px;
  border-radius: 24px;
  width: 100%;
  max-width: 340px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.city-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.city-header {
  margin-bottom: 2px;
}

.city-header h4,
.info-card h3,
.faq-item h4,
.contact-card h2,
.feature-card h4,
.notice-box h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.city-header h4 {
  font-size: 1.15rem;
  line-height: 1.05;
}

.city-state,
.price-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.city-desc,
.info-card p,
.faq-item p,
.feature-card p,
.notice-box p {
  color: var(--text-light);
}

.city-desc {
  line-height: 1.2;
}

.city-prices-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
  align-items: stretch;
}

.price-item {
  padding: 12px 14px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(20, 34, 53, 0.08);
  min-width: 0;
}

.price-value {
  display: block;
  margin-top: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.02;
  color: var(--gold-dark);
  overflow-wrap: anywhere;
}

.info-card {
  padding: 30px;
  border-radius: 26px;
}

.notice-box {
  padding: 28px 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.9), rgba(255, 243, 223, 0.94));
  border: 1px solid rgba(214, 166, 75, 0.2);
  box-shadow: var(--shadow);
}

.notice-box a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 26px 28px;
  border-radius: 24px;
}

.site-footer {
  background:
    linear-gradient(180deg, #121b2a 0%, #0b1422 100%);
  color: rgba(255, 248, 239, 0.68);
  padding: 56px 0 26px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.footer-brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: #fff6e7;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
}

.footer-main p,
.footer-copyright p {
  color: rgba(255, 248, 239, 0.6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 248, 239, 0.82);
  text-decoration: none;
}

.footer-copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 239, 0.1);
}

@media (max-width: 960px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    min-height: 72px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.96);
    border: 1px solid rgba(20, 34, 53, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    border-radius: 16px;
  }

  .hero-section,
  .section-light,
  .section-dark,
  .section-accent {
    padding: 72px 0;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .section-header {
    margin-inline: auto;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cities-grid {
    justify-items: center;
    gap: 16px;
    grid-template-columns: minmax(0, 340px);
  }

  .city-card {
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    padding: 16px;
  }

  .city-prices-row {
    width: 100%;
    justify-items: stretch;
    gap: 10px;
    margin-top: 14px;
  }

  .price-item {
    width: 100%;
    max-width: none;
    padding: 14px 16px;
  }

  .city-header {
    margin-bottom: 4px;
  }

  .city-header h4 {
    font-size: 1.22rem;
  }

  .city-desc {
    font-size: 0.96rem;
    line-height: 1.24;
  }

  .price-label {
    font-size: 0.74rem;
  }

  .price-value {
    font-size: 1.18rem;
  }

  .hero-panel-price,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-panel-price {
    display: grid;
    justify-content: start;
  }

  .hero-panel-price span {
    text-align: left;
  }
}
