/* ==========================================================================
   Soittovahti — design tokens
   Dark palette is the default (primary brand mood); light palette overrides
   via prefers-color-scheme so the site still respects system preference.
   ========================================================================== */

:root {
  --bg: #0a0d12;
  --bg-elevated: #12161d;
  --bg-elevated-2: #171c24;
  --border: #262c36;
  --border-strong: #333b48;
  --text: #f4f6f8;
  --text-muted: #9aa3af;
  --text-faint: #909aa8;

  --accent: #f0a93e;
  --accent-strong: #ffc266;
  --accent-ink: #241505;
  --accent-2: #6c8cff;
  --bubble-out-ink: #0a0d12;
  --accent-2-strong: #8fa6ff;
  --success: #34d399;
  --success-ink: #052e21;
  --danger: #f87171;

  --mesh-opacity: .5;
  --overlay-scrim: rgba(6, 8, 11, .6);

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container-w: 1160px;
  --header-h: 76px;

  --ease: cubic-bezier(.16, .8, .24, 1);
  --dur-fast: .18s;
  --dur-med: .32s;
  --dur-slow: .7s;

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf9f7;
    --bg-elevated: #ffffff;
    --bg-elevated-2: #f3f1ec;
    --border: #e6e1d8;
    --border-strong: #d2cabb;
    --text: #17181b;
    --text-muted: #52565f;
    --text-faint: #5c616c;

    --accent: #b36f16;
    --accent-strong: #8f590f;
    --accent-ink: #1a1006;
    --accent-2: #3457d5;
    --bubble-out-ink: #ffffff;
    --accent-2-strong: #23408f;
    --success: #0f7d54;
    --success-ink: #ecfdf5;
    --danger: #c0271b;

    --mesh-opacity: .16;
    --overlay-scrim: rgba(255, 255, 255, .7);

    color-scheme: light;
  }
}

/* Cross-document page transitions — supporting browsers get an automatic
   crossfade between pages; unsupported browsers just navigate normally. */
@view-transition {
  navigation: auto;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1000px) { .container { padding-inline: 2.5rem; } }

section { position: relative; }

.section {
  padding-block: clamp(3.5rem, 3rem + 3vw, 6.5rem);
}
.section-tight { padding-block: clamp(2.5rem, 2.2rem + 1.6vw, 4rem); }
.section-header { max-width: 46rem; margin-bottom: clamp(2rem, 1.6rem + 2vw, 3.5rem); }
.section-header.center { margin-inline: auto; text-align: center; }

.stack { display: flex; flex-direction: column; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: clamp(2rem, 1.6rem + 2vw, 3.5rem);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: '';
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--accent);
}

h1, .h1 { font-size: clamp(2.25rem, 1.55rem + 3.1vw, 3.75rem); }
h2, .h2 { font-size: clamp(1.75rem, 1.45rem + 1.6vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.13rem + .6vw, 1.5rem); }
h4, .h4 { font-size: 1.0625rem; }

.lead {
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.55;
}

.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); font-size: .875rem; }
.text-accent { color: var(--accent-2); }
.text-center { text-align: center; }

.mono-figure {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ==========================================================================
   Icons (used with the shared <symbol> sprite included on every page)
   ========================================================================== */

.icon {
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.08) inset;
}
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2-strong); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding-inline: 0;
}
.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .4);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-2) 130%);
  color: var(--accent-ink);
}
.brand-mark svg { width: 18px; height: 18px; }

.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: .35rem;
  transition: color var(--dur-fast) var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right var(--dur-med) var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { right: 0; background: var(--accent-2); }

.header-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding-inline: .7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.lang-switch:hover { color: var(--text); border-color: var(--accent-2); }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--bg-elevated); }
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast) var(--ease), top var(--dur-med) var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav ul { padding-block: .5rem 1.25rem; }
.mobile-nav a {
  display: block;
  padding: .85rem .25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a[aria-current="page"] { color: var(--accent-2-strong); }
.mobile-nav .btn { margin-top: 1rem; }

@media (min-width: 900px) {
  .site-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 2.6rem + 2vw, 4.5rem) 2.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand p { margin-top: .75rem; max-width: 30ch; color: var(--text-muted); font-size: .9375rem; }
.footer-col h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a, .footer-col p { color: var(--text-muted); font-size: .9375rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: clamp(2rem, 1.7rem + 1.6vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--text-faint);
}

/* ==========================================================================
   Hero mesh / ambient gradient
   ========================================================================== */

.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-mesh span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: var(--mesh-opacity);
  will-change: transform;
  animation: mesh-drift 24s var(--ease) infinite alternate;
}
.hero-mesh span:nth-child(1) { width: 42vw; height: 42vw; max-width: 620px; max-height: 620px; background: var(--accent-2); top: -14%; left: -8%; animation-duration: 26s; }
.hero-mesh span:nth-child(2) { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; background: #7c3aed; top: 6%; right: -10%; animation-duration: 30s; animation-delay: -6s; }
.hero-mesh span:nth-child(3) { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; background: var(--accent); bottom: -16%; left: 22%; animation-duration: 22s; animation-delay: -11s; }

@keyframes mesh-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(5%, 7%) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh span { animation: none; }
}

