/* Resolve — bright retail: warm cream, aubergine ink, one hot-pink accent, rounded everything. */
:root {
  --bg: #FFF8F1;
  --bg-2: #FCEEE2;
  --surface: #FFFFFF;
  --ink: #1D1433;
  --ink-2: #3A2F52;
  --muted: #63597A;
  --line: rgba(29, 20, 51, 0.10);
  --line-2: rgba(29, 20, 51, 0.18);
  --pink: #D61F63;
  --pink-hi: #E5306F;
  --pink-deep: #A8124B;
  --pink-soft: #FFE3EC;
  --pink-band: #FFCFE0;
  --accent: var(--pink);
  --accent-ink: #fff;
  --ok: #0B7A52;
  --ok-soft: #DDF4E9;
  --wait: #8A4B00;
  --wait-soft: #FFEFD2;
  --human: #A8124B;
  --human-soft: #FFE3EC;
  --ch-web: #5B3FD6;
  --ch-web-soft: #ECE8FF;
  --ch-email: #1D5FC9;
  --ch-email-soft: #E3EDFF;
  --ch-wa: #107A43;
  --ch-wa-soft: #DCF3E5;
  --plum: #2A1E47;
  --cream-on-ink: #FBF3EA;
  --font-display: 'Gabarito', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-ui: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Azeret Mono', ui-monospace, Consolas, monospace;
  --font-deva: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', sans-serif;
  --shadow-card: 0 1px 2px rgba(29,20,51,.05), 0 8px 20px -10px rgba(29,20,51,.14), 0 40px 80px -40px rgba(29,20,51,.30);
  --r-pill: 999px;
}

body { background: var(--bg); overflow-x: clip; }
:focus-visible { outline-color: var(--pink); }
::selection { background: var(--pink-band); color: var(--ink); }
.deva, [lang='hi'] { font-family: var(--font-deva); }
[lang='te'] { font-family: 'Noto Sans Telugu', 'Nirmala UI', sans-serif; }
.muted { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-pill); transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: translateY(60px); }

/* Buttons — pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15.5px; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 8px 20px -10px rgba(214,31,99,.7); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border: 1.5px solid var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn svg { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-pink:hover { background: #C21858; }
  .btn-ink:hover { background: var(--plum); }
  .btn-line:hover { border-color: var(--ink); }
  .btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}
.inline-link { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* Pills and avatars */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill:empty { display: none; }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-wait { background: var(--wait-soft); color: var(--wait); }
.p-human { background: var(--human-soft); color: var(--human); }
.p-busy { background: #F1ECF6; color: var(--ink-2); }
.p-busy::before { animation: blip 1.1s var(--ease-in-out) infinite; }
@keyframes blip { 50% { opacity: .2; } }
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #F1E6FF; color: var(--ink-2); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.av-s { width: 32px; height: 32px; font-size: 11.5px; }
.ch-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 1px; margin-left: 4px; }
.ch-dot.ch-web { background: var(--ch-web); } .ch-dot.ch-email { background: var(--ch-email); } .ch-dot.ch-wa { background: var(--ch-wa); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,248,241,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease; }
.nav[data-scrolled] { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(29,20,51,.5); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -.02em; }
.brand-by { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--muted); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background-color var(--t-fast) ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: var(--bg-2); } }
.nav-cta { display: flex; gap: 8px; }
@media (max-width: 1080px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .nav-in { gap: 10px; height: 62px; }
  .brand-by { margin-left: 0; padding-left: 8px; }
  .brand-by .db-lockup { font-size: 11px; }
  .brand-by .db-lockup .db-logo-img { height: 22px; }
  .brand-name { font-size: 22px; }
  .nav-cta .btn { padding: 0 14px; height: 38px; font-size: 13.5px; }
}
@media (max-width: 370px) { .brand-by { display: none; } }

