@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Sora:wght@600;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;
}

.section-header--left {
  text-align: left;
}

.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);
}

.market-ticker {
  position: sticky;
  top: 78px;
  z-index: 95;
  padding: 5px 0;
  background: rgba(11, 20, 34, 0.92);
  border-bottom: 1px solid rgba(255, 248, 239, 0.08);
  backdrop-filter: blur(16px);
}

.market-ticker-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(1400px, calc(100% - 20px));
  margin: 0 auto;
}

.market-ticker-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.08);
  color: #fff3dc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-ticker-viewport {
  overflow: hidden;
  min-width: 0;
}

.market-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  animation: ticker-scroll 62s linear infinite;
  will-change: transform;
}

.market-ticker:hover .market-ticker-track {
  animation-play-state: paused;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 248, 239, 0.07);
  color: rgba(255, 248, 239, 0.84);
  white-space: nowrap;
}

.ticker-chip-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff4de;
  font-size: 0.78rem;
}

.ticker-chip-price {
  font-weight: 700;
  font-size: 0.84rem;
}

.ticker-chip-change {
  font-weight: 800;
  font-size: 0.8rem;
}

.ticker-chip-change.is-positive {
  color: #45d68f;
}

.ticker-chip-change.is-negative {
  color: #ff8c7c;
}

.ticker-chip-change.is-neutral {
  color: rgba(255, 248, 239, 0.66);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.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);
}

.top-nav .footer-logo-row {
  margin-bottom: 0;
}

.top-nav .footer-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 30px rgba(171, 118, 35, 0.18);
}

.top-nav .footer-logo-icon svg {
  width: 28px;
  height: 28px;
}

.top-nav .footer-logo-name {
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.top-nav .footer-logo-tagline {
  color: var(--text-light);
  font-size: 8.8px;
  letter-spacing: 2px;
  margin-top: 5px;
}

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

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

.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);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(20, 34, 53, 0.12);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 18px 50px rgba(18, 28, 43, 0.16);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-copy {
  font-size: 0.96rem;
  color: var(--text);
}

.cookie-banner-copy strong {
  color: var(--primary);
}

.cookie-banner-copy a {
  color: var(--primary);
  font-weight: 700;
}

.cookie-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner-btn {
  border: 1px solid rgba(20, 34, 53, 0.1);
  background: transparent;
  color: var(--primary);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
}

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

@media (max-width: 720px) {
  .market-ticker {
    top: 70px;
  }

  .market-ticker-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 16px);
  }

  .market-ticker-label {
    justify-self: start;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
}

.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: 34px 34px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(22, 28, 39, 0.96), rgba(18, 26, 38, 0.98));
  border: 1px solid rgba(255, 248, 239, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.gold-card {
  border-color: rgba(214, 166, 75, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(214, 166, 75, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.22);
}

.gold-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(214, 166, 75, 0.16), transparent 26%),
    radial-gradient(circle at 14% 100%, rgba(214, 166, 75, 0.12), transparent 24%);
  pointer-events: none;
}

.silver-card {
  border-color: rgba(92, 117, 173, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(137, 160, 211, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.22);
}

.silver-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(80, 110, 176, 0.14), transparent 28%),
    radial-gradient(circle at 14% 100%, rgba(137, 160, 211, 0.1), transparent 22%);
  pointer-events: none;
}

.rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.rate-title-group {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.rate-metal-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.8rem;
  color: #f7c256;
  background: rgba(247, 194, 86, 0.12);
  border: 1px solid rgba(247, 194, 86, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rate-metal-icon--silver {
  color: #d5deed;
  background: rgba(137, 160, 211, 0.14);
  border-color: rgba(137, 160, 211, 0.18);
}

.rate-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 16px;
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff2da;
  background: rgba(255, 248, 239, 0.06);
  border: 1px solid rgba(255, 248, 239, 0.14);
}

.rate-live-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.rate-live-badge--gold {
  color: #f7c256;
}

.rate-live-badge--silver {
  color: #5c7bc7;
}

.metal-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rate-price-large {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 6vw, 4.9rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  position: relative;
  z-index: 1;
}

.rate-change {
  margin-top: -2px;
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.46rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.rate-change::before {
  content: "↗";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid currentColor;
  font-size: 1rem;
  line-height: 1;
}

.rate-change.is-positive {
  color: #3fd08f;
}

.rate-change.is-negative {
  color: #ff7b7b;
}

.rate-change.is-negative::before {
  content: "↘";
}

.rate-change.is-neutral {
  color: rgba(255, 248, 239, 0.72);
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 248, 239, 0.84);
  font-size: 0.98rem;
  font-weight: 700;
}

.rate-controls {
  margin-top: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 248, 239, 0.08);
  position: relative;
  z-index: 1;
}

