/* =========================================================================
   ScaleOn Technologies — Kurumsal Web Sitesi
   Design system / global stylesheet
   Tek dosya, sıfır bağımlılık. Renkler ve tipografi :root altında.
   ========================================================================= */

/* ----- 1. Design tokens -------------------------------------------------- */
:root {
  /* Deep slate-blue — koyu bantlar (hero değil), terminal, panel--dark */
  --navy-900: #14213d;
  --navy-800: #1c2e52;
  --navy-700: #26406e;
  --navy-600: #34527e;

  /* Marka — sakin, güven veren mavi + yumuşak teal */
  --brand-600: #2f56d9;
  --brand-500: #3f6fe0;
  --brand-400: #7099ee;
  --cyan-400:  #3fd0bd;          /* açık teal (koyu zeminde vurgu) */
  --cyan-500:  #12a594;          /* teal (degrade ikinci renk) */

  --ink-900: #17233b;
  --ink-700: #33415c;
  --ink-500: #5b6a85;
  --ink-400: #7d8ba4;
  --line:    #e6ebf3;
  --line-strong: #d0d8e6;

  --bg:        #ffffff;
  --bg-muted:  #f5f8fc;          /* çok hafif mavi tonlu açık zemin */
  --bg-muted-2:#eaf0f9;
  --surface:   #ffffff;          /* kartlar, girişler, açılır menü */
  --header-bg: rgba(255, 255, 255, 0.85);
  --link:      #2f56d9;          /* bağlantı + vurgu metni (temaya duyarlı) */
  --accent:    #2f56d9;

  --success: #0f9d6f;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(0.98rem, 0.95rem + 0.15vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.75vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.25vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-5:  clamp(2.5rem, 1.9rem + 3vw, 4.2rem);

  /* Space + shape */
  --container: 1180px;
  --container-narrow: 820px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23, 35, 59, 0.04),
               0 3px 10px rgba(23, 35, 59, 0.05);
  --shadow:    0 14px 36px -16px rgba(28, 46, 82, 0.16);
  --shadow-lg: 0 34px 66px -26px rgba(28, 46, 82, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ----- 1b. Koyu tema -----------------------------------------------------
   Sıra: sistem tercihi (kullanıcı elle "light" seçmediyse) → elle seçim.
   .hero, .section--dark, .cta-band ve footer her iki temada da koyudur;
   yalnızca "yüzey" ve "metin" tokenlarını çeviriyoruz. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:          #0a0f1c;
    --bg-muted:    #0e1524;
    --bg-muted-2:  #17223c;
    --surface:     #111a2e;
    --header-bg:   rgba(10, 15, 28, 0.82);
    --ink-900:     #f1f5f9;
    --ink-700:     #cdd8ea;
    --ink-500:     #92a2bf;
    --ink-400:     #7a89a8;
    --line:        #1f2b45;
    --line-strong: #2c3c5e;
    --link:      #7aa9ff;
    --accent:    #7aa9ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow:    0 16px 40px -18px rgba(0, 0, 0, 0.65);
    --shadow-lg: 0 40px 70px -24px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #0a0f1c;
  --bg-muted:    #0e1524;
  --bg-muted-2:  #17223c;
  --surface:     #111a2e;
  --header-bg:   rgba(10, 15, 28, 0.82);
  --ink-900:     #f1f5f9;
  --ink-700:     #cdd8ea;
  --ink-500:     #92a2bf;
  --ink-400:     #7a89a8;
  --line:        #1f2b45;
  --line-strong: #2c3c5e;
    --link:      #7aa9ff;
    --accent:    #7aa9ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:    0 16px 40px -18px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 40px 70px -24px rgba(0, 0, 0, 0.7);
}

/* ----- 2. Reset / base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

/* Grid/flex children may hold wide content (code blocks, long words):
   allow them to shrink instead of forcing horizontal page scroll. */
