/* =========================================================
   Out of Set — company site
   White background. Type and colour follow airy-web's landing:
   Plus Jakarta Sans, 800 weight for Airy names, #2563eb, yellow highlight.
   ========================================================= */

:root {
    --font: "Plus Jakarta Sans", "Noto Sans KR", system-ui, -apple-system, sans-serif;

    --ink: #0f172a;
    --ink-soft: #475569;
    --ink-mute: #64748b;
    --faint: #94a3b8;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --tint: #f5f8fc;

    --accent: #2563eb;
    --accent-deep: #1d4ed8;

    --wrap: 1120px;
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-gutter: stable; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 5rem; }

body {
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }

/* Airy palette: logo gradient (cyan → blue → violet) used as text fill */
:root { --airy-c: #1FB6D9; --airy-b: #3C7DE0; --airy-v: #7A5FD6; }
.airy-grad {
    background: linear-gradient(90deg, var(--airy-c) 0%, var(--airy-b) 48%, var(--airy-v) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    padding-bottom: .06em;          /* keep descenders (y) inside the clip */
}

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.4rem;
    font: 700 0.95rem/1 var(--font);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(1.5) blur(14px);
    -webkit-backdrop-filter: saturate(1.5) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-nav {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 2rem;
    height: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.wordmark {
    font-family: "Righteous", sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin-left: auto; }
.nav-links > li > a,
.nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font: 600 0.95rem/1 var(--font);
    color: var(--ink-soft);
    background: none;
    border: 0;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}
.nav-links > li > a:hover,
.nav-trigger:hover,
.has-dropdown.open .nav-trigger { color: var(--ink); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-trigger svg { transition: transform 0.15s ease; }
.has-dropdown.open .nav-trigger svg { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    width: 19rem;
    list-style: none;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Desktop: open on hover (and keyboard focus) with no delay */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }
@media (hover: hover) and (min-width: 761px) {
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
    .has-dropdown:hover .nav-trigger { color: var(--ink); background: var(--tint); }
    .has-dropdown:hover .nav-trigger svg { transform: rotate(180deg); }
}
.dropdown a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--tint); }
.dropdown img { flex: none; }
.dropdown strong { display: block; font-weight: 800; letter-spacing: -0.03em; font-size: 1rem; line-height: 1.3; }
.dropdown small { display: block; font-size: 0.82rem; color: var(--ink-mute); }

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}
.menu-toggle span {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, top 0.2s ease;
}
.menu-toggle span:first-child { top: 0.95rem; }
.menu-toggle span:last-child { top: 1.45rem; }
.menu-open .menu-toggle span:first-child { top: 1.2rem; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 1.2rem; transform: rotate(-45deg); }

/* ---------- Footer: minimal ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    text-align: center;
    font-size: .85rem;
    color: var(--ink-mute);
}
.footer-inner a { color: var(--ink-mute); text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }
.lp-page .site-footer { border-top: 0; }

/* ---------- Simple pages (About / News / Careers / 404) ---------- */
.page-simple {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 5.5rem) 2rem 5.5rem;
}
.page-simple h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; margin-bottom: 1.75rem; }
.page-simple h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; margin: 2.75rem 0 0.8rem; }
.page-simple p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; }
.page-simple p strong { color: var(--ink); font-weight: 700; }
.page-simple .inline-link, .page-simple .email-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.page-simple .inline-link:hover, .page-simple .email-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-simple .news-list { list-style: none; }
.page-simple .news-item { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.page-simple .news-item:last-child { border-bottom: 1px solid var(--line); }
.page-simple .news-meta { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-mute); }
.page-simple .news-sep { margin: 0 0.35rem; }
.page-simple .news-link { color: var(--ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; text-decoration: none; }
.page-simple .news-link:hover { color: var(--accent); }
.page-simple .news-original { margin: 0.45rem 0 0; font-size: 0.9rem; color: var(--ink-mute); }
.page-simple .news-original-label { margin-right: 0.45rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

.page-simple .team__lede { margin-bottom: 0.9rem; }
.page-simple .team__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.page-simple .team__item { padding: 1.1rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); }
.page-simple .team__id { margin: 0 0 0.3rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; }
.page-simple .team__name { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.page-simple .team__role { font-size: 0.75rem; font-weight: 700; color: var(--accent); }
.page-simple .team__out { margin: 0; font-size: 0.88rem; }
.page-simple .team__sep { margin: 0 0.4em; color: var(--faint); }
.page-simple .team a, .page-simple .map-link { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); font-size: 0.88rem; }
.page-simple .team a:hover, .page-simple .map-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.page-simple .map-embed { position: relative; width: 100%; margin: 0.35rem 0 0.75rem; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; max-height: 22rem; }
.page-simple .map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-simple .map-link-wrap { margin: 0.25rem 0 0; }

/* Pages on the landing's Airy sheet (body.lp-page): same design as above, only the borders and
   link underlines darkened so they stay visible on the tinted background */
.lp-page .page-simple .team__item { border-color: rgba(15,23,42,.16); }
.lp-page .page-simple .news-item { border-top-color: rgba(15,23,42,.16); }
.lp-page .page-simple .news-item:first-child { border-top: 0; padding-top: .4rem; }
.lp-page .page-simple .news-item:last-child { border-bottom: 0; }
.lp-page .page-simple .team a,
.lp-page .page-simple .map-link { border-bottom-color: rgba(15,23,42,.38); }
.lp-page .page-simple .team a:hover,
.lp-page .page-simple .map-link:hover { border-bottom-color: var(--accent); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
    .site-nav { padding: 0 1rem; height: 3.6rem; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    }
    .menu-open .nav-links { display: flex; }
    .nav-links > li + li { border-top: 1px solid var(--line); }
    .nav-links > li > a, .nav-trigger { width: 100%; padding: 0.95rem 0.25rem; font-size: 1.05rem; justify-content: space-between; border-radius: 0; }
    .nav-links > li > a:hover, .nav-trigger:hover, .has-dropdown.open .nav-trigger { background: none; }
    .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 0.5rem; display: none; opacity: 1; visibility: visible; transform: none; }
    .has-dropdown.open .dropdown { display: block; transform: none; }

    .wrap { padding: 0 1rem; }

    .page-simple { padding-left: 1rem; padding-right: 1rem; }
    .page-simple .team__list { grid-template-columns: 1fr; }
}

