/* ============================================================
   GoldNest – Global Stylesheet
   Theme: Luxury Light Gold
   ============================================================ */

/* ---------- CSS Variables ---------- */
/* Client priority brand color: #D4AF37 (classic metallic gold).
   All gold shades are now derived from / harmonized with this base. */
:root {
  --gold:        #D4AF37;   /* primary brand gold — client priority */
  --gold-light:  #E5C868;   /* lighter shade for hovers / highlights */
  --gold-dark:   #A88A2A;   /* darker shade for shadows / pressed states */
  --gold-deep:   #735C1B;   /* deep shade for text on gold backgrounds */
  --gold-pale:   #FBEFD2;   /* very pale wash for backgrounds */
  --gold-glow:   #FFEDA8;   /* warm highlight for shine / inset glows */
  /* Signature gold gradient — matches goldsnest.com production hero */
  --gradient-gold: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
  --bg:          #FFFDF5;
  --bg-card:     #FFFFFF;
  --bg-card2:    #FBF7EC;
  --border:      #E8D689;
  --border-light: #F1E5B0;
  --text:        #1C1914;
  --text-muted:  #3D2A0A;   /* deep warm brown — strong contrast on cream + gold gradients */
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(212,175,55,0.12);
  --shadow-lg:   0 12px 40px rgba(212,175,55,0.18);
  --transition:  0.3s ease;
  --font:        'Manrope', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display:'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-accent: 'Marcellus', 'Cinzel', 'Trajan Pro', serif;
}

/* ---------- Reset & Base (overrides Bootstrap Reboot) ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font) !important;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;            /* richer text weight reads cleaner on cream + gold */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.85rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

/* Eyebrow / label uses elegant Cinzel-style caps */
.section-heading .label,
.eyebrow,
.label {
  font-family: var(--font-accent) !important;
  font-weight: 500 !important;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;            /* heavier paragraphs for prominence on cream/gold bgs */
  line-height: 1.7;
}
section { padding: 64px 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left   { text-align: left; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ---------- Gold Divider ---------- */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-dark));
  border-radius: 2px;
  margin: 16px auto 0;
}
.gold-line.left { margin-left: 0; }

/* ---------- Section Heading ---------- */
.section-heading { margin-bottom: 36px; text-align: center; }
.section-heading .label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section-heading h2 { color: var(--text); }
.section-heading p  { max-width: 580px; margin: 16px auto 0; font-size: 1rem; font-weight: 500; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-white:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-gold  { background: rgba(212,175,55,0.1); color: var(--gold-dark); border: 1px solid rgba(212,175,55,0.25); }
.badge-green { background: rgba(22,163,74,0.08); color: #16A34A; border: 1px solid rgba(22,163,74,0.2); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--gradient-gold);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,175,55,0.30);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: var(--gradient-gold);
  box-shadow: 0 4px 24px rgba(212,175,55,0.18);
}

.navbar-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar-logo img { height: 44px; width: auto; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-links a {
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text); background: rgba(255,255,255,0.45); }

.navbar-links .has-dropdown { position: relative; }
.navbar-links .has-dropdown > a::after { content: '▾'; margin-left: 4px; font-size: 0.7rem; }

/* Invisible hover bridge — a pseudo-element of .has-dropdown sitting in the
   gap below the trigger so the cursor never leaves the hover area. */
.navbar-links .has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
  /* background: rgba(255,0,0,0.2);   // un-comment to visualise while debugging */
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);           /* visual offset; bridge fills the gap */
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 8px;
  margin: 0;
  box-shadow: 0 16px 40px rgba(212,175,55,0.12);
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.dropdown-menu a:hover { background: rgba(212,175,55,0.07); color: var(--gold-dark); }

.navbar-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--gradient-gold);
  border-bottom: 1px solid rgba(212,175,55,0.30);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(212,175,55,0.18);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--gold-deep);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,0.50); }
.mobile-nav .divider { height: 1px; background: rgba(115,92,27,0.18); margin: 8px 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.25;
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(-10px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px 0;
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.hero-text .eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold-deep);
}

