/* Hera shared components — rebuilt from base-html/ (GooVie Design Canvas
   export). Clean, parameterized versions of the ~250 auto-generated
   hera-* one-off classes found there, collapsed into real reusable
   components. Section order below matches the Home page. */

/* ---- tags / icon circles ---- */
.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.03em; padding: 3px 10px; border-radius: var(--radius-pill); }
.tag-accent { background: var(--color-accent-800); color: var(--color-accent-100); }
html[data-theme="light"] .tag-accent { background: var(--color-accent-100); color: var(--color-accent-700); }

.icirc { color: var(--gold); border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); border-radius: 50%; display: grid; place-items: center; flex: none; }
.icirc--lg { width: 72px; height: 72px; font-size: 30px; }
.icirc--md { width: 62px; height: 62px; font-size: 26px; }
.icirc--sm { width: 44px; height: 44px; font-size: 19px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; padding: 12px 24px; border: 1.5px solid transparent; cursor: pointer; transition: background 120ms, border-color 120ms, transform 120ms; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
/* These were three gold literals, identical in both themes, so the primary
   button was the one control the theme switch could not reach. */
/* Each hover and active state restates its text colour. base.css's a:hover
   (specificity 0,1,1) outranks a lone .btn-* class (0,1,0), so without this an
   <a class="btn btn-primary"> took the link hover colour: violet text on a
   violet ground (#4718A6 on #5A1FD4 in the light theme). */
.btn-primary { background: var(--color-accent-fill); border-color: var(--color-accent-fill); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-fill-hover); border-color: var(--color-accent-fill-hover); color: var(--color-on-accent); }
.btn-primary:active { background: var(--color-accent-fill-active); border-color: var(--color-accent-fill-active); color: var(--color-on-accent); }
.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--color-text); }
.btn-outline-gold:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--color-text); }
.btn-outline-gold i { color: var(--gold); }
.btn-secondary { background: var(--color-surface); border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { border-color: var(--color-neutral-500); color: var(--color-text); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--color-text); padding: 12px 4px; }
.btn-ghost:hover { color: var(--color-accent); }
.btn-icon { padding: 0; width: 40px; height: 40px; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---- topbar ---- */
.topbar { border-bottom: 1px solid var(--color-divider); font-size: 13px; }
.topbar .row { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.topbar a { color: var(--color-neutral-400); }
.topbar a:hover { color: var(--color-accent); }
.topbar a.is-active { color: var(--color-text); font-weight: 600; }
@media (max-width: 640px) { .topbar { display: none; } }
.theme-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--color-divider); background: transparent; color: var(--color-neutral-400); cursor: pointer; }
.theme-toggle:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ---- header + mega menu ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--color-surface); border-bottom: 1px solid var(--color-divider); }
.site-header .row { display: flex; align-items: center; gap: 28px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 50px; }
/* Two logo images (Theme Options: Header Logo — Light/Dark mode), CSS
   swaps which one is visible so there's no JS/FOUC dependency for it. */
.brand-logo--dark { display: none; }
html[data-theme="dark"] .brand-logo--light { display: none; }
html[data-theme="dark"] .brand-logo--dark { display: block; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--color-text); background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link.is-open { color: var(--color-accent); }
/* In the desktop bar each link fills the header's full height, and its 1px
   underline is pulled down (margin-bottom: -1px) onto .site-header's own bottom
   border, so hover and current state read as that border turning violet. */
