/* =============================================================
   GuitarHarmonyLab — Pages CSS  v2.0
   Support · Legal Notice · Privacy Policy · Terms of Service
   Astra → Customize → Additional CSS
   ============================================================= */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Brand colors */
  --gold:           #B8860B;
  --gold-light:     #F0C040;
  --gold-dim:       rgba(240,192,64,.10);
  --gold-glow:      rgba(240,192,64,.06);
  --gold-border:    rgba(240,192,64,.22);
  --green:          #4ADE80;
  --blue:           #60A5FA;
  --orange:         #FF6B00;
  --red-soft:       rgba(255,107,0,.08);

  /* Backgrounds */
  --bg-deep:        #080503;
  --bg-card:        #100C06;
  --bg-card-hover:  #141008;
  --bg-panel:       #0D0904;
  --bg-overlay:     rgba(8,5,3,.92);

  /* Text */
  --text-primary:   #F5F0E8;
  --text-secondary: #C4B49A;
  --text-muted:     #8A7A68;
  --text-faint:     #5A4E40;

  /* Borders */
  --border:         #1E1810;
  --border-hover:   #2E2418;
  --border-focus:   rgba(184,134,11,.5);

  /* Radius */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Spacing (4-pt grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-card:  0 1px 3px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.25);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,.03);

  /* Transitions */
  --t-fast:  .12s ease;
  --t-base:  .2s ease;
  --t-slow:  .35s ease;
}

/* ── Base ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* WordPress/Astra legal pages — keep the template full-width and clean. */
body.ghl-legal-page,
body.ghl-legal-page .site-content,
body.ghl-legal-page .ast-container,
body.ghl-legal-page .entry-content {
  background: var(--bg-deep) !important;
}

body.ghl-legal-page .ast-container,
body.ghl-legal-page .site-content .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.ghl-legal-page .ast-article-single,
body.ghl-legal-page .entry-content,
body.ghl-legal-page .entry-content-wrap,
body.ghl-legal-page .site-content .entry-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ghl-legal-page .entry-header,
body.ghl-legal-page .entry-title,
body.ghl-legal-page .post-thumbnail,
body.ghl-legal-page .ast-breadcrumbs-wrapper,
body.ghl-legal-page .rank-math-breadcrumb {
  display: none !important;
}

body.ghl-legal-page .entry-content > p:empty,
body.ghl-legal-page .entry-content > br {
  display: none !important;
}

/* Noise texture supprimée — impact GPU */

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Layout ──────────────────────────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  min-width: 0;
}

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-overlay);
  border-bottom: 1px solid var(--border);
}
.site-nav__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: var(--sp-5);
}
.site-nav__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: .03em;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}
.site-nav__brand:hover { opacity: .8; }

.site-nav__links { display: flex; gap: var(--sp-1); }
.site-nav__link {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.site-nav__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,.04);
}
.site-nav__cta {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  padding: 7px var(--sp-5);
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.site-nav__cta:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 72px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold-border), transparent);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 5px var(--sp-5);
  margin-bottom: var(--sp-8);
  animation: fadeUp .5s ease both;
}
.hero__eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
  animation: fadeUp .5s .08s ease both;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
  animation: fadeUp .5s .16s ease both;
}

.hero__chips {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .5s .24s ease both;
}
.hero__chip {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px var(--sp-4);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.hero__chip:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--gold-glow);
}

/* ── Section label ───────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-8);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-hover), transparent);
}

/* ── Updated badge ───────────────────────────────────────────── */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px var(--sp-4);
  margin-bottom: var(--sp-12);
}
.updated-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(74,222,128,.5);
}

/* ── Legal sections ──────────────────────────────────────────── */
.legal-section {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type { border-bottom: none; }

/* ── Legal card ──────────────────────────────────────────────── */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-10);
  margin-bottom: var(--sp-5);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  transition: border-color var(--t-slow);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.legal-card:last-child { margin-bottom: 0; }
.legal-card:hover { border-color: var(--border-hover); }

.legal-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
  letter-spacing: .01em;
}

/* ── Prose ───────────────────────────────────────────────────── */
.prose {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.75;
  min-width: 0;
  overflow-wrap: anywhere;
}
.prose p { margin-bottom: var(--sp-4); }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol {
  margin: var(--sp-3) 0 var(--sp-4) var(--sp-5);
}
.prose li { margin-bottom: var(--sp-2); }
.prose a {
  color: var(--gold-light);
  transition: opacity var(--t-fast);
}
.prose a:hover { opacity: .75; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--sp-6) 0 var(--sp-3);
}

