/* ==========================================================================
   Purple Byte Technology Ltd — design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-900: #3d2764;
  --brand-800: #4b3079;
  --brand-700: #5E3E96;   /* accent — deep */
  --brand-600: #6b4fa1;
  --brand-500: #7A66A8;   /* accent — primary */
  --brand-400: #9483bd;
  --brand-300: #b3a6d1;
  --brand-200: #d6cde8;
  --brand-100: #ece7f5;
  --brand-050: #f6f3fb;

  /* Surface + ink (light) */
  --bg:          #ffffff;
  --bg-alt:      #f7f5fb;
  --surface:     #ffffff;
  --surface-2:   #f4f1fa;
  --ink:         #16121f;
  --ink-2:       #3d3752;
  --muted:       #635d78;
  --border:      rgba(94, 62, 150, 0.14);
  --border-soft: rgba(94, 62, 150, 0.08);

  --ring: rgba(122, 102, 168, 0.35);
  --shadow-sm: 0 1px 2px rgba(22, 18, 31, .06), 0 1px 3px rgba(22, 18, 31, .04);
  --shadow-md: 0 4px 12px rgba(45, 28, 78, .07), 0 12px 28px rgba(45, 28, 78, .06);
  --shadow-lg: 0 8px 24px rgba(45, 28, 78, .10), 0 28px 64px rgba(45, 28, 78, .12);
  --shadow-glow: 0 10px 30px rgba(94, 62, 150, .28);

  --grad: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  --grad-soft: linear-gradient(135deg, rgba(122,102,168,.12), rgba(94,62,150,.06));

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0c0a13;
    --bg-alt:      #110e1b;
    --surface:     #14111f;
    --surface-2:   #1a1628;
    --ink:         #f4f2f9;
    --ink-2:       #cec9de;
    --muted:       #a49dbb;
    --border:      rgba(180, 160, 220, 0.16);
    --border-soft: rgba(180, 160, 220, 0.09);
    --ring: rgba(148, 131, 189, 0.45);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 4px 14px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.3);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.45), 0 34px 70px rgba(0,0,0,.4);
    --grad-soft: linear-gradient(135deg, rgba(122,102,168,.20), rgba(94,62,150,.08));
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:          #0c0a13;
  --bg-alt:      #110e1b;
  --surface:     #14111f;
  --surface-2:   #1a1628;
  --ink:         #f4f2f9;
  --ink-2:       #cec9de;
  --muted:       #a49dbb;
  --border:      rgba(180, 160, 220, 0.16);
  --border-soft: rgba(180, 160, 220, 0.09);
  --ring: rgba(148, 131, 189, 0.45);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 14px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.3);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.45), 0 34px 70px rgba(0,0,0,.4);
  --grad-soft: linear-gradient(135deg, rgba(122,102,168,.20), rgba(94,62,150,.08));
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.022em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.7rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.32rem); }
p  { color: var(--ink-2); }

::selection { background: var(--brand-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand-700); color: #fff; padding: 10px 16px;
  border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-500);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}
.center .eyebrow::before { display: none; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; font-size: 1.06rem; color: var(--muted); }

.lead { font-size: clamp(1.02rem, .96rem + .4vw, 1.19rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .22s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn--primary { background-image: var(--btn-bg); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 14px 38px rgba(94, 62, 150, .38); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand-400); box-shadow: var(--shadow-md); }

.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.24); }

.btn--white { background: #fff; color: var(--brand-900); }
.btn--sm { padding: 10px 18px; font-size: .89rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .93rem; color: var(--brand-500);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--border-soft); box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; gap: 20px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; font-weight: 700; letter-spacing: -.02em; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; flex: none; box-shadow: var(--shadow-glow); }
.brand__name { font-size: 1.02rem; line-height: 1.15; }
.brand__name span { display: block; font-size: .68rem; font-weight: 550; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-size: .93rem; font-weight: 550; color: var(--ink-2);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a[aria-current="page"] { color: var(--brand-500); font-weight: 650; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-2); cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.icon-btn:hover { color: var(--brand-500); border-color: var(--brand-300); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 12px; font-size: 1rem; }
  .nav__toggle { display: grid; }
  .nav__actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 100px); }
.hero__bg { position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1; pointer-events: none; }
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero__bg::before { width: 620px; height: 620px; left: 4%; top: 0; background: radial-gradient(circle, rgba(122,102,168,.55), transparent 68%); }
.hero__bg::after  { width: 560px; height: 560px; right: 2%; top: 90px; background: radial-gradient(circle, rgba(94,62,150,.45), transparent 68%); }

.hero__grid {
  display: grid; gap: clamp(40px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 550; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge b { font-weight: 650; color: var(--brand-500); }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #34c98a; box-shadow: 0 0 0 4px rgba(52,201,138,.18); margin-left: 6px; }

.hero h1 { margin-top: 22px; }
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 20px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .88rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--brand-500); flex: none; }

/* Hero visual — abstract product panel */
.panel {
  position: relative; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); }
.panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.panel__bar i:first-child { background: var(--brand-400); }
.panel__bar span { margin-left: 8px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.panel__body { padding: 20px; display: grid; gap: 14px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-mini { padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border-soft); }
.stat-mini b { display: block; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.stat-mini span { font-size: .72rem; color: var(--muted); }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 132px; padding: 16px; border-radius: var(--radius-sm); background: var(--grad-soft); border: 1px solid var(--border-soft); }
.chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--grad); opacity: .35; animation: grow 1.1s var(--ease) backwards; }
.chart i:nth-child(1){ height: 38%; animation-delay:.05s } .chart i:nth-child(2){ height: 58%; animation-delay:.1s }
.chart i:nth-child(3){ height: 44%; animation-delay:.15s } .chart i:nth-child(4){ height: 72%; animation-delay:.2s }
.chart i:nth-child(5){ height: 62%; animation-delay:.25s } .chart i:nth-child(6){ height: 88%; opacity:.85; animation-delay:.3s }
.chart i:nth-child(7){ height: 100%; opacity: 1; animation-delay:.35s }
@keyframes grow { from { height: 6%; opacity: 0 } }

.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border-soft); }
.row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); flex: none; }
.row .lbl { font-size: .82rem; font-weight: 550; }
.row .val { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; color: var(--brand-500); }

.float-card {
  position: absolute; right: 0; bottom: -64px;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  animation: bob 5s ease-in-out infinite;
}
.float-card__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.float-card__ico svg { width: 17px; height: 17px; }
.float-card b { display: block; font-size: .84rem; }
.float-card span { font-size: .72rem; color: var(--muted); }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@media (prefers-reduced-motion: reduce) { .float-card, .chart i { animation: none } }
@media (max-width: 520px) { .float-card { display: none } }

/* ---------- Logo / trust strip ---------- */
.strip { padding-block: 34px; border-block: 1px solid var(--border-soft); background: var(--bg-alt); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; }
.strip p { flex: none; font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 14px 32px; list-style: none; padding: 0; }
.strip li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.strip svg { width: 18px; height: 18px; color: var(--brand-500); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-soft); opacity: 0; transition: opacity .28s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.card:hover::after { opacity: .55; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; font-size: .95rem; }

.card__ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-glow);
}
.card__ico svg { width: 22px; height: 22px; }

.card__list { margin-top: 18px; padding: 0; list-style: none; display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--muted); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 13px; height: 7px;
  border-left: 2px solid var(--brand-500); border-bottom: 2px solid var(--brand-500);
  transform: rotate(-45deg);
}
.card .link-arrow { margin-top: 20px; }

/* Numbered steps */
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step__n {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brand-500); display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--brand-050); border: 1px solid var(--border-soft);
}
:root[data-theme="dark"] .step__n { background: rgba(122,102,168,.14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step__n { background: rgba(122,102,168,.14); } }
.step h3 { margin-top: 16px; }
.step p { margin-top: 9px; font-size: .93rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.stat b { display: block; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 750; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .88rem; color: var(--muted); }

/* Feature split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.feature-list { display: grid; gap: 20px; margin-top: 28px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.feature-list .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-soft); color: var(--brand-500); }
.feature-list .fi svg { width: 19px; height: 19px; }
.feature-list b { display: block; font-size: 1rem; }
.feature-list p { margin-top: 4px; font-size: .93rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(38px, 5vw, 62px);
  background: var(--grad); color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 18% -20%, rgba(255,255,255,.28), transparent 62%),
              radial-gradient(600px 300px at 92% 120%, rgba(255,255,255,.18), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.86); max-width: 56ch; margin-inline: auto; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(30px, 4vw, 52px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border); color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .72; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--ring);
}
.form__note { font-size: .8rem; color: var(--muted); }
.form__note a { color: var(--brand-500); font-weight: 600; }

.info-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.info-list { display: grid; gap: 20px; margin-top: 20px; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.info-list .fi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.info-list .fi svg { width: 18px; height: 18px; }
.info-list b { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.info-list a, .info-list p { font-size: 1rem; color: var(--ink); margin-top: 3px; font-weight: 550; }
.info-list a:hover { color: var(--brand-500); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid var(--brand-500); border-bottom: 2px solid var(--brand-500);
  transform: rotate(45deg) translateY(-2px); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details[open] summary { color: var(--brand-500); }
.faq p { padding: 0 22px 20px; font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__about p { margin-top: 16px; font-size: .93rem; color: var(--muted); max-width: 34ch; }
.footer h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.footer ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 11px; }
.footer ul li { font-size: .93rem; color: var(--muted); }
.footer a { font-size: .93rem; color: var(--ink-2); transition: color .18s var(--ease); }
.footer a:hover { color: var(--brand-500); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  font-size: .85rem; color: var(--muted);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(50px, 6vw, 84px) clamp(34px, 4vw, 52px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 640px; height: 460px; left: 50%; top: -240px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(122,102,168,.34), transparent 66%); filter: blur(70px); z-index: -1;
}
.page-hero h1 { margin-top: 16px; max-width: 18ch; }
.page-hero .lead { margin-top: 18px; max-width: 62ch; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound__code { font-size: clamp(4.5rem, 3rem + 9vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
