/* ============================================
   CutLand — Light professional stylesheet
   ============================================ */

:root {
    --bg: #f7f9fc;
    --bg-elevated: #ffffff;
    --bg-soft: #eef3f9;
    --bg-tint: #e8f4f2;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --teal: #0d9488;
    --teal-soft: #14b8a6;
    --grad: linear-gradient(135deg, #0066ff 0%, #0d9488 100%);
    --grad-soft: linear-gradient(135deg, rgba(0, 102, 255, 0.12) 0%, rgba(13, 148, 136, 0.12) 100%);
    --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --max: 1160px;
    --header-h: 72px;
    --font-display: "Outfit", sans-serif;
    --font-body: "Sora", sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
    font-size: 0.95rem;
}

.btn-lg {
    padding: 15px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 102, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 102, 255, 0.36);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: #fff;
    transform: translateY(-2px);
    border-color: rgba(0, 102, 255, 0.25);
}

.btn-store {
    min-width: 180px;
    padding: 14px 22px;
    background: var(--text);
    color: #fff;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.2;
}

.btn-store:hover {
    transform: translateY(-2px);
    background: #1e293b;
}

.btn-store .store-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-store .store-name {
    font-size: 1rem;
    font-weight: 700;
}

.btn-store.is-soon {
    opacity: 0.85;
    cursor: default;
    pointer-events: none;
}

.btn-store.is-soon::after {
    content: "Coming soon";
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--teal-soft);
    margin-top: 2px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(247, 249, 252, 0.92);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.28);
}

.logo-text span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-desktop a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--grad);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.25);
}

.nav-cta:hover {
    color: #fff !important;
    opacity: 0.95;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer — outside header so fixed isn't trapped */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 210;
    width: min(86vw, 360px);
    transform: translateX(-105%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.nav-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.nav-drawer-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse 80% 40% at 0% 0%, rgba(0, 102, 255, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 35% at 100% 100%, rgba(13, 148, 136, 0.12), transparent 50%),
        #ffffff;
    border-right: 1px solid var(--border);
    box-shadow: 24px 0 60px rgba(15, 23, 42, 0.18);
    padding: 18px 20px 28px;
    overflow-y: auto;
}

.nav-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.nav-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}

.nav-close:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

.nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.nav-drawer-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text);
    transition: background var(--transition), transform var(--transition);
}

.nav-drawer-links a:hover {
    background: rgba(0, 102, 255, 0.06);
    transform: translateX(4px);
}

.nav-idx {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--teal);
    min-width: 22px;
}

.nav-drawer-foot {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-drawer-cta {
    width: 100%;
    justify-content: center;
}

.nav-drawer-mail {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-drawer-mail:hover {
    color: var(--primary);
}

@media (min-width: 769px) {
    .nav-backdrop,
    .nav-drawer,
    .burger {
        display: none !important;
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-soft {
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 102, 255, 0.05), transparent 50%),
        var(--bg-soft);
}

.section-tint {
    background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-desc.center {
    text-align: center;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 55% at 12% 18%, rgba(0, 102, 255, 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 88% 22%, rgba(13, 148, 136, 0.2) 0%, transparent 52%),
        radial-gradient(ellipse 50% 40% at 70% 85%, rgba(0, 102, 255, 0.08) 0%, transparent 55%),
        linear-gradient(165deg, #eef4ff 0%, #f3fbf9 42%, #f7f9fc 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 75%);
    opacity: 0.9;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -60px;
    top: 12%;
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 50%;
    animation: spinSlow 48s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--grad);
}

.hero-orbit::before {
    width: 10px;
    height: 10px;
    top: 48%;
    left: -5px;
    box-shadow: 0 0 16px rgba(0, 102, 255, 0.5);
}

.hero-orbit::after {
    width: 7px;
    height: 7px;
    top: 8%;
    right: 22%;
    background: var(--teal);
    box-shadow: 0 0 14px rgba(13, 148, 136, 0.5);
}

.hero-bg .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.6;
    animation: floatBlob 14s ease-in-out infinite;
}

.blob-1 {
    width: 460px;
    height: 460px;
    background: rgba(0, 102, 255, 0.28);
    top: -100px;
    left: -80px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(13, 148, 136, 0.26);
    top: 8%;
    right: -100px;
    animation-delay: -4s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 102, 255, 0.14);
    bottom: 5%;
    left: 40%;
    animation-delay: -8s;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.brand-hero {
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 8vw, 5.8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.92;
    margin-bottom: 18px;
    color: var(--text);
}

.brand-hero span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2);
    animation: pulseDot 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 16px;
    max-width: 480px;
}

