/* Native color-scheme support with a no-JavaScript system-preference fallback. */
:root {
    color-scheme: light;
    --bg: #f8f7fc; --surface: #fff; --surface-raised: #eeedf7;
    --text: #20243d; --muted: #566078; --mint: #3656b4;
    --line: #d2d6e4; --border-control: #7d869e;
    --danger: #a92746; --warning: #805b18; --info: #315e9b;
    --theme-cyan: #187c90; --theme-violet: #8651bd; --theme-peach: #b75a35;
    --theme-spectrum: #397f71 5%, #23678e 30%, #8c47a7 52%, #b54b3c 75%, #397f71 95%;
    --theme-card: linear-gradient(135deg, #ffffffed, #f1effded);
    --theme-featured: linear-gradient(120deg, #e8f6eeef, #e7f1fbef 50%, #f1e9f9ef);
    --theme-card-a: #24756d; --theme-card-b: #7943a7; --theme-card-c: #a95432;
    --theme-aurora-cyan: #71d2d541; --theme-aurora-violet: #dc99ed38;
    --theme-vignette: #f8f7fc60; --theme-control: #fffffff0;
}
:root[data-resolved-theme="dark"] {
    color-scheme: dark;
    --bg: #0e1420; --surface: #17202c; --surface-raised: #232e3f;
    --text: #f3f4fa; --muted: #bbc7d7; --mint: #a6efda;
    --line: #34435a; --border-control: #8090a9;
    --danger: #f9a2b4; --warning: #f0ce8b; --info: #b7d6ff;
    --theme-cyan: #75e1ee; --theme-violet: #c6a2ff; --theme-peach: #ffc39e;
    --theme-spectrum: #c7ffe4 5%, #78e5ef 30%, #caabff 52%, #ffc7a5 75%, #c7ffe4 95%;
    --theme-card: linear-gradient(135deg, #1b2637f5, #171b2ef5);
    --theme-featured: linear-gradient(120deg, #193438f5, #1c2840f5 50%, #302441f5);
    --theme-card-a: #8febe5; --theme-card-b: #c5a5ff; --theme-card-c: #ffc39e;
    --theme-aurora-cyan: #1b8f9b40; --theme-aurora-violet: #8957c840;
    --theme-vignette: #0e142070; --theme-control: #17202cf5;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-resolved-theme="light"]) {
        color-scheme: dark;
        --bg: #0e1420; --surface: #17202c; --surface-raised: #232e3f;
        --text: #f3f4fa; --muted: #bbc7d7; --mint: #a6efda;
        --line: #34435a; --border-control: #8090a9;
        --danger: #f9a2b4; --warning: #f0ce8b; --info: #b7d6ff;
        --theme-cyan: #75e1ee; --theme-violet: #c6a2ff; --theme-peach: #ffc39e;
        --theme-spectrum: #c7ffe4 5%, #78e5ef 30%, #caabff 52%, #ffc7a5 75%, #c7ffe4 95%;
        --theme-card: linear-gradient(135deg, #1b2637f5, #171b2ef5);
        --theme-featured: linear-gradient(120deg, #193438f5, #1c2840f5 50%, #302441f5);
        --theme-card-a: #8febe5; --theme-card-b: #c5a5ff; --theme-card-c: #ffc39e;
        --theme-aurora-cyan: #1b8f9b40; --theme-aurora-violet: #8957c840;
        --theme-vignette: #0e142070; --theme-control: #17202cf5;
    }
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); }
input, select, textarea, button { touch-action: manipulation; }
.public-site .flow-aurora--cyan { background: radial-gradient(ellipse, var(--theme-aurora-cyan), transparent 65%); }
.public-site .flow-aurora--violet { background: radial-gradient(ellipse, var(--theme-aurora-violet), transparent 65%); }
.public-site .flow-vignette { background: linear-gradient(90deg, var(--theme-vignette), transparent 75%); }
.public-site .flow-grid { background-image: linear-gradient(#8594ab16 1px, transparent 1px), linear-gradient(90deg, #8594ab16 1px, transparent 1px); }
.public-site .flow-routes stop:nth-child(1) { stop-color: var(--theme-violet); }.public-site .flow-routes stop:nth-child(2) { stop-color: var(--theme-cyan); }.public-site .flow-routes stop:nth-child(3) { stop-color: var(--theme-card-a); }.public-site .flow-routes stop:nth-child(4) { stop-color: var(--theme-peach); }
.public-site em, .public-site .approach h2 span { background-image: linear-gradient(110deg, var(--theme-spectrum)); }
.public-site .site-header, .public-site .site-footer, .public-site .hero-foot { border-color: var(--line); }
.public-site .hero .eyebrow, .public-site .kinetic-coordinate { color: var(--muted); }
.public-site .hero { padding-top: 76px; }
.public-site .hero h1 { font-size: clamp(2.8rem, 6.1vw, 6.6rem); }
.public-site .kinetic-mark { width: 107%; margin-left: -2%; }
.public-site .kinetic-halo { background: radial-gradient(ellipse, var(--theme-aurora-violet), var(--theme-aurora-cyan) 48%, transparent 70%); }
.public-site .kinetic-latitudes, .public-site .kinetic-axis, .public-site .kinetic-orbit { stroke: var(--theme-violet); }
.public-site .kinetic-axis { stroke: var(--theme-cyan); }.public-site .kinetic-orbit { stroke: var(--theme-peach); }
.public-site .kinetic-letter { fill: var(--theme-violet); }.public-site .kinetic-letter-shadow { fill: var(--theme-cyan); }
.public-site .kinetic-sparks { fill: var(--theme-peach); }
.public-site .button { background: linear-gradient(110deg, #764fbc, #4467c4); border-color: #6856b0; color: #fff; border-radius: 10px; box-shadow: 0 8px 25px #6555b321; }
.public-site .button-outline { background: var(--surface); color: var(--text); border-color: var(--border-control); }
.public-site .price-row { --package-accent: var(--theme-card-a); background: var(--theme-card); border-color: var(--line); }
.public-site .price-row:nth-of-type(3n + 2) { --package-accent: var(--theme-card-b); }.public-site .price-row:nth-of-type(3n) { --package-accent: var(--theme-card-c); }
.public-site .price-row:first-of-type { background: var(--theme-featured); }
.public-site .price-row .tax-note { color: var(--muted); }
.public-site .service-row:hover { background: var(--theme-aurora-cyan); }
.public-site .approach { border-color: var(--line); background: var(--theme-featured); }
.public-site .home-price { color: var(--theme-violet); }
.motion-toggle { background: var(--theme-control); color: var(--text); border-color: var(--line); }
.fm-button:hover { background: var(--surface-raised); color: var(--text); }
.fm-button--primary:hover { border-color: var(--mint); }.fm-button--danger:hover { background: var(--danger); color: var(--bg); }
.public-site .site-footer { display: block; padding-block: 34px 80px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; }
.site-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; width: 100%; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.site-tools .footer-languages { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: .75rem; }
.site-tools .footer-languages a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 400; text-decoration: none; }
.site-tools .footer-languages a:hover, .site-tools .footer-languages a[aria-current] { color: var(--text); }
.footer-languages a[aria-current]::after { content: ''; position: absolute; height: 1px; bottom: 7px; inset-inline: 0; background: currentColor; }
.site-tools .footer-languages .language-auto { font-size: .68rem; }
.footer-theme { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 30px; gap: 2px; }
.footer-theme button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.footer-theme button:hover { color: var(--text); }
.footer-theme button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.footer-theme button:disabled { cursor: default; opacity: .55; }
.footer-theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.site-tools :is(a, button):focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.concept-end .site-tools { margin-top: 0; }
.site-header nav { gap: clamp(14px, 2vw, 30px); font-size: .8rem; }
.site-header { flex-wrap: wrap; }
.public-site .site-header nav { justify-content: flex-end; }
.public-site > header { z-index: 20; }
.workspace-topbar { flex-wrap: wrap; }
.concept-info .text-link { font-weight: 600; margin-top: 8px; }
.site-header nav a, .demo-nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.motion-toggle { min-height: 44px; }
@media (max-width: 950px) {
    .public-site .site-header nav { justify-content: flex-end; }
    .public-site .hero { padding-top: 55px; }
}
@media (max-width: 640px) {
    .public-site .site-header { gap: 16px 10px; }.site-header .wordmark { font-size: 1.4rem; }.site-header .wordmark span { display: none; }
    .site-tools { gap: 14px; margin-top: 22px; padding-top: 16px; }.site-tools .footer-languages { gap: 2px 18px; }.footer-main { flex-direction: column; align-items: flex-start; gap: 12px; }
    .public-site .hero { padding-top: 40px; }.public-site .hero h1 { font-size: clamp(2.55rem, 9.3vw, 4.2rem); }
    .public-site .kinetic-mark { width: min(100%, 390px); margin-left: auto; }
    .public-site .site-header nav { flex-basis: 100%; justify-content: flex-start; gap: 8px 18px; font-size: .73rem; }
    .fm-field :is(input, select, textarea), .auth-form input { font-size: 16px; }
}
@media (forced-colors: active) { .public-site em, .public-site .approach h2 span { -webkit-text-fill-color: CanvasText; background: none; }.flow-field { display: none; } }
