/*
Theme Name: Voucher Valley
Theme URI: https://vouchervalley.ie
Author: Voucher Valley
Description: One-page marketing theme for Voucher Valley — a shared pool of Dunnes Stores vouchers run by a simple WhatsApp bot.
Version: 1.5.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vouchervalley
*/

/* ========== Tokens ========== */
:root {
  --gold: #f3be49;
  --gold-deep: #e3a52f;
  --gold-soft: #f9dd9b;
  --gold-tint: #fdf3da;
  --navy: #1b3a5b;
  --navy-deep: #12283f;
  --cream: #fdf8ee;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #1b3a5b;
  --body: #51637a;
  --line: rgba(27, 58, 91, 0.1);
  --green: #25d366;
  --green-deep: #1eb457;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(27, 58, 91, 0.07);
  --shadow-md: 0 10px 30px rgba(27, 58, 91, 0.12);
  --shadow-lg: 0 24px 60px rgba(27, 58, 91, 0.18);
  --font: "Nunito", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 72px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 900; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
strong { color: var(--ink); }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.1rem; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  will-change: transform;
}
.btn svg { flex: none; }
.btn:active { transform: scale(0.97); }
.btn-whatsapp {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.42);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(243, 190, 73, 0.4);
}
.btn-gold:hover {
  background: #f6c95f;
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(243, 190, 73, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(27, 58, 91, 0.35);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(253, 248, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.brand-name { font-weight: 900; font-size: 1.12rem; color: var(--navy); letter-spacing: -0.01em; }
.brand-name span { color: var(--navy); }
.site-header.scrolled .brand-name span, .footer-brand .brand-name span { color: var(--gold-deep); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.main-nav a:not(.btn):hover { background: rgba(27, 58, 91, 0.07); }
.main-nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin: 4.5px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #f9d787 0%, var(--gold) 45%, var(--gold-deep) 100%);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 90px;
  background: var(--cream);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--navy-deep); margin-bottom: 18px; font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(18, 40, 63, 0.85);
  max-width: 34em;
  margin-bottom: 28px;
}
.hero .lede strong { color: var(--navy-deep); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.cta-stack { display: flex; flex-direction: column; align-items: center; }
.cta-fineprint {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(18, 40, 63, 0.6);
  text-align: center;
  margin: 10px 0 0;
}
.press-badge { margin-top: 34px; }
.pricing-cta .cta-fineprint, .join .cta-fineprint { margin: 12px 0 0; }
.join p.cta-fineprint {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  max-width: none;
  margin: 14px auto 0;
  text-align: center;
}
.press-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.press-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.press-badge .press-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
}
.press-badge img { display: block; width: 176px; height: 20px; }
.hero-fineprint {
  margin: 18px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(18, 40, 63, 0.55);
}

/* Hero chat mockup */
.hero-visual { position: relative; max-width: 400px; margin-left: auto; }
.chat-card {
  position: relative;
  background: #efe7db;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
  transform: rotate(1.5deg);
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
}
.chat-top img { width: 38px; height: 38px; border-radius: 50%; }
.chat-top .chat-name { font-weight: 800; font-size: 0.98rem; line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; }
.chat-top .verified { flex: none; width: 15px; height: 15px; }
.chat-top .chat-status { font-size: 0.75rem; opacity: 0.75; }
.chat-body {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f2ead9;
}
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.msg.is-shown { opacity: 1; transform: translateY(0) scale(1); }
.msg-bot { background: #fff; color: #2b2b2b; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: #d7f7c8; color: #163516; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 800; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* ========== How it works: looping chat cards ========== */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.flow-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.flow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.flow-chat {
  border-radius: var(--radius-md);
  background: linear-gradient(to bottom, #f2ead9, #f8f2e5);
  box-shadow: inset 0 0 0 1px rgba(27, 58, 91, 0.08);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
}
.flow-text h3 { font-size: 1.35rem; margin-bottom: 8px; }
.flow-text p { font-size: 1rem; margin-bottom: 0.6em; }
.flow-text p:last-child { margin-bottom: 0; }
.flow-text .rate-chips { margin-top: 4px; }
.flow-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 12px 0 0;
}
.flow-note .mini-coin { flex: none; }
.mock-receipt {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 120px;
  box-shadow: inset 0 0 0 1px rgba(27, 58, 91, 0.1);
}
.msg-bot .mock-receipt { margin-top: 8px; }
.msg-photo .mock-receipt { background: #fff; }
.mock-receipt-store { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.08em; color: var(--navy); }
.mock-receipt-line { height: 1px; border-top: 1.5px dashed rgba(27, 58, 91, 0.25); }
.mock-receipt-amount { font-size: 0.9rem; font-weight: 900; color: var(--navy); }
.mock-receipt-barcode {
  height: 15px;
  border-radius: 2px;
  background: repeating-linear-gradient(to right, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px);
}
.msg-voucher-only .mock-receipt { margin-top: 0; }
.msg-time {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.35);
  vertical-align: -1px;
  white-space: nowrap;
}
.msg-photo .msg-time, .msg-voucher-only .msg-time { display: block; text-align: right; margin: 4px 0 0; }
.msg-link { color: #0b84d8; text-decoration: underline; word-break: break-all; font-weight: 600; }
.chat-day {
  align-self: center;
  background: rgba(255, 255, 255, 0.85);
  color: #6d7a8a;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.msg-btn {
  align-self: flex-start;
  width: 82%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  color: #0b84d8;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-top: -4px;
}
.msg-btn svg { flex: none; opacity: 0.9; }
.chat-anim .chat-day, .chat-anim .msg-btn {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.chat-anim .chat-day.is-shown, .chat-anim .msg-btn.is-shown { opacity: 1; transform: translateY(0) scale(1); }

/* ========== Rate chips ========== */
.how { background: var(--cream); }
.rate-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rate-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 5px 12px 5px 7px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
}
.mini-coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe29a, var(--gold) 60%, var(--gold-deep));
  border: 1.5px solid var(--gold-deep);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  color: var(--navy);
}
.rate-chip .mini-voucher {
  background: var(--navy);
  color: var(--gold);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.75rem;
}

/* ========== Pricing ========== */
.pricing {
  background: linear-gradient(165deg, #f9d787 0%, var(--gold) 55%, var(--gold-deep) 100%);
  position: relative;
}
.pricing .section-head h2, .pricing .section-head p { color: var(--navy-deep); }
.price-table {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.price-cols-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  max-width: 940px;
  padding: 0 22px;
  margin: 0 auto -54px;
  position: relative;
  z-index: 1;
}
.plan-tab {
  text-align: center;
  padding: 14px 10px 66px;
  border-radius: 16px 16px 0 0;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 10px;
}
.plan-tab .plan-big { display: block; font-size: 1.2rem; font-weight: 900; }
.plan-tab .plan-sub { display: block; font-size: 0.8rem; opacity: 0.85; }
.plan-free { color: var(--navy-deep); padding-top: 22px; }
.plan-day { background: var(--gold); color: var(--navy-deep); border: 2px solid rgba(0, 0, 0, 0.08); border-bottom: 0; box-shadow: var(--shadow-md); }
.plan-pro { background: var(--navy); color: var(--gold); box-shadow: var(--shadow-md); }
.plan-pro .plan-sub { color: #fff; }
.price-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(27, 58, 91, 0.08);
}
.price-row:nth-child(odd) { background: var(--cream); }
.price-row:last-child { border-bottom: 0; }
.row-label { display: flex; align-items: center; gap: 14px; }
.row-label .row-icon { width: 40px; flex: none; display: grid; place-items: center; color: var(--gold-deep); }
.row-label b { display: block; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.row-label small { display: block; color: var(--body); font-size: 0.8rem; line-height: 1.3; }
.price-val { text-align: center; font-weight: 800; color: var(--navy-deep); font-size: 1.05rem; }
.price-val small { font-weight: 700; font-size: 0.72rem; color: var(--body); display: block; }
.price-val .unit { font-size: 0.75rem; color: var(--body); font-weight: 700; }
.price-val.muted { color: rgba(27, 58, 91, 0.35); }
.price-val .check { color: var(--navy); }
.pricing-cta { text-align: center; margin-top: 26px; }

/* Coin packs */
.coin-packs {
  max-width: 940px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.coin-packs-head { text-align: center; color: var(--navy-deep); margin-bottom: 26px; }
.coin-packs-head h3 { font-size: 1.4rem; color: var(--navy-deep); margin-bottom: 4px; }
.coin-packs-head p { margin: 0; font-size: 1.1rem; font-weight: 400; color: var(--navy-deep); }
.packs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 24px 20px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.pack-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pack-coins { display: flex; justify-content: center; align-items: flex-end; gap: 3px; height: 54px; margin-bottom: 12px; }
.pack-coins i {
  width: 30px;
  border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(to top, var(--gold-deep) 0 3px, var(--gold) 3px 9px);
  border: 1.5px solid var(--gold-deep);
  border-radius: 6px;
}
.pack-amount { font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.pack-amount .for { color: var(--body); font-weight: 700; font-size: 0.95rem; }
.pack-bonus {
  display: inline-block;
  margin-top: 10px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing code {
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.85em;
  color: var(--navy-deep);
}

/* ========== FAQ ========== */
.faq { background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--gold); }
.faq-item .faq-a { padding: 0 22px 20px; font-size: 0.98rem; }
.faq-item[open] .faq-a { animation: faq-in 0.3s ease; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-more { text-align: center; margin-top: 30px; }
.faq-more a { font-weight: 800; font-size: 1.02rem; }

/* ========== Join CTA ========== */
.join {
  background: radial-gradient(1100px 500px at 50% -10%, #29527c, var(--navy) 55%, var(--navy-deep));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.join h2 { color: #fff; margin-bottom: 30px; }
.join h2 em { font-style: normal; color: var(--gold); }
.join p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 34em; margin: 0 auto 30px; }
.join .float-coin {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe29a, var(--gold) 58%, var(--gold-deep));
  border: 3px solid var(--gold-deep);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  color: rgba(27, 58, 91, 0.75);
  font-weight: 900;
  opacity: 0.55;
  animation: floaty 7s ease-in-out infinite;
}
.join .fc-1 { width: 70px; height: 70px; font-size: 1.7rem; top: 15%; left: 8%; }
.join .fc-2 { width: 42px; height: 42px; font-size: 1rem; bottom: 20%; left: 18%; animation-delay: 2s; }
.join .fc-3 { width: 56px; height: 56px; font-size: 1.35rem; top: 22%; right: 10%; animation-delay: 1s; }
.join .fc-4 { width: 34px; height: 34px; font-size: 0.8rem; bottom: 16%; right: 20%; animation-delay: 3s; }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 36px;
  font-size: 0.93rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--gold); }
.footer-brand p { margin: 12px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.85rem;
}
.footer-legal .disclaimer { font-weight: 800; color: rgba(255, 255, 255, 0.9); }
.footer-legal a { color: rgba(255, 255, 255, 0.75); }
.footer-legal a:hover { color: var(--gold); }

/* ========== Inner pages (FAQ / Privacy / Terms) ========== */
.page-hero {
  background: linear-gradient(160deg, #f9d787 0%, var(--gold) 60%, var(--gold-deep) 100%);
  padding: calc(var(--header-h) + 48px) 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--navy-deep); margin: 0; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-content { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); }
.page-content .entry {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 52px);
}
.page-content .entry h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page-content .entry h2:first-child { margin-top: 0; }
.page-content .entry h3 { font-size: 1.15rem; margin-top: 1.4em; }
.page-content .entry ul, .page-content .entry ol { padding-left: 1.3em; }
.page-content .entry li { margin-bottom: 0.4em; }
.page-content .entry a { color: var(--gold-deep); font-weight: 700; }
.page-content .entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.page-content .entry th, .page-content .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.page-content .entry th { background: var(--cream); color: var(--navy); }

/* ========== Logged-in admin bar ========== */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .main-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
}

/* ========== FAQ page (Easy Accordion plugin restyle) ========== */
.page-content .entry > p:has(> strong:only-child) { margin: 2.4em 0 1em; }
.page-content .entry > p:has(> strong:only-child):first-child { margin-top: 0; }
.page-content .entry > p > strong:only-child {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  padding: 5px 14px;
  border-radius: 999px;
}
.entry .sp-easy-accordion .ea-card {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 12px !important;
  overflow: hidden;
}
.entry .sp-easy-accordion .ea-header { margin: 0; }
.entry .sp-easy-accordion .ea-header a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 16px 20px !important;
  font-family: var(--font) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  color: var(--navy) !important;
  background: var(--white) !important;
  border: 0 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}
.entry .sp-easy-accordion .ea-header a .ea-expand-icon {
  order: 2;
  margin-left: auto;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  display: grid !important;
  place-items: center;
  color: var(--navy) !important;
  font-size: 0.65rem !important;
  transition: background 0.2s ease;
}
.entry .sp-easy-accordion .ea-header a[aria-expanded="true"] .ea-expand-icon { background: var(--gold); }
.entry .sp-easy-accordion .ea-body {
  padding: 0 20px 18px !important;
  font-family: var(--font) !important;
  font-size: 0.96rem !important;
  color: var(--body) !important;
  line-height: 1.6 !important;
}
.entry .sp-easy-accordion .ea-body p { margin: 0 0 0.6em; }

/* ========== Reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .msg, .chat-day, .msg-btn { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero { padding-bottom: 150px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 12px auto 0; }
  .chat-card { transform: rotate(0deg); }

  /* Chat cards stack: chat on top, text below */
  .flow-card { grid-template-columns: 1fr; gap: 20px; }
  .flow-chat { min-height: 190px; }
}
@media (max-width: 860px) {
  /* Pricing table -> stacked cards */
  .price-cols-head { display: none; }
  .price-table {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-top: 0;
    display: grid;
    gap: 18px;
  }
  .price-row { display: none; }
  .plan-cards { display: grid; gap: 18px; }
}
@media (min-width: 861px) {
  .plan-cards { display: none; }
}
.plan-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.plan-card-head { padding: 16px 22px; font-weight: 900; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-card-head small { font-weight: 700; font-size: 0.8rem; opacity: 0.8; }
.plan-card.is-free .plan-card-head { background: var(--cream); color: var(--navy); }
.plan-card.is-day .plan-card-head { background: var(--gold); color: var(--navy-deep); }
.plan-card.is-pro .plan-card-head { background: var(--navy); color: var(--gold); }
.plan-card ul { list-style: none; margin: 0; padding: 8px 0; }
.plan-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 22px;
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(27, 58, 91, 0.07);
}
.plan-card li:last-child { border-bottom: 0; }
.plan-card li b { color: var(--navy); font-weight: 800; }
.plan-card li span { font-weight: 800; color: var(--navy-deep); white-space: nowrap; }
.plan-card li span.muted { color: rgba(27, 58, 91, 0.35); }

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(253, 248, 238, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; }
  .main-nav .btn { margin: 10px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .packs-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-stack { width: 100%; order: 2; }
  .hero-ctas .btn-ghost { order: 1; }
  .footer-grid { flex-direction: column; }
  .footer-legal { flex-direction: column; }
}