/* =========================================================
   Landing page (Home) — visual language from airy-web's landing
   ========================================================= */
.nowrap { white-space: nowrap; }

/* ---- One fixed Airy sheet behind the whole page, toolbar included ---- */
.lp-page {
    --sheet-fade: radial-gradient(ellipse 98% 94% at 46% 44%, #000 0%, #000 30%, rgba(0,0,0,.72) 52%, rgba(0,0,0,.38) 76%, transparent 100%);
    background: #fff;
    isolation: isolate;
}
.airy-sheet.page-sheet { position: fixed; inset: 0; z-index: -1; }
.airy-sheet, .airy-sheet-gradient, .airy-sheet-cloud, .airy-sheet-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.airy-sheet { z-index: -1; overflow: hidden; }
.airy-sheet-gradient {
    background:
        radial-gradient(ellipse 52% 38% at 8% 14%, rgba(255,255,255,.88) 0%, rgba(255,255,255,.52) 34%, transparent 72%),
        radial-gradient(ellipse 48% 36% at 92% 16%, rgba(255,255,255,.85) 0%, rgba(255,255,255,.48) 32%, transparent 68%),
        radial-gradient(ellipse 52% 44% at 9% 93%, #fff 0%, rgba(255,255,255,.65) 30%, transparent 66%),
        radial-gradient(ellipse 51% 36% at 64% 22%, rgba(147,186,238,.5) 0%, rgba(186,210,240,.18) 48%, transparent 78%),
        radial-gradient(ellipse 43% 49% at 13% 71%, rgba(163,196,235,.44) 0%, rgba(210,224,244,.16) 46%, transparent 76%),
        radial-gradient(ellipse 37% 31% at 88% 55%, rgba(186,210,240,.38) 0%, transparent 72%),
        linear-gradient(132deg, #fff 0%, #f3f7fd 26%, #d9e4f2 52%, #eef3fa 76%, #fff 100%);
}
.airy-sheet-cloud {
    inset: -15%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011 0.018' numOctaves='4' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.68' intercept='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='520' height='520' filter='url(%23g)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.007 0.026' numOctaves='3' seed='21' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.58' intercept='0.08'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='640' height='640' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 480px 480px, 620px 620px;
    opacity: .62;
    mix-blend-mode: overlay;
    -webkit-mask-image: var(--sheet-fade);
    mask-image: var(--sheet-fade);
}
.airy-sheet-grain {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.12' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.82'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.95'/%3E%3C/svg%3E");
    background-size: 120px 120px, 180px 180px;
    opacity: .42;
    mix-blend-mode: multiply;
    -webkit-mask-image: var(--sheet-fade);
    mask-image: var(--sheet-fade);
}

/* Borderless toolbar: fully transparent at the top; once scrolled, a soft
   frosted veil that fades out downward instead of ending in a line. */
.lp-page .site-header {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
}
.lp-page .site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 -1.75rem;
    z-index: -1;
    background: linear-gradient(rgba(248,250,253,.78), rgba(248,250,253,0));
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.lp-page .site-header.is-scrolled::before { opacity: 1; }
/* On the see-through toolbar a flat tint reads as a grey box; hover with translucent white instead */
@media (min-width: 761px) {
    .lp-page .nav-links > li > a:hover,
    .lp-page .nav-trigger:hover,
    .lp-page .has-dropdown.open .nav-trigger,
    .lp-page .has-dropdown:hover .nav-trigger { background: rgba(255, 255, 255, 0.6); }
}

/* ---- Hero: centred ---- */
/* Centred on the full screen, not on the area below the toolbar: the hero
   slides up under the (transparent) toolbar and pads it back equally on both
   sides, then sits ~2% above the geometric centre so it reads as centred. */
.lp-hero {
    --hdr: 4rem;
    margin-top: calc(-1 * var(--hdr));
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--hdr) + 2rem) 0 calc(var(--hdr) + 2rem + 4svh);
    position: relative;
}
/* Scroll-down cue at the bottom of the hero */
.lp-scroll {
    position: absolute; left: 50%; bottom: clamp(1.25rem, 4vh, 2.25rem);
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-mute); text-decoration: none;
    transition: color .2s ease, opacity .3s ease;
}
.lp-scroll svg { width: 16px; height: 16px; animation: lp-nudge 2s ease-in-out infinite; }
.lp-scroll:hover { color: var(--ink); }
.lp-page.is-scrolled-past .lp-scroll { opacity: 0; pointer-events: none; }
@keyframes lp-nudge { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lp-scroll svg { animation: none; } }
@media (max-height: 700px) { .lp-scroll { display: none; } }
.lp-hero-inner { text-align: center; animation: lp-rise .8s ease-out both; }
.lp-title {
    margin: 0 auto;
    font-size: clamp(2.5rem, 6.3vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.052em;
    line-height: 1.02;
    color: var(--ink);
}
.lp-title-line { display: block; }
.lp-sub {
    margin: clamp(1.5rem, 3.2vh, 2.25rem) auto 0;
    font-size: clamp(1.05rem, 1.55vw, 1.4rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.015em;
    color: #475569;
    white-space: nowrap;
}
/* Benchmark line above the headline: plain text, no link */
.lp-eyebrow {
    margin-bottom: clamp(1.1rem, 2.6vh, 1.6rem);
    font-size: .95rem; font-weight: 500; letter-spacing: -0.005em; color: #64748b;
}
.lp-eyebrow strong { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .lp-eyebrow { font-size: .85rem; } }

@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Section frame ---- */
.lp-section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

/* ---- Section header: centred title + one-line description ---- */
.lp-head { text-align: center; max-width: 64rem; margin: 0 auto; }
.lp-head-desc strong { color: var(--ink); font-weight: 700; }
.lp-langs { margin-top: .6rem; font-size: .9rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-mute); text-wrap: balance; }
.lp-head-title {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
    color: var(--ink);
}

/* "Free" badge beside a product name: the logo gradient as a pill, so the price reads at a glance. It hangs off
   the name's right edge, so the name itself stays centred, and its middle sits on the middle of the capitals
   (1.85em of the badge = .556em of the title). */
.lp-named { position: relative; display: inline-block; }
.lp-free {
    position: absolute; left: 100%; top: 1.85em; transform: translateY(-50%); margin-left: 1em; padding: .34em .78em .36em;
    font-size: .3em; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase; color: #fff; white-space: nowrap;
    border-radius: 999px; background: linear-gradient(90deg, var(--airy-c) 0%, var(--airy-b) 48%, var(--airy-v) 100%);
    box-shadow: 0 6px 18px rgba(60,125,224,.32);
}
.lp-head-desc strong.airy-grad { font-weight: 800; color: transparent; }
.lp-head-desc {
    margin-top: .85rem;
    font-size: clamp(1.08rem, 1.6vw, 1.3rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: #475569;
    text-wrap: balance;
}

/* ---- Contact ---- */
.lp-email {
    display: table;
    margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
}
.lp-email:hover { color: var(--airy-b); }

/* ---- Model: poster composition ---- */

.fv-scroll { margin-top: .75rem; }
.frontier-viz {
    container-type: inline-size;
    position: relative;
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 60px rgba(60,125,224,.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: clamp(1rem, 2vw, 1.75rem) clamp(.5rem, 1.5vw, 1.25rem) clamp(.5rem, 1vw, .75rem);
}
.fv-chart { display: block; width: 100%; height: auto; overflow: visible; }
.fv-chart text { font-family: var(--font); }
/* The animated marks start hidden until frontier.js takes over, so the finished frame never flashes on load. */
#fv-dyn { opacity: 0; }
/* Chart marks in the landing palette: slate for everything, blue only for Airy */
.fv-grid { stroke: #e7edf5; stroke-width: 2; }
.fv-axis-line { stroke: #cbd5e1; stroke-width: 2; }
.fv-tick { font-size: 28px; font-weight: 600; fill: #94a3b8; }
.fv-axis-title { font-size: 30px; font-weight: 700; fill: #64748b; letter-spacing: -0.01em; }
.fv-better { font-size: 26px; font-weight: 800; fill: var(--airy-b); letter-spacing: .06em; opacity: .75; }
.fv-dot { transform-box: fill-box; transform-origin: center; fill: #cbd5e1; stroke: #fff; stroke-width: 4; }
.fv-dot.is-named { fill: #64748b; }
.fv-tag-bg { fill: rgba(255,255,255,.92); stroke: rgba(15,23,42,.12); stroke-width: 2; filter: drop-shadow(0 6px 14px rgba(15,23,42,.08)); }
.fv-tag-name { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; fill: var(--ink); }
.fv-tag-model { font-size: 22px; font-weight: 600; fill: var(--ink-mute); }
.fv-leader { stroke: #94a3b8; stroke-width: 2; }
.fv-frontier-old { fill: none; stroke: #64748b; stroke-width: 4; stroke-dasharray: 14 11; stroke-linejoin: round; }
/* Airy's marks take the logo gradient (cyan → blue → violet) from the SVG defs */
.fv-frontier-new { fill: none; stroke: url(#fv-airy-grad); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 6px 14px rgba(60,125,224,.28)); }
.fv-fill-old { fill: rgba(60,125,224,.07); }
.fv-frontier-label { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.fv-frontier-label--old { fill: #64748b; }
.fv-airy-dot { transform-box: fill-box; transform-origin: center; fill: url(#fv-airy-grad-diag); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 0 8px rgba(60,125,224,.45)); }
.fv-airy-ring { transform-box: fill-box; transform-origin: center; fill: none; stroke: var(--airy-b); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; }

/* Hover comparison: a dot under the pointer gets a dark ring, a dashed line to Airy, and a card with the numbers */
.fv-dot.is-hover { stroke: var(--ink); stroke-width: 6; }
.fv-cmp-line { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 9; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.fv-cmp-line.is-on { opacity: .45; }
.fv-tip {
    position: absolute; left: 0; top: 0; z-index: 2; min-width: 15rem; padding: .75rem .9rem .8rem;
    border-radius: 14px; background: rgba(255,255,255,.97); border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 14px 34px rgba(15,23,42,.14); pointer-events: none;
    opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; visibility: hidden;
}
.fv-tip.is-on { opacity: 1; transform: none; visibility: visible; }
.fv-tip-name { font-size: .95rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: .45rem; }
.fv-tip-name small { margin-left: .3rem; font-size: .78rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.fv-tip-row { display: grid; grid-template-columns: 3rem auto auto 1fr; align-items: baseline; gap: .6rem; font-size: .82rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.fv-tip-k { font-weight: 700; color: var(--ink-mute); }
.fv-tip-v { font-weight: 800; color: var(--ink); }
.fv-tip-airy { font-weight: 600; color: var(--ink-mute); white-space: nowrap; }
.fv-tip-note { justify-self: end; font-weight: 800; color: var(--ink-mute); white-space: nowrap; }
.fv-tip-note.is-good { color: var(--airy-b); }
.fv-tip-foot { margin-top: .35rem; font-size: .78rem; font-weight: 700; color: var(--airy-b); }

/* Airy label + "New frontier" line label */
.fv-airy-pill { fill: var(--ink); filter: drop-shadow(0 8px 18px rgba(15,23,42,.28)); }
.fv-airy-text { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; fill: #fff; }
.fv-airy-model { font-size: 23px; font-weight: 600; fill: rgba(255,255,255,.7); }
.fv-airy-leader { stroke: var(--airy-b); stroke-width: 3; stroke-dasharray: 6 8; }
.fv-airy-tag { transform-box: fill-box; }
.fv-frontier-label--new { fill: var(--airy-b); font-weight: 800; }

/* Benchmark caption above the chart */
.fv-meta {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    padding: 0 .25rem;
    font-size: .9rem;
    color: var(--ink-mute);
}
.fv-meta strong { color: var(--ink); font-weight: 700; }

.fv-swipe { display: none; }

.lp-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}
.lp-proof-item { padding-left: 1rem; border-left: 3px solid var(--airy-b); border-image: linear-gradient(180deg, var(--airy-c), var(--airy-b) 50%, var(--airy-v)) 1; }
.lp-proof-big { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; color: var(--ink); }
.lp-proof-rows { margin-top: .4rem; display: grid; gap: .15rem; font-size: .95rem; line-height: 1.45; }
.lp-proof-rows > div { display: grid; grid-template-columns: 3.6rem 1fr; }
.lp-proof-rows dt { font-weight: 700; color: var(--ink); }
.lp-proof-rows dd { color: #475569; }
.lp-proof-links { display: grid; gap: .3rem; justify-items: end; text-align: right; font-size: .9rem; }
.lp-proof-links a { color: var(--airy-b); font-weight: 700; text-decoration: none; }
.lp-proof-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-proof-links span { color: var(--ink-mute); }

/* ---- Products: airy-web landing paths ---- */

@media (max-width: 960px) {
    .lp-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-proof-links { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; gap: 1.25rem; }
}

@media (max-width: 760px) {
    .footer-inner { padding-block: 2rem; }
    .lp-proof { grid-template-columns: minmax(0, 1fr); }
    .lp-proof-links { grid-auto-flow: row; gap: .4rem; }
    .lp-title { font-size: clamp(2.3rem, 10.5vw, 3.4rem); text-wrap: balance; }
    .lp-sub { white-space: normal; max-width: 22rem; text-wrap: balance; }
    .lp-hero { --hdr: 3.6rem; }
        /* Chart keeps a readable size and scrolls sideways, starting at Airy */
    .frontier-viz { padding: .9rem .4rem .5rem; border-radius: 18px; }
    /* Phones show the desktop chart shrunk to the screen; the comparison card is laid out for the narrow width,
       with Airy's figure under the model's */
    .fv-tip { min-width: 0; width: min(17rem, calc(100% - 1rem)); padding: .65rem .8rem .7rem; }
    .fv-tip-row { grid-template-columns: 2.6rem auto 1fr; column-gap: .55rem; row-gap: 0; margin-bottom: .25rem; }
    .fv-tip-k { grid-column: 1; grid-row: 1; }
    .fv-tip-v { grid-column: 2; grid-row: 1; }
    .fv-tip-note { grid-column: 3; grid-row: 1; }
    .fv-tip-airy { grid-column: 2 / 4; grid-row: 2; font-size: .74rem; line-height: 1.25; }
    .fv-swipe { display: block; margin-top: .6rem; font-size: .8rem; font-weight: 600; color: var(--ink-mute); text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-hero-inner { animation: none; }
}

/* =========================================================
   Hero voice demo: one slim bar + sentence (voice pack vp-v13)
   ========================================================= */
.vd { margin: clamp(3rem, 7vh, 4.5rem) auto 0; display: flex; flex-direction: column; align-items: center; }
.vd-title { margin-bottom: .75rem; font-size: .9rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.vd-bar {
    display: inline-flex; align-items: center; gap: .85rem;
    padding: .4rem .6rem .4rem .4rem;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 10px 30px rgba(37,99,235,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.vd-play {
    flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center;
    background: var(--accent); color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,.35);
    transition: background .15s ease, transform .15s ease;
}
.vd-play:hover { background: var(--accent-deep); transform: scale(1.05); }
.vd-play svg { width: 16px; height: 16px; fill: currentColor; }
.vd-play .i-pause, .vd.is-playing .vd-play .i-play { display: none; }
.vd.is-playing .vd-play .i-pause { display: block; }
.vd.is-loading .vd-play { animation: vd-pulse 1s ease-in-out infinite; }
@keyframes vd-pulse { 50% { box-shadow: 0 0 0 6px rgba(37,99,235,.15); } }

/* Vertical pills: fixed positions, heights follow the voice */
.vd-wave {
    --pill-w: 4px; --pill-gap: 5px;
    flex: none; display: flex; align-items: center; justify-content: space-between;
    width: 150px; height: 28px;
}
.vd-pill {
    flex: none; width: var(--pill-w); height: 4px; border-radius: 999px;
    background: linear-gradient(90deg, #6BD8EE, #3C7DE0 50%, #7A5FD6);
    background-size: var(--wave-w, 150px) 100%;
    background-position: calc(var(--x, 0px) * -1) 0;
    opacity: var(--o, 1);
    will-change: height;
}

.vd-sep { flex: none; width: 1px; height: 22px; background: rgba(15,23,42,.1); }

.vd-voices { display: flex; gap: .45rem; }
.vd-voice { padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; line-height: 0; }
.vd-voice img {
    width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #fff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15,23,42,.08);
    transition: box-shadow .2s ease, transform .2s ease;
}
.vd-voice:hover img { transform: translateY(-1px); }
.vd-voice[aria-checked="true"] img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }

.vd-langs { display: flex; gap: 2px; }
.vd-lang {
    padding: .32rem .5rem; border: 0; border-radius: 7px; cursor: pointer; background: none;
    font: 700 .8rem/1 var(--font); letter-spacing: .02em; color: var(--ink-mute);
    transition: background .15s ease, color .15s ease;
}
.vd-lang:hover { color: var(--ink); background: rgba(15,23,42,.05); }
.vd-lang[aria-checked="true"] { background: var(--ink); color: #fff; }

/* Fixed-height slot: switching language never changes the page height */
.vd-text {
    margin-top: .8rem;
    width: min(100%, 52rem);
    height: 1.75em;
    font-size: .95rem; font-weight: 500; line-height: 1.75; color: #475569;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-align: center;
}
.vd-text:lang(ko) { font-family: "Noto Sans KR", var(--font); }
.vd-text:lang(zh) { font-family: "Noto Sans SC", var(--font); }
.vd-text:lang(ar) { font-family: "Noto Sans Arabic", var(--font); }
.vd-text:lang(hi) { font-family: "Noto Sans Devanagari", var(--font); }
.vd-text:lang(th) { font-family: "Noto Sans Thai", var(--font); }

/* Phones: two rows inside a rounded bar */
@media (max-width: 760px) {
    .vd-bar { flex-wrap: wrap; justify-content: center; gap: .6rem .7rem; border-radius: 22px; padding: .55rem .6rem; max-width: 100%; }
    .vd-wave { width: 96px; }
    .vd-sep:last-of-type { display: none; }
    .vd-langs { flex-basis: 100%; justify-content: center; }
    /* two-line slot on phones, same height for every language */
    .vd-text {
        font-size: .88rem; padding: 0 .5rem;
        height: 3.4em; line-height: 1.7; white-space: normal; text-wrap: balance;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    }
}

/* =========================================================
   Airy Studio section: centred header + drifting cast
   ========================================================= */
.lp-cast-marquee {
    display: flex; flex-direction: column; gap: clamp(.6rem, 1.2vw, .9rem);
    margin-top: clamp(2rem, 4vw, 2.75rem);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    overflow: hidden;
}
.lp-cast-row { overflow: hidden; padding: 6px 0; }
.lp-cast-track {
    --size: clamp(52px, 5.4vw, 72px); --gap: clamp(.6rem, 1.1vw, .9rem);
    display: flex; gap: var(--gap); width: max-content;
    animation: lp-drift 70s linear infinite;
}
.lp-cast-row.is-reverse .lp-cast-track { animation-direction: reverse; animation-duration: 80s; }
.lp-cast-track img {
    flex: none; width: var(--size); height: var(--size); border-radius: 50%; object-fit: cover; background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 8px 18px rgba(15,23,42,.08);
}
/* track holds the set twice; shifting by half (plus half a gap) loops seamlessly */
@keyframes lp-drift { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (prefers-reduced-motion: reduce) { .lp-cast-track { animation: none; } }
.lp-studio-cta-wrap { display: flex; justify-content: center; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }

/* =========================================================
   Airy API section: animated Price + Throughput (from the airy-tts poster)
   ========================================================= */
.lp-studio-cta-wrap { gap: .75rem; flex-wrap: wrap; }
.metrics {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}
.metric {
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
    border-radius: 22px;
    background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px rgba(37,99,235,.10);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.metric-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.metric-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: end; margin-top: .9rem; }
.metric-num { font-size: clamp(3rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: .95; }
.metric-unit { margin-top: .35rem; font-size: 1rem; font-weight: 700; color: var(--ink); }
.metric-note { margin-top: .5rem; font-size: .92rem; font-weight: 600; color: var(--ink-mute); white-space: nowrap; }
.metric-note strong { color: var(--ink); font-weight: 800; }
.metric-foot { margin-top: 1rem; font-size: .74rem; color: var(--faint); }

.vbars { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.3rem, .7vw, .55rem); align-items: end; }
.vbar { display: flex; flex-direction: column; align-items: stretch; gap: .45rem; min-width: 0; }
/* label floats above the bar so every bar height is a true share of the same scale */
.vbar-track { position: relative; height: clamp(120px, 14vw, 160px); padding-top: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.vbar-track .vbar-val {
    position: absolute; left: 0; right: 0; text-align: center; bottom: .3rem; margin: 0;
    transition: opacity .4s ease calc(var(--i, 0) * 110ms + .5s), transform .4s ease calc(var(--i, 0) * 110ms + .5s),
                bottom 1.1s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 110ms);
}
.metrics.is-fading .vbar-track .vbar-val { transition-duration: .5s; transition-delay: 0s; }
.vbar-fill {
    width: 100%; max-width: 46px; border-radius: 8px 8px 4px 4px;
    height: 0; min-height: 0;
    background: #d3dce8;
    transition: height 1.1s cubic-bezier(.16,1,.3,1);
    transition-delay: calc(var(--i, 0) * 110ms);
}
.vbar.is-us .vbar-fill { background: linear-gradient(180deg, #7A5FD6, #3C7DE0 55%, #1FB6D9); }
.vbar-val {
    font-size: .8rem; font-weight: 800; color: var(--ink-mute); margin-bottom: .3rem; font-variant-numeric: tabular-nums;
    opacity: 0; transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--i, 0) * 110ms + .5s);
}
.vbar.is-us .vbar-val { color: var(--airy-b); }
.vbar-name { text-align: center; line-height: 1.15; }
.vbar-name strong { display: block; font-size: .72rem; letter-spacing: -0.015em; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbar-name small { display: block; font-size: .66rem; font-weight: 600; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbar.is-us .vbar-name strong { color: var(--airy-b); }

.metrics.is-on .vbar-fill { height: max(6px, var(--h)); }
.metrics.is-on .vbar-track .vbar-val { bottom: calc((100% - 1.4rem) * var(--hf) + .3rem); }
.metrics.is-on .vbar-val { opacity: 1; transform: none; }
.metrics.is-fading .vbar-fill, .metrics.is-fading .vbar-val { transition-duration: .5s; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
    .vbar-fill, .vbar-val { transition: none; }
}
@media (max-width: 1100px) {
    .metrics { grid-template-columns: minmax(0, 1fr); max-width: 44rem; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
    .metric-cols { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .metric-col + .metric-col { padding-left: 0; margin-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid rgba(15,23,42,.08); }
}

/* Price | Throughput (two columns: chars/sec + total response time) */
.metrics { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.metric { display: flex; flex-direction: column; }
.metric .metric-foot { margin-top: auto; padding-top: 1rem; }
.metric-body { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 1.25rem; }
.metric-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-col + .metric-col { padding-left: clamp(1rem, 2.4vw, 1.75rem); margin-left: clamp(1rem, 2.4vw, 1.75rem); border-left: 1px solid rgba(15,23,42,.08); }
.metric-col .hbars { align-self: end; min-height: calc(clamp(120px, 14vw, 160px) + 2.4rem); align-content: end; }
.hbars { list-style: none; display: grid; gap: .55rem; align-self: center; }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name val" "track track"; gap: .15rem .5rem; align-items: baseline; }
.hbar-name { grid-area: name; display: flex; align-items: baseline; gap: .35rem; min-width: 0; white-space: nowrap; }
.hbar-name strong { font-size: .76rem; font-weight: 800; color: var(--ink); }
.hbar-name small { font-size: .66rem; font-weight: 600; color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.hbar-val { grid-area: val; font-size: .76rem; font-weight: 800; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.hbar-track { grid-area: track; height: 8px; border-radius: 6px; background: rgba(15,23,42,.06); overflow: hidden; }
.hbar-fill {
    display: block; height: 100%; width: 0; border-radius: 6px; background: #d3dce8;
    /* every bar starts together and fills in its real response time */
    transition: width calc(var(--ms, 1000) * 1ms) linear;
}
.hbar.is-us .hbar-fill { background: linear-gradient(90deg, #1FB6D9, #3C7DE0 55%, #7A5FD6); }
.hbar.is-us .hbar-name strong, .hbar.is-us .hbar-val { color: var(--airy-b); }
.metrics.is-on .hbar-fill { width: 100%; }
.metrics.is-racing .hbar-fill { transition: none; }   /* JS drives the width in lockstep with the ms counter */
/* the ✓ slot is always reserved so the number never shifts; it only fades in */
.hbar-val::after { content: "✓"; display: inline-block; width: 1.1em; text-align: right; opacity: 0; transition: opacity .2s ease; }
.hbar.is-done .hbar-val::after { opacity: 1; color: var(--airy-b); }
.hbar.is-done:not(.is-us) .hbar-val::after { color: var(--ink-mute); }
.hbar.is-done:not(.is-us) .hbar-fill { background: #b9c6d6; }
.metrics.is-fading .hbar-fill { transition-duration: .5s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .hbar-fill { transition: none; } }
/* responsive overrides for the Price | Throughput layout (must follow the base rules above) */
@media (max-width: 1100px) {
    .metrics { grid-template-columns: minmax(0, 1fr); max-width: 44rem; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
    .metric-cols { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .metric-col + .metric-col { padding-left: 0; margin-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid rgba(15,23,42,.08); }
}

/* =========================================================
   Airy Studio: animated multi-character script editor
   ========================================================= */
.sd {
    max-width: 40rem; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0;
    border-radius: 20px; text-align: left;
    background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 22px 54px rgba(37,99,235,.12);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: opacity .5s ease;
}
.sd.is-fading { opacity: .35; }
.sd-bar { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-bottom: 1px solid rgba(15,23,42,.06); }
.sd-dots { display: flex; gap: 5px; } .sd-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5dde8; }
.sd-file { font-size: .82rem; font-weight: 700; color: var(--ink); }
.sd-export { margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--ink); padding: .3rem .7rem; border-radius: 999px; background: rgba(15,23,42,.05); }
.sd-export small { font-weight: 600; color: var(--ink-mute); margin-left: .25rem; }

.sd-lines { list-style: none; padding: .35rem .5rem .6rem; min-height: calc(4 * 3.35rem + .95rem); }
.sd-line {
    display: grid; grid-template-columns: 36px 6.2rem minmax(0, 1fr) auto auto; align-items: center; gap: .75rem;
    height: 3.35rem; padding: 0 .55rem; border-radius: 12px;
    opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease, background .3s ease;
}
.sd-line + .sd-line { border-top: 1px solid rgba(15,23,42,.05); }
.sd-line.is-in { opacity: 1; transform: none; }
.sd-line.is-typing, .sd-line.is-gen { background: rgba(60,125,224,.06); }
.sd-line img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15,23,42,.08); }
.sd-who { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sd-who strong { font-size: .84rem; font-weight: 800; color: var(--ink); }
.sd-who em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--airy-b); }
.sd-text { font-size: .95rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-caret { display: none; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--airy-b); animation: sd-blink 1s steps(1) infinite; }
.sd-line.is-typing .sd-caret { display: inline-block; }
@keyframes sd-blink { 50% { opacity: 0; } }

/* per-line voice render: tiny pills pulse, then duration + ✓ */
.sd-gen { display: flex; align-items: center; gap: 2px; height: 18px; width: 26px; opacity: 0; transition: opacity .2s ease; }
.sd-gen i { flex: 1; height: 30%; border-radius: 9px; background: linear-gradient(180deg, #7A5FD6, #3C7DE0 55%, #1FB6D9); }
.sd-line.is-gen .sd-gen { opacity: 1; }
.sd-line.is-gen .sd-gen i { animation: sd-pulse .6s ease-in-out infinite alternate; }
.sd-line.is-gen .sd-gen i:nth-child(2) { animation-delay: -.15s; } .sd-line.is-gen .sd-gen i:nth-child(3) { animation-delay: -.3s; }
.sd-line.is-gen .sd-gen i:nth-child(4) { animation-delay: -.45s; } .sd-line.is-gen .sd-gen i:nth-child(5) { animation-delay: -.6s; }
.sd-line.is-done .sd-gen { opacity: 1; } .sd-line.is-done .sd-gen i { height: 55%; opacity: .7; }
.sd-line.is-done .sd-gen i:nth-child(2) { height: 85%; } .sd-line.is-done .sd-gen i:nth-child(3) { height: 40%; } .sd-line.is-done .sd-gen i:nth-child(4) { height: 70%; }
@keyframes sd-pulse { from { height: 25%; } to { height: 100%; } }
.sd-dur { font-size: .76rem; font-weight: 800; color: var(--ink-mute); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .25s ease; width: 2.6em; text-align: right; }
.sd-line.is-done .sd-dur { opacity: 1; }

.lp-studio .lp-cast-marquee { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
@media (max-width: 600px) {
    .sd-line { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "img who dur" "img text dur"; height: auto; padding: .55rem; row-gap: .1rem; }
    .sd-line img { grid-area: img; width: 32px; height: 32px; }
    .sd-who { grid-area: who; flex-direction: row; gap: .4rem; align-items: baseline; }
    .sd-text { grid-area: text; font-size: .88rem; }
    .sd-gen { display: none; }
    .sd-dur { grid-area: dur; }
    .sd-lines { min-height: calc(4 * 3.6rem + .95rem); }
    .sd-export small { display: none; }
}

/* =========================================================
   Airy On-Device section: three benefits
   ========================================================= */
.odb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.odb-card {
    display: flex; flex-direction: column; text-align: left;
    padding: clamp(1.25rem, 2.4vw, 1.75rem); border-radius: 22px;
    background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px rgba(37,99,235,.10);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.odb-visual { height: 7.5rem; display: flex; flex-direction: column; justify-content: center; margin-bottom: 1.1rem; }
/* The tight tracking pulls the box in past the last glyph, and the gradient is clipped to the box: pad it back out. */
.odb-big { font-size: clamp(3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.06em; line-height: .95; align-self: flex-start; padding-right: .1em; }
.odb-sub { margin-top: .4rem; font-size: .9rem; font-weight: 700; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.odb-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.odb-text { margin-top: .35rem; font-size: .95rem; line-height: 1.5; color: #475569; }

/* private: data stays circling inside the device */
.odb-private { align-items: flex-start; }
.odb-device {
    position: relative; width: 6.2rem; height: 6.2rem; border-radius: 22px;
    border: 2px dashed rgba(60,125,224,.45);
    display: grid; place-items: center;
}
.odb-lock { width: 30px; height: 30px; color: var(--airy-b); }
.odb-dot { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: linear-gradient(135deg, #1FB6D9, #7A5FD6); animation: odb-orbit 3.2s linear infinite; }
.odb-dot:nth-child(2) { animation-delay: -1.07s; }
.odb-dot:nth-child(3) { animation-delay: -2.13s; }
@keyframes odb-orbit { from { transform: rotate(0deg) translateX(2.25rem) rotate(0deg); } to { transform: rotate(360deg) translateX(2.25rem) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .odb-dot { animation: none; } }

@media (max-width: 960px) { .odb { grid-template-columns: minmax(0, 1fr); max-width: 32rem; margin-left: auto; margin-right: auto; } .odb-visual { height: auto; min-height: 5rem; } }

/* Short subpages (Careers, News) on the Airy sheet: keep the footer at the bottom of the screen */
.lp-page main:has(> .page-simple) { min-height: calc(100svh - var(--hdr, 64px) - 5.25rem); }

/* Language menu (EN ⇄ KO) at the end of the toolbar, like airy-web's landing */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang-menu { position: relative; flex-shrink: 0; margin-left: -1rem; }
.lang-trigger {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
    background: rgba(255,255,255,.38); box-shadow: inset 0 0 0 1px rgba(15,23,42,.08);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    color: var(--ink-soft); font: 600 .78rem/1 var(--font); white-space: nowrap; list-style: none; cursor: pointer; user-select: none;
}
.lang-trigger::-webkit-details-marker { display: none; }
.lang-trigger:hover, .lang-menu[open] .lang-trigger { color: var(--ink); background: rgba(255,255,255,.62); }
.lang-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-chevron { color: var(--ink-mute); transition: transform .15s ease; }
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }
.lang-list {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 12.5rem; padding: 6px; border-radius: 16px;
    background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 12px 32px rgba(15,23,42,.14);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.lang-list ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lang-opt {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding: 0 12px;
    border-radius: 10px; color: var(--ink-soft); font-size: .84rem; font-weight: 500; text-decoration: none;
}
.lang-opt:hover, .lang-opt:focus-visible { background: rgba(15,23,42,.05); color: var(--ink); outline: none; }
.lang-opt-label { display: inline-flex; align-items: center; gap: 10px; }
.lang-opt-code { color: var(--ink-mute); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.lang-opt.is-active, .lang-opt.is-active .lang-opt-code { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
    /* Stays visible next to the menu button instead of inside the mobile menu */
    .site-nav { gap: .5rem; }
    .lang-menu { margin-left: auto; order: 2; }
    .menu-toggle { margin-left: 0; order: 3; }
}

/* Korean pages: break lines between words, not inside them */
html[lang="ko"] body { word-break: keep-all; }