.hero-em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-pills span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border);
}

/* Studio mockup */
.hero-stage {
    position: relative;
    perspective: 1200px;
}

.studio {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(165deg, #0b1220 0%, #132036 55%, #0f1a2c 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 40px 80px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(0, 102, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: rotateY(-6deg) rotateX(4deg) translateZ(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stage:hover .studio {
    transform: rotateY(-2deg) rotateX(2deg) translateY(-4px);
}

.studio-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.studio-dots {
    display: flex;
    gap: 5px;
}

.studio-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: block;
}

.studio-dots i:nth-child(1) { background: #ff5f57; }
.studio-dots i:nth-child(2) { background: #febc2e; }
.studio-dots i:nth-child(3) { background: #28c840; }

.studio-title {
    flex: 1;
    font-size: 0.72rem;
    color: rgba(226, 232, 240, 0.55);
    font-weight: 500;
}

.studio-live {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5eead4;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.18);
    border: 1px solid rgba(94, 234, 212, 0.25);
}

.studio-preview {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px 14px 8px;
}

.preview-scene {
    position: relative;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.45), transparent 45%),
        radial-gradient(circle at 75% 60%, rgba(13, 148, 136, 0.4), transparent 40%),
        linear-gradient(145deg, #1a2744, #0d1526);
}

.scene-glow {
    position: absolute;
    inset: -20%;
    background: conic-gradient(from 180deg, rgba(0, 102, 255, 0.15), transparent 40%, rgba(13, 148, 136, 0.18), transparent 75%);
    animation: spinSlow 18s linear infinite;
}

.scene-frame {
    position: absolute;
    inset: 18px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
        linear-gradient(120deg, #24355a 0%, #16233d 100%);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.scene-pip {
    position: absolute;
    width: 58px;
    height: 76px;
    right: 34px;
    bottom: 42px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(160deg, #3b82f6, #0d9488);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    animation: floatPip 4.5s ease-in-out infinite;
}

.scene-caption {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: max-content;
    max-width: 86%;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    backdrop-filter: blur(6px);
    text-align: center;
}

.scene-progress {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.scene-progress span {
    display: block;
    height: 100%;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #2dd4bf);
    animation: progressGrow 5s ease-in-out infinite;
}

.preview-tools {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.tool {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.45);
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.tool.is-on {
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.55), rgba(13, 148, 136, 0.45));
    border-color: rgba(94, 234, 212, 0.25);
}

.studio-timeline {
    position: relative;
    margin: 6px 14px 16px;
    padding: 12px 12px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.tl-ruler {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.58rem;
    color: rgba(148, 163, 184, 0.7);
    font-variant-numeric: tabular-nums;
}

.tl-track {
    position: relative;
    height: 22px;
    margin-bottom: 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.track-v {
    display: flex;
    gap: 4px;
    padding: 3px;
}

.tl-clip {
    height: 100%;
    border-radius: 4px;
}

.tl-clip.c1 {
    width: 34%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.tl-clip.c2 {
    width: 22%;
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
}

.tl-clip.c3 {
    width: 28%;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    opacity: 0.85;
}

.track-a {
    height: 18px;
    overflow: hidden;
}

.tl-wave {
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(45, 212, 191, 0.15) 0 2px,
            rgba(45, 212, 191, 0.55) 2px 3px,
            rgba(45, 212, 191, 0.2) 3px 5px,
            rgba(96, 165, 250, 0.5) 5px 6px,
            rgba(96, 165, 250, 0.15) 6px 9px
        );
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    animation: waveSlide 8s linear infinite;
}

.track-s {
    display: flex;
    gap: 4px;
    padding: 2px;
    height: 20px;
}

.tl-sub {
    font-size: 0.58rem;
    font-weight: 650;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
}

.tl-sub.s1 { width: 18%; }
.tl-sub.s2 { width: 16%; }
.tl-sub.s3 { width: 24%; }
.tl-sub.accent {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.55), rgba(13, 148, 136, 0.5));
    color: #fff;
}

.tl-playhead {
    position: absolute;
    top: 28px;
    bottom: 10px;
    left: 38%;
    width: 2px;
    background: #f8fafc;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: playhead 6s ease-in-out infinite;
}

.tl-playhead::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #fff;
}

.float-chip {
    position: absolute;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 650;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.chip-ai {
    top: -6px;
    left: -8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: floatChip 5s ease-in-out infinite;
}

.chip-dub {
    top: 28%;
    right: -18px;
    animation: floatChip 6s ease-in-out infinite;
    animation-delay: -1.5s;
}

.chip-export {
    bottom: 18%;
    left: -22px;
    animation: floatChip 5.5s ease-in-out infinite;
    animation-delay: -2.5s;
}

.chip-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.18);
    animation: pulseDot 1.6s ease-in-out infinite;
}

/* ---------- Feature / Bento ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.bento-item {
    grid-column: span 2;
    position: relative;
    padding: 26px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bento-hero {
    grid-column: span 4;
    grid-row: span 2;
    background:
        radial-gradient(ellipse 80% 70% at 90% 10%, rgba(0, 102, 255, 0.1), transparent 50%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(13, 148, 136, 0.1), transparent 50%),
        rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.bento-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -40px;
    top: -40px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.12);
    filter: blur(40px);
    pointer-events: none;
}

.bento-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.bento-hero h3 {
    font-size: 1.55rem;
}

.bento-hero p {
    max-width: 420px;
    font-size: 1rem;
    margin-bottom: 24px;
}

.bento-visual.shorts {
    margin-top: auto;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.short-card {
    flex: 1;
    height: 110px;
    border-radius: 14px;
    background: linear-gradient(160deg, #dbeafe, #ccfbf1);
    border: 1px solid rgba(0, 102, 255, 0.12);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.7;
    transform: translateY(6px);
    transition: transform var(--transition), opacity var(--transition);
}

.short-card span {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.12);
}

.short-card span:first-child {
    width: 40%;
    height: 40%;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.35), rgba(13, 148, 136, 0.35));
}

.short-card.active {
    height: 132px;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 16px 32px rgba(0, 102, 255, 0.15);
    background: linear-gradient(160deg, #eff6ff, #ecfdf5);
}

.feature-item {
    padding: 8px 4px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
}

.toolkit-row {
    display: flex;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.toolkit-row:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.toolkit-num {
    font-family: var(--font-display);
    font-weight: 750;
    font-size: 0.9rem;
    color: var(--primary);
    min-width: 28px;
    padding-top: 2px;
}

.toolkit-row h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.toolkit-row p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ---------- Split / highlight ---------- */
.split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.split-text .section-label {
    margin-bottom: 12px;
}

.split-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.split-text > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.12);
    color: var(--teal);
    display: grid;
    place-items: center;
    margin-top: 1px;
}

