/* =========================================================
   JW Volunteer – Marketing Site Styles (Beacon, Oct 2026)
   Mirrors the app's Beacon look: brand #3E62A0, Inter,
   soft lavender canvas, rounded cards, uppercase eyebrows.
   ========================================================= */

/* ── Tokens ── */
:root {
  --brand:        #3E62A0;
  --brand-strong: #2F4E86;
  --brand-soft:   #E9EEF8;
  --brand-tint:   #F1F3FB;
  --accent:       #3E8E5E;
  --accent-soft:  #E5F3EA;
  --warn:         #B45309;
  --warn-soft:    #FDF2E3;
  --urgent:       #B42318;
  --urgent-soft:  #FDECEA;

  --ink:          #1F1B2D;
  --ink-2:        #4A4760;
  --ink-3:        #6E6B85;
  --canvas:       #F7F7FC;
  --surface:      #FFFFFF;
  --surface-2:    #F1F1F8;
  --line:         #E4E3EF;
  --frame:        #1C1B24;

  --radius-sm:    10px;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow-sm:    0 1px 2px rgba(31,27,45,.06), 0 1px 3px rgba(31,27,45,.05);
  --shadow:       0 8px 24px rgba(31,27,45,.08), 0 2px 6px rgba(31,27,45,.05);
  --shadow-lg:    0 30px 60px -20px rgba(31,27,45,.28), 0 12px 24px -12px rgba(31,27,45,.18);
  --max-w:        1180px;
  --gutter:       24px;
  --section-gap:  104px;

  /* Legacy aliases used by inline styles on support / privacy pages */
  --text:       var(--ink);
  --text-dark:  var(--ink);
  --text-mid:   var(--ink-2);
  --text-light: var(--ink-3);
  --bg:         var(--surface);
  --bg-alt:     var(--surface-2);
  --bg-subtle:  var(--canvas);
  --border:     var(--line);
  --brand-light: var(--brand-soft);
  --brand-dark:  var(--brand-strong);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand:        #8FA9DD;
    --brand-strong: #B4C6EC;
    --brand-soft:   #263250;
    --brand-tint:   #1D2335;
    --accent:       #6CC08E;
    --accent-soft:  #1D3327;
    --warn:         #F0B45A;
    --warn-soft:    #3A2C17;
    --urgent:       #F19A90;
    --urgent-soft:  #3D1F1C;
    --ink:          #ECEBF5;
    --ink-2:        #BEBCD0;
    --ink-3:        #9895AE;
    --canvas:       #121219;
    --surface:      #1B1B24;
    --surface-2:    #23232E;
    --line:         #2F2E3C;
    --frame:        #050508;
    --shadow-sm:    0 1px 2px rgba(0,0,0,.4);
    --shadow:       0 8px 24px rgba(0,0,0,.35);
    --shadow-lg:    0 30px 60px -20px rgba(0,0,0,.7), 0 12px 24px -12px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand:        #8FA9DD;
  --brand-strong: #B4C6EC;
  --brand-soft:   #263250;
  --brand-tint:   #1D2335;
  --accent:       #6CC08E;
  --accent-soft:  #1D3327;
  --warn:         #F0B45A;
  --warn-soft:    #3A2C17;
  --urgent:       #F19A90;
  --urgent-soft:  #3D1F1C;
  --ink:          #ECEBF5;
  --ink-2:        #BEBCD0;
  --ink-3:        #9895AE;
  --canvas:       #121219;
  --surface:      #1B1B24;
  --surface-2:    #23232E;
  --line:         #2F2E3C;
  --frame:        #050508;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.4);
  --shadow:       0 8px 24px rgba(0,0,0,.35);
  --shadow-lg:    0 30px 60px -20px rgba(0,0,0,.7), 0 12px 24px -12px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 3px; border-radius: 6px; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ink-2); line-height: 1.65; }