.hero-text h1 { margin-bottom: 20px; color: var(--text); }
.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .desc {
  font-size: 1.05rem;
  color: var(--gold-deep);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(115,92,27,0.20);
}
.trust-item { text-align: center; }
.trust-item .num { font-size: 1.5rem; font-weight: 800; color: var(--gold-deep); line-height: 1; }
.trust-item .lbl { font-size: 0.75rem; color: var(--gold-deep); opacity: 0.75; margin-top: 4px; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-orb {
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(229,200,104,0.30) 0%,
    rgba(212,175,55,0.14) 40%,
    rgba(168,138,42,0.06) 70%,
    transparent 100%);
  border: 1px solid rgba(212,175,55,0.20);
  position: relative;
  animation: pulse-orb 4s ease-in-out infinite;
}
.gold-orb::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.12);
}
.gold-orb::after {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.07);
}
@keyframes pulse-orb {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

.orb-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.orb-center .price-tag {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 16px;
  padding: 18px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(212,175,55,0.15);
}
.orb-center .price-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.orb-center .price-value { font-size: 2rem; font-weight: 800; color: var(--gold-dark); margin: 4px 0; }
.orb-center .price-change { font-size: 0.78rem; color: #16A34A; }

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(212,175,55,0.12);
  animation: float-card 3s ease-in-out infinite;
}
.floating-card.fc1 { top: 15%; right: -20px; animation-delay: 0s; }
.floating-card.fc2 { bottom: 20%; left: -30px; animation-delay: 1.5s; }
.floating-card .fc-icon { font-size: 1.8rem; }
.floating-card .fc-text .fc-val { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.floating-card .fc-text .fc-sub { font-size: 0.72rem; color: var(--text-muted); }
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--bg-card2);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ticker-item .t-name  { color: var(--gold-dark); font-weight: 600; }
.ticker-item .t-price { color: var(--text); font-weight: 700; }
.ticker-item .t-up    { color: #16A34A; }
.ticker-item .t-down  { color: #DC2626; }
.ticker-sep { color: var(--border); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   WHY GOLDNEST
   ============================================================ */
.why-section { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.why-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-card .wc-icon { font-size: 2rem; margin-bottom: 18px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.why-card p  { font-size: 0.88rem; margin: 0; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--bg-card2); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.sc-top { padding: 36px 32px 24px; flex: 1; }
.sc-icon { font-size: 2.4rem; margin-bottom: 16px; }
.sc-top h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text); }
.sc-top p  { font-size: 0.88rem; margin-bottom: 16px; }
.sc-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sc-feature-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(212,175,55,0.08);
  color: var(--gold-dark);
  border: 1px solid rgba(212,175,55,0.18);
}

.sc-bottom {
  padding: 18px 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card2);
}
.sc-bottom .sc-min { font-size: 0.8rem; color: var(--text-muted); }
.sc-bottom .sc-min span { color: var(--gold-dark); font-weight: 700; }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, var(--bg-card2) 50%, rgba(229,200,104,0.06) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid var(--border-light);
}
.stat-item:last-child { border-right: none; }
.stat-item .s-num {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-item .s-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--bg-card2); }

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0.3;
}

.step-item { text-align: center; padding: 0 16px; }
.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  border: 2px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.step-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.step-item p  { font-size: 0.83rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testi-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 14px; }
.testi-text { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.testi-city { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-gold);
  text-align: center;
  padding: 56px 0;
}
.cta-section h2 { max-width: 600px; margin: 0 auto 16px; color: var(--gold-deep); }
.cta-section p  { max-width: 500px; margin: 0 auto 36px; color: var(--gold-deep); opacity: 0.85; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}
.cta-section .btn-outline:hover {
  background: var(--gold-deep);
  color: #fff;
}

/* ============================================================
   APP SECTION
   ============================================================ */