.check-mark svg {
    width: 12px;
    height: 12px;
}

.visual-panel {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.12), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(13, 148, 136, 0.12), transparent 40%),
        linear-gradient(160deg, #ffffff 0%, #eef6ff 50%, #e6f7f4 100%);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: 36px 32px;
    min-height: 320px;
    overflow: hidden;
}

.visual-panel::before {
    content: "";
    position: absolute;
    inset: auto -20% -40% 20%;
    height: 70%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 65%);
    pointer-events: none;
}

.waveform {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 80px;
    margin-bottom: 28px;
}

.waveform span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--grad);
    opacity: 0.75;
    animation: wave 1.8s ease-in-out infinite;
}

.waveform span:nth-child(odd) { animation-delay: 0.15s; }
.waveform span:nth-child(3n) { animation-delay: 0.35s; }

.panel-caption {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.panel-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.export-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.export-badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.step {
    position: relative;
    padding: 24px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ---------- CTA ---------- */
.cta-block {
    text-align: center;
    padding: 72px 40px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 80% 80% at 15% 0%, rgba(0, 102, 255, 0.18), transparent 55%),
        radial-gradient(ellipse 70% 70% at 95% 100%, rgba(13, 148, 136, 0.18), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
    pointer-events: none;
}

.cta-block h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.cta-block > p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    position: relative;
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-dim);
    position: relative;
}

