/* Victoria Clinic AI receptionist — visual system.
 * Palette taken from victoriaclinic.uk: antique gold (#957746, #b49d63) on
 * charcoal (#434648), with their deep navy (#143453) as a quiet accent. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #111213;
  --c900: #151617;
  --c850: #1a1c1d;
  --c800: #1f2122;
  --c700: #282b2d;
  --c600: #35393b;
  --slate: #434648;
  --gold-200: #efe4c5;
  --gold-300: #e2d1a0;
  --gold-400: #cdb67c;
  --gold: #b49d63;
  --gold-600: #957746;
  --gold-ink: #5f4a26;
  --navy: #143453;
  --paper: #faf8f3;
  --cream: #f3eee4;
  --line: #e6dfd0;
  --line-dark: rgba(232, 222, 196, .09);
  --text: #1b1c1d;
  --text-soft: #565a5c;
  --muted: #8b8e8d;
  --on-dark: #ece6d7;
  --on-dark-soft: #a9a598;
  --on-dark-mute: #75736c;
  --ok: #4f9a74;
  --red: #c4553f;
  --red-soft: #fbece8;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Segoe UI", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 1px rgba(17, 18, 19, .04), 0 8px 24px -8px rgba(17, 18, 19, .14);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .6), 0 12px 30px -12px rgba(0, 0, 0, .4);
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
html, body { margin: 0; }
body {
  background: var(--paper); color: var(--text);
  font: 400 15.5px/1.6 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* film grain over everything: warmth, and it hides gradient banding */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.05; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold-300); color: var(--ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; cursor: pointer;
  font-weight: 560; font-size: 14px; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn.sm { padding: 8px 16px; font-size: 13px; }
.btn.lg { padding: 15px 26px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn.gold {
  color: #1a150b; background: linear-gradient(180deg, #dcc68f 0%, var(--gold) 55%, #a58c55 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(95, 74, 38, .35), 0 10px 30px -10px rgba(180, 157, 99, .7);
}
.btn.gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(95, 74, 38, .35), 0 16px 40px -12px rgba(180, 157, 99, .85); }
.btn.gold .ic { width: 1em; height: 1em; }
.btn.ghost { background: rgba(255, 255, 255, .02); border-color: rgba(236, 230, 215, .22); color: var(--on-dark); }
.btn.ghost:hover { border-color: var(--gold); color: #fff; background: rgba(180, 157, 99, .08); }
.btn.ghost .ic { transition: transform .25s var(--ease); }
.btn.ghost:hover .ic { transform: translateX(3px); }
.btn.dark { background: var(--c800); color: var(--on-dark); }
.btn.dark:hover { background: var(--ink); }
.iconbtn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid rgba(236, 230, 215, .18); color: var(--on-dark-soft); transition: all .2s;
}
.iconbtn:hover { border-color: var(--gold); color: var(--gold-300); }
.iconbtn.light { color: var(--text-soft); border-color: var(--line); width: 34px; height: 34px; }
.iconbtn.light:hover { color: var(--text); border-color: var(--gold); }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--gold-400); font-size: 13px; font-weight: 560; text-decoration: underline; text-decoration-color: rgba(205, 182, 124, .4); text-underline-offset: 4px; }
.linkbtn:hover { color: var(--gold-300); text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 30; color: var(--on-dark);
  background: rgba(17, 18, 19, .9); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(180, 157, 99, .7); color: var(--gold-300); font-family: var(--serif); font-style: italic; font-size: 15px;
  background: radial-gradient(circle at 30% 25%, rgba(180, 157, 99, .25), transparent 70%);
}
.brand-txt { font-family: var(--serif); font-size: 21px; letter-spacing: .005em; }
.brand-txt em { font-style: normal; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-mute); margin-left: 10px; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { text-decoration: none; font-size: 13.5px; color: var(--on-dark-soft); padding: 8px 13px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.seg { display: flex; border: 1px solid rgba(236, 230, 215, .16); border-radius: 999px; padding: 3px; }
.seg button { background: transparent; color: var(--on-dark-soft); border: 0; padding: 5px 11px; cursor: pointer; font-size: 12px; border-radius: 999px; font-weight: 650; letter-spacing: .06em; transition: all .2s; }
.seg button.on { background: var(--gold); color: var(--ink); }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: var(--ink); padding: 88px 28px 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 78% 32%, rgba(180, 157, 99, .2), transparent 62%),
    radial-gradient(45% 55% at 0% 100%, rgba(20, 52, 83, .55), transparent 70%),
    linear-gradient(180deg, #111213 0%, #17191a 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 420px; height: 420px; right: 6%; top: 60px; background: radial-gradient(circle, rgba(205, 182, 124, .35), transparent 65%); }
.o2 { width: 520px; height: 520px; left: -10%; bottom: -200px; background: radial-gradient(circle, rgba(20, 52, 83, .7), transparent 65%); animation-duration: 24s; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(90deg, rgba(236, 230, 215, .045) 1px, transparent 1px);
  background-size: calc((min(100vw, 1240px) - 56px) / 12) 100%; background-position: center;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); padding: 7px 14px 7px 12px; border: 1px solid rgba(180, 157, 99, .28); border-radius: 999px; background: rgba(180, 157, 99, .06); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(180, 157, 99, .7); animation: beacon 2.4s infinite; }
