/* Захотели — Полетели — generated from tokens.json by tools/build_tokens.py. Не править руками. */
:root, [data-theme="light"] {
  --bg: #f3f7fd;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #e8eff9;
  --line: #d5dfed;
  --line-strong: #6f819c;
  --ink: #0a1a33;
  --ink-muted: #43526a;
  --ink-subtle: #56667e;
  --brand: #0c73fe;
  --action: #0a62d8;
  --action-hover: #0852b6;
  --on-action: #ffffff;
  --brand-text: #0a58c4;
  --brand-soft: #e2edff;
  --focus: #0a58c4;
  --sun: #ffc233;
  --on-sun: #2b1d00;
  --sun-soft: #fff1cc;
  --sun-text: #7a4a00;
  --success: #0e6b3e;
  --success-soft: #d9f2e4;
  --warning: #8a3f00;
  --warning-soft: #fce6d2;
  --danger: #b3261e;
  --danger-soft: #fbe1de;
  --antex-bg: #071412;
  --antex-surface: #102a25;
  --antex-line: #1d322d;
  --antex-ink: #fff2d2;
  --antex-muted: #a1afa8;
  --antex-gold: #d8a84b;
  --antex-gold-text: #f3d48a;
  --antex-on-gold: #071412;
  --shadow-1: 0 1px 2px rgba(10,26,51,0.06), 0 2px 8px rgba(10,26,51,0.05);
  --shadow-2: 0 2px 4px rgba(10,26,51,0.06), 0 12px 32px rgba(10,26,51,0.10);
  --shadow-brand: 0 8px 24px rgba(10,98,216,0.28);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #06101e;
  --surface: #0c1a2e;
  --surface-raised: #132540;
  --surface-sunken: #040b16;
  --line: #1f3150;
  --line-strong: #6c809f;
  --ink: #edf3ff;
  --ink-muted: #a8b6cc;
  --ink-subtle: #8d9db5;
  --brand: #0c73fe;
  --action: #0a62d8;
  --action-hover: #0b57c9;
  --on-action: #ffffff;
  --brand-text: #86b9ff;
  --brand-soft: #0f2a55;
  --focus: #8cc0ff;
  --sun: #ffc233;
  --on-sun: #2b1d00;
  --sun-soft: #3a2c05;
  --sun-text: #ffd36b;
  --success: #6ee0a6;
  --success-soft: #0c3324;
  --warning: #ffb273;
  --warning-soft: #3a2410;
  --danger: #ff8a80;
  --danger-soft: #3d1517;
  --antex-bg: #071412;
  --antex-surface: #102a25;
  --antex-line: #1d322d;
  --antex-ink: #fff2d2;
  --antex-muted: #a1afa8;
  --antex-gold: #d8a84b;
  --antex-gold-text: #f3d48a;
  --antex-on-gold: #071412;
  --shadow-1: 0 0 0 1px rgba(255,255,255,0.04), 0 2px 8px rgba(0,0,0,0.35);
  --shadow-2: 0 0 0 1px rgba(255,255,255,0.06), 0 16px 40px rgba(0,0,0,0.5);
  --shadow-brand: 0 8px 28px rgba(12,115,254,0.35);
  color-scheme: dark;
}
/* Без явного выбора тема следует системе */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #06101e;
    --surface: #0c1a2e;
    --surface-raised: #132540;
    --surface-sunken: #040b16;
    --line: #1f3150;
    --line-strong: #6c809f;
    --ink: #edf3ff;
    --ink-muted: #a8b6cc;
    --ink-subtle: #8d9db5;
    --brand: #0c73fe;
    --action: #0a62d8;
    --action-hover: #0b57c9;
    --on-action: #ffffff;
    --brand-text: #86b9ff;
    --brand-soft: #0f2a55;
    --focus: #8cc0ff;
    --sun: #ffc233;
    --on-sun: #2b1d00;
    --sun-soft: #3a2c05;
    --sun-text: #ffd36b;
    --success: #6ee0a6;
    --success-soft: #0c3324;
    --warning: #ffb273;
    --warning-soft: #3a2410;
    --danger: #ff8a80;
    --danger-soft: #3d1517;
    --antex-bg: #071412;
    --antex-surface: #102a25;
    --antex-line: #1d322d;
    --antex-ink: #fff2d2;
    --antex-muted: #a1afa8;
    --antex-gold: #d8a84b;
    --antex-gold-text: #f3d48a;
    --antex-on-gold: #071412;
    --shadow-1: 0 0 0 1px rgba(255,255,255,0.04), 0 2px 8px rgba(0,0,0,0.35);
    --shadow-2: 0 0 0 1px rgba(255,255,255,0.06), 0 16px 40px rgba(0,0,0,0.5);
    --shadow-brand: 0 8px 28px rgba(12,115,254,0.35);
    color-scheme: dark;
  }
}
:root {
  --space-3xs: clamp(0.25rem, 0.2292rem + 0.0926cqi, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4583rem + 0.1852cqi, 0.625rem);
  --space-xs: clamp(0.75rem, 0.6875rem + 0.2778cqi, 0.9375rem);
  --space-s: clamp(1rem, 0.9167rem + 0.3704cqi, 1.25rem);
  --space-m: clamp(1.5rem, 1.375rem + 0.5556cqi, 1.875rem);
  --space-l: clamp(2rem, 1.8333rem + 0.7407cqi, 2.5rem);
  --space-xl: clamp(3rem, 2.75rem + 1.1111cqi, 3.75rem);
  --space-2xl: clamp(4rem, 3.6667rem + 1.4815cqi, 5rem);
  --space-3xl: clamp(6rem, 5.5rem + 2.2222cqi, 7.5rem);
  --space-s-l: clamp(1rem, 0.5rem + 2.2222cqi, 2.5rem);
  --space-m-xl: clamp(1.5rem, 0.75rem + 3.3333cqi, 3.75rem);
  --space-section: clamp(3.5rem, 1.6667rem + 8.1481cqi, 9rem);
  --page-gutter: clamp(1rem, 0rem + 4.4444cqi, 4rem);
  --text-xs: clamp(0.75rem, 0.7292rem + 0.0926cqi, 0.8125rem);
  --text-s: clamp(0.875rem, 0.8542rem + 0.0926cqi, 0.9375rem);
  --text-m: clamp(1rem, 0.9583rem + 0.1852cqi, 1.125rem);
  --text-l: clamp(1.125rem, 1.0625rem + 0.2778cqi, 1.3125rem);
  --text-xl: clamp(1.3125rem, 1.2083rem + 0.463cqi, 1.625rem);
  --text-2xl: clamp(1.5625rem, 1.375rem + 0.8333cqi, 2.125rem);
  --text-3xl: clamp(1.875rem, 1.5417rem + 1.4815cqi, 2.875rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.2222cqi, 3.75rem);
  --text-hero: clamp(2.375rem, 1.4167rem + 4.2593cqi, 5.25rem);
  --stroke-1: 1px;
  --stroke-2: 2px;
  --icon-s: 1.125rem;
  --icon-m: 1.5rem;
  --tap-min: 2.75rem;
  --content-max: 75rem;
  --radius-xs: 0.375rem;
  --radius-s: 0.625rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-xl: 2rem;
  --radius-pill: 999px;
  --measure: 62ch;
  --measure-narrow: 40ch;
  --bp-tablet: 45rem;
  --bp-desktop: 64rem;
  --bp-wide: 90rem;
  --card-min: 17rem;
  --dur-instant: 100ms;
  --dur-fast: 200ms;
  --dur-base: 320ms;
  --dur-slow: 560ms;
  --dur-slower: 900ms;
  --dur-ambient: 40s;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in: cubic-bezier(0.32, 0, 0.67, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring-snappy: linear(0, 0.046, 0.155, 0.289, 0.429, 0.559, 0.673, 0.767, 0.843, 0.9, 0.943, 0.972, 0.992, 1.004, 1.011, 1.014, 1.015, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.003, 1.002, 1.001, 1.001, 1);
  --spring-snappy-dur: 460ms;
  --spring-takeoff: linear(0, 0.011, 0.04, 0.082, 0.136, 0.197, 0.262, 0.331, 0.4, 0.468, 0.534, 0.596, 0.656, 0.711, 0.76, 0.806, 0.847, 0.883, 0.915, 0.943, 0.966, 0.986, 1.002, 1.015, 1.025, 1.033, 1.039, 1.043, 1.045, 1.046, 1.046, 1.044, 1.043, 1.04, 1.038, 1.035, 1.031, 1.028, 1.025, 1.022, 1.019, 1.017, 1.014, 1.012, 1.009, 1.007, 1.006, 1.004, 1.003, 1.002, 1.001, 1, 0.999, 0.999, 1);
  --spring-takeoff-dur: 900ms;
  --spring-gentle: linear(0, 0.01, 0.037, 0.075, 0.121, 0.171, 0.226, 0.28, 0.334, 0.388, 0.439, 0.487, 0.534, 0.576, 0.616, 0.653, 0.688, 0.719, 0.747, 0.774, 0.797, 0.819, 0.838, 0.856, 0.871, 0.885, 0.898, 0.91, 0.92, 0.929, 0.937, 0.944, 0.951, 0.956, 0.961, 0.966, 0.97, 0.973, 0.977, 0.979, 0.982, 0.984, 0.986, 0.988, 0.989, 0.99, 0.992, 0.993, 0.993, 0.994, 0.995, 0.996, 0.996, 0.997, 0.997, 0.997, 0.998, 1);
  --spring-gentle-dur: 940ms;
  --motion-rise: 1.5rem;
  --motion-lift: 0.25rem;
  --motion-press: 0.97;
  --motion-stagger: 90ms;
  --motion-ambient: running;
  --z-raised: 1;
  --z-header: 100;
  --z-overlay: 200;
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Pacifico", "Manrope", cursive;
}
/* Меньше движения: по системе или data-motion="reduce" на <html> */
@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-rise: 0rem;
    --motion-lift: 0rem;
    --motion-press: 1;
    --motion-stagger: 0ms;
    --motion-ambient: paused;
    --spring-snappy: ease;
    --spring-takeoff: ease;
    --spring-gentle: ease;
    --spring-snappy-dur: 200ms;
    --spring-takeoff-dur: 200ms;
    --spring-gentle-dur: 200ms;
    --dur-slower: 200ms;
  }
}
:root[data-motion="reduce"] {
  --motion-rise: 0rem;
  --motion-lift: 0rem;
  --motion-press: 1;
  --motion-stagger: 0ms;
  --motion-ambient: paused;
  --spring-snappy: ease;
  --spring-takeoff: ease;
  --spring-gentle: ease;
  --spring-snappy-dur: 200ms;
  --spring-takeoff-dur: 200ms;
  --spring-gentle-dur: 200ms;
  --dur-slower: 200ms;
}
.display-xl { font-family: var(--font-display); font-size: var(--text-hero); line-height: 0.95; font-weight: 800; letter-spacing: -0.035em; }
.display-l { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.0; font-weight: 800; letter-spacing: -0.03em; }
.heading-m { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.plate { font-family: var(--font-display); font-size: var(--text-xs); line-height: 1.2; font-weight: 700; letter-spacing: 0.16em; }
.script { font-family: var(--font-script); font-size: var(--text-hero); line-height: 1.15; font-weight: 400; letter-spacing: 0; }
.quote { font-family: var(--font-text); font-size: var(--text-xl); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.heading-s { font-family: var(--font-text); font-size: var(--text-l); line-height: 1.3; font-weight: 650; letter-spacing: -0.005em; }
.lead { font-family: var(--font-text); font-size: var(--text-l); line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.body { font-family: var(--font-text); font-size: var(--text-m); line-height: 1.55; font-weight: 400; letter-spacing: 0; }
.body-strong { font-family: var(--font-text); font-size: var(--text-m); line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.small { font-family: var(--font-text); font-size: var(--text-s); line-height: 1.45; font-weight: 400; letter-spacing: 0; }
.caption { font-family: var(--font-text); font-size: var(--text-xs); line-height: 1.35; font-weight: 500; letter-spacing: 0.02em; }