.cta-note a {
    color: var(--primary);
    font-weight: 600;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 28px;
    background: #0f172a;
    color: #cbd5e1;
    overflow-x: clip;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    max-width: 100%;
}

.footer .logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer .logo-text {
    color: #fff;
}

.footer .logo-text span {
    background: linear-gradient(135deg, #60a5fa 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #94a3b8;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom a {
    color: #94a3b8;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------- Legal pages ---------- */
.legal-header .header-inner {
    justify-content: space-between;
}

.back-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.back-link:hover {
    color: var(--primary);
}

.legal-main {
    padding: calc(var(--header-h) + 40px) 0 80px;
    width: 100%;
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.legal-sidebar-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.toc-panel {
    display: block;
}

.toc-summary {
    display: none;
}

@media (min-width: 961px) {
    .toc-panel > .toc-list {
        display: flex !important;
    }
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.toc-link:hover,
.toc-link.active {
    color: var(--text);
    background: rgba(0, 102, 255, 0.06);
    border-left-color: var(--primary);
}

.policy-content {
    min-width: 0;
    max-width: 100%;
}

.legal-banner {
    background: var(--grad-soft);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-bottom: 28px;
    max-width: 100%;
    box-sizing: border-box;
}

.legal-banner .hero-badge {
    margin-bottom: 14px;
}

.legal-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}

.meta-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
    width: 100%;
    max-width: 100%;
}

.meta-bar > div {
    display: block;
    width: 100%;
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.meta-bar strong {
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.legal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.legal-card h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.3;
    max-width: 100%;
}

.section-num {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--grad);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.legal-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin: 18px 0 8px;
}

.legal-card p,
.legal-card li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}

.legal-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 8px;
}

.legal-card a {
    color: var(--primary);
    font-weight: 500;
}

.legal-card a:hover {
    text-decoration: underline;
}

.callout {
    margin: 16px 0;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.callout-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--teal);
    margin-bottom: 6px;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 600;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    max-width: 100%;
}

.table-container table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.table-container th,
.table-container td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.table-container th {
    background: var(--bg-soft);
    color: var(--text);
    font-weight: 650;
    font-family: var(--font-display);
}

.table-container tr:last-child td {
    border-bottom: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.contact-item {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.contact-val {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.terms-simple {
    max-width: 800px;
    margin: 0 auto;
}

.terms-simple .legal-banner {
    margin-bottom: 32px;
}

.terms-simple .legal-card h2 {
    display: block;
}

.terms-simple .legal-card h2 .section-num {
    display: none;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -18px) scale(1.05); }
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.08); }
}

@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatPip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes progressGrow {
    0%, 100% { width: 28%; }
    50% { width: 68%; }
}

@keyframes playhead {
    0%, 100% { left: 18%; }
    50% { left: 72%; }
}

@keyframes waveSlide {
    from { background-position: 0 0; }
    to { background-position: 120px 0; }
}

@keyframes wave {
    0%, 100% { transform: scaleY(0.45); }
    50% { transform: scaleY(1); }
}