.main-nav { margin-left: 8px; display: flex; align-items: stretch; align-self: stretch; gap: 2px; }
.main-nav .nav-item { display: flex; }
.main-nav .nav-link { padding: 0 12px; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.main-nav .nav-link:hover, .main-nav .nav-link.is-open, .main-nav .nav-link.is-current { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.nav-link .caret { font-size: 11px; transition: transform 140ms; }
.nav-link.is-open .caret { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* Log in is a text link on both sites, never the header's primary button: most
   visitors have no account, and every competitor checked on 2026-09-28
   (TeamUpdraft, BackWPup, WP Rocket, Duplicator, Delicious Brains) does the same. */
.header-login { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; font-size: 14px; font-weight: 500; color: var(--color-text); white-space: nowrap; }
.header-login:hover { color: var(--color-accent); }
.header-login i { font-size: 16px; }
@media (max-width: 400px) {
  .header-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.burger { display: none; }

@keyframes heraDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* The panel starts below the header's 1px bottom border (top: 100% is the padding
   box, which would cover it) and has no 1px shadow ring, so that border and the
   violet nav underline on it stay visible while the panel is open. */
.mega { position: absolute; inset-inline: 0; top: calc(100% + 1px); background: var(--color-surface); border-bottom: 1px solid var(--color-divider); box-shadow: var(--shadow-drop); animation: heraDrop 160ms ease-out; z-index: 35; }
/* padding-block, not padding: this element is also a .container, and a shorthand
   here wiped the container's inline padding, pushing the panel 64px left of the
   header row it hangs from. */
.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; padding-block: 26px; }
.mega-items { display: flex; gap: clamp(14px, 2.5vw, 34px); flex-wrap: wrap; align-content: start; }
.mega-item { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 96px; text-decoration: none; color: var(--color-text); }
.mega-item .icirc { width: 62px; height: 62px; font-size: 26px; transition: border-color 120ms, background 120ms; }
.mega-item.is-active .icirc { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.mega-item span { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; }
.mega-detail { border-left: 1px solid var(--color-divider); padding-left: 28px; display: flex; flex-direction: column; gap: 6px; }
.mega-detail h4 { font-size: 19px; }
.mega-detail p { margin: 0; font-size: 13.5px; color: var(--color-neutral-400); }
.mega-detail .link { align-self: start; margin-top: 4px; }

/* Closed state comes from the [hidden] attribute (toggled by main.js) —
   no separate "display: none" rule here, or it would permanently win
   over JS removing the attribute. */
.mobile-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 420px) { .mobile-feature-grid { grid-template-columns: repeat(2, 1fr); } }

.mobile-nav {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-lg);
  animation: heraDrop 160ms ease-out;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  z-index: 35;
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .mega { display: none; }
}

/* WP admin bar: fixed at 32px tall on screens >=783px, so the sticky
   header needs to sit below it there or the bar covers its top ~32px on
   scroll. Below 783px core makes the admin bar unpositioned (scrolls
   away with the page), so no offset is needed there — matches WP core's
   own #wpadminbar breakpoint (782px), not this theme's 1020px one. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 0; }
}

/* ---- section shells ---- */
.section-eyebrow { display: block; text-align: center; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 12px; }
.section-filled-tint { background: color-mix(in srgb, var(--gold) 10%, var(--color-bg)); border-top: 1px solid color-mix(in srgb, var(--gold) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--gold) 20%, transparent); padding: clamp(32px, 5vh, 52px) 0; }

/* ---- hero ---- */
.hero { padding: clamp(48px, 8vh, 96px) 0; background: var(--color-surface); border-bottom: 1px solid var(--color-divider); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 15ch; margin: 16px 0; }
.hero h1 span { display: block; }
.hero .lede { font-size: 17px; line-height: 1.65; max-width: 52ch; color: var(--color-neutral-400); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--color-surface); }
.hero-media .frame { position: absolute; inset: 0; display: grid; place-items: center; background: var(--color-neutral-900); color: var(--color-neutral-500); font-size: 13px; }
html[data-theme="light"] .hero-media .frame { background: var(--color-neutral-800); }
.hero-media .play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: var(--gold); background: color-mix(in srgb, var(--color-surface) 82%, transparent); backdrop-filter: blur(6px); border: 1.5px solid var(--gold); cursor: pointer; }
.hero-media .caption { position: absolute; right: 12px; bottom: 8px; font: 10.5px ui-monospace, Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-500); }

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

