

:root {
    --color-page: #f4f2ec;
    --color-ink: #14201a;
    --color-ink-soft: #4d5b53;
    --color-ink-faint: #707c74;
    --color-line: rgba(20, 32, 26, 0.11);
    --color-line-strong: rgba(20, 32, 26, 0.22);

    --color-brand: #144d31;
    --color-brand-hover: #0d3a24;
    --color-on-brand: #ffffff;

    --color-main-button: #144d31;
    --color-main-button-hover: #0d3a24;
    --color-on-main-button: #ffffff;

    --color-urgent: #c2402a;
    --color-urgent-soft: rgba(194, 64, 42, 0.12);
    --color-on-urgent: #ffffff;

    --color-glass-card-top: rgba(255, 255, 255, 0.46);
    --color-glass-card-edge: rgba(255, 255, 255, 0.65);
    --blur-glass: 18px;

    --color-header: rgba(246, 244, 238, 0.94);

    --color-menu-panel: #f9f8f4;
    --color-menu-backdrop: rgba(20, 32, 26, 0.18);

    --color-footer: #0f2c1d;
    --color-on-footer: #eef2ea;
    --color-on-footer-strong: #ffffff;
    --color-on-footer-soft: rgba(238, 242, 234, 0.72);
    --color-on-footer-faint: rgba(238, 242, 234, 0.58);
    --color-footer-line: rgba(255, 255, 255, 0.13);
    --color-footer-edge: rgba(255, 255, 255, 0.18);
    --color-footer-leaf: #8fdcab;

    --color-field: #fffdf7;
    --color-field-edge: rgba(20, 32, 26, 0.22);

    --color-positive-background: rgba(30, 110, 64, 0.12);
    --color-positive-text: #176a3c;
    --color-simulated-background: rgba(184, 95, 56, 0.13);
    --color-simulated-text: #9a4a26;
    --color-problem-background: rgba(160, 50, 40, 0.10);
    --color-problem-text: #9a3329;
    --color-neutral-background: rgba(20, 32, 26, 0.06);
    --color-neutral-text: #4d5b53;

    --color-test-mode-background: #fbe7c2;
    --color-test-mode-text: #7a4300;

    --color-placeholder-highlight: #fff3a3;

    --color-orb-emerald: rgba(34, 168, 96, 0.42);
    --color-orb-amber: rgba(255, 156, 60, 0.38);
    --color-orb-teal: rgba(70, 175, 160, 0.36);
    --color-orb-gold: rgba(232, 196, 84, 0.40);
    --color-orb-mint: rgba(120, 205, 150, 0.34);
    --size-orb: 38vmax;

    --color-hero-glow: rgba(40, 176, 100, 0.30);

    --color-glow-green: rgba(40, 176, 100, 0.50);
    --color-glow-amber: rgba(255, 166, 70, 0.50);
    --color-glow-teal: rgba(52, 190, 184, 0.38);

    --color-stage-bottom: #0b1611;

    --color-on-stage: #f3f6f2;
    --color-on-stage-soft: rgba(243, 246, 242, 0.70);
    --color-stage-glass: rgba(12, 22, 16, 0.58);
    --color-stage-glass-edge: rgba(255, 255, 255, 0.16);
    --color-live-dot: #7fe6a2;
    --color-stage-badge-background: rgba(239, 176, 138, 0.20);
    --color-stage-badge-text: #f6c3a3;
    --color-stage-real-badge-background: rgba(127, 230, 162, 0.18);
    --color-stage-real-badge-text: #b6f2c9;
    --color-camera-background: #0b1611;

    --color-band-top: rgba(23, 64, 42, 0.86);
    --color-band-bottom: rgba(12, 33, 22, 0.80);
    --color-band-inner-light: rgba(255, 255, 255, 0.10);
    --color-band-edge: rgba(255, 255, 255, 0.08);
    --color-band-glow: rgba(127, 230, 162, 0.28);
    --color-band-button: #f4f1e8;
    --color-band-button-hover: #ffffff;
    --color-band-button-text: #10241a;

    --color-showcase-shadow: rgba(12, 30, 20, 0.42);
    --showcase-strip-room: 3.4rem;
    --color-showcase-rim: rgba(255, 255, 255, 0.28);
    --color-showcase-edge: rgba(20, 60, 40, 0.30);

    --color-part-photo-background: #ffffff;

    --color-sticker-paper: #fbfaf4;
    --color-sticker-ink: #14201a;
    --color-sticker-faint: #5d6a62;
    --color-sticker-line: rgba(20, 32, 26, 0.18);
    --color-sticker-edge: #e4e1d6;


    --shadow-glass-card: 0 1px 2px rgba(20, 32, 26, 0.05), 0 11px 29px -11px rgba(20, 32, 26, 0.16);
    --shadow-stage: 0 2px 3.5px rgba(20, 32, 26, 0.08), 0 36px 63px -27px rgba(18, 48, 32, 0.55);
    --shadow-brand-button: 0 9px 21.5px -9px #144d31;
    --shadow-floating-layer: 0 18px 30px -12px rgba(0, 0, 0, 0.55);
}

