/* ===== Premium layer: 3D hero, glass, motion, AI demo, feature hub, chat ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grad { background: linear-gradient(90deg, #F2C894 0%, var(--copper) 45%, #E9A866 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: rgba(15,35,68,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-radius: 18px; color: #DCE5F0; }
.glass-dark { background: linear-gradient(180deg, #0F2344 0%, #0A1830 100%); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; color: #DCE5F0; box-shadow: 0 30px 60px rgba(15,35,68,.28); }

.hero-3d { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; padding: 110px 0 90px; }
.hero-scene { position: absolute; inset: 0; }
.hero-scene canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: pan-y; }
@media (max-width: 900px) { .hero-scene canvas { touch-action: pan-y !important; } }
.hero-scene canvas:active { cursor: grabbing; }
.hero-scene.no-webgl { background: url("assets/og-image.jpg") center/cover; opacity: .35; }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10,24,48,.96) 0%, rgba(10,24,48,.78) 36%, rgba(10,24,48,0) 64%), linear-gradient(0deg, rgba(10,24,48,.9) 0%, rgba(10,24,48,0) 30%); }
.hero-3d .wrap { position: relative; width: 100%; pointer-events: none; }
.hero-3d .hero-copy, .hero-3d .stage-card, .hero-3d a, .hero-3d form { pointer-events: auto; }
.hero-3d .hero-grid { grid-template-columns: minmax(0, 620px) 1fr; }
.hero-3d .stage-card { align-self: end; justify-self: end; max-width: 330px; padding: 18px 20px; }
.hero .eyebrow .dot, .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; animation: pulse 2s infinite; margin-right: 8px; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.stage-top { font-weight: 700; color: #fff; display: flex; align-items: center; margin-bottom: 6px; }
.stage-card p { margin: 0 0 12px; font-size: .92rem; min-height: 4.2em; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots i { flex: 1; position: relative; height: 36px; border-radius: 0; background: transparent; cursor: pointer; }
.stage-dots i::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.18); transition: background .4s; }
.stage-dots i.on::after { background: var(--copper); }
.stage-card .stage-hint { font-size: .78rem; color: #8EA0BA; margin: 10px 0 0; min-height: 0; }
.hotspot-card { position: absolute; right: 24px; top: 96px; max-width: 320px; padding: 20px 22px; z-index: 5; animation: pop .25s ease-out; }
.hotspot-card h3 { color: #fff; margin-bottom: .3em; }
.hotspot-card p { font-size: .93rem; }
.hotspot-card a { color: #F2C894; font-weight: 700; text-decoration: none; }
.hotspot-card .x { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero-3d { min-height: 0; padding: 0 0 48px; flex-direction: column; align-items: stretch; }
  .hero-scene { position: relative; height: 330px; order: -1; }
  .hero-fade { background: linear-gradient(0deg, rgba(10,24,48,1) 0%, rgba(10,24,48,0) 40%); height: 330px; }
  .hero-3d .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-3d .stage-card { justify-self: stretch; max-width: none; order: -1; margin-top: -40px; }
  .hotspot-card { left: 16px; right: 16px; top: 16px; max-width: none; }
  .hint-drag { display: none; }
}
@media (max-width: 900px) and (max-height: 500px) {
  .hero-scene, .hero-fade { height: 168px; }
  .hero-3d { padding-bottom: 24px; }
  .hero-3d .stage-card { margin-top: -28px; }
}

.quick-start { display: flex; gap: 8px; max-width: 520px; margin: 28px 0 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 6px; }
.quick-start input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 16px; padding: 10px 12px; }
.quick-start input::placeholder { color: #8EA0BA; }
.quick-start input:focus { outline: none; }
.quick-start:focus-within { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(192,140,82,.25); }
@media (max-width: 480px) { .quick-start { flex-direction: column; } .quick-start .btn { width: 100%; } }

.ai-demo { padding: 22px; min-height: 430px; }
.ai-head { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 16px; }
.ai-head img { border-radius: 7px; }
.ai-head .pill { margin-left: auto; }
.ai-try { margin-bottom: 14px; }
.ai-try label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #F2C894; font-weight: 700; margin-bottom: 6px; }
.ai-try div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ai-try input { width: 70px; font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.ai-try span { color: #8EA0BA; }
.ai-try .btn { padding: .55em 1em; margin-left: auto; }
@media (max-width: 420px) { .ai-try .btn { margin-left: 0; flex: 1 1 100%; } }
.ai-go { margin-top: 16px; }
.ai-go[hidden] { display: none; }
.ai-total small { color: #8EA0BA; font-weight: 400; }
.ai-note { background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px; font-size: .93rem; margin-bottom: 14px; }
.ai-note .who { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #8EA0BA; }
.ai-note p { display: inline; margin: 0; color: #fff; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--copper); vertical-align: -2px; animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.ai-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .9rem; animation: pop .3s ease-out; }
.ai-line b { color: #fff; white-space: nowrap; }
.ai-think { color: #E9D7C1; font-size: .9rem; display: flex; align-items: center; gap: 4px; }
.ai-think span { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); animation: think 1s infinite; }
.ai-think span:nth-child(2) { animation-delay: .15s; }
.ai-think span:nth-child(3) { animation-delay: .3s; margin-right: 8px; }
@keyframes think { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ai-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(192,140,82,.5); animation: pop .3s ease-out; }
.ai-total[hidden] { display: none; }
.ai-total b { font-size: 1.6rem; color: #F2C894; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.flow-step:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,35,68,.14); }
.flow-step p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.ai-tag { position: absolute; top: 14px; right: 14px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(90deg, var(--copper), #E9A866); padding: 3px 8px; border-radius: 99px; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.video-card video, .video-card .poster { width: 100%; aspect-ratio: 16 / 9; display: block; background: var(--navy); object-fit: cover; }
.video-card .poster { position: relative; border: 0; padding: 0; cursor: pointer; }
.video-card .poster img { width: 100%; height: 100%; object-fit: cover; }
.video-card .poster::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(192,140,82,.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/28px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s; }
.video-card .poster:hover::after { transform: scale(1.08); }
.video-card .meta { padding: 16px 18px; }
.video-card .meta h3 { margin-bottom: .2em; }
.video-card .meta p { margin: 0; color: var(--muted); font-size: .9rem; }

.roi-inputs { display: grid; gap: 18px; margin-top: 24px; }
@media (max-width: 700px) { .roi-inputs { padding-right: 60px; } }
.roi-inputs label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.roi-inputs output { font-weight: 800; color: var(--copper-2); }
.roi-inputs input { flex: 1 0 100%; width: 100%; accent-color: var(--copper); }
.roi-inputs input[type="range"] { -webkit-appearance: none; appearance: none; height: 44px; margin: 0; background: transparent; font-size: 16px; }
.roi-inputs input[type="range"]:focus { outline: none; }
.roi-inputs input[type="range"]:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.roi-inputs input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: #E3E8EF; border-radius: 99px; }
.roi-inputs input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--copper); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15,35,68,.35); }
.roi-inputs input[type="range"]::-moz-range-track { height: 6px; background: #E3E8EF; border-radius: 99px; border: 0; }
.roi-inputs input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--copper); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15,35,68,.35); }
.roi-card { padding: 34px; }
.roi-card small { text-transform: uppercase; letter-spacing: .1em; color: #8EA0BA; font-weight: 700; font-size: .75rem; }
.roi-big { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0; }
.roi-sub { font-size: 1.1rem; margin-bottom: 16px; }
.roi-sub b { color: #F2C894; }
.roi-math { font-size: .8rem; color: #8EA0BA; margin-bottom: 22px; }

.mock-body > *, .panel, .split > *, .hero-grid > *, .form-grid > *, .cta-band > * { min-width: 0; }
@media (hover: none) { .flow-step:hover, .feat:hover { transform: none; } }
.panel .mock-row span:first-child { white-space: normal; }
.story-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; position: relative; overflow: hidden; }
.story-card blockquote { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.55; position: relative; }
.story-by { color: #C9D4E5; margin: 0; }
.story-by b { color: var(--copper); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.cat-nav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top)); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.cat-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-2); padding: 7px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 99px; border: 1px solid var(--line); scroll-snap-align: start; }
.cat-nav a:hover, .cat-nav a.on { border-color: var(--copper); color: var(--copper-2); background: var(--copper-soft); }
.cat { scroll-margin-top: 140px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.cat[hidden] { display: none; }
.cat-head { margin-bottom: 28px; }
.cat-head p { color: var(--ink-2); margin: 0; max-width: 620px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; position: relative; transition: border-color .2s, transform .2s; }
.feat[hidden] { display: none; }
.feat:hover { border-color: var(--copper); transform: translateY(-2px); }
.feat h3 { font-size: 1.05rem; padding-right: 44px; }
.feat p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.feat .saves { margin-top: 12px; font-size: .88rem; color: var(--copper-2); background: var(--copper-soft); border-radius: 10px; padding: 8px 12px; }
.feat-tools { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.feat-search { width: min(460px, 100%); font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.feat-search::placeholder { color: #8EA0BA; }
.toggle-ai { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; cursor: pointer; }
.toggle-ai { min-height: 44px; }
.toggle-ai input { accent-color: var(--copper); width: 22px; height: 22px; }
.page-hero { padding: 72px 0 64px; }
.count-strip { display: flex; gap: 36px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.count-strip b { display: block; font-size: 2.2rem; color: #fff; font-weight: 800; }
.count-strip span { color: #9FB0C8; font-size: .9rem; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 0; background: var(--navy); box-shadow: 0 12px 30px rgba(15,35,68,.4); cursor: pointer; transition: transform .15s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab img { width: 60px; height: 60px; border-radius: 50%; }
.chat-fab .badge-dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #3DDC84; border: 2px solid #fff; }
.chat-teaser { position: fixed; right: 20px; bottom: 92px; z-index: 60; max-width: 290px; background: #fff; color: var(--ink); border-radius: 16px 16px 4px 16px; box-shadow: 0 14px 40px rgba(15,35,68,.25); padding: 14px 36px 14px 16px; font-size: .93rem; animation: pop .3s ease-out; cursor: pointer; }
.chat-teaser .x { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; }
.chat-panel { position: fixed; right: 20px; bottom: 92px; z-index: 61; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(15,35,68,.35); display: flex; flex-direction: column; overflow: hidden; animation: pop .25s ease-out; }
.chat-panel[hidden], .chat-teaser[hidden] { display: none; }
.chat-top { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-top img { width: 34px; height: 34px; border-radius: 9px; }
.chat-top b { display: block; }
.chat-top small { color: #9FB0C8; }
.chat-top .x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-cta { align-self: flex-start; display: flex; gap: 8px; flex-wrap: wrap; }
.msg-cta .btn { padding: .5em 1em; font-size: .9rem; }
.chat-sugg { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; background: var(--bg-2); }
.chat-sugg button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .84rem; cursor: pointer; color: var(--ink-2); }
.chat-sugg button:hover { border-color: var(--copper); color: var(--copper-2); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 10px; }
.chat-form button { border: 0; background: var(--copper); color: #fff; border-radius: 10px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.chat-foot { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 12px 10px; }
.chat-top .x, .chat-teaser .x, .offer-card .x, .hotspot-card .x { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.chat-form button { min-height: 44px; min-width: 64px; }
@media (max-width: 700px) {
  .chat-fab { right: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); width: 48px; height: 48px; visibility: hidden; }
  .chat-fab img { width: 48px; height: 48px; }
  .chat-fab.ready { visibility: visible; }
  .chat-teaser { display: none; }
  .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .chat-sugg button { min-height: 40px; padding: 8px 14px; }
  body:has(.form-page) .chat-fab, body:has(.tour) .chat-fab { display: none; }
}
@media (max-height: 500px) {
  .chat-fab { visibility: hidden; width: 48px; height: 48px; bottom: 12px; }
  .chat-fab img { width: 48px; height: 48px; }
  .chat-fab.ready { visibility: visible; }
  .chat-teaser { display: none; }
}

.tour-link { color: #F2C894; font-weight: 700; text-decoration: none; }
.tour-link:hover { text-decoration: underline; }
.tour { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .tour { grid-template-columns: 1fr; } .tour-side { order: 2; } }
.tour-steps { list-style: none; counter-reset: ts; margin: 0; padding: 0; display: grid; gap: 6px; }
.tour-steps li { counter-increment: ts; padding: 10px 12px 10px 44px; border-radius: 10px; cursor: pointer; position: relative; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.tour-steps li::before { content: counter(ts); position: absolute; left: 10px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-2); display: grid; place-items: center; font-size: .8rem; }
.tour-steps li.past::before { content: "✓"; background: var(--copper-soft); color: var(--copper-2); }
.tour-steps li.on { background: var(--copper-soft); color: var(--ink); }
.tour-steps li.on::before { background: var(--copper); color: #fff; }
.tour-main, .tour-side, .tour-screen, .tour-body { min-width: 0; }
.tour-screen { min-height: 380px; }
@media (max-width: 520px) {
  .tour-kanban { grid-template-columns: 1fr; }
  .tour-body .mock-row span:first-child { white-space: normal; }
}
.tour-url { margin-left: 12px; font-size: .78rem; color: #8EA0BA; }
.tour-body { padding: 18px; display: grid; gap: 10px; }
.tour-in { animation: pop .3s ease-out; }
.tour-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #fff; margin-bottom: 4px; flex-wrap: wrap; }
.tour-h small { color: #8EA0BA; }
.hot { position: relative; cursor: pointer; outline: 2px solid var(--copper); outline-offset: 2px; animation: glow 1.6s infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(192,140,82,.55); } 50% { box-shadow: 0 0 0 8px rgba(192,140,82,0); } }
.tour-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tour-col { background: rgba(255,255,255,.04); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.tour-col small { color: #8EA0BA; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.tour-card { background: rgba(255,255,255,.08); border-radius: 8px; padding: 10px; color: #fff; font-size: .88rem; }
.tour-phone { max-width: 330px; margin: 0 auto; width: 100%; border: 8px solid #1F2A3D; border-radius: 28px; padding: 16px 12px; display: grid; gap: 8px; background: #0B1A33; }
.tour-end { text-align: center; padding: 50px 10px; color: #DCE5F0; }
.tour-end h3 { color: #fff; font-size: 1.8rem; }
.tour-caption { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.tour-caption p { margin: 4px 0 0; color: var(--ink-2); max-width: 560px; }
.tour-nav { display: flex; gap: 8px; }
.tour-nav .btn[hidden] { display: none; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.cmp-who { display: none; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.cmp thead th { font-size: 1rem; background: var(--bg-2); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.cmp td { color: var(--ink-2); }
.cmp .us { background: var(--copper-soft); color: var(--ink); font-weight: 600; }
.cmp thead .us { background: var(--navy); color: #fff; }
@media (max-width: 760px) {
  .cmp-wrap { overflow: visible; border: 0; box-shadow: none; }
  .cmp { min-width: 0; }
  .cmp thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tbody { display: grid; gap: 14px; }
  .cmp tr { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
  .cmp tbody th { width: 100%; background: var(--navy); color: #fff; padding: 14px 16px; }
  .cmp td { border-bottom: 1px solid var(--line); padding: 12px 16px; color: var(--ink-2); font-weight: 500; }
  .cmp tr td:last-child { border-bottom: 0; }
  .cmp td.us { background: var(--copper-soft); color: var(--ink); font-weight: 600; }
  .cmp-who { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .cmp td.us .cmp-who { color: var(--copper-2); }
}
.offer { position: fixed; inset: 0; z-index: 80; background: rgba(6,12,24,.6); display: grid; place-items: center; padding: 16px; }
.offer[hidden] { display: none; }
.offer-card { background: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 32px; position: relative; animation: pop .25s ease-out; }
.quick-start.light { background: var(--bg-2); border-color: var(--line); margin: 18px 0 10px; }
.quick-start.light input { color: var(--ink); }
.quick-start.light input::placeholder { color: var(--muted); }
.offer-card .x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.6rem; color: var(--muted); cursor: pointer; }

/* Cookie notice + settings (consent.js) */
.consent-bar { position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 440px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(15,35,68,.28); padding: 18px 18px 16px; animation: pop .25s ease-out; }
.consent-bar[hidden] { display: none; }
.consent-bar p { margin: 0 0 12px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.consent-bar a { color: var(--navy); font-weight: 600; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent-btns .btn { padding: .6em 1em; font-size: .92rem; min-height: 44px; }
.consent-dlg .offer-card { max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; }
.consent-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.consent-row span { display: grid; gap: 4px; }
.consent-row small { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.consent-row input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--copper); }
.consent-gpc { background: var(--copper-soft); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.consent-dlg .consent-btns { margin-top: 14px; }
body.consent-open .chat-fab, body.consent-open .chat-teaser { display: none; }
@media (max-width: 700px) {
  .consent-bar { left: calc(10px + env(safe-area-inset-left)); right: calc(10px + env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom)); max-width: none; padding: 14px; }
  .consent-btns .btn { flex: 1 1 auto; }
  body.consent-open .mobile-cta { transform: translateY(160%); }
}