/* ---- stats bar ---- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar > div { text-align: center; padding: 6px 12px; }
.stats-bar > div + div { border-left: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.stats-bar .num { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); }
.stats-bar .label { margin: 4px 0 0; font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-neutral-500); }
@media (max-width: 720px) { .stats-bar { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* ---- cards / feature grid ---- */
.card { background: var(--color-surface); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform 140ms, box-shadow 140ms; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { margin: 16px 0 8px; font-size: 18px; }
.card p { font-size: 14.5px; color: var(--color-neutral-400); line-height: 1.6; }
.card .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--gold); }
.card .link:hover { text-decoration: underline; text-underline-offset: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- use-case tabs ---- */
.usecase-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: stretch; }
.usecase-select { display: none; }
.usecase-list { display: flex; flex-direction: column; gap: 6px; }
.usecase-tab { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; text-align: left; color: var(--color-neutral-400); background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 13px 16px; cursor: pointer; transition: background 120ms, color 120ms; }
.usecase-tab i { font-size: 19px; color: var(--color-neutral-500); }
.usecase-tab.is-active { color: var(--color-text); background: var(--color-surface); border-color: var(--gold); }
.usecase-tab.is-active i { color: var(--gold); }
.usecase-panel { padding: 30px 32px; min-height: 320px; }
.usecase-panel h3 { margin: 18px 0 0; font-size: 22px; }
.usecase-panel p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--color-neutral-400); max-width: 58ch; }
.usecase-panel ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--color-neutral-300); }
.usecase-panel li { display: flex; gap: 9px; align-items: baseline; }
.usecase-panel li i { color: var(--gold); }
@media (max-width: 880px) { .usecase-grid { grid-template-columns: 1fr; } .usecase-list { display: none; } .usecase-select { display: block; position: relative; } .usecase-select select { padding-left: 38px; font-weight: 600; } .usecase-select i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--gold); pointer-events: none; } }

.input, select.input { width: 100%; min-height: 42px; padding: 8px 12px; font: inherit; font-size: 14px; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
.input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }
textarea.input { min-height: 120px; resize: vertical; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--color-neutral-400); }
/* #C25454 measured 4.10 on the light ground and 4.03 on the dark one — below AA
   in both themes, for the one message a user most needs to read. */
.field .error { display: block; font-size: 12px; color: var(--color-error); margin-top: 4px; }

/* ---- pricing ---- */
.billing-toggle { display: flex; justify-content: center; margin-bottom: 36px; }
.billing-toggle .pill { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--color-divider); border-radius: var(--radius-pill); background: var(--color-surface); }
.billing-toggle button { font-size: 13.5px; font-weight: 600; padding: 8px 20px; border: 0; border-radius: var(--radius-pill); cursor: pointer; background: transparent; color: var(--color-neutral-400); transition: background 120ms, color 120ms; }
.billing-toggle button.is-active { background: var(--color-text); color: var(--color-bg); }
.billing-toggle .save { font-weight: 700; color: var(--gold); }

.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); transition: transform 140ms, box-shadow 140ms; }
.plan .icirc { width: 52px; height: 52px; font-size: 24px; }
.plan:hover { transform: translateY(-3px); }
.plan--popular { background: var(--color-ink); color: var(--color-on-ink); box-shadow: 0 0 0 2px var(--color-ink-badge), 0 18px 40px rgba(24,21,29,0.28); transform: translateY(-8px); }
.plan--popular:hover { transform: translateY(-10px); }
/* This card's ground is --color-ink in BOTH themes, so every foreground inside it
   has to come from the ink set. .price span and .icirc were reading the page's
   own neutral/accent, which in the light theme are dark — dark text on a dark
   card. .tagline and .note were already overridden here; the other two were the
   same bug left unfinished. */
.plan--popular .tagline, .plan--popular .note, .plan--popular .price span { color: rgba(242,239,247,0.6); }
.plan--popular .divider { border-color: rgba(242,239,247,0.16); }
.plan--popular .icirc { color: var(--color-ink-accent); border-color: color-mix(in srgb, var(--color-ink-accent) 45%, transparent); background: color-mix(in srgb, var(--color-ink-accent) 12%, transparent); }
.plan--popular li i { color: var(--color-ink-accent); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--color-ink-badge); color: var(--color-ink); }
.plan h3 { margin: 18px 0 0; font-size: 18px; }
.plan .tagline { margin: 3px 0 0; font-size: 13px; color: var(--color-neutral-500); }
.plan .price { margin: 18px 0 0; font-feature-settings: 'tnum' 1; }
.plan .price b { font-family: var(--font-heading); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; }
.plan .price span { font-size: 13px; color: var(--color-neutral-500); }
.plan .note { margin: 4px 0 0; font-size: 12px; min-height: 18px; color: var(--color-neutral-500); font-feature-settings: 'tnum' 1; }
.plan ul { list-style: none; margin: 18px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; flex: 1; }
.plan li { display: flex; gap: 9px; align-items: baseline; }
.plan li i { color: var(--gold); }
.plan .btn { margin-top: auto; }
@media (max-width: 1020px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } .plan--popular, .plan--popular:hover { transform: none; } }
@media (max-width: 620px) { .plans-grid { grid-template-columns: 1fr; } }