:root {
    --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-mono: "DM Mono", ui-monospace, Consolas, monospace;
}


:root {
    --column-width: clamp(63rem, calc(63rem + (100vw - 1600px) * 2.4), min(92vw, 112.5rem));
    --column-gutter: 1.35rem;
    --column-narrow: 40rem;
    --column-side: 20rem;
    --reading-width: 62ch;

    --gap-1: 0.3rem;
    --gap-2: 0.5rem;
    --gap-3: 0.7rem;
    --gap-4: 0.9rem;
    --gap-5: 1.25rem;
    --gap-6: 1.7rem;
    --gap-7: 2.25rem;
    --gap-8: 3.6rem;
    --gap-section: 5.85rem;

    --radius-small: 0.6rem;
    --radius-glass-card: 1.25rem;
    --radius-stage: 1.575rem;
    --radius-band: 1.8rem;
    --radius-round: 999px;

    --text-size-body: 0.90625rem;
    --text-size-small: 0.8125rem;
    --text-size-tiny: 0.7rem;
    --text-size-label: 0.6875rem;
    --text-size-note: 0.76rem;
    --text-size-lead: 1rem;
    --text-size-section-lead: 0.95rem;
    --text-size-item-title: 0.85rem;
    --text-size-question: 0.95rem;
    --text-size-reading: 1.18rem;
    --text-size-reading-phone: 0.95rem;
    --text-size-reading-row: 0.9rem;
    --text-size-card-title: 1.52rem;
    --text-size-step-number: 2.6rem;
    --text-size-price: 1.9rem;
    --text-size-brand: 1.4375rem;
    --text-size-header-link: 0.875rem;
    --text-size-footer: 0.8125rem;
    --text-size-footer-bottom: 0.75rem;
    --text-size-header-link-button: 0.78125rem;
    --text-size-display: clamp(2.67rem, 4.84vw, 4.455rem);
    --text-size-page-title: clamp(2.1rem, 3.8vw, 3.2rem);
    --text-size-task-title: clamp(1.6rem, 2.4vw, 2rem);
    --text-size-section-title: clamp(1.8rem, 3.06vw, 2.61rem);

    --height-button: 2.7rem;
    --height-button-small: 2.25rem;
    --height-top-bar: 3.75rem;
    --size-icon-button: 2.125rem;
    --touch-target-size: 44px;

    --gap-header: 1.875rem;
    --gap-header-links: 1.75rem;

    --gap-footer: 5.5rem;

    --gap-hero: 6rem;

    --top-bar-clearance: 4.75rem;
}


:root {
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --duration-press: 110ms;
    --duration-quick: 160ms;
    --duration-change: 260ms;
    --duration-arrive: 400ms;
    --duration-spin: 900ms;
    --scale-press: 0.98;
    --scale-hover: 1.02;
    --distance-nudge: 3px;
    --distance-arrive: 12px;

    --duration-reveal: 600ms;
    --distance-reveal: 24px;
    --delay-step: 80ms;

    --duration-draw: 1.6s;
    --duration-dot-pulse: 700ms;
    --scale-dot-pulse: 1.9;
    --thickness-step-line: 3px;

    --duration-hero-float: 6s;
    --distance-hero-float: 10px;

    --distance-sky-scroll: 60px;

    --opacity-grain: 0.04;

    --duration-glow-a: 7s;
    --duration-glow-b: 9s;
    --duration-glow-c: 11s;
}