.app-section { background: var(--bg-card2); }
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.app-mockup { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: nowrap; }
.app-screen {
  width: 200px;
  aspect-ratio: 9 / 19.5;
  background: #FBF7EC;
  border: 4px solid #1C1914;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 40px rgba(28,25,20,0.18), inset 0 0 0 1px rgba(229,200,104,0.20);
  transition: transform 0.4s ease;
  flex-shrink: 0;
}
.app-screen:hover { transform: translateY(-6px); }
.app-screen.main {
  width: 230px;
  transform: translateY(-28px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(212,175,55,0.30), 0 0 0 1px rgba(229,200,104,0.40);
  z-index: 2;
}
.app-screen.main:hover { transform: translateY(-34px); }
.app-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* show the FULL screenshot — no cropping */
  object-position: center top;
  display: block;
  background: #FBF7EC;        /* matches the screenshot's cream background */
}
.app-screen-inner {
  padding: 16px;
  height: 100%;
  background: linear-gradient(180deg, rgba(212,175,55,0.05) 0%, transparent 100%);
}
.app-screen-bar { height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 12px; }
.app-screen-line { height: 6px; background: var(--border-light); border-radius: 3px; margin-bottom: 8px; }
.app-screen-line.w60 { width: 60%; }
.app-screen-line.w40 { width: 40%; }
.app-screen-card {
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 10px;
  padding: 10px;
  margin-top: 12px;
}
.app-screen-gold { height: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 4px; margin-bottom: 6px; }

.app-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.app-feature { display: flex; align-items: flex-start; gap: 14px; }
.app-feature-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212,175,55,0.09);
  border: 1px solid rgba(212,175,55,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.app-feature-text h4 { font-size: 0.92rem; margin-bottom: 2px; color: var(--text); }
.app-feature-text p  { font-size: 0.82rem; margin: 0; }

.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.store-btn:hover { border-color: var(--gold); background: rgba(212,175,55,0.04); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,0.15); }
.store-btn .store-icon { font-size: 1.6rem; }
.store-btn .store-text .st-sub  { font-size: 0.65rem; color: var(--text-muted); }
.store-btn .store-text .st-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }

.blog-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(212,175,55,0.10) 0%, rgba(229,200,104,0.06) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border-light);
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-cat  { font-size: 0.72rem; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; }
.blog-date { font-size: 0.75rem; color: var(--text-muted); }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-read { font-size: 0.82rem; color: var(--gold-dark); font-weight: 600; }
.blog-read:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gradient-gold);
  border-top: 2px solid var(--gold);
  padding: 36px 0 0;
  color: var(--gold-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-brand .logo img {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.footer-brand p { font-size: 0.85rem; max-width: 280px; margin-bottom: 20px; color: var(--gold-deep); }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(115,92,27,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--gold-deep);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold-deep); color: #FFFFFF; transform: translateY(-2px); }

.footer-col h5 { font-size: 0.85rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--gold-deep); opacity: 0.85; transition: opacity var(--transition), color var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--text); }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: var(--gold-deep); }
.footer-contact-item .icon { color: var(--gold-dark); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 80px 18px 0;   /* right padding reserves space for the scroll-top button */
  font-size: 0.8rem;
  color: var(--gold-deep);
  opacity: 0.85;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(115,92,27,0.18);
  margin-top: 16px;
}
.footer-bottom a { color: var(--gold-deep); }
.footer-bottom a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  background: var(--gradient-gold);
  text-align: center;
  position: relative;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 0.8rem; color: var(--gold-deep); margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--gold-deep); font-weight: 600; }