.waveform span:nth-child(1) { height: 35%; }
.waveform span:nth-child(2) { height: 60%; }
.waveform span:nth-child(3) { height: 85%; }
.waveform span:nth-child(4) { height: 45%; }
.waveform span:nth-child(5) { height: 95%; }
.waveform span:nth-child(6) { height: 55%; }
.waveform span:nth-child(7) { height: 70%; }
.waveform span:nth-child(8) { height: 40%; }
.waveform span:nth-child(9) { height: 80%; }
.waveform span:nth-child(10) { height: 50%; }
.waveform span:nth-child(11) { height: 65%; }
.waveform span:nth-child(12) { height: 90%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-layout {
        gap: 32px;
    }

    .chip-dub,
    .chip-export {
        display: none;
    }

    .studio {
        transform: rotateY(-3deg) rotateX(2deg);
    }
}

@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy {
        max-width: 640px;
    }

    .hero-stage {
        max-width: 560px;
        margin: 0 auto;
    }

    .studio {
        transform: none;
    }

    .hero-stage:hover .studio {
        transform: translateY(-4px);
    }

    .chip-ai {
        left: 8px;
        top: -12px;
    }

    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item,
    .bento-hero {
        grid-column: span 1;
        grid-row: auto;
    }

    .bento-hero {
        grid-column: span 2;
        min-height: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .toolkit-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .legal-sidebar {
        position: static;
        top: auto;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        margin-bottom: 0;
        padding-right: 0;
        width: 100%;
    }

    .legal-sidebar-title {
        display: none;
    }

    .toc-panel {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
        overflow: visible;
    }

    .toc-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        font-family: var(--font-display);
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        color: var(--text);
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

    .toc-summary::-webkit-details-marker {
        display: none;
    }

    .toc-summary::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--text-dim);
        border-bottom: 2px solid var(--text-dim);
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        flex-shrink: 0;
        margin-top: -4px;
    }

    .toc-panel[open] .toc-summary::after {
        transform: rotate(225deg);
        margin-top: 2px;
    }

    .toc-panel .toc-list {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2px;
        padding: 0 8px 10px;
        width: 100%;
        max-height: none;
        overflow: visible;
    }

    .toc-link {
        border-left: none;
        background: transparent;
        font-size: 0.88rem;
        padding: 10px 12px;
        white-space: normal;
        border-radius: 10px;
    }

    .toc-link:hover,
    .toc-link.active {
        border-left-color: transparent;
        background: rgba(0, 102, 255, 0.08);
        color: var(--primary);
    }

    .policy-content,
    .legal-banner,
    .legal-card,
    .legal-main {
        overflow: visible !important;
        max-height: none !important;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }

    .hero {
        padding-top: calc(var(--header-h) + 28px);
        min-height: auto;
        padding-bottom: 56px;
    }

    .hero-orbit {
        display: none;
    }

    .brand-hero {
        font-size: clamp(3rem, 14vw, 4.2rem);
    }

    .preview-scene {
        height: 160px;
    }

    .float-chip {
        font-size: 0.65rem;
        padding: 8px 10px;
    }

    .section {
        padding: 72px 0;
    }

    .bento,
    .features-grid,
    .steps,
    .footer-inner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .bento-item,
    .bento-hero {
        grid-column: span 1;
    }

    .cta-block {
        padding: 48px 24px;
    }

    .legal-main {
        padding: calc(var(--header-h) + 20px) 0 48px;
    }

    .legal-layout.container,
    .container.legal-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .legal-banner,
    .legal-card {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .legal-banner h1 {
        font-size: 1.55rem;
        margin-bottom: 12px;
    }

    .meta-bar {
        font-size: 0.82rem;
        gap: 6px;
    }

    .legal-card h2 {
        font-size: 1.05rem;
    }

    .legal-card p,
    .legal-card li {
        font-size: 0.9rem;
    }

    .callout {
        padding: 12px 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item[style*="grid-column"] {
        grid-column: auto !important;
    }

    .footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