/* ---- compare table ---- */
.compare-desktop { border: 1px solid var(--color-divider); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-sm); }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; border-top: 1px solid var(--color-divider); }
.compare-row:first-child { border-top: 0; }
.compare-row .h-label {}
.compare-row .h-plan { padding: 22px 12px 16px; text-align: center; }
.compare-row .h-plan.is-pro { background: color-mix(in srgb, var(--gold) 8%, transparent); border-left: 1px solid var(--color-divider); }
.compare-row .cell { padding: 13px 22px; font-size: 14px; }
.compare-row .cell.center { padding: 13px 12px; text-align: center; color: var(--color-neutral-500); font-feature-settings: 'tnum' 1; }
.compare-row .cell.center.is-pro { font-weight: 600; background: color-mix(in srgb, var(--gold) 8%, transparent); border-left: 1px solid var(--color-divider); }
.compare-mobile { display: none; }
@media (max-width: 720px) {
  .compare-desktop { display: none; }
  .compare-mobile { display: block; display: grid; gap: 18px; }
  .compare-mobile .plan-box { border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface); padding: 22px; }
  .compare-mobile .plan-box.is-pro { box-shadow: 0 0 0 2px var(--gold); position: relative; }
  .compare-mobile ul { list-style: none; margin: 14px 0 18px; padding: 0; }
  .compare-mobile li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--color-divider); font-size: 13.5px; }
}

/* ---- guarantee band ---- */
.guarantee { border-top: 1px solid var(--color-divider); background: var(--color-surface); padding: clamp(40px, 6vh, 64px) 0; }
.guarantee-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(28px, 5vw, 72px); }
.guarantee-main { display: flex; align-items: flex-start; gap: 20px; flex: 1 1 420px; }
.guarantee-main .icirc { width: 64px; height: 64px; font-size: 32px; color: var(--color-on-accent); background: var(--color-accent-fill); border: none; }
.guarantee-main h2 { font-size: 26px; }
.guarantee-main p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--color-neutral-400); max-width: 52ch; }
.pay-icons { flex: 1 1 300px; }
.pay-icons .caption { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-500); }
.pay-icons .row { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-icons .badge { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--color-divider); border-radius: 50%; background: var(--color-surface); font-size: 20px; color: var(--gold); }

/* ---- testimonials / marquee ---- */
.quotes-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.quote-lg { font-family: var(--font-heading); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; letter-spacing: -0.01em; max-width: 34ch; margin: 0; text-indent: -0.47em; }
.quote-lg + figcaption { font-size: 15px; color: var(--color-neutral-400); margin-top: 22px; text-indent: -1.27em; }
@keyframes heraScrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes heraScrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { height: 420px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent, black 48px, black calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, transparent, black 48px, black calc(100% - 48px), transparent); }
.marquee-track { display: flex; flex-direction: column; animation: heraScrollUp 28s linear infinite; }
.marquee-track > .review { margin-bottom: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.review { padding: 20px 22px; }
.review p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--color-neutral-300); }
.review .who { margin-top: 8px; font-size: 11px; color: var(--color-neutral-500); }
@media (max-width: 960px) { .quotes-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .marquee { height: auto; -webkit-mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent); mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent); }
  .marquee-track { flex-direction: row; width: max-content; animation: heraScrollLeft 26s linear infinite; }
  .marquee-track > .review { margin-bottom: 0; margin-right: 16px; width: min(320px, 76vw); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- FAQ ---- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--color-divider); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 500; }
.faq-item summary:hover { color: var(--color-accent); }
.faq-item summary i { color: var(--gold); flex: none; transition: transform 140ms; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--color-neutral-300); max-width: 68ch; }