/* ── Info grid (mentions légales) ────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: minmax(132px, 160px) minmax(0, 1fr);
  gap: var(--sp-3) var(--sp-6);
  align-items: baseline;
  min-width: 0;
}
.info-grid dt {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.info-grid dd {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: anywhere;
}
.info-grid dd a {
  color: var(--gold-light);
  transition: opacity var(--t-fast);
}
.info-grid dd a:hover { opacity: .75; }

/* ── Tables ──────────────────────────────────────────────────── */
.data-table,
.plans-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .875rem;
  margin: var(--sp-4) 0;
}
.data-table thead tr,
.plans-table thead tr {
  border-bottom: 1px solid var(--border-hover);
}
.data-table th,
.plans-table th {
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--sp-3) var(--sp-4);
  overflow-wrap: anywhere;
}
.data-table td,
.plans-table td {
  padding: var(--sp-3) var(--sp-4);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.data-table tr:last-child td,
.plans-table tr:last-child td { border-bottom: none; }
.data-table tbody tr,
.plans-table tbody tr {
  transition: background var(--t-fast);
}
.data-table tbody tr:hover,
.plans-table tbody tr:hover { background: rgba(255,255,255,.02); }
.data-table td:first-child,
.plans-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Rights grid ─────────────────────────────────────────────── */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.right-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-5);
  transition: border-color var(--t-base), background var(--t-base);
}
.right-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}
.right-item__icon { font-size: 1.3rem; margin-bottom: var(--sp-2); }
.right-item__title {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}
.right-item__desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Info badge ──────────────────────────────────────────────── */
.info-badge {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: rgba(96,165,250,.06);
  border: 1px solid rgba(96,165,250,.16);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-top: var(--sp-5);
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.info-badge__icon {
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Warning box ─────────────────────────────────────────────── */
.warn-box {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: rgba(255,107,0,.06);
  border: 1px solid rgba(255,107,0,.18);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-top: var(--sp-5);
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.warn-box__icon {
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── TOC (terms) ─────────────────────────────────────────────── */
.toc {
  background: linear-gradient(180deg, rgba(20,16,8,.98), rgba(13,9,4,.98));
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-8);
  margin-bottom: var(--sp-12);
  box-shadow: var(--shadow-card), 0 0 30px rgba(240,192,64,.04);
}
.toc__title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}
.toc__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2) var(--sp-4);
}
.toc__list li { min-width: 0; }
.toc__list a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.025);
  font-size: .85rem;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.toc__list a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.toc__list a:hover {
  color: var(--gold-light);
  background: var(--gold-glow);
  border-color: var(--gold-border);
}

/* ── Badge plan highlight ───────────────────────────────────── */
.badge-plan {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: var(--sp-2);
  vertical-align: middle;
}

/* ── Quick nav (support) ─────────────────────────────────────── */
.quick-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-8);
  margin-bottom: var(--sp-16);
  box-shadow: var(--shadow-card);
}
.quick-nav__title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}
.quick-nav__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-1) var(--sp-5);
}
.quick-nav__list li a {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: .84rem;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--t-fast);
}
.quick-nav__list li a::before {
  content: '→';
  color: var(--gold);
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform var(--t-fast);
}
.quick-nav__list li a:hover { color: var(--gold-light); }
.quick-nav__list li a:hover::before { transform: translateX(2px); }

/* ── FAQ (support) ───────────────────────────────────────────── */
.faq { margin-bottom: var(--sp-20); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-of-type { border-top: 1px solid var(--border); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-6) 0;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color var(--t-fast);
  min-height: 44px;
}
.faq__question:hover,
.faq__question:focus-visible,
.faq__question[aria-expanded="true"] { color: var(--gold-light); }
.faq__question:focus-visible {
  outline: 2px solid var(--gold-border);
  outline-offset: 3px;
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-slow);
}
.faq__question[aria-expanded="true"] .faq__icon {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  transform: rotate(45deg);
}
.faq__icon svg { width: 11px; height: 11px; }

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow);
}
.faq__answer.open { grid-template-rows: 1fr; }
.faq__answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom var(--t-slow);
}
.faq__answer.open .faq__answer-inner { padding-bottom: var(--sp-6); }
.faq__answer p {
  font-size: .875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 660px;
}
.faq__answer p strong { color: var(--text-primary); font-weight: 500; }
.faq__answer p a { color: var(--gold-light); }

