:root {
    --navy: #0B1F3A;
    --blue: #1B5FA8;
    --blue-dark: #14497f;
    --tint: #E8F1FB;
    --ink: #0F172A;
    --muted: #64748B;
    --line: #E2E8F0;
    --bg: #F7F8FA;
    --white: #FFFFFF;
    --ok: #0F766E;
    --warn: #B45309;
    --danger: #B91C1C;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 12px 32px rgba(11, 31, 58, .06);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 460px; }

.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 20;
}
.topbar .inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: linear-gradient(135deg, var(--blue), #2f7fd0);
    display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800;
}
.navlinks { display: flex; align-items: center; gap: 8px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid transparent; border-radius: 12px;
    padding: 11px 18px; font-size: 14.5px; font-weight: 650;
    cursor: pointer; transition: .15s ease; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #122c4f; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.hero { padding: 56px 0 28px; background: radial-gradient(1200px 500px at 15% -10%, #E8F1FB 0%, rgba(232,241,251,0) 60%), var(--bg); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--tint); color: var(--blue-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
h1.hero-title { font-size: clamp(30px, 6vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 16px 0 12px; color: var(--navy); max-width: 760px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: #334155; max-width: 640px; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 10px 0 6px; font-size: 17.5px; color: var(--navy); letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .icon {
    width: 40px; height: 40px; border-radius: 12px; background: var(--tint);
    display: grid; place-items: center; color: var(--blue); font-size: 18px;
}

.section { padding: 36px 0; }
.section h2 { font-size: clamp(22px, 3.2vw, 30px); letter-spacing: -.02em; color: var(--navy); margin: 0 0 8px; }
.section .lede { color: var(--muted); margin: 0 0 22px; max-width: 640px; }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-ok { background: #ECFDF5; color: var(--ok); }
.pill-warn { background: #FFF7ED; color: var(--warn); }
.pill-muted { background: #F1F5F9; color: var(--muted); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 650; color: #1E293B; margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.input {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
    font-size: 15px; background: #fff; color: var(--ink); outline: none; transition: .15s;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,95,168,.12); }
.input.is-error { border-color: var(--danger); }
.error { color: var(--danger); font-size: 12.8px; margin-top: 6px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #334155; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); }

.flash { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; border: 1px solid; }
.flash-ok { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.flash-err { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.auth-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 24px; margin: 0 0 6px; color: var(--navy); letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }

.stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat .label { font-size: 14px; color: #334155; }
.stat .value { font-size: 14px; font-weight: 700; color: var(--navy); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 18px 42px; color: #334155; font-size: 14.5px; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 9px;
    background: var(--tint); color: var(--blue-dark); font-weight: 800; font-size: 13px;
    display: grid; place-items: center;
}

.footer { border-top: 1px solid var(--line); background: #fff; padding: 24px 0; margin-top: 40px; color: var(--muted); font-size: 13px; }
.footer .inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

@media (max-width: 820px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero { padding: 36px 0 18px; }
    .auth-card { padding: 22px; border-radius: 16px; }
    .navlinks .hide-sm { display: none; }
}

.plan-card { display: flex; flex-direction: column; }
.plan-card.is-current { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,95,168,.10), var(--shadow); }
@media (max-width: 980px) { .grid-2[style*="repeat(4"] { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .grid-2[style*="repeat(4"] { grid-template-columns: 1fr !important; } }

.is-hidden { display: none; }
.chip { border:1px solid var(--line); background:#fff; color:#334155; border-radius:999px; padding:7px 12px; font-size:12.5px; font-weight:600; cursor:pointer; }
.chip-on { border-color:var(--blue); color:var(--blue); background:#F1F7FE; }

.btn-danger{background:#B91C1C;color:#fff;border:1px solid #A31515;}
.btn-danger:hover{background:#A31515;}

/* ---------- Studio shell: sidebar + workspace ---------- */
body.studio { background:#F5F7FB; }
/* VACK Voice brand assets (logo supplied by Cornelius) */
.brand .mark, .authpage-brand .mark, .gfoot-brand .mark, .topline .who .mark,
.side .brand .mark, .d2-brand img.m {
    background: none !important;
    box-shadow: none !important;
    object-fit: contain;
    display: block;
}
.d2-brand img.m { border-radius: 10px; }

.shell { display:flex; min-height:100vh; align-items:stretch; }
.side {
    width:250px; flex:0 0 250px; position:sticky; top:0; height:100vh; overflow-y:auto;
    background:linear-gradient(185deg,#0B1F3A 0%,#0A182C 55%,#0B2138 100%);
    color:#C7D6EA; padding:20px 14px; display:flex; flex-direction:column;
    border-right:1px solid rgba(255,255,255,.06);
}
.side .brand { display:flex; align-items:center; gap:11px; text-decoration:none; color:#fff; padding:4px 6px 6px; }
.side .brand .mark { background:#fff; color:#0B1F3A; }
.side .brand b { font-size:15.5px; letter-spacing:.01em; display:block; line-height:1.1; }
.side .brand small { display:block; font-size:10.5px; letter-spacing:.10em; text-transform:uppercase; color:#7E99BC; margin-top:3px; }
.side .group { font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:#6C87AB; margin:20px 8px 8px; }
.side nav { display:flex; flex-direction:column; gap:3px; }
.side nav a { display:flex; align-items:center; gap:11px; padding:10px 11px; border-radius:10px; color:#B9CBE4; text-decoration:none; font-size:14px; font-weight:520; transition:background .15s,color .15s; }
.side nav a svg { width:17px; height:17px; opacity:.85; flex:0 0 17px; }
.side nav a:hover { background:rgba(255,255,255,.07); color:#fff; }
.side nav a.on { background:#1B5FA8; color:#fff; box-shadow:0 6px 16px rgba(27,95,168,.35); }
.side nav a.on svg { opacity:1; }
.side .credit { margin-top:auto; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:13px; }
.side .credit .rowline { display:flex; justify-content:space-between; font-size:12.5px; color:#A9BED8; margin-bottom:7px; }
.side .credit .rowline b { color:#fff; font-weight:650; }
.side .credit a { display:block; text-align:center; margin-top:10px; background:#fff; color:#0B1F3A; border-radius:8px; padding:8px; font-size:12.5px; font-weight:700; text-decoration:none; }
.side .sidefoot { margin-top:14px; display:flex; flex-direction:column; gap:6px; }
.side .sidefoot a, .side .sidefoot button { background:none; border:0; padding:6px 8px; color:#8FA6C4; font-size:12.5px; text-align:left; text-decoration:none; cursor:pointer; border-radius:7px; }
.side .sidefoot a:hover, .side .sidefoot button:hover { background:rgba(255,255,255,.06); color:#fff; }

.workspace { flex:1; min-width:0; display:flex; flex-direction:column; }
.topline { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.86); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); padding:14px 30px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.topline .crumb { font-size:12.5px; color:#64748B; }
.topline h1 { margin:2px 0 0; font-size:19px; letter-spacing:-.01em; }
.topline .who { display:flex; align-items:center; gap:10px; }
.topline .who .mark { background:#0B1F3A; color:#fff; }
.workspace .body { padding:24px 30px 44px; max-width:1180px; width:100%; }
.workspace .body > .card { box-shadow:0 1px 2px rgba(15,23,42,.05); }

.toolhero { background:linear-gradient(135deg,#0B1F3A 0%,#123A63 60%,#1B5FA8 100%); color:#fff; border-radius:18px; padding:26px 28px; margin-bottom:20px; position:relative; overflow:hidden; }
.toolhero:after { content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.06); }
.toolhero .eyebrow { color:#9EC2EC; }
.toolhero h2 { color:#fff; margin:6px 0 8px; font-size:24px; letter-spacing:-.015em; }
.toolhero p { color:#CBDCEE; max-width:640px; margin:0; font-size:14.5px; line-height:1.6; }
.toolhero .steps { display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; position:relative; z-index:1; }
.toolhero .step { background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16); border-radius:11px; padding:10px 13px; font-size:12.8px; color:#E8F1FB; }
.toolhero .step b { color:#fff; display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px; opacity:.75; }

.toolgrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.toolcard { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; display:flex; flex-direction:column; gap:10px; box-shadow:0 1px 2px rgba(15,23,42,.05); transition:transform .15s, box-shadow .15s; }
.toolcard:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(11,31,58,.10); }
.toolcard .ic { width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:#E8F1FB; color:#1B5FA8; }
.toolcard h3 { margin:0; font-size:16.5px; }
.toolcard p { margin:0; color:#64748B; font-size:13.3px; line-height:1.55; }
.toolcard ul { margin:0; padding-left:17px; color:#475569; font-size:13px; line-height:1.7; }
.toolcard .go { margin-top:auto; }

@media (max-width: 980px) {
    .shell { flex-direction:column; }
    .side { position:relative; width:100%; flex:none; height:auto; flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px; padding:12px; }
    .side .group, .side .credit, .side .brand small { display:none; }
    .side nav { flex-direction:row; flex-wrap:wrap; gap:6px; }
    .side nav a { padding:8px 10px; font-size:13px; }
    .side .sidefoot { flex-direction:row; margin:0 0 0 auto; }
    .workspace .body, .topline { padding-left:16px; padding-right:16px; }
    .toolgrid { grid-template-columns:1fr; }
}

/* ---------- Public site: header, footer, landing ---------- */
body.landing { background:#fff; color:#0F172A; }
.ghead { position:sticky; top:0; z-index:40; background:rgba(255,255,255,.88); backdrop-filter:blur(12px); border-bottom:1px solid #E9EEF6; }
.ghead-in { max-width:1200px; margin:0 auto; padding:14px 24px; display:flex; align-items:center; gap:26px; }
.ghead .brand { display:flex; align-items:center; gap:11px; text-decoration:none; color:#0B1F3A; }
.ghead .brand b { display:block; font-size:15px; line-height:1.1; }
.ghead .brand small { display:block; font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:#7A8CA6; }
.gnav { display:flex; gap:22px; margin-left:10px; }
.gnav a { color:#475569; text-decoration:none; font-size:14px; font-weight:520; }
.gnav a:hover { color:#1B5FA8; }
.ghead-cta { margin-left:auto; display:flex; gap:9px; align-items:center; }

.gfoot { background:#0B1F3A; color:#C3D3E8; margin-top:0; }
.gfoot-in { max-width:1200px; margin:0 auto; padding:52px 24px 34px; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; }
.gfoot .brand { color:#fff; display:flex; gap:11px; align-items:center; text-decoration:none; margin-bottom:14px; }
.gfoot .brand .mark { background:#fff; color:#0B1F3A; }
.gfoot .brand b { display:block; font-size:15px; }
.gfoot .brand small { display:block; font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:#8FA6C4; }
.gfoot-brand p { margin:0 0 10px; font-size:13.6px; line-height:1.65; color:#A9BED8; max-width:330px; }
.gfoot-col h4 { color:#fff; font-size:12px; letter-spacing:.10em; text-transform:uppercase; margin:4px 0 12px; }
.gfoot-col a, .gfoot-col span { display:block; color:#A9BED8; text-decoration:none; font-size:13.4px; margin-bottom:9px; }
.gfoot-col a:hover { color:#fff; }
.gfoot-bar { border-top:1px solid rgba(255,255,255,.09); max-width:1200px; margin:0 auto; padding:16px 24px 26px; display:flex; justify-content:space-between; gap:12px; font-size:12.5px; color:#8FA6C4; }

.lhero { background:radial-gradient(1200px 520px at 78% -10%, #1B5FA8 0%, #0B1F3A 55%, #081426 100%); color:#fff; padding:64px 24px 76px; }
.lhero-in { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.lbadge { display:inline-block; font-size:11.5px; letter-spacing:.10em; text-transform:uppercase; color:#1B5FA8; background:#E8F1FB; padding:6px 11px; border-radius:999px; font-weight:700; }
.lhero .lbadge { background:rgba(255,255,255,.12); color:#D9E8FA; }
.lhero h1 { font-size:52px; line-height:1.04; letter-spacing:-.03em; margin:16px 0 16px; color:#fff; max-width:620px; }
.llead { font-size:16.5px; line-height:1.65; color:#C6D7EA; max-width:560px; margin:0 0 26px; }
.lhero-cta { display:flex; gap:12px; flex-wrap:wrap; }
.lhero-cta .btn-ghost { border-color:rgba(255,255,255,.35); color:#fff; }
.lhero-cta .btn-ghost:hover { background:rgba(255,255,255,.10); }
.lproof { display:flex; gap:34px; margin-top:38px; flex-wrap:wrap; }
.lproof div { display:flex; flex-direction:column; }
.lproof b { font-size:26px; letter-spacing:-.02em; color:#fff; }
.lproof span { font-size:12.5px; color:#9FB6D0; }

.lhero-art { position:relative; height:420px; }
.artcard { position:absolute; background:#fff; color:#0F172A; border-radius:16px; padding:14px; box-shadow:0 26px 60px rgba(3,10,22,.45); width:236px; }
.arttag { font-size:10.5px; letter-spacing:.10em; text-transform:uppercase; color:#1B5FA8; font-weight:700; }
.art-a { top:8px; left:0; transform:rotate(-4deg); }
.art-b { top:96px; right:0; transform:rotate(3deg); width:250px; }
.art-c { bottom:0; left:44px; transform:rotate(-2deg); width:210px; }
.artmeta { display:block; font-size:11px; color:#7A8CA6; margin-top:8px; }
.wave { display:flex; align-items:flex-end; gap:3px; height:46px; margin:12px 0 8px; }
.wave i { display:block; width:5px; border-radius:3px; background:#1B5FA8; opacity:.85; }
.wave i:nth-child(1){height:14px}.wave i:nth-child(2){height:26px}.wave i:nth-child(3){height:38px}
.wave i:nth-child(4){height:22px}.wave i:nth-child(5){height:40px}.wave i:nth-child(6){height:30px}
.wave i:nth-child(7){height:18px}.wave i:nth-child(8){height:34px}.wave i:nth-child(9){height:24px}
.wave i:nth-child(10){height:12px}.wave i:nth-child(11){height:28px}.wave i:nth-child(12){height:16px}
.artimage { height:130px; border-radius:10px; margin:12px 0 4px; background:
    radial-gradient(120px 80px at 30% 30%, #F4C89A 0%, transparent 70%),
    linear-gradient(150deg, #1B5FA8 0%, #0B1F3A 70%); }
.artvideo { height:112px; border-radius:10px; margin:12px 0 4px; background:linear-gradient(120deg,#123A63,#1B5FA8); display:flex; align-items:center; justify-content:center; }
.artvideo .play { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.92); color:#0B1F3A; display:flex; align-items:center; justify-content:center; font-size:13px; }

.lsection { padding:78px 24px; }
.lsection-alt { background:#F5F8FC; }
.lwrap { max-width:1200px; margin:0 auto; }
.lhead { max-width:660px; margin-bottom:36px; }
.lhead h2 { font-size:34px; letter-spacing:-.025em; margin:12px 0 10px; color:#0B1F3A; }
.lhead p { margin:0; color:#5B6B82; font-size:15.5px; line-height:1.65; }

.lgrid3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.lcard { background:#fff; border:1px solid #E6EDF6; border-radius:18px; padding:26px; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.lcard h3 { font-size:19px; margin:14px 0 8px; color:#0B1F3A; }
.lcard p { color:#5B6B82; font-size:14px; line-height:1.65; margin:0 0 14px; }
.lcard ul { margin:0; padding-left:18px; color:#42536B; font-size:13.6px; line-height:1.85; }
.lic { display:flex; width:42px; height:42px; border-radius:12px; background:#E8F1FB; color:#1B5FA8; align-items:center; justify-content:center; font-size:17px; }
.lrolling { margin-top:14px !important; font-size:12.5px !important; color:#8A6A2F !important; background:#FDF6E7; border-radius:9px; padding:9px 11px; }

.lshow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.lshot { margin:0; background:#fff; border:1px solid #E6EDF6; border-radius:16px; overflow:hidden; }
.lshot img, .lshot video { width:100%; height:230px; object-fit:cover; display:block; background:#0B1F3A; }
.lshot figcaption { padding:12px 14px; display:flex; flex-direction:column; gap:3px; }
.lshot figcaption span { font-size:13px; color:#42536B; }
.lshot figcaption b { font-size:11.5px; color:#1B5FA8; letter-spacing:.02em; }
.lcenter { text-align:center; margin-top:26px; }

.lsteps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.lstep { background:#fff; border:1px solid #E6EDF6; border-radius:18px; padding:26px; }
.lnum { display:flex; width:34px; height:34px; border-radius:50%; background:#0B1F3A; color:#fff; align-items:center; justify-content:center; font-size:14px; font-weight:700; }
.lstep h3 { margin:14px 0 8px; font-size:17.5px; color:#0B1F3A; }
.lstep p { margin:0; color:#5B6B82; font-size:14px; line-height:1.65; }

.ltry { display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center; }
.ltry-card { background:#fff; border:1px solid #E6EDF6; border-radius:16px; padding:22px; }
.ltry-card label { display:block; font-size:13px; font-weight:650; color:#334155; margin-bottom:7px; }

.lprices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.lprice { position:relative; background:#fff; border:1px solid #E6EDF6; border-radius:18px; padding:24px; display:flex; flex-direction:column; }
.lprice-hot { border-color:#1B5FA8; box-shadow:0 12px 30px rgba(27,95,168,.14); }
.lribbon { position:absolute; top:-11px; left:20px; background:#1B5FA8; color:#fff; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; padding:5px 10px; border-radius:999px; }
.lprice h3 { margin:0 0 8px; font-size:16px; color:#0B1F3A; }
.lamount { font-size:26px; font-weight:750; letter-spacing:-.02em; color:#0B1F3A; margin:0 0 14px; }
.lamount span { font-size:12.5px; font-weight:500; color:#7A8CA6; }
.lprice ul { list-style:none; margin:0 0 18px; padding:0; color:#42536B; font-size:13.4px; line-height:1.9; }
.lprice ul li:before { content:"\2713"; color:#1B5FA8; margin-right:8px; }
.lprice .btn { margin-top:auto; }
.lprice .btn-ghost { border-color:#CBD9EA; color:#1B5FA8; }

.lsplit { display:grid; grid-template-columns:.9fr 1.1fr; gap:44px; align-items:start; }
.lfaq details { border-bottom:1px solid #E6EDF6; padding:16px 0; }
.lfaq summary { cursor:pointer; font-weight:640; color:#0B1F3A; font-size:15px; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.lfaq summary::-webkit-details-marker { display:none; }
.lfaq summary:after { content:"+"; color:#1B5FA8; font-weight:700; }
.lfaq details[open] summary:after { content:"\2013"; }
.lfaq p { margin:10px 0 0; color:#5B6B82; font-size:14px; line-height:1.65; }

.lcta { padding:20px 24px 84px; }
.lcta-in { max-width:1200px; margin:0 auto; border-radius:24px; padding:56px 32px; text-align:center;
    background:radial-gradient(700px 260px at 50% 0%, #1B5FA8 0%, #0B1F3A 60%, #081426 100%); color:#fff; }
.lcta-in h2 { color:#fff; font-size:32px; letter-spacing:-.02em; margin:0 0 10px; }
.lcta-in p { color:#C6D7EA; margin:0 0 22px; }
.lcta-in .btn-ghost { border-color:rgba(255,255,255,.4); color:#fff; }

@media (max-width: 1020px) {
    .lhero-in, .ltry, .lsplit { grid-template-columns:1fr; }
    .lhero-art { display:none; }
    .lgrid3, .lsteps, .lshow { grid-template-columns:1fr 1fr; }
    .lprices { grid-template-columns:1fr 1fr; }
    .gfoot-in { grid-template-columns:1fr 1fr; }
    .lhero h1 { font-size:40px; }
}
@media (max-width: 680px) {
    .gnav { display:none; }
    .lgrid3, .lsteps, .lshow, .lprices, .gfoot-in { grid-template-columns:1fr; }
    .lhero h1 { font-size:32px; }
    .lsection { padding:56px 18px; }
    .lhead h2 { font-size:26px; }
}

/* ---------- Auth: split screen ---------- */
body.authbody { background:#F5F7FB; }
.authsplit { display:grid; grid-template-columns:1.02fr 1fr; min-height:100vh; }
.authside { background:radial-gradient(900px 420px at 20% 0%, #1B5FA8 0%, #0B1F3A 55%, #081426 100%); color:#fff; padding:34px 40px; display:flex; flex-direction:column; }
.authside .brand { color:#fff; display:flex; gap:11px; align-items:center; text-decoration:none; }
.authside .brand .mark { background:#fff; color:#0B1F3A; }
.authside .brand b { display:block; font-size:15px; }
.authside .brand small { display:block; font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:#8FA6C4; }
.authside-mid { margin:auto 0; max-width:430px; }
.authside h2 { color:#fff; font-size:34px; line-height:1.12; letter-spacing:-.025em; margin:0 0 14px; }
.authside p { color:#C1D3E8; font-size:15px; line-height:1.65; margin:0; }
.authproof { list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:11px; }
.authproof li { display:flex; gap:10px; align-items:flex-start; color:#DCE8F6; font-size:13.8px; }
.tick { width:20px; height:20px; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; flex:0 0 20px; }
.authside-foot p { margin:0 0 4px; color:#8FA6C4; font-size:12px; }

.authpanel { background:#fff; padding:26px 40px 30px; display:flex; flex-direction:column; }
.authpanel-top { display:flex; justify-content:space-between; gap:12px; margin-bottom:26px; }
.authpanel-top a { color:#1B5FA8; text-decoration:none; }
.authform { width:100%; max-width:420px; margin:auto; }
.authh1 { font-size:28px; letter-spacing:-.02em; margin:0 0 6px; color:#0B1F3A; }
.authsub { color:#64748B; font-size:14px; margin:0 0 22px; }
.authrow { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.authrow a { color:#1B5FA8; text-decoration:none; }
.authgrid2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.authdivide { display:flex; align-items:center; gap:12px; margin:22px 0 16px; color:#94A3B8; font-size:12px; }
.authdivide:before, .authdivide:after { content:""; flex:1; height:1px; background:#E6EDF6; }
.authpanel-foot { margin:26px 0 0; text-align:center; }
@media (max-width: 900px) { .authsplit { grid-template-columns:1fr; } .authside { display:none; } .authpanel { padding:22px 18px 26px; } }

/* ---------- Explore: community wall ---------- */
.exhead { background:linear-gradient(160deg,#0B1F3A,#123A63); color:#fff; padding:56px 24px 40px; }
.exhead-in { max-width:1200px; margin:0 auto; }
.exhead h1 { color:#fff; font-size:38px; letter-spacing:-.025em; margin:12px 0 10px; }
.exhead p { color:#C6D7EA; max-width:620px; margin:0; font-size:15.5px; line-height:1.65; }
.extabs { max-width:1200px; margin:0 auto; padding:18px 24px; display:flex; gap:8px; flex-wrap:wrap; }
.extab { border:1px solid #E0E8F3; background:#fff; border-radius:999px; padding:8px 14px; font-size:13px; color:#42536B; text-decoration:none; font-weight:600; }
.extab-on { background:#0B1F3A; border-color:#0B1F3A; color:#fff; }
.exgrid { max-width:1200px; margin:0 auto; padding:8px 24px 70px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.excard { background:#fff; border:1px solid #E6EDF6; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; }
.excard img, .excard video { width:100%; height:260px; object-fit:cover; background:#0B1F3A; display:block; }
.exmeta { padding:12px 14px; display:flex; align-items:center; gap:10px; border-top:1px solid #F0F4FA; }
.exavatar { width:30px; height:30px; border-radius:50%; background:#0B1F3A; color:#fff; display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; flex:0 0 30px; }
.exmeta .who { display:flex; flex-direction:column; }
.exmeta .who b { font-size:12.8px; color:#0B1F3A; }
.exmeta .who span { font-size:11.5px; color:#7A8CA6; }
.exmeta .kind { margin-left:auto; }
.exempty { max-width:620px; margin:40px auto 80px; text-align:center; padding:0 24px; }
@media (max-width: 1020px) { .exgrid { grid-template-columns:1fr 1fr; } }
@media (max-width: 680px) { .exgrid { grid-template-columns:1fr; } .exhead h1 { font-size:28px; } }

/* ---------- Auth: one screen, no page scrolling ---------- */
html:has(body.authbody), body.authbody { height:100%; overflow:hidden; }
body.authbody { background:#fff; }
.authsplit { height:100dvh; min-height:0; overflow:hidden; }
.authside { height:100dvh; overflow:hidden; padding:26px 36px; }
.authside-mid { margin:auto 0; max-width:410px; }
.authside h2 { font-size:clamp(24px, 2.3vw, 32px); margin:0 0 10px; }
.authside p { font-size:14px; line-height:1.55; }
.authproof { margin:18px 0 0; padding:0; list-style:none; display:grid; gap:9px; font-size:13px; }
.authside-foot p { font-size:11.5px; }

.authpanel { height:100dvh; min-height:0; overflow:hidden; justify-content:center; padding:16px 36px; }
.authpanel-top { margin-bottom:10px; font-size:12.5px; }
.authform { max-width:400px; margin:auto; max-height:100%; overflow:auto; scrollbar-width:none; padding:2px; }
.authform::-webkit-scrollbar { display:none; }
.authh1 { font-size:clamp(22px, 2vw, 26px); margin:0 0 3px; }
.authsub { font-size:13px; margin:0 0 12px; color:var(--muted); }
.authform .field { margin-bottom:9px; }
.authform .field label { font-size:12px; margin-bottom:4px; }
.authform .input { padding:9px 12px; font-size:14px; border-radius:11px; }
.authform .field .hint, .authform .hint { font-size:11px; margin-top:3px; }
.authform .check { font-size:11.5px; line-height:1.45; gap:8px; }
.authform .check input { width:15px; height:15px; margin-top:1px; }
.authform .btn-lg { padding:11px 18px; font-size:15px; border-radius:12px; }
.authform .btn { padding:10px 16px; font-size:14px; }
.authdivide { margin:11px 0 9px; font-size:11.5px; }
.authgrid2 { gap:10px; }
.authpanel-foot { margin:8px 0 0; font-size:10.5px; line-height:1.4; }
.authpage-brand { display:none; }

@media (max-width: 900px) {
  .authside { display:none; }
  .authpanel { padding:12px 18px; }
  .authpanel-top { margin-bottom:6px; }
  .authpage-brand { display:flex; align-items:center; gap:9px; margin-bottom:8px; }
  .authpage-brand .mark { width:30px; height:30px; border-radius:9px; font-size:11px; }
  .authpage-brand b { font-size:14px; color:#0B1F3A; }
  .authpanel-foot { margin-top:6px; }
}
@media (max-height: 720px) {
  .authpanel { padding-top:8px; padding-bottom:8px; }
  .authh1 { font-size:21px; }
  .authform .field { margin-bottom:7px; }
  .authform .input { padding:8px 11px; }
  .authpanel-foot { display:none; }
}
@media (max-height: 640px) {
  .authsub { display:none; }
  .authform .field .hint, .authform .hint { display:none; }
  .authdivide { margin:8px 0 7px; }
}
.auth-errors { background:#FEF3F2; border:1px solid #F3C4C4; color:#7F1D1D; border-radius:12px; padding:8px 11px; margin:0 0 9px; font-size:11.5px; line-height:1.4; }
.auth-errors b { display:block; font-size:12px; margin-bottom:2px; }
.auth-errors ul { margin:0; padding-left:16px; }
.auth-errors span { display:block; font-size:11px; margin-top:2px; color:#9B3B3B; }

/* Auth layout: fixed head, centred form, fixed foot. Nothing pushes the page. */
.authpanel { display:grid; grid-template-rows:auto 1fr auto; align-items:center; }
.authpanel-head { width:100%; }
.authform { align-self:center; margin:0 auto; width:100%; min-height:0; max-height:100%; }
.auth-alt-link { display:none; text-align:center; font-size:12.5px; color:#64748B; margin:10px 0 0; }
.auth-alt-link a { color:#1B5FA8; font-weight:600; text-decoration:none; }
@media (max-width: 900px) {
  .auth-alt { display:none; }
  .auth-alt-link { display:block; }
}

/* Phone: tighten the auth form so the whole thing stays on one screen */
@media (max-width: 900px) {
  .authpanel-head { margin-bottom:2px; }
  .authpanel-top span { display:none; }
  .auth-errors { padding:6px 10px; font-size:11px; margin-bottom:7px; }
  .authform .field { margin-bottom:8px; }
  .authform .field label { font-size:11.5px; margin-bottom:3px; }
  .authform .input { padding:8px 11px; font-size:13.5px; }
  .authform .btn-lg { padding:10px 16px; font-size:14px; }
  .authh1 { font-size:20px; }
}
@media (max-width: 380px) {
  .authpanel { padding:10px 14px; }
  .authpanel-top { font-size:11.5px; }
  .authform .field { margin-bottom:6px; }
  .authform .check { font-size:11px; }
}
.pw-wrap { position:relative; }
.pw-wrap .input { padding-right:60px; }
.pw-toggle { position:absolute; right:6px; top:50%; transform:translateY(-50%); background:none; border:0; color:#1B5FA8; font-size:11.5px; font-weight:650; padding:6px 8px; cursor:pointer; }
@media (max-width: 340px) {
  .authpanel-top { display:none; }
  .authh1 { font-size:19px; }
  .authform .field label { font-size:11px; }
  .authform .input { padding:7px 10px; font-size:13px; }
  .authform .check { font-size:10.5px; }
  .authpanel-foot { display:none; }
}

/* ---------- Full screen viewer ---------- */
.shot { cursor:zoom-in; }
.shot img { transition:transform .35s ease; }
.shot:hover img { transform:scale(1.03); }
.viewer { position:fixed; inset:0; z-index:120; display:none; flex-direction:column; background:rgba(8,15,28,.95); backdrop-filter:blur(6px); padding:16px clamp(14px,3vw,40px) 22px; }
.viewer.open { display:flex; }
.viewer-bar { display:flex; align-items:center; justify-content:space-between; gap:14px; color:#DCE7F5; }
.viewer-name { font-size:12.5px; max-width:60%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; opacity:.85; }
.viewer-actions { display:flex; gap:8px; }
.viewer-btn { border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff; font-size:12.5px; font-weight:600; padding:8px 14px; border-radius:10px; cursor:pointer; text-decoration:none; }
.viewer-btn:hover { background:rgba(255,255,255,.18); }
.viewer-stage { flex:1; display:flex; align-items:center; justify-content:center; min-height:0; padding:10px 0; }
.viewer-stage img, .viewer-stage video { max-width:100%; max-height:100%; border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.viewer-stage video { background:#000; }
body.viewer-open { overflow:hidden; }

/* =====================================================================
   Studio theme: our colour, reference layout (Cornelius, Nov 2026)
   Brand only: navy #0B1F3A, blue #1B5FA8, faint blue #E8F1FB, white.
   ===================================================================== */
body.studio { background:#F4F7FB; --r:22px; }
.side { background:#fff; color:#475569; border-right:1px solid #E3EBF4; width:236px; flex:0 0 236px; padding:16px 12px; }
.side .brand { color:#0B1F3A; }
.side .brand .mark { background:#0B1F3A; color:#fff; border-radius:12px; }
.side .brand b { font-size:15px; }
.side .brand small { color:#7A8CA6; }
.side .group { color:#8A9CB4; margin:16px 10px 6px; letter-spacing:.10em; }
.side nav a { color:#475569; border-radius:12px; padding:9px 11px; font-size:13.8px; }
.side nav a:hover { background:#F1F6FC; color:#0B1F3A; }
.side nav a.on { background:#E8F1FB; color:#0B1F3A; box-shadow:none; font-weight:650; }
.side .credit { background:#F2F7FD; border:1px solid #DCE9F7; color:#3F5872; border-radius:16px; }
.side .credit .rowline { color:#4B647E; }
.side .credit .rowline b { color:#0B1F3A; }
.side .credit a { background:#1B5FA8; color:#fff; border-radius:10px; }
.side .sidefoot a, .side .sidefoot button { color:#7A8CA6; }
.topline { background:rgba(244,247,251,.92); border-bottom:1px solid #E3EBF4; }
.topline .who .mark { background:#0B1F3A; color:#fff; }
.card { border-radius:22px; border:1px solid #E3EBF4; box-shadow:0 1px 2px rgba(11,31,58,.04); }
.btn-blue { background:#1B5FA8; border-color:#1B5FA8; }
.btn-blue:hover { background:#16508F; }
.toolcard { border-radius:22px; padding:22px; border:1px solid #E3EBF4; }
.toolcard .ic { width:42px; height:42px; border-radius:14px; background:#E8F1FB; color:#1B5FA8; }
.toolgrid .toolcard:nth-child(2) .ic { background:#DEEBF9; color:#1B5FA8; }
.toolgrid .toolcard:nth-child(3) .ic { background:#F0F6FD; color:#0B1F3A; }

/* Greeting + ask bar */
.greet { margin:2px 0 18px; }
.greet .hi { font-size:clamp(22px,2.4vw,30px); letter-spacing:-.025em; color:#0B1F3A; margin:0 0 6px; }
.greet .sub { color:#5B7189; font-size:14px; margin:0; }
.askbox { background:#fff; border:1px solid #E3EBF4; border-radius:24px; padding:16px 18px; box-shadow:0 1px 2px rgba(11,31,58,.05); margin-bottom:16px; }
.askbox form { display:flex; gap:10px; align-items:center; }
.askbox input { flex:1; border:0; outline:0; font-size:15px; color:#0B1F3A; background:transparent; }
.askbox input::placeholder { color:#8A9CB4; }
.askbox .go { background:#1B5FA8; color:#fff; border:0; border-radius:14px; padding:11px 16px; font-size:13.5px; font-weight:650; cursor:pointer; }
.askbox .go:hover { background:#16508F; }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 0; }
.chips a { background:#F1F6FC; color:#2C435C; text-decoration:none; font-size:12.5px; font-weight:600; padding:7px 12px; border-radius:999px; border:1px solid #E3EBF4; }
.chips a:hover { background:#E8F1FB; color:#0B1F3A; border-color:#CFE2F6; }

.procard { background:linear-gradient(120deg,#F4F9FF 0%,#E8F1FB 60%,#DEEBF9 100%); border:1px solid #DCE9F7; border-radius:22px; padding:20px 22px; display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.procard h3 { margin:0 0 4px; font-size:16px; color:#0B1F3A; }
.procard p { margin:0; color:#3F5872; font-size:13.4px; }

/* The auth panel is a light surface inside a dark app: force the text
   colours that the dark theme keeps recolouring to near-white. */
.authpanel h1, .authpanel h2, .authpanel h3, .authpanel .authh1 { color: #0B1F3A !important; }
.authpanel p, .authpanel label, .authpanel .small, .authpanel .authsub { color: #41566E !important; }
.authpanel .muted { color: #64748B !important; }
.authpanel a { color: #1B5FA8 !important; }
.authpanel a.btn, .authpanel button { color: #fff !important; }
.authpanel input, .authpanel textarea, .authpanel select { color: #0B1F3A !important; background: #fff !important; }
.authpanel input::placeholder, .authpanel textarea::placeholder { color: #94A3B8 !important; }
.authpanel .authh1, .authpanel h1 { color: #0B1F3A !important; }