/* ---- CTA band ---- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--color-ink); color: var(--color-on-ink); }
.cta-band h2 { color: var(--color-on-ink); font-size: 24px; }
.cta-band p { margin: 8px 0 0; font-size: 14.5px; color: rgba(242,239,247,0.65); max-width: 48ch; }

/* ---- footer ---- */
.site-footer { background: var(--color-ink-deep); padding: clamp(40px, 6vh, 64px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; }
.footer-logo { height: 28px; }
/* The footer band is always dark, so the footer logo is ALWAYS the white
   variant — it does not swap with the page theme the way the header's does.
   It used to swap, which put the colour mark on the near-black band whenever
   the page was in light mode. That was survivable while the mark was gold
   (7.93:1 on #100E14) and stopped being so when the mark became violet
   (3.06:1) — the swap was always wrong, the old palette just hid it.
   The header logo DOES swap, correctly: its ground is --color-surface. */
.footer-logo--light { display: none; }
.footer-logo--dark { display: block; }
/* Was ".footer-col p.desc" but the blurb <p> lives in the first (brand)
   column, which has no .footer-col class — that selector never matched,
   so the paragraph fell through to the inherited --color-text instead of
   this fixed light-on-dark value. Looked fine in dark mode by accident
   (--color-text is already light there) and unreadable in light mode
   (--color-text turns near-black, on a footer that's always dark). */
.site-footer .desc { font-size: 13.5px; line-height: 1.6; color: rgba(242,239,247,0.55); max-width: 30ch; margin: 0; }
.site-footer .desc + .desc { margin-top: 8px; }
/* The page's own link colour is dark in the light theme; on this band it would vanish. */
.site-footer .desc a { color: var(--color-on-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .desc a:hover { color: var(--color-ink-accent); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-on-ink); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(242,239,247,0.72); padding: 4px 0; }
.footer-col a:hover { color: var(--color-ink-accent); }
.footer-bottom { margin-top: 36px; font-size: 12px; color: rgba(242,239,247,0.45); font-feature-settings: 'tnum' 1; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }


/* ---- split section (About story) ---- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.split-grid p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; color: var(--color-neutral-400); }
.split-grid p:last-child { margin-bottom: 0; }
.split-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
@media (max-width: 960px) { .split-grid { grid-template-columns: 1fr; } }

/* ---- team grid ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.team-card .avatar { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--color-on-accent); background: var(--color-accent-fill); margin-bottom: 10px; }
.team-card .name { margin: 0; font-size: 15.5px; font-weight: 700; }
.team-card .role { margin: 0; font-size: 13px; color: var(--color-neutral-500); }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- placeholder media frame (replaces <image-slot> from the reference) ---- */
.media-frame { display: grid; place-items: center; width: 100%; height: 100%; background: var(--color-neutral-900); color: var(--color-neutral-500); font-size: 12.5px; text-align: center; padding: 12px; }
html[data-theme="light"] .media-frame { background: var(--color-neutral-800); }

/* ---- blog: featured post + grid + pagination ---- */
.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: center; text-decoration: none; color: var(--color-text); background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.featured-post .media { aspect-ratio: 16 / 10; }
.featured-post .content { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; }
.featured-post .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.featured-post .title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.012em; margin-top: 6px; }
.featured-post .excerpt { font-size: 14.5px; line-height: 1.65; color: var(--color-neutral-400); margin-top: 6px; }
.featured-post .meta { font-size: 12.5px; color: var(--color-neutral-500); margin-top: 12px; font-feature-settings: 'tnum' 1; }
.featured-post .read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold); margin-top: 14px; }
@media (max-width: 960px) { .featured-post { grid-template-columns: 1fr; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--color-text); background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 140ms, box-shadow 140ms; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .media { aspect-ratio: 16 / 9; }
.post-card .body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; flex: 1; }
.post-card .cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.post-card .title { font-family: var(--font-heading); font-weight: 700; font-size: 17px; line-height: 1.35; letter-spacing: -0.008em; }
.post-card .excerpt { font-size: 13.5px; line-height: 1.6; color: var(--color-neutral-400); flex: 1; }
.post-card .meta { font-size: 12px; color: var(--color-neutral-500); font-feature-settings: 'tnum' 1; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button, .pagination a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-divider); background: transparent; color: var(--color-neutral-500); display: grid; place-items: center; cursor: pointer; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.pagination .is-current { border-color: var(--color-accent-fill); background: var(--color-accent-fill); color: var(--color-on-accent); font-weight: 700; }
.pagination button:disabled { opacity: 0.4; cursor: default; }