/* ── Contact section (support) ───────────────────────────────── */
.contact { margin-bottom: var(--sp-20); }
.contact__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.contact__info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow-card);
}
.contact__info-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.contact__info-body {
  font-size: .85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}
.contact__email-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 500;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  background: var(--gold-dim);
  transition: background var(--t-base), border-color var(--t-base);
  margin-bottom: var(--sp-6);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}
.contact__email-link:hover {
  background: rgba(240,192,64,.16);
  border-color: var(--gold);
}
.contact__email-link svg { flex-shrink: 0; }
.contact__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: .76rem;
  color: var(--text-muted);
}
.contact__meta span { display: flex; align-items: center; gap: var(--sp-2); }
.contact__meta span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(74,222,128,.4);
  flex-shrink: 0;
}

/* ── Form ────────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .875rem;
  padding: 11px var(--sp-4);
  width: 100%;
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
  min-height: 44px;
}
.form-field:hover { border-color: var(--border-hover); }
.form-field:focus {
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-field::placeholder { color: var(--text-faint); }
select.form-field option { background: var(--bg-card); }
textarea.form-field { resize: vertical; min-height: 140px; line-height: 1.65; }
.form-submit {
  background: var(--gold);
  color: #0A0600;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  border: none;
  border-radius: var(--r-sm);
  padding: 14px var(--sp-8);
  cursor: pointer;
  width: 100%;
  min-height: 48px;
  transition: background var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  box-shadow: 0 2px 12px rgba(184,134,11,.25);
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(240,192,64,.3);
}
.form-submit:active { transform: translateY(0); box-shadow: none; }
.form-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.form-notice { font-size: .72rem; color: var(--text-faint); text-align: center; margin-top: -var(--sp-2); }
.form-success {
  display: none;
  background: rgba(74,222,128,.07);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-5);
  color: var(--green);
  font-size: .875rem;
  font-weight: 500;
  text-align: center;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-10);
  text-align: center;
  margin: var(--sp-16) 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(184,134,11,.10), transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  pointer-events: none;
}
.cta-banner__tagline {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  letter-spacing: .01em;
}
.cta-banner__sub {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto var(--sp-8);
  line-height: 1.65;
}
.cta-banner__actions,
.cta-banner__btns {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-gold,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--gold);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .02em;
  padding: 12px var(--sp-8);
  border-radius: var(--r-md);
  min-height: 44px;
  transition: background var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 2px 10px rgba(184,134,11,.2);
}
.btn-gold:hover,
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(240,192,64,.28);
}
.btn-gold:active,
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .84rem;
  padding: 12px var(--sp-8);
  border-radius: var(--r-md);
  border: 1px solid var(--border-hover);
  min-height: 44px;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base), transform var(--t-fast);
}
.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--gold-glow);
  transform: translateY(-1px);
}
.btn-outline:active,
.btn-ghost:active { transform: translateY(0); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
}
.site-footer__inner { max-width: 880px; margin: 0 auto; }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
  letter-spacing: .01em;
}
.site-footer__tagline em {
  font-style: italic;
  color: var(--gold-light);
  opacity: .85;
}
.site-footer__links {
  display: flex;
  gap: var(--sp-1);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.site-footer__link,
.site-footer__links a {
  font-size: .76rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px var(--sp-3);
  border-radius: var(--r-xs);
  transition: color var(--t-fast);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.site-footer__link:hover,
.site-footer__links a:hover { color: var(--text-secondary); }
.site-footer__link[aria-current="page"] { color: var(--gold); }
.site-footer__copy {
  font-size: .7rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive — Tablet (≤ 768px) ──────────────────────────── */