.toggle-label input {
  width: 24px;
  height: 24px;
  accent-color: var(--gold);
  border-radius: 8px;
}

.rate-meta {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 248, 239, 0.1);
  color: rgba(255, 248, 239, 0.62);
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

.rate-meta-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.rate-meta-item + .rate-meta-item {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 248, 239, 0.12);
}

.rate-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(255, 248, 239, 0.82);
}

.rate-meta-item span:last-child {
  color: rgba(255, 248, 239, 0.72);
}

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

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

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

.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: 14px;
  border-radius: 24px;
  width: 100%;
  max-width: none;
  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.08rem;
  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;
  font-size: 0.96rem;
}

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

.city-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
}

.city-card-link:hover {
  color: var(--gold-dark);
}

.price-item {
  padding: 11px 12px 10px;
  border-radius: 15px;
  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(0.98rem, 1.4vw, 1.28rem);
  line-height: 1.02;
  color: var(--gold-dark);
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .cities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.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);
}

.city-link-hub {
  margin-top: 26px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(20, 34, 53, 0.08);
}

.city-link-hub h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.city-link-hub p {
  margin-top: 6px;
  color: var(--text-light);
}

.city-link-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-link-list a {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20, 34, 53, 0.04);
  border: 1px solid rgba(20, 34, 53, 0.08);
  color: var(--text-light);
  font-weight: 700;
}

.city-link-list a:hover {
  color: var(--primary);
  border-color: rgba(214, 166, 75, 0.24);
  background: rgba(214, 166, 75, 0.1);
}

.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: #0d1526;
  border-top: 1px solid rgba(212, 168, 67, 0.12);
  color: #e8eaf0;
  padding: 56px 0 0;
}

.footer-container,
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1px 1.4fr 1px 1fr;
  gap: 0 40px;
  align-items: start;
  width: min(1420px, calc(100% - 72px));
  max-width: 1420px;
  margin: 0 auto;
}

.footer-divider {
  background: rgba(212, 168, 67, 0.12);
  align-self: stretch;
}

.footer-main {
  padding-right: 12px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #e8bf6a, #c08820);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
}

.footer-logo-icon svg {
  width: 32px;
  height: 32px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo-name {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #e8eaf0;
  letter-spacing: -0.3px;
}

.footer-logo-name span {
  color: #d4a843;
}

.footer-logo-tagline {
  font-size: 9.5px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #8a97b0;
  margin-top: 4px;
  text-transform: uppercase;
}

.footer-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  color: #8a97b0;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 260px;
}

.footer-features {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(212, 168, 67, 0.12);
  padding-top: 22px;
}

.footer-feature {
  font-family: "DM Sans", sans-serif;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8a97b0;
  padding: 0 6px;
  position: relative;
  text-align: center;
}

.footer-feature + .footer-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(212, 168, 67, 0.12);
}

.footer-feature svg {
  color: #d4a843;
  width: 20px;
  height: 20px;
}

.footer-links-col {
  padding: 0 20px;
}

.footer-col-title {
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d4a843;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.footer-link-item {
  font-family: "DM Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
  color: #e8eaf0;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-link-item:hover {
  color: #e8bf6a;
}

.footer-link-item svg {
  width: 14px;
  height: 14px;
  color: #8a97b0;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer-link-item:hover svg {
  color: #d4a843;
  transform: translateX(2px);
}

.footer-links-grid .footer-link-item:nth-child(2n) {
  padding-left: 16px;
}

.footer-newsletter {
  padding-left: 12px;
  position: relative;
}

.footer-newsletter-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  color: #97a4be;
  line-height: 1.72;
  margin-bottom: 18px;
  max-width: 292px;
}

.footer-action-stack {
  display: grid;
  gap: 10px;
}

.footer-contact-email {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(212, 168, 67, 0.22);
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.1), rgba(212, 168, 67, 0.04));
  color: #f0d28a;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer-contact-email:hover {
  border-color: rgba(212, 168, 67, 0.38);
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.14), rgba(212, 168, 67, 0.08));
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(9, 14, 28, 0.2);
}