.grid > *,
.split > *,
.grid--sidebar > * { min-width: 0; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
a:hover { color: var(--brand-500); }

img, svg { max-width: 100%; display: block; height: auto; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

strong { color: var(--ink-900); }

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

[hidden] { display: none !important; }

/* ----- 3. Layout helpers ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--muted { background: var(--bg-muted); }
/* İç sayfa başlık bandı — açık, hafif mavi tonlu */
.section--tint {
  background:
    radial-gradient(700px 340px at 8% -30%, rgba(47, 86, 217, 0.08), transparent 65%),
    linear-gradient(180deg, var(--bg-muted), var(--bg));
  border-bottom: 1px solid var(--line);
}
.section--dark {
  background:
    radial-gradient(1100px 520px at 12% -12%, rgba(90, 130, 245, 0.18), transparent 62%),
    radial-gradient(880px 520px at 100% 0%, rgba(63, 208, 189, 0.12), transparent 58%),
    var(--navy-800);
  color: #cdd8ef;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark strong { color: #fff; }
.section--dark a { color: #9cc2ff; }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (min-width: 620px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 920px) {
  .grid--sidebar { grid-template-columns: 1fr 300px; gap: clamp(2rem, 5vw, 4rem); }
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }

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

/* ----- 4. Typography accents ------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section--dark .eyebrow { color: var(--cyan-400); }
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.lead {
  font-size: var(--step-1);
  color: var(--ink-500);
  line-height: 1.6;
}
.section--dark .lead { color: #aebfdd; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ----- 5. Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--brand-600);
  box-shadow: 0 10px 24px -12px rgba(47, 86, 217, 0.5);
}
.btn--primary:hover { --btn-bg: var(--brand-500); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--brand-500); color: var(--accent); }
.section--dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.3); }
.section--dark .btn--ghost:hover { border-color: #fff; color: #fff; }

.btn--lg { padding: 1rem 1.9rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}
.arrow-link svg { transition: transform 0.15s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ----- 6. Header / navigation --------------------------------------------- */
.skip-link {
  position: fixed;
  top: 0.5rem; left: 0.5rem;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(15, 30, 58, 0.5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand:hover { color: var(--ink-900); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span { white-space: nowrap; }
.brand span b { color: var(--accent); font-weight: 800; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-block;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--ink-700);
}
.primary-nav a:hover { background: var(--bg-muted); color: var(--ink-900); }
.primary-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--bg-muted-2);
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

/* Dil değiştirici */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
}
.lang-switch a {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  color: var(--ink-400);
  line-height: 1;
}
.lang-switch a[aria-current="true"] {
  background: var(--accent);
  color: #fff;
}
.lang-switch a:not([aria-current="true"]):hover { background: var(--bg-muted); color: var(--ink-900); }

/* Tema düğmesi */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: block; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
}

@media (max-width: 1024px) {
  .header-actions .btn { display: none; }
  .lang-switch { font-size: 0.78rem; }
}
@media (max-width: 420px) {
  .theme-toggle { display: none; }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.75rem clamp(1.1rem, 4vw, 2rem) 1.25rem;
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .primary-nav a { padding: 0.8rem 0.75rem; border-radius: 10px; }
  .header-actions .btn { display: none; }
}

/* ----- 7. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink-700);
  background:
    radial-gradient(1100px 560px at 6% -12%, rgba(47, 86, 217, 0.12), transparent 62%),
    radial-gradient(900px 560px at 102% -6%, rgba(18, 165, 148, 0.10), transparent 58%),
    linear-gradient(180deg, var(--bg-muted), var(--bg));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 35, 59, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 59, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 62% at 50% 8%, #000, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero h1 {
  color: var(--ink-900);
  max-width: 18ch;
  overflow-wrap: break-word;
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
}
.hero h1 .accent {
  background: linear-gradient(115deg, var(--brand-600), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { color: var(--ink-500); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: var(--step--1);
  color: var(--ink-400);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 18px; height: 18px; color: var(--brand-500); }

/* Stat band inside hero */
.stat-band {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.stat-band .container {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
}
@media (min-width: 700px) { .stat-band .container { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center;
}
.stat b {
  display: block;
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.03em;
}
.stat span { font-size: var(--step--1); color: var(--ink-400); }

/* ----- 8. Cards --------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.2s var(--ease);
  height: 100%;
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-500); font-size: 0.98rem; }
.card__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(47, 86, 217, 0.09), rgba(18, 165, 148, 0.10));
}
.card__icon svg { width: 24px; height: 24px; }
.card .arrow-link { margin-top: 1rem; font-size: 0.95rem; }
.card__link { position: absolute; inset: 0; border-radius: inherit; }
.card__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section--dark .card p { color: #a9b8d6; }
.section--dark .card__icon {
  color: var(--cyan-400);
  background: rgba(63, 208, 189, 0.14);
}

/* ----- 9. Feature list ----------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: var(--ink-500);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--brand-600), var(--cyan-500));
}
.section--dark .checklist li { color: #b7c5e2; }

/* ----- 10. Split / media rows -------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: repeat(2, 1fr); }
  .split--reverse .split__media { order: 2; }
}
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-muted));
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.panel--dark {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(90, 130, 245, 0.22), transparent 60%),
    var(--navy-800);
  border-color: var(--navy-600);
  color: #cdd9ef;
}

/* Fake terminal / code visual */
.terminal {
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-600);
  background: var(--navy-900);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.75;
  color: #cbd5e1;
}
.terminal__bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--navy-700);
  border-bottom: 1px solid var(--navy-600);
}
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #47597e; }
.terminal__body { padding: 1rem 1.15rem; overflow-x: auto; }
.terminal__body pre { margin: 0; white-space: pre; }
.terminal .c-key { color: #7dd3fc; }
.terminal .c-ok { color: #6ee7b7; }
.terminal .c-mut { color: #64748b; }
.terminal .c-warn { color: #fbbf24; }

/* ----- 11. Logo / tech marquee ------------------------------------------- */
.techrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.tech-badge svg { width: 18px; height: 18px; color: var(--accent); }

/* ----- 12. Stats strip (light) ----------------------------------------------- */
.stats-strip {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 700px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }
.stats-strip .stat b { color: var(--ink-900); }
.stats-strip .stat span { color: var(--ink-400); }
.stats-strip .stat b .u { color: var(--accent); }

/* ----- 13. Testimonial ----------------------------------------------------- */
.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  margin: 0 0 1.5rem;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #fff;
}
.quote figcaption { color: #9fb2d6; font-size: var(--step--1); }
.quote figcaption b { color: #fff; display: block; font-size: var(--step-0); }

/* ----- 14. CTA band ------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 6vw, 4rem);
  text-align: center;
  color: #eef3ff;
  background:
    radial-gradient(680px 320px at 12% 0%, rgba(63, 208, 189, 0.22), transparent 62%),
    linear-gradient(125deg, var(--brand-600), var(--brand-500));
  box-shadow: 0 24px 60px -28px rgba(47, 86, 217, 0.5);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6ff; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.75rem; }
.cta-band .btn--primary { --btn-bg: #fff; --btn-fg: var(--brand-600); box-shadow: 0 10px 26px -12px rgba(10, 20, 45, 0.4); }
.cta-band .btn--primary:hover { --btn-bg: #eef3ff; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ----- 15. Blog / article cards ---------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-800), var(--brand-600));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
}
.post-card__thumb svg { width: 46px; height: 46px; }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  font-size: var(--step--1);
  color: var(--ink-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.post-card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-500); font-size: 0.96rem; flex: 1; }
.post-card .arrow-link { margin-top: 1rem; }

/* ----- 16. Breadcrumb ----------------------------------------------------- */
.breadcrumb { background: var(--bg-muted); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 0;
  font-size: var(--step--1);
  color: var(--ink-400);
}
.breadcrumb li { margin: 0; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-500); font-weight: 600; }
.breadcrumb [aria-current="page"] { color: var(--ink-900); }

/* ----- 17. Prose (blog + legal) ---------------------------------------------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose code {
  background: var(--bg-muted-2);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.prose pre {
  background: var(--navy-900);
  color: #e2e8f0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.7;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose blockquote {
  margin: 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 3px solid var(--brand-500);
  color: var(--ink-500);
  font-style: italic;
}
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; }
.prose th { background: var(--bg-muted); }

.article-header { border-bottom: 1px solid var(--line); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--ink-400);
  font-size: var(--step--1);
  font-weight: 600;
}
.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-muted-2);
  color: var(--accent);
  font-size: var(--step--1);
  font-weight: 700;
}

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.92rem;
  background: var(--bg-muted);
}
.toc p { font-weight: 800; color: var(--ink-900); margin-bottom: 0.6rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { color: var(--ink-500); display: block; padding: 0.25rem 0; }
.toc a:hover { color: var(--accent); }
@media (max-width: 919px) { .toc { display: none; } }

/* ----- 18. FAQ accordion ------------------------------------------------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 1.25rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: var(--brand-400); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 700;
  color: var(--ink-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.25rem; color: var(--ink-500); }

/* ----- 19. Forms -------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-grid .col-2 { grid-column: span 2; } .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--ink-900); }
.field .hint { font-size: var(--step--1); color: var(--ink-400); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-900);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(47, 86, 217, 0.16);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: var(--step--1); color: var(--ink-400); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-500); }
.consent input { margin-top: 0.2rem; }

.contact-cards { display: grid; gap: 1rem; }
.contact-cards .card { padding: 1.25rem 1.4rem; }
.contact-cards .card__icon { width: 40px; height: 40px; margin-bottom: 0.75rem; }
.contact-cards h3 { font-size: 1rem; }
.contact-cards a { font-weight: 600; }

/* ----- 20. Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 0.94rem;
}
.site-footer a { color: var(--ink-700); }
.site-footer a:hover { color: var(--brand-600); }
.site-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 780px) {
  .site-footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-brand .brand { color: var(--ink-900); margin-bottom: 1rem; }
.footer-brand .brand span b { color: var(--brand-600); }
.footer-brand p { max-width: 34ch; color: var(--ink-400); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink-500);
}
.footer-social a:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--bg-muted-2); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: var(--ink-900);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--1);
  color: var(--ink-400);
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ----- 21. Misc / utilities --------------------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-muted-2);
  color: var(--ink-500);
  font-size: var(--step--1);
  font-weight: 600;
}
.section--dark .pill { background: rgba(255,255,255,0.07); color: #b7c5e2; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-500);
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-500);
}

.big-404 {
  font-size: clamp(5rem, 22vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-500), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- 22. Motion ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----- 23. Print ------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