.eyebrow, .section-label {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.muted { color: var(--ink-3); }
strong { color: var(--ink); font-weight: 650; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-gap) 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-header { max-width: 720px; margin-bottom: 56px; }
.section-header.center, .center { text-align: center; margin-inline: auto; }
.section-header p { margin-top: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); color: #fff; }
:root[data-theme="dark"] .btn--primary, :root[data-theme="dark"] .btn--primary:hover { color: #10131c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary, :root:not([data-theme="light"]) .btn--primary:hover { color: #10131c; } }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: #2F4E86; }
.btn--white:hover { background: #EEF2FA; color: #2F4E86; }
.btn--outline-white { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-white:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 8px 16px; font-size: .875rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.nav__logo:hover { color: var(--ink); }
.nav__logo-mark, .logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-size: 0; flex: none;
}
.nav__logo-mark::before, .logo-mark::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: url("../images/logo-glyph.svg") center / contain no-repeat; mask: url("../images/logo-glyph.svg") center / contain no-repeat;
}
:root[data-theme="dark"] .nav__logo-mark { color: #10131c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav__logo-mark { color: #10131c; } }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 550; font-size: .94rem; }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a.active { color: var(--brand); background: var(--brand-soft); }
.nav__cta { margin-left: 8px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-2); flex: none;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--canvas); }
.nav__mobile a:not(.btn) { padding: 12px 8px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 12px; }
.nav__mobile.open { display: flex; }

/* ── Hero ── */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(520px 320px at 12% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero__badge b { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-top: 22px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: .9rem; color: var(--ink-3); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__visual { position: relative; min-height: 600px; }
.hero__visual .browser { position: absolute; right: -250px; top: 0; width: 760px; }
.hero__visual .phone { position: absolute; left: -36px; bottom: 0; width: 228px; z-index: 2; }

/* ── Device frames ── */
.phone {
  border-radius: 44px; padding: 30px 10px 12px; background: var(--frame);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 64px; height: 12px; border-radius: 999px; background: #2c2b36; z-index: 2; }
.phone img { border-radius: 8px 8px 32px 32px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--surface); }
.phone--tall img { aspect-ratio: auto; }
.browser {
  border-radius: 14px; background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.browser__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__bar i:nth-child(1) { background: #EE6A5F; } .browser__bar i:nth-child(2) { background: #F5BE4F; } .browser__bar i:nth-child(3) { background: #61C454; }
.browser__bar span { margin-left: 14px; flex: 1; max-width: 340px; height: 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .68rem; color: var(--ink-3); display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.browser--crop img { aspect-ratio: 16 / 10; }

/* Dark/light screenshot pairs */
.shot-dark { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }
:root[data-theme="dark"] .shot-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-dark { display: block !important; }
  :root:not([data-theme="light"]) .shot-light { display: none !important; }
}

/* ── Proof strip ── */
.proof { padding: 28px 0 8px; }
.proof__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.proof__item strong { display: block; font-size: 1.02rem; }
.proof__item span { font-size: .88rem; color: var(--ink-3); }

/* ── Cards ── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3, .card h4 { margin-bottom: 8px; }
.card p { font-size: .95rem; }
.card--soon { position: relative; }
.soon-badge {
  position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4;
  background: var(--warn-soft); color: var(--warn);
}
.icon-chip {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.icon-chip svg { width: 22px; height: 22px; }
.icon-chip--green { background: var(--accent-soft); color: var(--accent); }
.icon-chip--amber { background: var(--warn-soft); color: var(--warn); }
.icon-chip--red { background: var(--urgent-soft); color: var(--urgent); }
.card--link { display: block; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.card--link:hover { color: inherit; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 650; font-size: .9rem; color: var(--brand); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; background: var(--brand-soft); color: var(--brand); }
.tag--new { background: var(--accent-soft); color: var(--accent); }
.tag--role { background: var(--surface-2); color: var(--ink-2); }

/* ── New-in-2026 band ── */
.new-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.new-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.new-item .icon-chip { margin: 0; }
.new-item h4 { margin-bottom: 4px; }
.new-item p { font-size: .92rem; }

/* ── Feature rows ── */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row--flip .feature-row__media { order: -1; }
.feature-row--phone { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.feature-row--phone.feature-row--flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.feature-row__text h3 { margin-bottom: 14px; }
.feature-row__text > p { margin-bottom: 18px; }
.feature-row__media { position: relative; }
.feature-row__media .phone { max-width: 290px; margin-inline: auto; }
.phone-pair { display: flex; justify-content: center; gap: 22px; }
.phone-pair .phone { flex: 1; max-width: 250px; margin: 0; }
.phone-pair .phone:nth-child(2) { margin-top: 48px; }
.caption { margin-top: 14px; font-size: .84rem; color: var(--ink-3); text-align: center; }

.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: .97rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233E8E5E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ── Sub-nav (features page) ── */
.subnav { position: sticky; top: 68px; z-index: 40; background: color-mix(in srgb, var(--canvas) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gutter); max-width: var(--max-w); margin: 0 auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); }
.subnav a:hover, .subnav a.active { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); background: var(--brand-soft); }

.feature-section { padding: 88px 0 40px; }
.feature-section + .feature-section { border-top: 1px solid var(--line); }
.feature-section__head { max-width: 760px; margin-bottom: 8px; }
.feature-section__head p { margin-top: 14px; }

/* ── Gallery (secondary shots) ── */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.gallery figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.gallery figcaption { padding: 12px 16px; font-size: .86rem; color: var(--ink-2); }
.gallery figcaption strong { display: block; font-size: .92rem; }
.zoomable { cursor: zoom-in; }

/* ── Phone strip ── */
.phone-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; align-items: start; }
.phone-strip figure .phone { border-radius: 32px; padding: 22px 7px 9px; }
.phone-strip figure .phone::before { top: 8px; width: 46px; height: 8px; }
.phone-strip figure .phone img { border-radius: 6px 6px 24px 24px; }
.phone-strip figcaption { margin-top: 12px; text-align: center; font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.phone-strip figure:nth-child(even) { margin-top: 36px; }

/* ── Roles ── */
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.role-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.role-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.role-card__head .icon-chip { margin: 0; }
.role-card ul { display: grid; gap: 8px; margin-top: 4px; }
.role-card li { font-size: .92rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.role-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6; }

/* ── Steps ── */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__number { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--brand-soft); color: var(--brand); }
.step__content h4 { margin-bottom: 4px; }
.step__content p { font-size: .94rem; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.timeline__item .tag { margin-bottom: 12px; }
.timeline__item h4 { margin-bottom: 8px; }
.timeline__item p { font-size: .93rem; }

/* ── Info box ── */
.info-box { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); font-size: .94rem; color: var(--ink-2); }
.info-box strong { color: var(--ink); }
.info-box--green { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }

/* ── CTA ── */
.cta { padding: 0 0 var(--section-gap); }
.cta-block {
  border-radius: 28px; padding: 64px 48px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(500px 260px at 85% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, #3E62A0, #2A4478);
}
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,.86); max-width: 560px; margin: 16px auto 0; }
.cta-block__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 80px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1; background: radial-gradient(520px 300px at 80% 40%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.page-hero h1 { max-width: 15em; }
.page-hero .lead, .page-hero__lead { margin-top: 18px; max-width: 40em; font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--ink-2); }

/* ── FAQ ── */
.faq-group { margin-bottom: 56px; }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-weight: 650; font-size: 1rem; cursor: pointer; color: var(--ink); }
.faq-question:hover { color: var(--brand); }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--ink-2); transition: transform .2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-soft); color: var(--brand); }
.faq-answer { display: none; padding: 0 22px 20px; }
.faq-answer p + p, .faq-answer p + ul, .faq-answer ul + p { margin-top: 10px; }
.faq-answer ul { list-style: disc; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.faq-item.open .faq-answer { display: block; }
.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-toc { position: sticky; top: 96px; display: grid; gap: 4px; }
.faq-toc a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.faq-toc a:hover { background: var(--surface); color: var(--brand); }

/* ── Privacy / legal ── */
.privacy-body { max-width: 760px; }
.privacy-body h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.privacy-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.privacy-body p, .privacy-body li { color: var(--ink-2); }
.privacy-body p + p { margin-top: 12px; }
.privacy-body ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.privacy-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .93rem; }
.privacy-body th, .privacy-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.privacy-body th { color: var(--ink); background: var(--surface-2); }
.privacy-meta { font-size: .9rem; color: var(--ink-3); margin-bottom: 24px; }
.privacy-contact { margin-top: 32px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }

/* ── Support form ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.optional { font-weight: 500; color: var(--ink-3); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.info-card h4 { margin-bottom: 8px; }
.info-card p { font-size: .93rem; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.footer__logo:hover { color: var(--ink); }
.footer__brand p { font-size: .92rem; max-width: 30em; }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { color: var(--ink-2); font-size: .93rem; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }

/* ── Lightbox ── */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; margin: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 16, .82); }
.lightbox img { max-width: min(96vw, 1500px); max-height: 88vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox p { color: #E8E8F0; text-align: center; margin-top: 12px; font-size: .92rem; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #1F1B2D; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero__visual .browser { width: 560px; right: -120px; }
  .role-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone-strip figure:nth-child(n+4) { display: none; }
}
@media (max-width: 960px) {
  :root { --section-gap: 76px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { gap: 12px; }
  .theme-toggle { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: end; }
  .hero__visual .browser, .hero__visual .phone { position: static; width: auto; }
  .feature-row, .feature-row--phone, .feature-row--phone.feature-row--flip { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .feature-row--flip .feature-row__media { order: 0; }
  .grid-3, .new-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .proof__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-toc { position: static; display: flex; flex-wrap: wrap; }
  .subnav { top: 68px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-gap: 60px; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__visual { grid-template-columns: 1fr; justify-items: center; }
  .hero__visual .browser { display: none; }
  .hero__visual .phone { width: 250px; }
  .grid-2, .grid-3, .new-grid, .gallery, .role-grid, .timeline, .form-row { grid-template-columns: 1fr; }
  .proof__inner { grid-template-columns: 1fr 1fr; }
  .phone-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .phone-strip figure:nth-child(n+3) { display: none; }
  .phone-strip figure:nth-child(even) { margin-top: 24px; }
  .phone-pair .phone { max-width: 46%; }
  .phone-pair .phone:nth-child(2) { margin-top: 28px; }
  .cta-block { padding: 44px 22px; border-radius: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .card { padding: 22px; }
  .browser__bar span { display: none; }
  .hero__actions .btn { flex: 1; }
}

/* ── Skip link ── */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 650; }
.skip-link:focus { top: 12px; color: #fff; }
