:root {
  color-scheme: dark;
  --wada-black: #111314;
  --wada-aconite-violet: #a36aa5;
  --wada-cinnamon-buff: #fdc57e;
  --wada-golden-yellow: #f3a257;
  --wada-deep-lyons-blue: #1c4286;
  --wada-dull-violet-black: #1e0e3f;
  --wada-night-green: #87c540;
  --color-action: var(--wada-cinnamon-buff);
  --color-action-hover: var(--wada-golden-yellow);
  --color-accent: #c798c9;
  --color-accent-soft: rgba(163, 106, 165, 0.18);
  --color-accent-soft-hover: rgba(163, 106, 165, 0.3);
  --color-text-primary: #f3f0ea;
  --color-text-secondary: #bdb9b2;
  --color-text-muted: #8f8b85;
  --color-text-inverse: var(--wada-black);
  --color-surface-page: var(--wada-black);
  --color-surface-plane: #151b27;
  --color-surface-card: #1b2232;
  --color-surface-header: rgba(17, 19, 20, 0.86);
  --color-surface-raised: rgba(255, 255, 255, 0.08);
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.22);
  --color-good: var(--wada-night-green);
  --color-good-soft: rgba(135, 197, 64, 0.16);
  --gradient-hero: radial-gradient(45% 60% at 10% 0%, rgba(163, 106, 165, 0.32) 0%, rgba(163, 106, 165, 0) 100%), radial-gradient(45% 60% at 90% 0%, rgba(253, 197, 126, 0.18) 0%, rgba(253, 197, 126, 0) 100%);
  --gradient-glow: radial-gradient(50% 50% at 50% 50%, rgba(163, 106, 165, 0.32) 0%, rgba(163, 106, 165, 0) 100%);
  --zoom-backdrop: rgba(5, 7, 10, 0.88);
  --zoom-badge-bg: rgba(17, 19, 20, 0.78);
  --zoom-text: #ffffff;
  --zoom-text-muted: rgba(255, 255, 255, 0.72);
  --gradient-brand: linear-gradient(90deg, #d93cb9 0%, #e15b3c 28%, #f5bb44 48%, #84e370 64%, #3878ec 82%, #4f26fa 100%);
  --gradient-feature: linear-gradient(160deg, var(--wada-dull-violet-black) 0%, #10234a 100%);
  --color-feature-text: var(--color-text-primary);
  --color-feature-text-muted: var(--color-text-secondary);
  --color-feature-raised: var(--color-surface-raised);
  --color-feature-warning: #f99d1b;
  --viz-cost: #5b6478;
  --viz-fee: #78cdd0;
  --viz-logistics: #fdc57e;
  --viz-tax: #f48067;
  --viz-line: #78cdd0;
  --color-feature-good: #87c540;
  --color-feature-line: rgba(255, 255, 255, 0.12);
  --color-warning: #f99d1b;
  --color-warning-soft: rgba(249, 157, 27, 0.16);
  --color-bad: #f27291;
  --color-bad-soft: rgba(242, 114, 145, 0.14);
  --iso-edge: #2a2140;
  --iso-shadow: rgba(0, 0, 0, 0.45);
  --iso-grid-line: rgba(255, 255, 255, 0.05);
  --color-decor-word: rgba(255, 255, 255, 0.035);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --space-section: 120px;
  --container: 1200px;
  --gutter: 40px;
  --grid-gap: 24px;
  --size-header: 64px;
  --size-icon: 22px;
  --size-icon-box: 44px;
  --size-mark: 30px;
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-shot: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 100px rgba(0, 0, 0, 0.55);
  --shadow-button: 0 8px 24px rgba(253, 197, 126, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.18s;
  --duration-base: 0.32s;
  --duration-reveal: 0.7s;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fluid-min-viewport: 320px;
  --fluid-span: calc((100vw - var(--fluid-min-viewport)) / 1600);
  --text-display-size: clamp(36px, calc(36px + 36 * var(--fluid-span)), 72px);
  --text-display-weight: 700;
  --text-display-line: 1.06;
  --text-display-tracking: -0.03em;
  --text-h2-size: clamp(28px, calc(28px + 20 * var(--fluid-span)), 48px);
  --text-h2-weight: 700;
  --text-h2-line: 1.1;
  --text-h2-tracking: -0.025em;
  --text-h3-size: clamp(18px, calc(18px + 4 * var(--fluid-span)), 22px);
  --text-h3-weight: 600;
  --text-h3-line: 1.25;
  --text-h3-tracking: -0.01em;
  --text-lead-size: clamp(17px, calc(17px + 5 * var(--fluid-span)), 22px);
  --text-lead-weight: 400;
  --text-lead-line: 1.5;
  --text-lead-tracking: -0.005em;
  --text-body-size: clamp(15px, calc(15px + 2 * var(--fluid-span)), 17px);
  --text-body-weight: 400;
  --text-body-line: 1.55;
  --text-body-tracking: 0;
  --text-small-size: 14px;
  --text-small-weight: 400;
  --text-small-line: 1.45;
  --text-small-tracking: 0;
  --text-eyebrow-size: 14px;
  --text-eyebrow-weight: 600;
  --text-eyebrow-line: 1.3;
  --text-eyebrow-tracking: 0.02em;
  --text-stat-size: clamp(30px, calc(30px + 14 * var(--fluid-span)), 44px);
  --text-stat-weight: 700;
  --text-stat-line: 1.05;
  --text-stat-tracking: -0.03em;
}

@media (min-width: 1920px) {
  :root {
    --container: 1320px;
    --space-section: 140px;
  }
}

@media (max-width: 1280px) {
  :root {
    --gutter: 32px;
    --space-section: 100px;
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 28px;
    --grid-gap: 20px;
    --space-section: 84px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --grid-gap: 16px;
    --space-section: 64px;
    --size-header: 56px;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --color-action: #0071e3;
  --color-action-hover: #0058b0;
  --color-accent: #0071e3;
  --color-accent-soft: #eef5fe;
  --color-accent-soft-hover: #dcebfd;
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #48484d;
  --color-text-muted: #6e6e73;
  --color-text-inverse: #ffffff;
  --color-surface-page: #ffffff;
  --color-surface-plane: #f5f5f7;
  --color-surface-card: #ffffff;
  --color-surface-header: rgba(255, 255, 255, 0.94);
  --color-surface-raised: rgba(0, 0, 0, 0.05);
  --color-border-subtle: #e5e5ea;
  --color-border-strong: #c7c7cc;
  --color-good: #1a7f37;
  --color-good-soft: #e3f6e8;
  --gradient-hero: radial-gradient(60% 55% at 50% 0%, rgba(43, 140, 255, 0.16) 0%, rgba(43, 140, 255, 0) 100%);
  --gradient-glow: radial-gradient(50% 50% at 50% 50%, rgba(0, 113, 227, 0.22) 0%, rgba(0, 113, 227, 0) 100%);
  --gradient-feature: linear-gradient(160deg, #1c1c22 0%, #0b0b0e 100%);
  --color-feature-text: #ffffff;
  --color-feature-text-muted: rgba(255, 255, 255, 0.72);
  --color-feature-raised: rgba(255, 255, 255, 0.1);
  --viz-cost: #aeb4c0;
  --viz-fee: #0071e3;
  --viz-logistics: #f3a257;
  --viz-tax: #f48067;
  --viz-line: #0071e3;
  --color-warning: #b25e00;
  --color-warning-soft: #fff3e0;
  --color-bad: #d70015;
  --color-bad-soft: #fdecee;
  --iso-edge: #d5dae4;
  --iso-shadow: rgba(20, 30, 60, 0.12);
  --iso-grid-line: rgba(0, 0, 0, 0.05);
  --color-decor-word: rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.05);
  --shadow-shot: 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 80px rgba(0, 30, 70, 0.16);
  --shadow-button: 0 6px 18px rgba(0, 113, 227, 0.28);
}