@media (max-width: 640px) {
    :root {
        --gap-5: 1rem;
        --gap-6: 1.25rem;
        --gap-7: 1.6rem;
        --gap-8: 2.4rem;
        --gap-section: 2.75rem;
        --gap-footer: 2.5rem;
    }
}


html[data-theme="dark"] {
    color-scheme: dark;

    --color-page: #0b0f0d;
    --color-ink: #f2f5f3;
    --color-ink-soft: #9aab9f;
    --color-ink-faint: #7e8f84;
    --color-line: rgba(255, 255, 255, 0.09);
    --color-line-strong: rgba(255, 255, 255, 0.18);

    --color-brand: #86c9a1;
    --color-brand-hover: #a8dcbd;
    --color-on-brand: #0b0f0d;

    --color-main-button: #1e6a43;
    --color-main-button-hover: #257a4e;
    --color-on-main-button: #ffffff;

    --color-urgent: #e0624a;
    --color-urgent-soft: rgba(224, 98, 74, 0.16);
    --color-on-urgent: #131210;

    --color-glass-card-top: rgba(255, 255, 255, 0.05);
    --color-glass-card-edge: rgba(255, 255, 255, 0.09);

    --color-header: rgba(11, 15, 13, 0.78);
    --color-menu-panel: #121916;
    --color-menu-backdrop: rgba(0, 0, 0, 0.45);

    --color-footer: #070a09;
    --color-footer-line: rgba(255, 255, 255, 0.08);
    --color-footer-edge: rgba(255, 255, 255, 0.24);

    --color-field: rgba(255, 255, 255, 0.04);
    --color-field-edge: rgba(255, 255, 255, 0.18);

    --color-positive-background: rgba(134, 201, 161, 0.14);
    --color-positive-text: #a3d9b8;
    --color-simulated-background: rgba(232, 152, 112, 0.15);
    --color-simulated-text: #f0b791;
    --color-problem-background: rgba(232, 112, 100, 0.15);
    --color-problem-text: #f3a69c;
    --color-neutral-background: rgba(255, 255, 255, 0.07);
    --color-neutral-text: #9aab9f;

    --color-test-mode-background: rgba(240, 180, 90, 0.16);
    --color-test-mode-text: #f3c77d;

    --color-placeholder-highlight: rgba(255, 228, 120, 0.25);

    --color-glow-green: rgba(56, 140, 96, 0.17);
    --color-glow-amber: rgba(190, 120, 60, 0.11);
    --color-glow-teal: rgba(46, 130, 128, 0.12);
    --color-hero-glow: rgba(70, 150, 105, 0.14);

    --color-orb-emerald: rgba(40, 150, 95, 0.20);
    --color-orb-amber: rgba(200, 125, 55, 0.14);
    --color-orb-teal: rgba(50, 140, 130, 0.16);
    --color-orb-gold: rgba(190, 160, 70, 0.13);
    --color-orb-mint: rgba(90, 170, 125, 0.14);

    --color-band-top: rgba(40, 80, 58, 0.34);
    --color-band-bottom: rgba(255, 255, 255, 0.04);
    --color-band-edge: rgba(255, 255, 255, 0.10);
    --color-band-glow: rgba(120, 190, 150, 0.16);
    --color-band-inner-light: rgba(255, 255, 255, 0.06);

    --shadow-glass-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 34px -14px rgba(0, 0, 0, 0.6);
    --shadow-stage: 0 2px 3.5px rgba(0, 0, 0, 0.3), 0 36px 63px -27px rgba(0, 0, 0, 0.8);
    --shadow-brand-button: 0 9px 21.5px -9px rgba(0, 0, 0, 0.7);
    --color-showcase-shadow: rgba(0, 0, 0, 0.6);
}