@media (max-width: 768px) {
  .page-wrap { padding: 0 var(--sp-5); }
  .hero { padding: 64px 0 56px; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__subtitle { font-size: .95rem; }

  .legal-card { padding: var(--sp-8) var(--sp-6); }
  .info-grid {
    grid-template-columns: minmax(118px, 140px) minmax(0, 1fr);
    gap: var(--sp-3) var(--sp-5);
  }
  .toc { padding: var(--sp-6) var(--sp-6); }
  .quick-nav { padding: var(--sp-5) var(--sp-6); }
  .cta-banner { padding: var(--sp-12) var(--sp-6); }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .contact__email-link { font-size: .76rem; }

  .toc__list { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

  .site-footer__copy { font-size: .68rem; }
}

/* ── Responsive — compact legal tables (≤ 680px) ───────────────── */
@media (max-width: 680px) {
  .data-table,
  .plans-table,
  .data-table thead,
  .plans-table thead,
  .data-table tbody,
  .plans-table tbody,
  .data-table tr,
  .plans-table tr,
  .data-table th,
  .plans-table th,
  .data-table td,
  .plans-table td {
    display: block;
    width: 100%;
  }

  .data-table,
  .plans-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .data-table thead,
  .plans-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .data-table tbody,
  .plans-table tbody {
    display: grid;
    gap: var(--sp-3);
  }

  .data-table tr,
  .plans-table tr {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--sp-3) var(--sp-4);
  }

  .data-table td,
  .plans-table td {
    display: grid;
    grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
    gap: var(--sp-3);
    align-items: start;
    padding: var(--sp-2) 0;
    border-bottom: 1px solid var(--border);
  }

  .data-table td:last-child,
  .plans-table td:last-child {
    border-bottom: none;
  }

  .data-table td::before,
  .plans-table td::before {
    content: attr(data-label);
    color: var(--text-faint);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .badge-plan {
    display: inline-flex;
    margin: var(--sp-1) 0 0 0;
  }
}

/* ── Responsive — Mobile (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .page-wrap { padding: 0 var(--sp-3); }
  .hero { padding: 48px 0 40px; }
  .hero__eyebrow { font-size: .62rem; padding: 4px var(--sp-4); }
  .hero__subtitle { margin-bottom: var(--sp-6); }
  .hero__chips { gap: var(--sp-2); }

  .site-nav__links { display: none; }
  .site-nav__inner { padding: 0 var(--sp-4); }
  .site-nav__cta { padding: 6px var(--sp-3); }

  .section-label {
    gap: var(--sp-3);
    letter-spacing: .16em;
  }

  .legal-section {
    padding: var(--sp-10) 0;
  }

  .legal-card {
    padding: var(--sp-6) var(--sp-4);
    border-radius: var(--r-lg);
  }
  .legal-card__title { font-size: 1.2rem; }
  .cta-banner { padding: var(--sp-8) var(--sp-5); border-radius: var(--r-lg); }
  .cta-banner__actions,
  .cta-banner__btns { flex-direction: column; align-items: stretch; }
  .btn-gold, .btn-primary,
  .btn-outline, .btn-ghost { justify-content: center; }

  .info-grid { grid-template-columns: 1fr; gap: var(--sp-1) var(--sp-3); }
  .info-grid dt { margin-top: var(--sp-3); font-size: .72rem; }
  .info-grid dt:first-child { margin-top: 0; }
  .info-grid dd { font-size: .88rem; }

  .data-table,
  .plans-table { font-size: .84rem; }
  .data-table tr,
  .plans-table tr { padding: var(--sp-3); }
  .data-table td,
  .plans-table td {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: var(--sp-2) 0;
  }

  .form-row { grid-template-columns: 1fr; }
  .quick-nav__list { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }

  .site-footer__links { gap: 0; }
  .site-footer__link, .site-footer__links a { font-size: .7rem; padding: 4px var(--sp-2); }
  .contact__email-link { font-size: .72rem; padding: var(--sp-3) var(--sp-3); gap: var(--sp-2); }
  .updated-badge { font-size: .68rem; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── LEGAL-MOBILE-NAV-1 — 1.8.36 ──────────────────────────────
   Astra wraps the legal navigation from 780px down, while the standalone
   page stylesheet historically kept a fixed 60px height. Around 481–520px
   that made Pricing/Support overflow into the hero. Let tablet navigation
   grow naturally, then use one compact brand + CTA row on phones. */
@media (max-width: 780px) {
  body.ghl-legal-page .site-nav {
    padding: 0;
  }
  body.ghl-legal-page .site-nav__inner {
    height: auto;
    min-height: 60px;
    padding: 10px var(--sp-5);
    flex-wrap: wrap;
    row-gap: var(--sp-2);
  }
  body.ghl-legal-page .site-nav__links {
    position: static;
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body.ghl-legal-page .site-nav__inner {
    min-height: 62px;
    padding: 9px var(--sp-4);
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: var(--sp-3);
  }
  body.ghl-legal-page .site-nav__brand {
    width: auto;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
  }
  body.ghl-legal-page .site-nav__links {
    display: none !important;
  }
  body.ghl-legal-page .site-nav__cta {
    width: auto;
    min-height: 42px;
    flex: 0 0 auto;
    padding: 8px var(--sp-4);
  }
}