/* ---- article ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-neutral-500); }
.breadcrumb a { color: var(--color-neutral-500); }
.breadcrumb a:hover { color: var(--color-accent); }
.article-meta { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.article-meta .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--color-on-accent); background: var(--color-accent-fill); flex: none; }
.article-meta .who { display: flex; flex-direction: column; gap: 2px; }
.article-meta .who .name { font-size: 14px; font-weight: 600; }
.article-meta .who .sub { font-size: 12.5px; color: var(--color-neutral-500); font-feature-settings: 'tnum' 1; }
.article-meta .share { margin-left: auto; display: flex; gap: 8px; }
.article-meta .share button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--color-divider); background: transparent; color: var(--color-neutral-400); display: grid; place-items: center; cursor: pointer; }
.article-meta .share button:hover { color: var(--gold); border-color: var(--gold); }
.article-hero { margin: 28px 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 8; }

.article-body { max-width: 760px; margin: 0 auto; padding-top: 36px; }
.article-body p { font-size: 16px; line-height: 1.75; color: var(--color-neutral-300); margin: 0 0 18px; }
html[data-theme="light"] .article-body p { color: var(--color-neutral-200); }
.article-body h2 { font-size: 24px; letter-spacing: -0.012em; margin: 34px 0 14px; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; font-size: 16px; line-height: 1.75; color: var(--color-neutral-300); }
html[data-theme="light"] .article-body ul { color: var(--color-neutral-200); }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--gold) 8%, var(--color-surface)); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); margin: 0 0 26px; }
.callout i { color: var(--gold); flex: none; margin-top: 2px; font-size: 20px; }
.callout p { margin: 0; font-size: 14px; line-height: 1.6; }
.article-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: -0.008em; }
.article-body pre { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-ink-deep); color: var(--color-on-ink); font-size: 13px; line-height: 1.7; overflow-x: auto; }
.author-bio { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); margin: 36px 0 0; }
.author-bio .avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 700; color: var(--color-on-accent); background: var(--color-accent-fill); }
.author-bio .name { display: block; font-size: 14.5px; font-weight: 700; }
.author-bio .bio { display: block; font-size: 13px; line-height: 1.6; color: var(--color-neutral-400); margin-top: 3px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--color-text); background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px 22px; transition: transform 140ms, box-shadow 140ms; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card .cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.related-card .title { font-family: var(--font-heading); font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.related-card .meta { font-size: 12px; color: var(--color-neutral-500); font-feature-settings: 'tnum' 1; }
@media (max-width: 960px) { .related-grid { grid-template-columns: 1fr; } }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; text-decoration: none; color: var(--color-text); transition: transform 140ms, box-shadow 140ms; }
a.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.info-card .title { display: block; font-size: 15px; font-weight: 700; }
.info-card .sub { display: block; font-size: 13px; color: var(--color-neutral-500); margin-top: 2px; }
.info-card .go { margin-left: auto; color: var(--gold); }
.info-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-neutral-500); }
.info-note i { color: var(--gold); }
.contact-form { padding: clamp(24px, 3vw, 36px); }
.contact-form h2 { margin-bottom: 20px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } .form-grid-2 { grid-template-columns: 1fr; } }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .note { font-size: 12.5px; color: var(--color-neutral-500); }
.success-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 12px; }
.success-state .icirc { width: 64px; height: 64px; font-size: 30px; color: var(--color-on-accent); background: var(--color-accent-fill); border: none; }
.success-state h2 { margin: 8px 0 0; font-size: 22px; }
.success-state p { margin: 0; font-size: 14.5px; color: var(--color-neutral-400); max-width: 40ch; }

/* ---- utility ---- */
.text-muted { color: var(--color-neutral-400); }
.text-center { text-align: center; }
.hr { height: 1px; border: 0; margin: 0; background: linear-gradient(to right, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent); }