/* ==========================================================================
   Scroll reveal (progressive enhancement — visible by default without JS)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ==========================================================================
   Parallax float (hero mockup)
   ========================================================================== */

.js [data-parallax] { will-change: transform; }

.float {
  animation: float-bob 7s ease-in-out infinite;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.card-interactive:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.5);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--bg-elevated-2);
  color: var(--accent-2);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .625rem; }
.card p { color: var(--text-muted); font-size: .9375rem; }

/* ==========================================================================
   Pills / status badges
   ========================================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
}
.pill::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.pill-new { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2-strong); }
.pill-progress { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-strong); }
.pill-done { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }

/* ==========================================================================
   Phone / SMS mockup
   ========================================================================== */

.phone-mockup {
  --pm-w: min(300px, 78vw);
  width: var(--pm-w);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 34px;
  padding: .9rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.phone-mockup-screen {
  background: var(--bg);
  border-radius: 24px;
  padding: 1.1rem .9rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.phone-mockup-notch {
  width: 90px; height: 6px;
  background: var(--border-strong);
  border-radius: var(--radius-full);
  margin: 0 auto .75rem;
}
.bubble {
  max-width: 84%;
  padding: .65rem .85rem;
  border-radius: 16px;
  font-size: .85rem;
  line-height: 1.45;
}
.bubble-in {
  align-self: flex-start;
  background: var(--bg-elevated-2);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.bubble-out {
  align-self: flex-end;
  background: var(--accent-2);
  color: var(--bubble-out-ink);
  border-bottom-right-radius: 4px;
}
.bubble-meta {
  font-size: .6875rem;
  color: var(--text-faint);
  align-self: flex-start;
  padding-left: .2rem;
}

/* ==========================================================================
   Browser / dashboard mockup
   ========================================================================== */

.browser-mockup {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(0,0,0,.5);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated-2);
}
.browser-chrome span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.lead-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1rem;
  align-items: center;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.lead-row:last-child { border-bottom: none; }
.lead-row strong { font-size: .9375rem; }
.lead-row .text-faint { grid-column: 1; }

/* ==========================================================================
   Tabs (toimialat)
   ========================================================================== */

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.tab {
  padding: .65rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease);
}
.tab:hover { border-color: var(--border-strong); color: var(--text); }
.tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.tabpanel[hidden] { display: none; }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  font-size: .9375rem;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 25%, transparent);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: .8125rem; color: var(--text-faint); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  border: 1px solid var(--border);
}

/* ==========================================================================
   Stat row
   ========================================================================== */

.stat-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row .stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  font-weight: 600;
}
.stat-row .stat-label { color: var(--text-muted); font-size: .875rem; margin-top: .25rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.5rem + 1.2vw, 2.75rem);
  position: relative;
}
.price-card.is-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -32px color-mix(in srgb, var(--accent) 40%, transparent);
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2.1rem + 1.6vw, 3.25rem);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: .35rem;
}
.price-amount span { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-list { display: flex; flex-direction: column; gap: .75rem; margin-block: 1.75rem; }
.price-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9375rem; }
.price-list li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: .15rem; color: var(--success); }

/* ==========================================================================
   Accordion (used sparingly for FAQ-style clarifications)
   ========================================================================== */

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}
.accordion-trigger svg { flex-shrink: 0; transition: transform var(--dur-med) var(--ease); }
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion-panel {
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease);
}
.js .accordion-panel { max-height: 0; }
.accordion-panel p { padding-bottom: 1.25rem; color: var(--text-muted); max-width: 60ch; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 1.9rem + 1.8vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .btn-row { margin-top: 1.75rem; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: .75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.hidden { display: none !important; }

@media (min-width: 900px) {
  .cols-reverse-mobile { flex-direction: row; }
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
}