/* Type */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-deep); margin-bottom: 16px; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.028em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; max-width: 20ch; }
h2 .soft { color: var(--pink-deep); }
h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.section { padding: clamp(80px, 10vw, 128px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { text-align: center; }
.sec-head.center h2 { margin-inline: auto; }
.sub { margin-top: 18px; color: var(--muted); max-width: 58ch; font-size: 17px; }
.center .sub { margin-inline: auto; }

/* HERO */
.hero { position: relative; padding: clamp(44px, 6vw, 80px) 0 clamp(72px, 9vw, 112px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(29,20,51,.09) 1px, transparent 0) 0 0 / 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%); }
.hero-head { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.eb-dots { display: inline-flex; gap: 3px; }
.eb-dots i { width: 8px; height: 8px; border-radius: 50%; }
.eb-dots i:nth-child(1) { background: var(--ch-web); } .eb-dots i:nth-child(2) { background: var(--ch-email); } .eb-dots i:nth-child(3) { background: var(--ch-wa); }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: .98; margin: 24px 0 22px; max-width: 19ch; text-wrap: balance; }
.hl { background: linear-gradient(transparent 58%, var(--pink-band) 58% 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero-head > * { animation: rise 800ms var(--ease-out) both; }
.hero-head > :nth-child(2) { animation-delay: 60ms; }
.hero-head > :nth-child(3) { animation-delay: 120ms; }
.hero-head > :nth-child(4) { animation-delay: 180ms; }
.stage-wrap { position: relative; margin-top: clamp(40px, 5vw, 64px); animation: rise 1000ms 220ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Stage: channels feeding the inbox */
.stage { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 56px; align-items: center; }
.sources { display: grid; gap: 16px; }
.src { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: 0 4px 14px -10px rgba(29,20,51,.3); transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms var(--ease-out); }
.src[data-on] { border-color: var(--pink); box-shadow: 0 10px 28px -14px rgba(214,31,99,.55); transform: translateX(4px); }
.src-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.ch-web { background: var(--ch-web-soft); color: var(--ch-web); }
.ch-email { background: var(--ch-email-soft); color: var(--ch-email); }
.ch-wa { background: var(--ch-wa-soft); color: var(--ch-wa); }
.src-txt { min-width: 0; }
.src-name { font-weight: 700; font-size: 14px; }
.src-msg { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; transition: color 300ms ease; }
.src[data-on] .src-msg { color: var(--ink); }
.wire { position: absolute; left: 100%; top: 50%; width: 60px; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px); }
.wire i { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); opacity: 0; transform: translateX(-4px); }
.wire i[data-go] { opacity: 1; transform: translateX(54px); transition: transform 620ms var(--ease-in-out), opacity 200ms ease; }

.win { background: var(--surface); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; min-width: 0; }
.win-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FFFCF9; }
.win-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.win-title b { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.win-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.win-body { display: grid; grid-template-columns: 272px minmax(0, 1fr); height: 540px; }
.ib-list { border-right: 1px solid var(--line); overflow: hidden; padding: 8px; display: flex; flex-direction: column; gap: 2px; background: #FFFCF9; }
.ib-row { flex: none; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 14px; transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out), background-color 300ms ease; }
.ib-row[data-enter] { opacity: 0; transform: translateY(-10px); }
.ib-row[data-active] { background: var(--pink-soft); }
.ib-top { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.ib-name { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); flex: none; }
.ib-prev { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 1px 0 6px; }
.ib-row .pill { height: 21px; font-size: 11px; padding: 0 8px; }

.thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.th-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.th-who { min-width: 0; flex: 1; }
.th-name { font-weight: 700; font-size: 15px; }
.th-meta { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.th-head .pill { transition: background-color 300ms ease, color 300ms ease; }
.th-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 18px 18px;
  background: radial-gradient(circle at 1px 1px, rgba(29,20,51,.05) 1px, transparent 0) 0 0 / 16px 16px; }
.th-body > * { flex: none; transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.th-body > [data-enter] { opacity: 0; transform: translateY(10px); }

.bub { max-width: 84%; padding: 10px 14px; font-size: 14px; line-height: 1.45; border-radius: 20px; }
.bub-in { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bub-out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bub-subj { display: block; font-weight: 700; margin-bottom: 2px; }
.bub-meta { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10.5px; opacity: .65; }
.bub-gloss { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; opacity: .78; font-style: italic; font-family: var(--font-ui); }
.bub-out .deva { font-size: 14.5px; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 20px; border-bottom-right-radius: 6px; background: var(--ink); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: tdot 1s var(--ease-in-out) infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 40% { transform: translateY(-3px); opacity: 1; } }
.caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.log { align-self: stretch; display: grid; gap: 4px; padding: 0 4px; }
.log p { display: flex; align-items: flex-start; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.4; color: var(--muted); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.log p[data-enter] { opacity: 0; transform: translateX(-6px); }
.log svg { flex: none; margin-top: 1px; }
.log .lg-ok { color: var(--ok); } .log .lg-warn { color: var(--human); }
.log p span { color: var(--ink-2); }

.rcard { align-self: flex-end; width: min(100%, 380px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 24px -16px rgba(29,20,51,.4); }
.rc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.rc-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rc-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.rc-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 14px; }
.track::before, .track::after { content: ''; position: absolute; top: 6px; left: 10%; right: 10%; height: 3px; border-radius: 3px; background: var(--line); }
.track::after { background: var(--pink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1100ms var(--ease-in-out); right: 10%; }
.track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 10.5px; line-height: 1.25; color: var(--muted); }
.track li::before { content: ''; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-2); box-sizing: border-box; transition: border-color 300ms ease, background-color 300ms ease; }
.track li[data-done]::before { border-color: var(--pink); background: var(--pink); }
.track li[data-now]::before { border-color: var(--pink); background: var(--surface); box-shadow: 0 0 0 4px var(--pink-soft); }
.track li[data-now] { color: var(--ink); font-weight: 600; }
.kv { display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.kv p { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.kv p span:first-child { color: var(--muted); }
.kv p span:last-child { font-weight: 600; text-align: right; }
.sum { display: grid; gap: 4px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.sum li { position: relative; padding-left: 14px; }
.sum li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.rc-next { margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: var(--pink-soft); font-size: 12.5px; color: var(--pink-deep); font-weight: 600; }

.scen { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.scen-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-press) var(--ease-out); }
.scen-btn:active { transform: scale(.97); }
.scen-n { font-size: 11.5px; color: var(--muted); }
.scen-btn[aria-pressed='true'] { border-color: var(--ink); color: var(--ink); }
.scen-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pink); transform-origin: left; transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) { .scen-btn:hover { border-color: var(--ink-2); } }
.stage-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* HOW */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; border-radius: 26px; background: var(--bg); border: 1px solid var(--line); }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.step:nth-child(2) .step-n { background: var(--pink); }
.step:nth-child(3) .step-n { background: var(--ch-wa); }
.step h3 { font-size: 22px; }
.step > p { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chain { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 6px; }
.chain span { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chain b { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--muted); }
.chain i { flex: none; width: 12px; height: 2px; background: var(--line-2); }
.chain .chain-ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.handoff-mini { margin-top: auto; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hm-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.hm-sum { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* HANDLES */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(29,20,51,.45); } }
.say { align-self: flex-start; max-width: 100%; padding: 8px 12px; border-radius: 16px 16px 16px 5px; background: var(--bg-2); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.tile:nth-child(4n+2) .say { background: var(--pink-soft); }
.tile:nth-child(4n+3) .say { background: var(--ch-wa-soft); }
.tile:nth-child(4n+4) .say { background: var(--ch-web-soft); }
.tile p:not(.say) { color: var(--muted); font-size: 14.5px; }

/* GUARDRAILS — the one dark band */
.guard { background: var(--ink); color: var(--cream-on-ink); }
.guard .kicker { color: #FF9EC0; }
.guard h2 .soft { color: #FF9EC0; }
.guard :focus-visible { outline-color: #FF9EC0; }
.guard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.rules { display: grid; gap: 0; border-top: 1px solid rgba(251,243,234,.16); }
.rules li { padding: 18px 0 18px 34px; border-bottom: 1px solid rgba(251,243,234,.12); position: relative; }
.rules li::before { content: ''; position: absolute; left: 0; top: 21px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,158,192,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6.2 10.2 2.6 2.6 5-5.2' stroke='%23FF9EC0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.rules h3 { font-size: 18px; color: #fff; }
.rules p { margin-top: 4px; font-size: 15px; color: rgba(251,243,234,.74); }

.limit { position: sticky; top: 96px; background: var(--surface); color: var(--ink); border-radius: 28px; padding: 26px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.limit-k { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-deep); }
.limit-lab { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.limit-out { color: var(--pink-deep); font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 18px 0 4px; background: transparent; cursor: pointer; --v: 37.5%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--pink) var(--v), var(--bg-2) var(--v)); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--pink) var(--v), var(--bg-2) var(--v)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); box-shadow: 0 4px 10px -4px rgba(29,20,51,.5); transition: transform var(--t-press) var(--ease-out); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); }
.range:active::-webkit-slider-thumb { transform: scale(1.1); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--pink-band); }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.reqs { display: grid; gap: 8px; margin-top: 18px; }
.reqs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 't a' 'v v'; gap: 8px 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.reqs li > div { grid-area: t; min-width: 0; }
.req-t { font-weight: 600; font-size: 14.5px; }
.req-m { font-size: 11.5px; color: var(--muted); }
.req-a { grid-area: a; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.verdict { grid-area: v; justify-self: start; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; transition: background-color 220ms ease, color 220ms ease; }
.verdict[data-v='auto'] { background: var(--ok-soft); color: var(--ok); }
.verdict[data-v='human'] { background: var(--human-soft); color: var(--human); }
.verdict svg { transition: transform 220ms var(--ease-out); }
.limit-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* CONSOLE PREVIEW */
.cp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cp-copy > p:not(.kicker) { margin: 20px 0 28px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.cp-frame { display: block; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .cp-frame:hover { transform: translateY(-4px); } }
.cp-frame:active { transform: scale(.985); }
.cp-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); background: #FFFCF9; }
.cp-dots { display: flex; gap: 5px; } .cp-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.cp-body { padding: 14px; display: grid; gap: 6px; }
.cp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.cp-tabs span { height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; background: var(--bg); color: var(--ink-2); }
.cp-tabs span.on { background: var(--ink); color: #fff; }
.cp-tabs b { font-weight: 600; opacity: .7; }
.cp-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; }
.cp-row:first-of-type { background: var(--pink-soft); }
.cp-row p:first-child { font-weight: 700; font-size: 14px; }
.cp-row .muted { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* PRICING */
.pricing { background: var(--bg-2); }
.launch-tag { display: inline-block; margin: -4px 0 18px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.plan-feature { border: 2px solid var(--ink); }
.plan-tag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--pink); color: #fff; font-size: 11.5px; letter-spacing: .03em; }
.plan h3 { font-size: 26px; }
.plan-for { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.price { margin-top: 22px; font-size: 15px; color: var(--muted); }
.price span { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-right: 4px; }
.price-mo { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.price-mo span { font-weight: 700; }
.ticks { display: grid; gap: 10px; margin: 22px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19' fill='none'%3E%3Cpath d='m5.8 9.7 2.4 2.4 4.8-5' stroke='%230B7A52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px no-repeat; }
.plan .btn { margin-top: auto; }
.price-note { margin: 28px auto 0; max-width: 64ch; text-align: center; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; text-align: left; font-size: 17px; font-weight: 600; }
.qa button i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); transition: background-color var(--t-fast) ease; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform var(--t-ui) var(--ease-out); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded='true'] i { background: var(--pink-soft); }
.qa button[aria-expanded='true'] i::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 2px 20px; color: var(--muted); max-width: 62ch; }
.qa button[aria-expanded='true'] + .qa-a { grid-template-rows: 1fr; }
.qa button[aria-expanded='false'] + .qa-a > div { visibility: hidden; transition: visibility 0s 320ms; }
@media (hover: hover) and (pointer: fine) { .qa button:hover i { background: var(--pink-soft); } }

/* CTA — the pink band */
.cta { padding: 0 0 clamp(64px, 8vw, 104px); }
.cta-in { position: relative; overflow: hidden; border-radius: 36px; background: var(--pink); color: #fff; padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 80px); text-align: center; }
.cta-in h2 { margin: 0 auto; max-width: 22ch; font-size: clamp(30px, 4vw, 50px); }
.cta-in h2 .soft { color: #FFE0EB; }
.cta-in > p { margin: 20px auto 0; max-width: 58ch; font-size: 17px; color: #FFF1F6; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta :focus-visible { outline-color: #fff; }
.cta .btn-ink:focus-visible { outline-color: #fff; }
.cta-bubbles { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cta-bubbles span { padding: 8px 14px; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.16); font-size: 14px; font-weight: 600; }
.cta-bubbles span:nth-child(2) { border-radius: 18px 18px 6px 18px; background: #fff; color: var(--pink-deep); }

.footer { border-top: 1px solid var(--line); background: var(--bg); }

/* RESPONSIVE */
@media (max-width: 1120px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .stage { grid-template-columns: 210px minmax(0, 1fr); gap: 44px; }
  .wire { width: 46px; } .wire i[data-go] { transform: translateX(40px); }
  .src-msg { max-width: 136px; }
  .win-body { grid-template-columns: 236px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .stage { grid-template-columns: 1fr; gap: 14px; }
  .sources { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .src { padding: 8px 10px; gap: 8px; border-radius: 16px; }
  .src[data-on] { transform: translateY(-2px); }
  .src-ic { width: 30px; height: 30px; border-radius: 10px; }
  .src-name { font-size: 13px; }
  .src-msg { display: none; }
  .wire { left: 50%; top: 100%; width: 2px; height: 14px; margin: 0; background: repeating-linear-gradient(180deg, var(--line-2) 0 4px, transparent 4px 7px); }
  .wire i { display: none; }
  .steps { grid-template-columns: 1fr; }
  .guard-grid, .cp-grid, .faq-grid { grid-template-columns: 1fr; }
  .limit { position: relative; top: 0; }
}
@media (max-width: 760px) {
  .win-body { grid-template-columns: 1fr; height: 540px; }
  .ib-list { display: none; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .src { justify-content: center; flex-direction: column; text-align: center; gap: 4px; padding: 10px 6px; }
  .src-name { font-size: 12px; }
  .hero h1 { font-size: clamp(36px, 10vw, 44px); }
  .hero-head { text-align: left; align-items: flex-start; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .btn { width: 100%; }
  .win-bar { padding: 10px 14px; }
  .win-sub { display: none; }
  .th-head { padding: 10px 14px; }
  .th-body { padding: 14px 12px 14px; }
  .bub { max-width: 90%; font-size: 13.5px; }
  .scen { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .scen::-webkit-scrollbar { display: none; }
  .scen-btn { flex: none; }
  .plan { padding: 26px 20px 22px; }
  .price span { font-size: 38px; }
  .cta-in { border-radius: 28px; text-align: left; }
  .cta-bubbles, .cta-actions { justify-content: flex-start; }
  .cta-actions .btn { width: 100%; }
  .chain span { font-size: 11.5px; padding: 7px 8px; }
  .guard .limit { padding: 20px; border-radius: 24px; }
  .limit-lab { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-head > *, .stage-wrap { animation: none; }
  .th-body > [data-enter], .ib-row[data-enter] { transform: none; }
}