.footer-btn-subscribe {
  width: 100%;
  background: linear-gradient(135deg, #d4a843 0%, #c49030 100%);
  border: none;
  border-radius: 10px;
  padding: 14px;
  color: #1a1000;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(212, 168, 67, 0.3);
  text-decoration: none;
}

.footer-btn-subscribe:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

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

.footer-btn-subscribe svg {
  width: 16px;
  height: 16px;
}

.footer-btn-secondary {
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e8eaf0;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.footer-btn-secondary:hover {
  border-color: rgba(212, 168, 67, 0.34);
  background: rgba(212, 168, 67, 0.08);
  transform: translateY(-1px);
}

.footer-no-spam {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #8a97b0;
  margin-top: 16px;
  text-align: left;
  max-width: 294px;
  line-height: 1.65;
}

.footer-copyright {
  margin-top: 44px;
  border-top: 1px solid rgba(212, 168, 67, 0.12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  grid-column: 1 / -1;
}

.footer-copyright p {
  font-family: "DM Sans", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #8a97b0;
}

.footer-copy-shield svg {
  width: 18px;
  height: 18px;
  color: #8a97b0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-label {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: #8a97b0;
  margin-right: 4px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a97b0;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.footer-social-btn:hover {
  border-color: #d4a843;
  color: #d4a843;
  background: rgba(212, 168, 67, 0.08);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.portfolio-hero {
  padding: 54px 0 18px;
}

.portfolio-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.portfolio-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--primary);
  max-width: 10ch;
}

.portfolio-hero p {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--text-light);
  font-size: 1.02rem;
}

.portfolio-hero-note,
.portfolio-panel,
.portfolio-live-card,
.portfolio-result-card,
.portfolio-summary-card,
.portfolio-guidance-card {
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(20, 34, 53, 0.08);
  box-shadow: var(--shadow);
}

.portfolio-hero-note {
  padding: 24px;
}

.portfolio-hero-note h3,
.portfolio-guidance-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.portfolio-hero-note p + p {
  margin-top: 12px;
}

.portfolio-section {
  padding: 26px 0 36px;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.portfolio-panel {
  padding: 28px;
}

.portfolio-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.tracker-field {
  display: grid;
  gap: 8px;
}

.tracker-field span {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--primary);
}

.tracker-field input,
.tracker-field select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(20, 34, 53, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tracker-field input:focus,
.tracker-field select:focus {
  border-color: rgba(214, 166, 75, 0.9);
  box-shadow: 0 0 0 4px rgba(214, 166, 75, 0.12);
}

.tracker-field--wide {
  grid-column: 1 / -1;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.tracker-status-block {
  display: grid;
  gap: 2px;
}

.tracker-status-block strong {
  color: var(--primary);
}

.tracker-status-block span {
  color: var(--text-light);
  font-size: 0.92rem;
}

.portfolio-results-shell {
  display: grid;
  gap: 16px;
}

.portfolio-live-card {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(20, 34, 53, 0.98), rgba(31, 45, 67, 0.96));
  border-color: rgba(214, 166, 75, 0.3);
  color: #fff6e7;
}

.portfolio-live-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.portfolio-live-card p {
  margin-top: 10px;
  color: rgba(255, 248, 239, 0.72);
}

.portfolio-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-result-card,
.portfolio-summary-card {
  padding: 22px;
}

.tracker-result-label {
  display: block;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracker-result-value {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.tracker-result-value.is-profit,
.tracker-result-signal.is-profit {
  color: var(--success);
}

.tracker-result-value.is-loss,
.tracker-result-signal.is-loss {
  color: var(--danger);
}

.tracker-result-value.is-flat,
.tracker-result-signal.is-flat {
  color: var(--text-light);
}

.tracker-result-signal {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(214, 166, 75, 0.12);
  color: var(--gold-dark);
  font-weight: 800;
}

.portfolio-summary-card p {
  margin-top: 12px;
  color: var(--text-light);
}

.portfolio-guidance {
  padding: 0 0 82px;
}

.portfolio-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-guidance-card {
  padding: 24px;
}

.portfolio-guidance-card p {
  color: var(--text-light);
}

.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;
  }

  .footer-container,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-divider {
    display: none;
  }

  .footer-links-col,
  .footer-newsletter {
    padding: 0;
  }
}

@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,
  .footer-content {
    grid-template-columns: 1fr;
  }

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

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

  .portfolio-hero-shell,
  .portfolio-layout,
  .portfolio-guidance-grid,
  .portfolio-form-grid,
  .portfolio-results-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 44px 0 0;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid .footer-link-item:nth-child(2n) {
    padding-left: 0;
  }

  .footer-features {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }

  .footer-feature + .footer-feature::before {
    display: block;
  }

  .footer-feature {
    min-width: 0;
    font-size: 11.5px;
    padding: 0 4px;
  }

  .footer-feature svg {
    width: 18px;
    height: 18px;
  }

  .footer-copyright {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    width: 100%;
    flex-wrap: wrap;
  }
}