.page-hero .breadcrumb a:hover { color: var(--text); }
.page-hero .breadcrumb span { color: rgba(115,92,27,0.55); }
.page-hero h1 { margin-bottom: 16px; color: var(--text); }
.page-hero p  { max-width: 560px; margin: 0 auto; font-size: 1.05rem; color: var(--gold-deep); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--gold); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
}
.faq-q .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold-dark); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(212,175,55,0.14); }

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { font-size: 0.88rem; margin: 0; line-height: 1.75; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card2) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  font-size: 0.9rem !important;
  transition: border-color var(--transition);
  outline: none;
  box-shadow: none !important;
  appearance: auto;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12) !important;
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select option { background: var(--bg-card); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-item {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.ci-text .ci-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.ci-text .ci-value { font-size: 0.92rem; color: var(--text); font-weight: 600; margin-top: 3px; }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(212,175,55,0.35);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(212,175,55,0.45); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; transition: opacity 0.6s ease; }
.fade-in.visible { opacity: 1; }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE  (Bootstrap-enhanced)
   ============================================================ */

/* Bootstrap conflict overrides */
.container { max-width: 1200px !important; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex !important; }

/* ---- 1200px: tighten navbar before it collapses ---- */
@media (max-width: 1200px) {
  .navbar-links { gap: 2px; }
  .navbar-links a { padding: 7px 10px; font-size: 0.83rem; }
  .navbar-cta { gap: 8px; }
  .navbar-cta .btn-sm { padding: 8px 14px; font-size: 0.8rem; }
  .navbar-logo img { height: 38px; }
}

/* ---- 1024px: hamburger nav, collapse major grids ---- */
@media (max-width: 1024px) {
  section { padding: 56px 0; }
  .section-heading { margin-bottom: 32px; }

  .navbar-links, .navbar-cta { display: none !important; }
  .hamburger { display: flex !important; }

  .hero { min-height: auto; padding-top: 88px; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 32px 0 48px; }
  .hero-text .desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  /* Show coin stage on tablet/mobile, just smaller */
  .hero-visual { display: flex; order: -1; }
  .coin-stage { width: 380px; height: 380px; }
  .coin-img   { width: 300px; height: 300px; }
  .gold-orb:not(.has-video) { width: 320px; height: 320px; }
  .coin-stage .floating-card.fc1 { top: 8% !important; right: 0 !important; }
  .coin-stage .floating-card.fc2 { bottom: 16% !important; left: 0 !important; }

  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .service-cards { grid-template-columns: 1fr; gap: 20px; }
  .steps-wrapper { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps-wrapper::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-light); padding: 28px 16px; }
  .app-inner { grid-template-columns: 1fr; gap: 32px; }
  .app-mockup { order: -1; gap: 12px; }
  .app-screen { width: 160px; border-radius: 26px; }
  .app-screen.main { width: 180px; transform: translateY(-20px); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; max-width: 480px; }

  .cta-section { padding: 56px 0; }
  .testimonials-grid, .blog-grid { gap: 18px; }

  /* Collapse heavy inline side-by-side layouts */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:64"],
  [style*="grid-template-columns: 1fr 1fr"][style*="gap:64"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* ---- 768px: full mobile layout ---- */
@media (max-width: 768px) {
  section { padding: 44px 0; }
  .container { padding: 0 18px !important; }
  .section-heading { margin-bottom: 26px; }
  .page-hero { padding: 96px 0 40px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.3rem) !important; }
  h2 { font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important; }
  .hero { padding-top: 80px; }
  .hero-content { padding: 16px 0 32px; gap: 24px; }
  .hero-text .desc { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-trust { gap: 16px; margin-top: 20px; padding-top: 18px; }
  .trust-item .num { font-size: 1.25rem; }
  .trust-item .lbl { font-size: 0.7rem; }
  .cta-section { padding: 44px 0; }
  .why-card { padding: 24px 20px; }
  .sc-top { padding: 24px 22px 16px; }
  .sc-bottom { padding: 14px 22px; }
  /* On mobile only the main phone shows — side phones hidden to avoid overflow */
  .app-mockup { gap: 0; }
  .app-screen { display: none !important; }
  .app-screen.main {
    display: block !important;
    width: min(260px, 70vw);
    transform: none;
    border-width: 4px;
  }
  .testi-card { padding: 22px 20px; }
  .blog-img { height: 140px; font-size: 2.6rem !important; }
  .blog-body { padding: 20px 22px 22px !important; }
  .step-num { width: 64px; height: 64px; font-size: 1.5rem; margin-bottom: 16px; }
  .card { padding: 24px 20px; }
  .footer { padding-top: 32px !important; }
  .footer-grid { gap: 24px; padding-bottom: 24px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 0 70px !important;   /* bottom space so scroll-top doesn't overlap */
    padding-right: 0 !important;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* ---- Inline grid overrides via attribute selectors ---- */

  /* All 1fr 1fr inline grids → single column */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* All repeat(3,...) inline grids → 2 columns */
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* All repeat(4,...) inline grids → 2 columns */
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Large gap resets */
  [style*="gap:64px"] { gap: 24px !important; }
  [style*="gap: 64px"] { gap: 24px !important; }
  [style*="gap:48px"] { gap: 24px !important; }

  /* how-it-works timeline icon column — keep but reduce */
  [style*="grid-template-columns:80px"] {
    grid-template-columns: 56px 1fr !important;
    gap: 18px !important;
  }

  /* Blog featured article — stack image above text */
  .blog-featured-grid {
    grid-template-columns: 1fr !important;
  }

  /* SIP / calculator result rows */
  .calc-result-grid {
    grid-template-columns: 1fr !important;
  }

  /* Store buttons — stack on mobile */
  .store-btns { flex-direction: column; }
  .store-btn  { width: 100%; }

  /* Hero actions full width */
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Contact form name row */
  .form-name-row {
    grid-template-columns: 1fr !important;
  }
}

/* ---- 480px: small phones ---- */
@media (max-width: 480px) {
  section { padding: 32px 0; }
  .container { padding: 0 14px !important; }
  .page-hero { padding: 84px 0 32px; }

  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat-item { border-right: none; padding: 22px 14px; }
  .stat-item .s-num { font-size: 2.2rem; }
  .hero-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .hero-trust .trust-item { min-width: 70px; }
  .btn { padding: 11px 22px; font-size: 0.88rem; }
  .navbar { padding: 0 14px; height: 64px; }
  .navbar-logo img { height: 32px; }
  .mobile-nav { top: 64px; padding: 12px 18px 18px; }
  .scroll-top { width: 42px; height: 42px; bottom: 18px; right: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Collapse 2-col to 1-col on very small screens */
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .card { padding: 22px 18px; }
  .cta-section { padding: 60px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 24px; }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
}

/* ============================================================
   REFRESH LIVE RATE BUTTON
   Small pill button beside the "Last updated" stamp on the
   rates pages. Re-fetches from the API on demand.
   ============================================================ */
/* Row that holds the button: sits under the hero meta block, pulled up
   into the empty space beside the rate cards. The button lives here
   rather than inside .hero-meta because that block is display:none on
   mobile, which would have hidden the button entirely. */
/* Rate cards on the left, refresh button in the space to their right. */
.rates-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rates-row .live-grid { margin-bottom: 0; }
.rate-refresh-side { flex-shrink: 0; }

/* the cards keep their own bottom spacing at the row level */
.rates-row { margin-bottom: 40px; }

@media (max-width: 768px) {
  /* stack: button sits under the cards, full-width-ish and easy to tap */
  .rates-row { gap: 16px; margin-bottom: 28px; }
  .rate-refresh-side { width: 100%; }
  .rate-refresh-side .rate-refresh { width: 100%; justify-content: center; }
}

.rate-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold, #D4AF37), var(--gold-dark, #A8860C));
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 175, 55, .35);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.rate-refresh:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, .48);
}
.rate-refresh:active:not(:disabled) { transform: translateY(0); }
.rate-refresh:disabled { opacity: .65; cursor: default; box-shadow: none; }
.rate-refresh .rr-icon { font-size: 1.1rem; display: inline-block; }
/* spin only while a refresh is in flight */
.rate-refresh.is-loading .rr-icon { animation: rr-spin .8s linear infinite; }
@keyframes rr-spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  /* .hero-meta is hidden at this width, so align the button with the
     heading instead of to the right of empty space. */
  .rate-refresh { font-size: .72rem; padding: 5px 12px; }
}