@keyframes beacon { 70% { box-shadow: 0 0 0 9px rgba(180, 157, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 157, 99, 0); } }
.hero h1 { font-size: clamp(44px, 5.7vw, 84px); line-height: .98; letter-spacing: -.022em; color: #f4efe2; text-wrap: balance; }
@media (min-width: 1101px) { .hero h1 span { white-space: nowrap; } }
.hero h1 span {
  font-style: italic; letter-spacing: -.01em;
  background: linear-gradient(100deg, #e9d9a8 0%, #c6ad6e 40%, #9b7d48 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 18.5px; line-height: 1.6; color: var(--on-dark-soft); max-width: 540px; margin: 28px 0 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--on-dark-mute); margin: 18px 0 0; max-width: 470px; line-height: 1.55; }

.hero-visual { position: relative; height: 600px; }
.halo { position: absolute; left: 50%; top: 48%; width: 480px; height: 480px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 182, 124, .28) 0%, rgba(180, 157, 99, .08) 40%, transparent 68%); }
.halo::before, .halo::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(205, 182, 124, .12); }
.halo::after { inset: -30px; border-color: rgba(205, 182, 124, .07); }
.mini-phone {
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%);
  width: 284px; height: 568px; border-radius: 48px; padding: 11px; cursor: pointer;
  background: linear-gradient(150deg, #4a4d50 0%, #1a1b1c 22%, #0c0d0d 70%, #2b2d2f 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 3px #0b0c0c;
  animation: floaty 9s ease-in-out infinite;
}
.mini-phone:hover { animation-play-state: paused; }
.mini-phone:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; border-radius: 48px; }
@keyframes floaty { 50% { transform: translateX(-50%) translateY(-12px); } }
.mp-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #050505; z-index: 2; }
.mp-screen {
  height: 100%; border-radius: 38px; overflow: hidden; padding: 56px 20px 22px; text-align: center; position: relative;
  background: radial-gradient(120% 70% at 50% 0%, #2c2a24 0%, #191a1b 45%, #121314 100%);
  display: flex; flex-direction: column; align-items: center;
}
.mp-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .07), transparent 35%); pointer-events: none; }
.mp-top { width: 100%; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--on-dark-mute); letter-spacing: .04em; }
.mp-ring { position: relative; width: 104px; height: 104px; margin: 24px 0 14px; display: grid; place-items: center; }
.mp-ring span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(205, 182, 124, .55); animation: ring 2.8s ease-out infinite; }
.mp-ring span:nth-child(2) { animation-delay: .93s; }
.mp-ring span:nth-child(3) { animation-delay: 1.86s; }
@keyframes ring { from { transform: scale(.72); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.mp-avatar { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 30px; color: #2b2213;
  background: radial-gradient(circle at 35% 30%, #f3e6c2, #c9b073 70%, #9e8350); box-shadow: 0 0 0 4px rgba(205, 182, 124, .15); }
.mp-name { font-family: var(--serif); font-size: 26px; color: #f4efe2; }
.mp-sub { font-size: 12px; color: var(--on-dark-mute); margin-top: 2px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mp-wave { display: flex; gap: 4px; align-items: center; height: 44px; margin: 14px 0 12px; }
.mp-wave i, .wave i { display: block; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #ecdcae, var(--gold) 60%, #8a6f40); transform-origin: center; }
.mp-wave i { height: 36px; animation: bar 1.2s ease-in-out infinite; }
.mp-wave i:nth-child(3n) { animation-delay: -.35s; } .mp-wave i:nth-child(3n+1) { animation-delay: -.7s; } .mp-wave i:nth-child(4n) { animation-delay: -1s; }
@keyframes bar { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.mp-caption {
  width: 100%; min-height: 100px; font-size: 12.5px; line-height: 1.5; color: #e6e0d1; text-align: left;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px; transition: background .3s, border-color .3s;
}
.mp-caption small { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 650; }
.mp-caption small:empty { display: none; }
.mp-caption.caller { background: rgba(180, 157, 99, .1); border-color: rgba(180, 157, 99, .25); }
.mp-caption span { animation: msgIn .4s var(--ease) both; }
.mp-answer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 560; color: var(--on-dark); }
.mp-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #33b866; color: #fff; font-size: 20px; animation: answer 1.7s infinite; transition: background .3s, transform .3s; }
.mp-btn .ic { fill: currentColor; stroke: none; }
@keyframes answer { 0% { box-shadow: 0 0 0 0 rgba(51, 184, 102, .55); } 12% { transform: rotate(-12deg); } 24% { transform: rotate(12deg); } 36% { transform: rotate(0); } 100% { box-shadow: 0 0 0 18px rgba(51, 184, 102, 0); } }
.mini-phone:hover .mp-btn { background: #2ea95d; }
.mini-phone.live .mp-ring span, .mini-phone.done .mp-ring span { animation: none; opacity: 0; }
.mini-phone.live .mp-wave i, .mini-phone.done .mp-wave i { animation: none; transform: scaleY(.12); transition: transform .08s linear; }
.mini-phone.live.talk:not(.reactive) .mp-wave i { animation: bar 1s ease-in-out infinite; }
.mini-phone.live.talk:not(.reactive) .mp-wave i:nth-child(2n) { animation-duration: .75s; }
.mini-phone.live .mp-btn { background: #d24a3c; animation: none; transform: rotate(135deg); }
.mini-phone.done .mp-btn { background: var(--gold); color: var(--ink); animation: none; transform: none; }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border-radius: 14px;
  background: rgba(30, 32, 33, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 222, 196, .14); color: var(--on-dark); font-size: 13px; font-weight: 520;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); animation: pop .8s var(--ease) both, bob 7s ease-in-out infinite;
}
.float b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #2b2213; background: linear-gradient(160deg, #ecdcae, var(--gold)); }
.float b .ic { width: 16px; height: 16px; stroke-width: 1.8; }
.f1 { left: -11%; top: 150px; animation-delay: .3s, 1s; }
.f2 { right: -4%; top: 214px; animation-delay: .6s, 2s; }
.f3 { left: -4%; top: 330px; animation-delay: .9s, 3s; }
.f4 { right: -3%; bottom: -12px; animation-delay: 1.2s, 0s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes bob { 50% { translate: 0 -7px; } }
.hero-visual.playing .float { animation: none; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero-visual.playing .float.show { opacity: 1; transform: none; }

.facts { position: relative; max-width: var(--wrap); margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.facts > div { padding: 28px 24px 36px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line-dark); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts b { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: .9; color: var(--gold-300); }
.facts span { font-size: 13.5px; color: var(--on-dark-soft); }

/* --------------------------------------------------------------- ticker */
.ticker { overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 46s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--slate); white-space: nowrap; }
.ticker i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- sections */
.sec-head { max-width: var(--wrap); margin: 0 auto 36px; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.sec-head h2, .safety-head h2, .sav-copy h2, .pilot-copy h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em; }
.sec-head p { color: var(--text-soft); margin: 0; font-size: 17px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); font-weight: 650; margin: 0 0 18px !important; }
.kicker .num { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--gold); font-weight: 400; }
.kicker .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .6; }
.kicker.light { color: var(--gold-400); }

/* ----------------------------------------------------------------- demo */
.demo { padding: 104px 28px 90px; }
.scen-bar { max-width: var(--wrap); margin: 0 auto 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.scenrow { display: contents; }
.reel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border-radius: 18px; padding: 16px 18px;
  color: #22190b; background: linear-gradient(140deg, #ecdcae 0%, var(--gold) 55%, #8f7442 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -20px rgba(149, 119, 70, .8); transition: transform .3s var(--ease), box-shadow .3s;
}
.reel::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(34, 25, 11, .12); box-shadow: 0 0 0 22px rgba(34, 25, 11, .04); }
.reel:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 24px 50px -20px rgba(149, 119, 70, .9); }
.reel-main { display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; position: relative; z-index: 1; }
.reel-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-300); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.reel-icon .ic { width: 18px; height: 18px; margin-left: 3px; }
.reel-txt b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1; }
.reel-txt small { font-size: 12.5px; color: rgba(34, 25, 11, .72); font-weight: 520; }
.reel-full { align-self: flex-start; margin-left: 60px; background: transparent; border: 0; padding: 0; color: rgba(34, 25, 11, .75); font-size: 12.5px; font-weight: 560; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; position: relative; z-index: 1; }
.reel-full:hover { color: var(--ink); }
.reel-main[disabled], .reel-full[disabled] { opacity: .5; cursor: progress; }
.scen {
  position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 15px 16px 14px;
  cursor: pointer; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; gap: 4px;
}
.scen:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.scen .ic-wrap { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(180, 157, 99, .45); color: var(--gold-600); margin-bottom: 6px; background: linear-gradient(180deg, #fffdf8, #f6efdf); }
.scen .ic-wrap.red { color: var(--red); border-color: rgba(196, 85, 63, .35); background: linear-gradient(180deg, #fffaf8, #fbece8); }
.scen .ic-wrap .ic { width: 16px; height: 16px; }
.scen b { font-size: 14px; font-weight: 620; letter-spacing: -.005em; }
.scen span:not(.ic-wrap) { font-size: 12.5px; color: var(--text-soft); line-height: 1.45; }
.scen.on { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 157, 99, .16); }
.scen.on::after { content: ""; position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: beacon-ok 1.6s infinite; }
@keyframes beacon-ok { 0% { box-shadow: 0 0 0 0 rgba(79, 154, 116, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(79, 154, 116, 0); } }
.scen[disabled]:not(.on) { opacity: .45; cursor: progress; transform: none; }

/* the console: one dark instrument panel holding the whole call */
.console {
  max-width: var(--wrap); margin: 0 auto; border-radius: 30px; padding: 16px; color: var(--on-dark);
  background: linear-gradient(180deg, #1b1d1e 0%, #141516 100%);
  box-shadow: 0 50px 100px -40px rgba(17, 18, 19, .55), 0 0 0 1px rgba(17, 18, 19, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.caption { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(180, 157, 99, .1); border: 1px solid rgba(180, 157, 99, .25); animation: pop .4s var(--ease) both; }
.caption[hidden] { display: none; }
.cap-step { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.cap-body { flex: 1; display: flex; flex-direction: column; }
.cap-body b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; color: #f4efe2; }
.cap-body span { font-size: 13.5px; color: var(--on-dark-soft); }

.stage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }

.phone { background: var(--c850); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.ph-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.ph-caller { display: flex; align-items: center; gap: 13px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--serif); font-size: 18px; color: #2b2213;
  background: radial-gradient(circle at 35% 30%, #f3e6c2, #c9b073 70%, #9e8350); }
.ph-caller .name { font-family: var(--serif); font-size: 22px; line-height: 1.1; color: #f4efe2; }
.ph-caller .num { font-size: 12.5px; color: var(--on-dark-mute); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ph-meta { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--on-dark-soft); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #55595b; }
.live-dot.on { background: var(--ok); animation: beacon-ok 1.6s infinite; }
.timer { font-variant-numeric: tabular-nums; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); }
.wave { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; height: 52px; padding: 0 20px; }
.wave::before { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(180, 157, 99, .4), transparent); transition: opacity .3s; }
.wave i { height: 32px; transform: scaleY(.04); opacity: 0; transition: transform .09s linear, opacity .3s; }
.phone.speaking .wave::before, .phone.listening .wave::before { opacity: 0; }
.phone.speaking .wave i, .phone.listening .wave i { opacity: 1; }
.phone.speaking:not(.reactive) .wave i { animation: bar 1s ease-in-out infinite; }
.phone.speaking:not(.reactive) .wave i:nth-child(2n) { animation-duration: .8s; animation-delay: -.2s; }
.phone.speaking:not(.reactive) .wave i:nth-child(3n) { animation-duration: 1.2s; animation-delay: -.5s; }
.phone.listening .wave i { background: linear-gradient(180deg, #a8e0c2, var(--ok)); animation: bar .9s ease-in-out infinite; }

.audiohint {
  margin: 6px 18px 0; padding: 10px 14px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 8px;
  background: rgba(180, 157, 99, .12); border: 1px solid rgba(180, 157, 99, .35); color: var(--gold-300); font-size: 13px; font-weight: 560;
}
.transcript { flex: 1 1 0; min-height: 440px; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: #3a3d3f transparent; }
.msg { display: flex; gap: 10px; max-width: 88%; animation: msgIn .4s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.msg .who { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px; display: grid; place-items: center; font-size: 10px; font-weight: 650; margin-top: 2px; letter-spacing: .02em; }
.msg.agent .who { border: 1px solid rgba(180, 157, 99, .55); color: var(--gold-300); font-family: var(--serif); font-style: italic; font-size: 12px; }
.msg.caller { margin-left: auto; flex-direction: row-reverse; }
.msg.caller .who { background: var(--c600); color: var(--on-dark-soft); }
.bubble { background: var(--c700); border: 1px solid rgba(255, 255, 255, .04); border-radius: 4px 18px 18px 18px; padding: 11px 15px; font-size: 14.5px; line-height: 1.55; color: var(--on-dark); }
.msg.caller .bubble { background: linear-gradient(160deg, rgba(205, 182, 124, .22), rgba(149, 119, 70, .16)); border-color: rgba(180, 157, 99, .3); color: #f6eedb; border-radius: 18px 4px 18px 18px; }
.bubble .time { display: block; font-size: 10.5px; color: var(--on-dark-mute); margin-top: 5px; letter-spacing: .03em; }
.bubble.lang-pl .time::after { content: " · PL"; color: var(--gold-400); font-weight: 650; letter-spacing: .1em; }
.msg.typing .bubble { display: flex; gap: 5px; padding: 15px 16px; }
.msg.typing .bubble i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); animation: dot 1.2s infinite; }
.msg.typing .bubble i:nth-child(2) { animation-delay: .15s; } .msg.typing .bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.sysline { align-self: center; font-size: 11.5px; color: var(--on-dark-mute); border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 12px; text-align: center; }
.empty-call { margin: auto; text-align: center; max-width: 340px; color: var(--on-dark-soft); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-call .eic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-300); border: 1px solid rgba(180, 157, 99, .4); box-shadow: 0 0 0 10px rgba(180, 157, 99, .05), 0 0 0 22px rgba(180, 157, 99, .03); }
.empty-call .eic .ic { width: 26px; height: 26px; }
.empty-call b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: #f4efe2; }
.empty-call p { margin: 0; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 20px 0; }
.chips:empty { display: none; }
.chip { background: transparent; border: 1px solid rgba(180, 157, 99, .5); color: var(--gold-300); border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; transition: all .2s; animation: msgIn .35s var(--ease) both; }
.chip:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.composer { display: flex; gap: 8px; padding: 14px 20px 12px; }
.composer input { flex: 1; min-width: 0; border: 1px solid var(--c600); border-radius: 999px; padding: 12px 18px; font-size: 14.5px; background: var(--c900); color: var(--on-dark); transition: border-color .2s, box-shadow .2s; }
.composer input::placeholder { color: var(--on-dark-mute); }
.composer input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 157, 99, .15); }
.mic, .send { border: 1px solid var(--c600); background: var(--c900); border-radius: 50%; width: 46px; height: 46px; flex: 0 0 46px; cursor: pointer; display: grid; place-items: center; color: var(--on-dark-soft); transition: all .2s; }
.mic:hover { border-color: var(--gold); color: var(--gold-300); }
.mic.on { background: rgba(196, 85, 63, .18); border-color: var(--red); color: #f2a493; }
.send { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.send:hover { background: var(--gold-400); }
.send .ic { width: 17px; height: 17px; }
.ph-foot { display: flex; align-items: center; gap: 14px; padding: 12px 20px 16px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.hint { font-size: 12px; color: var(--on-dark-mute); }

.insight { display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--c850); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; }
.card.paper { background: var(--paper); color: var(--text); border-color: transparent; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 20px 4px; }
.card-head h3 { font-size: 23px; color: #f4efe2; }
.count { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); font-weight: 600; }

.guards { display: flex; flex-wrap: wrap; gap: 6px; }
.guard { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 560; padding: 6px 12px 6px 7px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark-mute); background: rgba(255, 255, 255, .02); transition: all .4s var(--ease); }
.guard i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: var(--on-dark-mute); border: 1px solid var(--line-dark); transition: all .4s var(--ease); }
.guard i .ic { width: 11px; height: 11px; stroke-width: 2; }
.guard.on { color: var(--gold-300); border-color: rgba(180, 157, 99, .45); background: rgba(180, 157, 99, .1); }
.guard.on i { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.guard.on.red { color: #f3b1a2; border-color: rgba(196, 85, 63, .5); background: rgba(196, 85, 63, .12); }
.guard.on.red i { background: var(--red); color: #fff; border-color: var(--red); }
.guard.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { transform: scale(1.08); } }

.timeline { list-style: none; margin: 0; padding: 10px 20px 18px; max-height: 320px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3d3f transparent; }
.timeline li { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; padding: 8px 0; animation: msgIn .45s var(--ease) both; }
.timeline li::before { content: ""; position: absolute; left: 15.5px; top: 40px; bottom: -8px; width: 1px; background: linear-gradient(180deg, rgba(180, 157, 99, .35), rgba(180, 157, 99, .05)); }
.timeline li:last-child::before { display: none; }
.tl-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-300); border: 1px solid rgba(180, 157, 99, .4); background: var(--c850); position: relative; z-index: 1; }
.tl-ic .ic { width: 15px; height: 15px; }
.tl-ic.gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tl-ic.red { color: #f3b1a2; border-color: rgba(196, 85, 63, .6); background: rgba(196, 85, 63, .14); }
.tl-ic.ai { color: #9fc2e6; border-color: rgba(130, 170, 214, .45); background: rgba(20, 52, 83, .45); }
.tl-txt b { display: block; font-size: 13.5px; font-weight: 600; color: var(--on-dark); }
.tl-txt span { font-size: 12.5px; color: var(--on-dark-soft); }
.tl-sys { font-size: 9.5px; color: var(--on-dark-mute); text-transform: uppercase; letter-spacing: .14em; padding-top: 4px; white-space: nowrap; font-weight: 600; }
.tl-empty { color: var(--on-dark-mute); font-size: 13.5px; padding: 10px 0 4px; grid-template-columns: 1fr !important; }
.tl-empty::before { display: none; }

.tabs { display: flex; gap: 4px; padding: 8px; background: var(--cream); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { flex: 1; background: transparent; border: 0; padding: 9px 12px; font-size: 12.5px; font-weight: 560; cursor: pointer; color: var(--text-soft); border-radius: 12px; white-space: nowrap; transition: all .2s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); background: #fff; box-shadow: 0 1px 2px rgba(17, 18, 19, .08), 0 0 0 1px var(--line); }
.tabs .tech-tab { display: none; }
body.show-tech .tabs .tech-tab { display: block; }
.tabpanel { display: none; padding: 16px; max-height: 470px; overflow-y: auto; }
.tabpanel.on { display: block; animation: msgIn .3s var(--ease) both; }
.panelintro { font-size: 12.5px; color: var(--text-soft); margin: 0 0 12px; }

.outbox { display: grid; gap: 14px; }
.ob-empty { text-align: center; color: var(--text-soft); font-size: 13.5px; padding: 26px 16px; }
.ob-empty b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--text); margin-bottom: 6px; }
.smsphone { background: #f4f4f6; border-radius: 26px; padding: 14px 14px 16px; border: 7px solid var(--ink); max-width: 340px; margin: 0 auto; width: 100%; box-shadow: var(--shadow); }
.smsphone .sp-head { text-align: center; font-size: 11px; color: #6b7471; padding-bottom: 9px; border-bottom: 1px solid #e2e2e6; margin-bottom: 11px; }
.smsphone .sp-head b { display: block; font-size: 13.5px; color: #1c2422; }
.smsphone .sp-bubble { background: #e6e6eb; color: #111; border-radius: 18px 18px 18px 5px; padding: 10px 13px; font-size: 13px; line-height: 1.45; max-width: 92%; animation: msgIn .45s var(--ease) both; }
.smsphone .sp-meta { font-size: 10.5px; color: #8b8f8e; margin: 4px 0 0 6px; }
.mail { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.mail .mh { display: flex; gap: 12px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.mail .mh .from-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--gold-300); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 14px; flex: 0 0 36px; }
.mail .mh b { display: block; font-size: 13.5px; }
.mail .mh span { font-size: 11.5px; color: var(--muted); }
.mail pre { margin: 0; padding: 15px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; font-family: inherit; max-height: 260px; overflow: auto; color: var(--text-soft); }

.diary { display: flex; flex-direction: column; gap: 16px; }
.day h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--text); }
.slot { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: stretch; margin-bottom: 6px; }
.slot .t { font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--text-soft); padding-top: 10px; text-align: right; font-weight: 560; }
.slot .blk { border-left: 2px solid var(--slate); background: #fff; border-radius: 4px 12px 12px 4px; padding: 9px 12px; font-size: 13px; box-shadow: 0 0 0 1px var(--line); }
.slot .blk b { display: block; font-size: 13.5px; font-weight: 600; }
.slot .blk span { color: var(--text-soft); font-size: 12px; }
.slot.cancelled .blk { border-left-color: var(--red); background: var(--red-soft); opacity: .8; }
.slot.cancelled .blk b { text-decoration: line-through; text-decoration-color: rgba(196, 85, 63, .6); }
.slot.fresh .blk { border-left-color: var(--gold); background: linear-gradient(90deg, #fbf4e2, #fff); animation: glow 2s var(--ease) 2; }
@keyframes glow { 0% { box-shadow: 0 0 0 1px var(--line), 0 0 0 0 rgba(180, 157, 99, .5); } 100% { box-shadow: 0 0 0 1px var(--line), 0 0 0 12px rgba(180, 157, 99, 0); } }
.tag { display: inline-block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 7px; vertical-align: 2px; background: var(--slate); color: #fff; }
.tag.gold { background: var(--gold); color: var(--ink); }
.tag.red { background: var(--red); }

.stat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.kv .k { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; }
.kv .v { font-size: 13.5px; margin-top: 3px; word-break: break-word; }
.kv.wide { grid-column: span 2; }
.kv.ok { border-color: #cfe2d6; background: #f1f8f3; }
.kv.warn { border-color: #ead9b0; background: #fdf7e8; }

.log { display: flex; flex-direction: column; gap: 9px; }
.entry { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 12.5px; }
.entry .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.entry .kind { font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; color: var(--gold-600); }
.entry .tgt { color: var(--text-soft); font-size: 11.5px; word-break: break-all; font-family: ui-monospace, Consolas, monospace; }
.entry .ms { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 11px; text-align: right; }
.entry pre { margin: 7px 0 0; background: var(--cream); border-radius: 8px; padding: 8px; font-size: 10.8px; max-height: 130px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.entry details { margin-top: 6px; }
.entry summary { cursor: pointer; font-size: 11.5px; color: var(--navy); }
.badge { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.badge.mock { background: #f6efdc; color: var(--gold-ink); }
.badge.live { background: #e8f3ec; color: #2f6e4e; }

.tally { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.tally > div { padding: 18px 20px 8px; display: flex; flex-direction: column; border-left: 1px solid var(--line-dark); }
.tally > div:first-child { border-left: 0; }
.tally b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--gold-300); font-variant-numeric: tabular-nums; }
.tally b.bump { animation: bump .7s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); color: #fff; } }
.tally span { font-size: 12.5px; color: var(--on-dark-soft); margin-top: 4px; }
.tally-note { max-width: var(--wrap); margin: 14px auto 0; text-align: center; font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------- safety */
.safety { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 110px 28px; }
.safety-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.safety-head { position: sticky; top: 110px; }
.safety-head > p { color: var(--text-soft); font-size: 17px; margin: 20px 0 0; max-width: 420px; }
.seal { margin-top: 36px; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); border: 1px solid rgba(149, 119, 70, .35); box-shadow: 0 0 0 12px rgba(180, 157, 99, .07), 0 0 0 28px rgba(180, 157, 99, .04); background: radial-gradient(circle at 35% 30%, #fffaf0, #f1e7cf); }
.seal .ic { width: 44px; height: 44px; stroke-width: 1.2; }
.safe-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.safe { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.safe-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-600); border: 1px solid rgba(149, 119, 70, .3); background: #fffdf7; }
.safe-ic.red { color: var(--red); border-color: rgba(196, 85, 63, .3); background: #fff8f6; }
.safe-ic .ic { width: 20px; height: 20px; }
.safe h3 { font-size: 25px; margin-bottom: 8px; }
.safe p { margin: 0; font-size: 14.5px; color: var(--text-soft); }

/* -------------------------------------------------------------- savings */
.savings { position: relative; overflow: hidden; color: var(--on-dark); padding: 110px 28px; background:
  radial-gradient(50% 70% at 100% 0%, rgba(20, 52, 83, .6), transparent 70%),
  radial-gradient(40% 50% at 0% 100%, rgba(180, 157, 99, .12), transparent 70%), var(--ink); }
.sav-in { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.sav-copy h2 { color: #f4efe2; }
.sav-copy > p { color: var(--on-dark-soft); font-size: 17px; margin: 18px 0 38px; max-width: 540px; }
.sliders { display: grid; gap: 24px; }
.slider { display: block; }
.sl-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--on-dark); margin-bottom: 10px; }
.sl-top output { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--gold-300); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8e6, #d9c48f); border: 0; box-shadow: 0 0 0 5px rgba(180, 157, 99, .2), 0 4px 10px rgba(0, 0, 0, .4); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #e7d6a6; border: 0; box-shadow: 0 0 0 5px rgba(180, 157, 99, .2); }
.sav-result { position: relative; border-radius: 28px; padding: 36px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid rgba(232, 222, 196, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.big { display: flex; flex-direction: column; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.big b { font-family: var(--serif); font-weight: 400; font-size: 84px; line-height: .9; color: #f4efe2; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.big.gold b { background: linear-gradient(100deg, #efe1b6, #c6ad6e 55%, #9b7d48); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big span { color: var(--on-dark-soft); font-size: 15px; margin-top: 10px; }
.vs { display: grid; gap: 4px; font-size: 14px; color: var(--on-dark-soft); }
.vs div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.vs b { color: #f4efe2; font-weight: 600; }
.vs div:last-child { font-size: 12.5px; color: var(--on-dark-mute); }
.fine { font-size: 12px; color: var(--on-dark-mute); margin: 20px 0 0; line-height: 1.55; }

/* ---------------------------------------------------------------- pilot */
.pilot { padding: 110px 28px; }
.pilot-card { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 56px; box-shadow: 0 40px 80px -50px rgba(17, 18, 19, .35); overflow: hidden; }
.pilot-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.pilot-copy > p { color: var(--text-soft); font-size: 17px; margin: 18px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2d1a0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--gold); }
.steps b { font-size: 15px; font-weight: 620; padding-top: 2px; }
.steps span { font-size: 13.5px; color: var(--text-soft); }
.contact { font-size: 13px; color: var(--text-soft); text-align: center; margin: 14px 0 0; }

/* --------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--on-dark-mute); padding: 44px 28px 52px; font-size: 13px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 10px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; color: var(--on-dark); margin-bottom: 8px; }
.foot-brand em { font-style: italic; color: var(--gold-400); }
.foot p { margin: 0; max-width: 860px; }
.foot b { color: var(--on-dark); font-weight: 600; }
.foot .hours { font-size: 12px; }

/* --------------------------------------------------------------- drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(17, 18, 19, .5); backdrop-filter: blur(2px); z-index: 40; animation: fade .25s both; }
.drawer-scrim[hidden], .drawer[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(390px, 100%); z-index: 41; background: var(--paper); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .35s var(--ease) both; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 26px; }
.drawer-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text); }
.field.row { flex-direction: row; align-items: center; justify-content: space-between; }
.field select, .field input { font-weight: 400; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; background: #fff; }
.field select:focus, .field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 157, 99, .15); }
.field small { font-weight: 400; color: var(--muted); font-size: 12px; }
.switch { width: 46px; height: 27px; border-radius: 999px; border: 0; background: #d9d4c8; position: relative; cursor: pointer; transition: background .25s; flex: 0 0 46px; }
.switch i { position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch.on { background: var(--gold); }
.switch.on i { transform: translateX(19px); }
.drawer-status { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 14px; font-size: 13px; }
.drawer-status div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.drawer-status div:last-child { border-bottom: 0; }
.drawer-status span { color: var(--text-soft); }
.drawer-status b { font-weight: 600; text-align: right; }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; background: rgba(17, 18, 19, .62); display: grid; place-items: center; padding: 20px; z-index: 50; backdrop-filter: blur(4px); animation: fade .25s both; }
.modal[hidden] { display: none; }
.modalcard { background: var(--paper); border-radius: 26px; padding: 26px; width: min(420px, 100%); box-shadow: var(--shadow-lg); animation: pop .4s var(--ease) both; }
.modalhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modalhead h3 { font-size: 26px; display: flex; align-items: center; gap: 8px; }
.modalhead .lock { color: var(--gold-600); width: 20px; height: 20px; }
.modalnote { font-size: 12.5px; color: var(--text-soft); }
.modalnote code { background: var(--cream); padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.amount { font-family: var(--serif); font-size: 50px; line-height: 1; margin: 8px 0 18px; color: var(--text); }
.modalcard label { display: block; font-size: 12px; color: var(--text-soft); margin-bottom: 12px; font-weight: 600; }
.modalcard input { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .05em; background: #fff; }
.modalcard input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 157, 99, .15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiny { font-size: 11px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .links { display: none; }
  .nav-right { margin-left: auto; }
  .hero-in, .sav-in, .pilot-card, .safety-in, .sec-head.split { grid-template-columns: 1fr; }
  .hero-visual { height: 600px; max-width: 560px; width: 100%; margin: 0 auto; }
  .stage { grid-template-columns: 1fr; }
  .scen-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel { grid-column: 1 / -1; }
  .safety-head { position: static; }
  .seal { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .nav-in { padding: 10px 16px; gap: 10px; }
  .brand-txt { font-size: 18px; }
  .brand-txt em, .nav .btn.gold { display: none; }
  .hero { padding: 54px 18px 0; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .lede { font-size: 16.5px; }
  .hero-visual { height: 530px; }
  .halo { width: 360px; height: 360px; }
  .mini-phone { width: 248px; height: 500px; border-radius: 42px; }
  .mp-screen { border-radius: 33px; padding-top: 48px; }
  .mp-ring { margin-top: 12px; width: 88px; height: 88px; }
  .mp-avatar { width: 64px; height: 64px; font-size: 24px; }
  .mp-name { font-size: 22px; }
  .mp-caption { min-height: 104px; font-size: 12px; }
  .float { font-size: 12px; padding: 7px 12px 7px 7px; }
  .float b { width: 26px; height: 26px; }
  .f1 { top: 50px; left: 0; } .f2 { top: 170px; right: 0; } .f3 { top: 236px; left: 0; } .f4 { right: 0; bottom: 6px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .facts > div { padding: 20px 12px 22px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .facts > div:first-child { padding-left: 12px; }
  .facts b { font-size: 42px; }
  .ticker span { font-size: 17px; }
  .demo, .safety, .savings, .pilot { padding-left: 14px; padding-right: 14px; }
  .demo { padding-top: 72px; }
  .console { padding: 10px; border-radius: 24px; }
  .transcript { min-height: 380px; padding: 14px; }
  .msg { max-width: 95%; }
  .composer, .chips, .ph-foot, .ph-head { padding-left: 14px; padding-right: 14px; }
  .hint { display: none; }
  .tally { grid-template-columns: 1fr 1fr; }
  .tally > div:nth-child(3) { border-left: 0; }
  .tally b { font-size: 34px; }
  .safe-list { grid-template-columns: 1fr; }
  .big b { font-size: 64px; }
  .sav-result { padding: 26px; }
  .pilot-card { padding: 30px 22px; border-radius: 24px; }
  .caption { flex-wrap: wrap; }
  .stat { grid-template-columns: 1fr; }
  .kv.wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}
