/* ==========================================================================
   Voxologic design system. See docs/DESIGN-SYSTEM.md.
   Colours are tokens: change a value here and both themes follow.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url(../fonts/archivo-var.woff2) format("woff2"); font-weight: 300 800; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f5f7fa;
  --bg-2: #ebeff5;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0b1524;
  --ink-2: #34445a;
  --muted: #566679;
  --line: rgba(11, 21, 36, .1);
  --line-2: rgba(11, 21, 36, .2);
  --accent: #0b5fbf;
  --accent-hover: #084f9f;
  --on-accent: #ffffff;
  --link: #0a55ac;
  --signal: #0d9bf0;
  --ok: #0c7f57;
  --warn: #a35f00;
  --bad: #b3261e;
  --ok-soft: rgba(12, 127, 87, .12);
  --signal-soft: rgba(13, 155, 240, .12);
  --shadow: 0 1px 2px rgba(11, 21, 36, .05), 0 12px 32px -14px rgba(11, 21, 36, .18);
  --shadow-lg: 0 2px 4px rgba(11, 21, 36, .05), 0 32px 64px -24px rgba(11, 21, 36, .3);

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

/* Dark theme, and sections that stay dark in either theme. */
[data-theme="dark"], .tone-dark {
  --bg: #05080d;
  --bg-2: #080d15;
  --surface: #0d1520;
  --surface-2: #111b28;
  --ink: #eaf0f7;
  --ink-2: #b8c5d5;
  --muted: #8d9db3;
  --line: rgba(150, 182, 222, .13);
  --line-2: rgba(150, 182, 222, .26);
  --accent: #a8d0ff;
  --accent-hover: #c6e1ff;
  --on-accent: #05080d;
  --link: #a8d0ff;
  --signal: #4db8ff;
  --ok: #7fd6b1;
  --warn: #efc77a;
  --bad: #ff9a92;
  --ok-soft: rgba(127, 214, 177, .14);
  --signal-soft: rgba(77, 184, 255, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 64px -24px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; font-stretch: 104%; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.3vw, 4.5rem); letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.2; letter-spacing: -.015em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.008em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 8px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm); }
.skip:focus { top: 8px; }
.scroll-sentinel { position: absolute; top: 0; height: 12px; width: 1px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 7px; height: 12px; background: var(--signal); transform: skewX(-22deg); }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-sm); font: inherit; font-weight: 550; font-size: 1rem; line-height: 1; cursor: pointer; white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s; }
.btn:hover { text-decoration: none; }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; color: var(--link); }
.link-arrow .arrow { transition: transform .22s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 23px; fill: var(--signal); }
.brand-name { font-size: 1.08rem; font-weight: 450; font-stretch: 112%; letter-spacing: .1em; line-height: 1; }
.nav { flex: 1; min-width: 0; }
.nav-list { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; height: 72px; padding: 0 12px; color: var(--ink); font-size: .97rem; font-weight: 500; white-space: nowrap; }
.nav-link:hover { text-decoration: none; color: var(--link); }
.nav-link.is-current { color: var(--link); }
.caret { flex: none; opacity: .55; transition: transform .2s var(--ease); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-block: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .22s var(--ease), visibility 0s linear .16s; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, .06s; }
.mega-inner { display: grid; gap: 12px 28px; padding-block: 28px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-cols-1 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.mega-col { padding: 16px; border-radius: var(--radius); }
.mega-col.is-featured { background: var(--signal-soft); }
.mega-heading { margin: 0 0 10px; padding-inline: 10px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega-col a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); }
.mega-col a:hover { text-decoration: none; background: var(--signal-soft); }
.mega-label { display: block; font-weight: 550; font-size: .98rem; line-height: 1.3; }
.mega-desc { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.header-phone { font-family: var(--mono); font-size: .84rem; color: var(--ink-2); white-space: nowrap; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: none; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { border-color: var(--ink); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: none; }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav > summary { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease); }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.mobile-nav[open] .burger { background: transparent; }
.mobile-nav[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.mobile-nav[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel { position: fixed; inset: 72px 0 0; z-index: 90; padding: 12px var(--gutter) 40px; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.mobile-group { border-bottom: 1px solid var(--line); }
.mobile-group summary { padding: 16px 0; font-size: 1.15rem; font-weight: 550; display: flex; justify-content: space-between; }
.mobile-group summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.mobile-group[open] summary::after { content: "\2013"; }
.mobile-group ul { padding-bottom: 14px; }
.mobile-group a { display: block; padding: 9px 0; color: var(--ink-2); }
.mobile-link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.15rem; font-weight: 550; }
.mobile-link:hover { text-decoration: none; }
.mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
@media (max-width: 1280px) { .header-phone { display: none; } }
@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-2); }
.tone-dark { background: var(--bg); color: var(--ink); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.has-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero-home { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(115deg, transparent 15%, #000 75%); opacity: .55; }
.signal { position: absolute; left: 0; right: 0; bottom: -24%; width: 100%; height: 72%; z-index: -1; opacity: 0; transition: opacity 1.4s ease; }
.signal.is-on { opacity: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-home .lead { margin-top: 24px; max-width: 42ch; }
.hero-note { margin-top: 28px; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .signal { height: 34%; bottom: -6%; }
}

/* The contact console: one call moving through all four flagship products. */
.icon, .vf-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.console { margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .92rem; }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.console-step { position: relative; isolation: isolate; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.step-link { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: .8rem; font-weight: 550; white-space: nowrap; transition: border-color .18s, color .18s; }
.step-link:hover { border-color: var(--accent); color: var(--link); text-decoration: none; }
.step-link .arrow { width: 13px; height: 13px; transition: transform .22s var(--ease); }
.step-link:hover .arrow { transform: translateX(2px); }
.alert-copy { flex: 1; min-width: 0; }
.console-step:last-child { border-bottom: 0; }
.console-step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--signal-soft); opacity: 0; }
@media (max-width: 520px) {
  .console-step { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
  .step-label { align-self: center; }
  .step-link { grid-column: 2; grid-row: 1; }
  .step-body { grid-column: 1 / -1; }
}
.step-label { font-family: var(--mono); font-size: .7rem; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.bubble { display: block; width: fit-content; max-width: 100%; padding: 7px 11px; margin-bottom: 6px; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.bubble-ai { background: var(--signal-soft); color: var(--ink); }
.status-row { display: grid; grid-template-columns: max-content auto; justify-content: start; gap: 6px 12px; align-items: center; }
.status-row .pill { grid-column: 1; width: 100%; }
.status-row .sync-glyph { grid-column: 2; grid-row: 1 / 3; font-size: 1.2rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .8rem; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pill-busy::before { background: var(--warn); }
.pill img { width: 16px; height: 16px; }
.pill-sys { color: var(--muted); font-size: .76rem; margin-right: 2px; }
.sync-glyph { color: var(--signal); font-family: var(--mono); }
/* Every indicator starts 11px in, so it lines up with the dot inside a status pill. */
.alert-row { display: flex; align-items: center; gap: 6px; padding-left: 11px; color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.alert-copy { margin-right: 8px; }
.led { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.led::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); opacity: 0; }
.vm-row { display: flex; align-items: center; gap: 10px; padding-left: 11px; color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.bars { display: flex; align-items: center; gap: 2px; height: 22px; flex: none; }
.bars i { width: 2.5px; height: 100%; background: var(--signal); border-radius: 2px; transform: scaleY(.3); }
.bars i:nth-child(3n) { transform: scaleY(.75); }
.bars i:nth-child(3n+1) { transform: scaleY(.5); }

/* Motion runs only while on screen (site.js sets .is-live) and if the visitor allows it. */
@media (prefers-reduced-motion: no-preference) {
  .is-live .led::after { animation: ping 1.8s var(--ease) infinite; }
  .is-live .bars i { animation: bar 1.1s ease-in-out infinite alternate; }
  .is-live .bars i:nth-child(2n) { animation-delay: -.45s; }
  .is-live .bars i:nth-child(3n) { animation-delay: -.8s; }
  .is-live .live::before { animation: pulse 2s ease-in-out infinite; }
  .is-live .console-step::before { animation: step-on 10s linear infinite; }
  .is-live .console-step:nth-child(2)::before { animation-delay: 2.5s; }
  .is-live .console-step:nth-child(3)::before { animation-delay: 5s; }
  .is-live .console-step:nth-child(4)::before { animation-delay: 7.5s; }
}
@keyframes step-on { 0%, 25% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes bar { to { transform: scaleY(1); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 22px 24px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item.has-badge { display: flex; align-items: center; gap: 14px; padding-block: 16px; }
.trust-badge { width: 64px; height: 64px; max-width: none; }
.has-badge picture { flex: none; }
@media (max-width: 520px) {
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(odd) { padding-inline: 0; border-left: 0; }
  .trust-item:nth-child(n+2) { border-top: 1px solid var(--line); }
  .vf-title { font-size: 19px; }
  .vf-hub .vf-title { font-size: 17.5px; }
  .vf-quote { font-size: 18px; }
}
.trust-value { display: block; font-weight: 600; font-size: 1.04rem; line-height: 1.25; }
.trust-label { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 760px) {
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 16px 12px; }
  .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Flagship products ---------- */
.flagships { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.flag { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.flag:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.flag-wide { grid-column: span 7; }
.flag-narrow { grid-column: span 5; }
.flag-tag { margin: 0 0 12px; font-family: var(--mono); font-size: .73rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.flag h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.flag h3 a { color: inherit; }
.flag h3 a::after { content: ""; position: absolute; inset: 0; }
.flag h3 a:hover { text-decoration: none; }
.flag-text { margin-top: 12px; max-width: 52ch; color: var(--ink-2); font-size: 1rem; }
.flag-link { margin-top: 14px; color: var(--link); font-weight: 550; display: inline-flex; gap: 8px; align-items: center; }
.flag:hover .arrow { transform: translateX(3px); }
.flag .arrow { transition: transform .22s var(--ease); }
.flag-demo { margin-top: auto; padding-top: 28px; }
.flag.tone-dark { border-color: transparent; }
@media (max-width: 860px) {
  .flag-wide, .flag-narrow { grid-column: 1 / -1; }
  .flag { min-height: 0; }
}

/* Sync demo */
.page-hero .sync-board { background: var(--surface); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.sync-board { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.sync-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 550; }
.sync-tag { font-family: var(--mono); font-size: .68rem; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.sync-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: .92rem; }
.sync-row + .sync-row { border-top: 1px solid var(--line); }
.sync-also { color: var(--muted); font-size: .86rem; }
.sync-also .sync-logo { width: auto; }
.sync-also .sync-name { flex-wrap: wrap; row-gap: 8px; }
.sync-also .sync-logo img { width: auto; height: auto; max-width: 64px; max-height: 18px; }
.sync-also .sync-logo + .sync-logo { margin-left: -4px; }
/* The NiCE wordmark is heavy, so it sits smaller than the other logos wherever they appear together. */
.sync-logo img.brand-nice, .sh-icon img.brand-nice, .sync-card-pair .sync-logo img.brand-nice { max-height: 24px; }
.sync-also .sync-logo img.brand-nice { max-height: 16px; }
.sync-name { display: flex; align-items: center; gap: 10px; min-width: 0; line-height: 1.3; }
.sync-logo { display: grid; place-items: center; flex: none; width: 48px; height: 32px; padding: 3px 5px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.sync-logo.is-aws { padding: 0; border: 0; background: none; }
.sync-logo img { width: 36px; height: 24px; object-fit: contain; }
.sync-logo.is-aws img { width: 32px; height: 32px; }
.sync-state { display: inline-grid; justify-items: end; }
.sync-event .sync-state { justify-items: start; }
.sync-state > * { grid-area: 1 / 1; white-space: nowrap; }
.sync-row .pill { background: var(--surface); }
.sync-state .state-b { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .is-live .sync-state .state-a { animation: state-a 7s steps(1) infinite; }
  .is-live .sync-state .state-b { animation: state-b 7s steps(1) infinite; }
}
@keyframes state-a { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes state-b { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@media (max-width: 480px) { .pill { font-size: .74rem; padding: 3px 8px; } }

/* Notification photo. Ring positions are percentages of the photo, on the two LEDs. */
.notify-photo { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #e2e5ee; }
.notify-photo img { width: 100%; }
.notify-ring { position: absolute; width: 5%; aspect-ratio: 1; margin: -2.5% 0 0 -2.5%; border-radius: 50%; border: 2px solid #35d07f; opacity: 0; }
.notify-ring-laptop { left: 77.5%; top: 11%; }
.notify-ring-desk { left: 9.300%; top: 51.400%; }
.notify-chip { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); font-size: .84rem; line-height: 1.3; }
.notify-chip strong { display: block; font-weight: 600; }
.notify-chip span span { display: block; color: var(--muted); font-size: .76rem; }
@media (prefers-reduced-motion: no-preference) {
  .is-live .notify-ring { animation: ring 2.2s var(--ease) infinite; }
  .is-live .notify-ring-desk { animation-delay: .5s; }
  .is-live.notify-photo .led::after { animation: ping 1.8s var(--ease) infinite; }
}
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }

/* AI demo: a dark panel inside the light card. */
.chat-panel { padding: 14px; border-radius: var(--radius-sm); }
.chat-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--muted); }

/* Voicemail demo */
.demo-vm { padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.vm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.demo-vm .bars { height: 28px; gap: 3px; margin-bottom: 12px; }
.demo-vm .bars i { width: 3px; }
.demo-vm .tl-chips { margin-top: 12px; }
.vm-text { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }

/* AI demo */
.demo-chat { display: grid; gap: 8px; }
.demo-chat .bubble { margin: 0; font-size: .92rem; padding: 10px 13px; max-width: 86%; }
.demo-chat .bubble-ai { justify-self: end; }

/* ---------- Directory of everything ---------- */
.directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.dir-col { padding: 22px 24px 8px 0; }
.dir-col + .dir-col { padding-left: 24px; border-left: 1px solid var(--line); }
.dir-heading { margin: 0 0 12px; font-family: var(--mono); font-size: .73rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.dir-col li + li { border-top: 1px solid var(--line); }
.dir-col a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.3; }
.dir-col a:hover { text-decoration: none; color: var(--link); }
.dir-col .arrow { flex: none; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .22s var(--ease); }
.dir-col a:hover .arrow { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .directory { grid-template-columns: 1fr 1fr; }
  .dir-col:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .directory { grid-template-columns: 1fr; }
  .dir-col, .dir-col + .dir-col { padding-inline: 0; border-left: 0; }
}

/* ---------- Split feature bands ---------- */
.band { position: relative; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.band-media img { width: 100%; border-radius: var(--radius); }
.band-reverse .band-media { order: -1; }
.band .lead { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.stat-value { display: block; font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.stat-label { display: block; margin-top: 5px; font-size: .84rem; line-height: 1.35; color: var(--muted); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.prose h3 { margin: 0 0 12px; }
.prose p { color: var(--ink-2); }
@media (max-width: 900px) {
  .band-grid, .prose-grid { grid-template-columns: 1fr; }
  .band-reverse .band-media { order: 0; }
}

/* ---------- Benefit cards ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.benefit { padding: clamp(22px, 2.6vw, 32px); background: var(--surface); }
.benefit h3 { font-size: 1.14rem; margin-bottom: 9px; }
.benefit p { font-size: .97rem; color: var(--ink-2); }
.benefits-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 961px) { .benefit-span-2 { grid-column: span 2; } .benefit-span-3 { grid-column: span 3; } }
@media (max-width: 960px) { .benefits, .benefits-4 { grid-template-columns: 1fr 1fr; } .benefit:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .benefits, .benefits-4 { grid-template-columns: 1fr; } }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .2s; }
.case:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.case-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.case-metric { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.case-metric-label { margin: 6px 0 14px; font-size: .88rem; color: var(--muted); }
.case h3 { font-size: 1.06rem; font-weight: 500; line-height: 1.35; letter-spacing: -.005em; color: var(--ink-2); margin-top: auto; }
.case h3 a { color: inherit; }
.case h3 a::after { content: ""; position: absolute; inset: 0; }
.case h3 a:hover { text-decoration: none; }
.more-link { margin-top: 28px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } .case-img { aspect-ratio: 21 / 9; } }

/* ---------- Quote ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-grid .lead { margin-top: 16px; }
.form-title { font-size: clamp(2rem, 3.6vw, 3rem); }
.steps { margin-top: 32px; counter-reset: step; }
.steps li { position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.steps strong { display: block; font-weight: 600; line-height: 1.3; }
.steps span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.form-card { padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; display: block; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.field-wide, .field-check, .form-submit { grid-column: 1 / -1; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; }
.field-check input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--accent); }
.field-note { display: block; margin-top: 2px; color: var(--muted); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-size: .94rem; color: var(--muted); }
.form-status.is-sent { color: var(--ok); font-weight: 500; }
.form-status.is-failed { color: var(--bad); font-weight: 500; }
.form-inline .form-fields { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
.form-inline .form-submit { grid-column: auto; }
.form-inline:has(.form-fields > .field:only-of-type) .form-fields { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 900px) { .form-inline .form-fields { grid-template-columns: 1fr; } .form-inline .form-submit { grid-column: 1 / -1; } }
@media (max-width: 560px) { .form-fields { grid-template-columns: 1fr; } }

/* ---------- Product pages ---------- */
.crumbs { padding-top: 18px; font-size: .84rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }
.page-hero { position: relative; padding-block: clamp(28px, 4vw, 56px) clamp(48px, 7vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.page-hero .lead { margin-top: 22px; }
.page-hero-copy > p:not(.eyebrow):not(.lead) { margin-top: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero-wide .page-hero-grid { row-gap: clamp(28px, 3.5vw, 44px); }
.page-hero-wide .page-hero-head { grid-column: 1 / -1; }
.page-hero-wide h1 { text-wrap: balance; }
.page-hero-wide .page-hero-copy .lead { margin-top: 0; }

.frame { margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame img { width: 100%; }
.frame-large { max-width: 1100px; margin-inline: auto; }
.frame-caption { margin-top: 12px; font-size: .86rem; color: var(--muted); text-align: center; }

/* How it works */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: flow; }
.flow-step { position: relative; padding: 26px 26px 0 0; border-top: 2px solid var(--line-2); counter-increment: flow; }
.flow-step::before { content: ""; position: absolute; left: 0; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.flow-num { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: .73rem; letter-spacing: .06em; color: var(--muted); }
.flow-step h3 { margin-bottom: 9px; font-size: 1.14rem; }
.flow-step p { font-size: .97rem; color: var(--ink-2); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 900px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-weight: 550; font-size: 1.07rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2013"; }
.faq-answer { padding: 0 40px 20px 0; color: var(--ink-2); }

/* Interest band */
.interest { padding-block: clamp(48px, 6vw, 80px); }
.interest-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 40px; align-items: end; margin-bottom: 28px; }
.interest-head p { margin: 0; color: var(--ink-2); }
.interest-phone { font-family: var(--mono); font-size: .9rem; }
@media (max-width: 700px) { .interest-head { grid-template-columns: 1fr; } }

/* Related products */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.related-card:hover { border-color: var(--line-2); }
.related-card h3 { font-size: 1.14rem; margin-bottom: 7px; }
.related-card h3 a { color: inherit; }
.related-card h3 a::after { content: ""; position: absolute; inset: 0; }
.related-card p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* Simple message pages (404, not built yet) */
.message { padding-block: clamp(72px, 12vw, 160px); }
.message .lead { margin-top: 20px; max-width: 58ch; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(48px, 6vw, 80px); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 36px 28px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0; max-width: 34ch; color: var(--muted); }
.footer-brand address { color: var(--ink-2); line-height: 1.7; }
.footer-brand a:not(.brand) { color: var(--ink-2); }
.footer-heading { margin: 0 0 14px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-col li { margin-bottom: 9px; line-height: 1.35; }
.footer-col a, .footer-bottom a { color: var(--ink-2); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-legal, .footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-social { margin-left: auto; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-social { margin-left: 0; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tl-rail { position: absolute; left: 28px; right: calc(25% - 43px); top: 27px; height: 2px; background: var(--line-2); overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: var(--signal); transform-origin: left; }
.has-reveal .timeline .tl-fill { transform: scaleX(0); transition: transform 1.6s var(--ease) .15s; }
.has-reveal .timeline.is-in .tl-fill { transform: scaleX(1); }
.tl-signal { position: absolute; inset: 0; }
.tl-signal i { position: absolute; left: 0; top: 0; width: 18%; height: 100%; background: linear-gradient(90deg, transparent, #fff, transparent); opacity: 0; }
.tl-step { position: relative; display: flex; flex-direction: column; }
.tl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px var(--bg-2); }
.tl-card { flex: 1; position: relative; padding: 22px 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .25s; }
.tl-step:hover .tl-card { border-color: var(--line-2); box-shadow: var(--shadow); }
.tl-card::before { content: ""; position: absolute; left: 21px; top: -8px; width: 14px; height: 14px; background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.tl-num { position: absolute; right: 18px; top: 16px; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.tl-card h3 { margin: 0 28px 9px 0; font-size: 1.14rem; }
.tl-card p { font-size: .96rem; color: var(--ink-2); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tl-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: var(--signal-soft); font-size: .77rem; font-weight: 500; line-height: 1.4; }
.tl-chips img { width: 16px; height: 16px; }
.has-reveal .timeline .tl-node { transform: scale(.7); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.has-reveal .timeline.is-in .tl-node { transform: none; opacity: 1; }
.has-reveal .timeline .tl-step:nth-child(3) .tl-node { transition-delay: .4s; }
.has-reveal .timeline .tl-step:nth-child(4) .tl-node { transition-delay: .8s; }
.has-reveal .timeline .tl-step:nth-child(5) .tl-node { transition-delay: 1.2s; }
@media (prefers-reduced-motion: no-preference) {
  .is-live.timeline .tl-signal i { animation: tl-run 3.6s ease-in-out 1.8s infinite; }
}
@keyframes tl-run { 0% { transform: translateX(-100%); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(560%); opacity: 0; } }
@media (max-width: 1000px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .tl-rail { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .tl-fill { transform-origin: top; }
  .has-reveal .timeline .tl-fill { transform: scaleY(0); }
  .has-reveal .timeline.is-in .tl-fill { transform: scaleY(1); }
  .tl-signal { display: none; }
  .tl-step { flex-direction: row; gap: 18px; }
  .tl-node { flex: none; margin-bottom: 0; }
  .tl-card::before { left: -8px; top: 20px; transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .has-reveal .timeline .tl-fill, .has-reveal .timeline .tl-node { transition: none; }
}

/* ---------- Voicemail architecture diagram ---------- */
.vmflow { margin: 0; padding: clamp(10px, 2vw, 22px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.vmflow svg { width: 100%; height: auto; overflow: visible; }
.vf-wires path { fill: none; stroke: var(--line-2); stroke-width: 2; }
.vf-pulse { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 16 200; stroke-dashoffset: 16; opacity: 0; }
.vf-node rect { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.5; }
.vf-hub rect { fill: var(--accent); stroke: none; }
.vf-icon { color: var(--accent); }
.vf-hub .vf-icon { color: var(--on-accent); }
.vf-title { fill: var(--ink); font-family: var(--font); font-size: 16px; font-weight: 600; text-anchor: middle; }
.vf-hub .vf-title { fill: var(--on-accent); font-size: 15px; }
.vf-left { text-anchor: start; }
.vf-transcript rect { fill: var(--signal-soft); }
.vf-quote { fill: var(--ink); font-family: var(--font); font-size: 15.5px; }
@media (prefers-reduced-motion: no-preference) {
  .is-live .vf-pulse { animation: vf-run 7s linear infinite; }
  .is-live .vf-p2 { animation-delay: .9s; }
  .is-live .vf-p3 { animation-delay: 1.8s; }
  .is-live .vf-p4 { animation-delay: 3.2s; animation-name: vf-run-long; }
  .is-live .vf-quote { animation: vf-text 7s linear infinite; }
}
@keyframes vf-run { 0% { stroke-dashoffset: 16; opacity: 1; } 12% { stroke-dashoffset: -100; opacity: 1; } 12.1%, 100% { opacity: 0; } }
@keyframes vf-run-long { 0% { stroke-dashoffset: 16; opacity: 1; } 22% { stroke-dashoffset: -100; opacity: 1; } 22.1%, 100% { opacity: 0; } }
@keyframes vf-text { 0%, 30% { opacity: .55; } 40%, 92% { opacity: 1; } 100% { opacity: .55; } }

/* ---------- Voicemail portal mock-up ---------- */
.portal { margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .86rem; line-height: 1.35; }
.portal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.portal-brand { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; font-weight: 600; }
.portal-brand .mark { width: 19px; height: 15px; }
.portal-tab { padding: 5px 10px; border-radius: 6px; color: var(--muted); }
.portal-tab.is-active { background: var(--signal-soft); color: var(--ink); font-weight: 550; }
.portal-search { margin-left: auto; width: min(240px, 30%); padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; }
.portal-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.portal-list { min-width: 0; border-right: 1px solid var(--line); }
.portal-row { display: grid; grid-template-columns: 70px 134px minmax(0, 1fr) 150px; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.portal-row:last-child { border-bottom: 0; }
.portal-head { padding-block: 9px; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.portal-row.is-selected { background: var(--signal-soft); box-shadow: inset 3px 0 0 var(--accent); }
.portal-time { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .78rem; }
.portal-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.portal-dot.is-new { background: var(--signal); }
.portal-dot.is-open { background: var(--warn); }
.portal-num { font-family: var(--mono); font-size: .76rem; color: var(--ink-2); white-space: nowrap; }
.portal-text { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-src { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-detail { padding: 16px; min-width: 0; }
.portal-detail-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.portal-detail-head strong { display: block; font-size: .98rem; }
.portal-detail-head div span { color: var(--muted); font-size: .78rem; }
.portal-vm-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.portal-badge { margin-left: auto; padding: 2px 9px; border-radius: 99px; background: var(--signal-soft); font-size: .74rem; font-weight: 550; }
.portal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.portal-meta dt { font-size: .72rem; color: var(--muted); }
.portal-meta dd { font-family: var(--mono); font-size: .78rem; }
.portal-player { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.portal-play { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }
.portal-play::after { content: ""; position: absolute; left: 10px; top: 8px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--on-accent); }
.portal-wave { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; height: 26px; overflow: hidden; }
.portal-wave i { width: 2.5px; height: 100%; border-radius: 2px; background: var(--signal); }
.portal-wave .h30 { transform: scaleY(.3); }
.portal-wave .h40 { transform: scaleY(.4); }
.portal-wave .h50 { transform: scaleY(.5); }
.portal-wave .h60 { transform: scaleY(.6); }
.portal-wave .h70 { transform: scaleY(.7); }
.portal-wave .h80 { transform: scaleY(.8); }
.portal-wave .h90 { transform: scaleY(.9); }
.portal-wave .h100 { transform: scaleY(1); }
.portal-head-line { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-left: 2px solid var(--ink); opacity: .75; transform: translateX(32%); }
.portal-len { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.portal-transcript { padding: 11px 12px; margin: 0 0 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); font-size: .86rem; line-height: 1.45; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.portal-btn { padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 7px; font-size: .79rem; font-weight: 550; }
.portal-btn.is-primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
@media (prefers-reduced-motion: no-preference) {
  .is-live .portal-head-line { animation: portal-play 11s linear infinite; }
  .is-live .portal-transcript span { animation: portal-word 11s linear infinite; }
  .is-live .portal-transcript span:nth-child(2) { animation-name: portal-word-2; }
  .is-live .portal-transcript span:nth-child(3) { animation-name: portal-word-3; }
  .is-live .portal-row.is-selected .portal-dot { animation: pulse 1.6s ease-in-out infinite; }
}
@keyframes portal-play { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes portal-word { 0% { opacity: .22; } 6%, 96% { opacity: 1; } 100% { opacity: .22; } }
@keyframes portal-word-2 { 0%, 22% { opacity: .22; } 28%, 96% { opacity: 1; } 100% { opacity: .22; } }
@keyframes portal-word-3 { 0%, 66% { opacity: .22; } 72%, 96% { opacity: 1; } 100% { opacity: .22; } }
@media (max-width: 1100px) {
  .portal-src, .portal-head span:last-child { display: none; }
  .portal-row { grid-template-columns: 66px 128px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .portal-main { grid-template-columns: 1fr; }
  .portal-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-tab:not(.is-active), .portal-search { display: none; }
}
@media (max-width: 520px) {
  .portal-row { grid-template-columns: 62px minmax(0, 1fr); }
  .portal-text, .portal-head span:nth-child(3) { display: none; }
}

/* ---------- Benefit graphics ---------- */
.benefit { --pad: clamp(22px, 2.6vw, 32px); }
.benefit-art { height: 132px; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.benefit-art svg { width: 100%; height: 100%; }
@media (min-width: 961px) {
  .benefit-span-2, .benefit-span-3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 28px; align-items: center; }
  .benefit-span-2 .benefit-art, .benefit-span-3 .benefit-art { align-self: stretch; height: auto; min-height: 132px; margin-bottom: calc(var(--pad) * -1); margin-right: 0; border-bottom: 0; border-right: 1px solid var(--line); }
}
.g-l { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.g-f { fill: var(--surface); }
.g-f.g-l { stroke: var(--line-2); }
.g-plate { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.g-a { fill: var(--accent); }
.g-as { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-soft { fill: var(--signal-soft); }
.g-soft-strong, .g-ink { fill: var(--line-2); }
.g-ok { fill: var(--ok); }
.g-warn { fill: var(--warn); }
.g-dash { stroke-dasharray: 5 5; }
.g-on-a { fill: none; stroke: var(--on-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-t { fill: var(--muted); font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .06em; }
.g-t-strong { fill: var(--ink); }
.g-t-on-a { fill: var(--on-accent); font-family: var(--mono); font-size: 10px; font-weight: 500; }
.g-mid { text-anchor: middle; }
.g-end { text-anchor: end; }
.g-dim { opacity: .55; }
.g-dimt { opacity: .7; }
.g-bad circle { fill: var(--surface); stroke: var(--bad); stroke-width: 1.5; }
.g-bad path { fill: none; stroke: var(--bad); stroke-width: 1.8; stroke-linecap: round; }
.g-wire { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 10 200; stroke-dashoffset: 10; opacity: 0; }
.g-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-fill, .g-grow { transform-box: fill-box; transform-origin: left; }
.g-fill { transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  .is-live .g-wire { animation: g-wire 3.2s linear infinite; }
  .is-live .g-ring { animation: g-ring 2.4s var(--ease) infinite; }
  .is-live .g-ring-2 { animation-delay: .8s; }
  .is-live .g-fill { animation: g-fill 4.5s ease-in-out infinite; }
  .is-live .g-fill-1 { animation-delay: .7s; }
  .is-live .g-fill-2 { animation-delay: 1.4s; }
  .is-live .g-grow { animation: g-grow 4s var(--ease) infinite; }
  .is-live .g-row { animation: pulse 2.6s ease-in-out infinite; }
  .is-live .g-node-1 { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes g-wire { 0% { stroke-dashoffset: 10; opacity: 1; } 40% { stroke-dashoffset: -100; opacity: 1; } 40.1%, 100% { opacity: 0; } }
@keyframes g-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes g-fill { 0% { transform: scaleX(0); opacity: 1; } 45%, 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes g-grow { 0% { transform: scaleX(.1); } 35%, 100% { transform: scaleX(1); } }

/* ---------- Contact and long legal pages ---------- */
.contact-hero { padding-bottom: clamp(20px, 3vw, 36px); }
.contact-hero .lead { max-width: 60ch; }
.contact-body { padding-bottom: var(--section); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s; }
a.contact-card:hover { border-color: var(--line-2); text-decoration: none; }
.contact-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--signal-soft); color: var(--accent); }
.contact-label { display: block; font-size: .84rem; color: var(--muted); }
.contact-value { display: block; font-weight: 550; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.legal-page { padding-block: clamp(36px, 5vw, 64px) var(--section); }
.legal-page h1 { max-width: 22ch; font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 32px; }
.legal { max-width: 760px; color: var(--ink-2); font-size: 1rem; }
.legal h2, .legal h3, .legal h4 { margin: 32px 0 12px; color: var(--ink); }
.legal h2 { font-size: 1.45rem; }
.legal h3 { font-size: 1.2rem; }
.legal h4 { font-size: 1.05rem; }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 22px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 6px; }
.legal a, .legal p, .legal li { overflow-wrap: anywhere; }

/* ---------- Round 3 refinements ---------- */
/* Hero: on the two taller rows the button sits on the bottom edge of the content. */
.console-step.is-tall .step-link { align-self: end; }
.step-body .bubble:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .console-step.is-tall .step-link { align-self: center; } }

/* Trust strip: text a step smaller than the 64px badges, icons in matching tiles. */
.trust-value { font-size: .92rem; line-height: 1.22; }
.trust-label { font-size: .78rem; line-height: 1.3; }
.trust-icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--signal-soft); color: var(--accent); }
.trust-icon .icon { width: 30px; height: 30px; }

/* AI card: a mid-grey panel rather than a black one. */
.chat-panel { --ink: #ffffff; --ink-2: #f0f3f7; --bg-2: rgba(255, 255, 255, .13); --signal-soft: rgba(130, 195, 255, .2); --muted: #d4dce6; --ok: #a2ecc9; background: #566474; }
[data-theme="dark"] .chat-panel { background: #24303e; }

/* Benefit graphics */
.g-bar { fill: var(--signal); opacity: .72; }
.g-cloud { stroke: var(--line-2); stroke-width: .5; }

/* Menu icons */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mega-col a { display: flex; align-items: flex-start; gap: 12px; }
.mega-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--signal-soft); color: var(--accent); transition: background-color .15s, color .15s; }
.mega-col.is-featured .mega-icon { background: var(--surface); }
.mega-col a:hover .mega-icon { background: var(--accent); color: var(--on-accent); }
.mega-copy { min-width: 0; }
.mobile-group a { display: flex; align-items: center; gap: 12px; }
.mobile-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--signal-soft); color: var(--accent); }
/* Small links under a menu item ('sub' in content/navigation.php): one per Agent Status Sync platform. */
.mega-sub { display: flex; flex-wrap: wrap; gap: 5px; margin: -2px 0 6px 58px; }
.mega-col .mega-sub a { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 7px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); font-size: .78rem; font-weight: 550; line-height: 1.4; color: var(--ink-2); white-space: nowrap; }
.mega-col .mega-sub a::before { content: "\21C4"; font-family: var(--mono); color: var(--signal); }
.mega-col .mega-sub a:hover, .mega-col .mega-sub a[aria-current] { border-color: var(--accent); background: var(--surface); color: var(--ink); }
.mobile-group a.mobile-sub { gap: 8px; padding: 6px 0 6px 44px; font-size: .95rem; }
.mobile-sub::before { content: "\21C4"; font-family: var(--mono); color: var(--signal); }

/* Agent Status Sync cards (blocks/sync_family.php): Amazon Connect and the paired platform, with status travelling both ways. */
.sync-card-pair { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 20px; background: radial-gradient(60% 90% at 50% 50%, var(--signal-soft), transparent 78%), var(--bg-2); border-bottom: 1px solid var(--line); }
.sync-card-pair .sync-logo { width: auto; min-width: 62px; height: 54px; padding: 6px 10px; border-radius: 11px; }
.sync-card-pair .sync-logo img { width: auto; height: auto; max-width: 92px; max-height: 38px; }
.sync-card-pair .sync-logo.is-aws { width: 54px; }
.sync-card-pair .sync-logo.is-aws img { width: 52px; height: 52px; }
.sc-wire { position: relative; flex: 0 1 96px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 9px); }
.sc-wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); opacity: 0; }
.sync-card-pair .sync-also-logo { margin-left: -6px; }
.sync-card.is-current { border-color: var(--accent); }
.sync-card.is-current .flag-tag { color: var(--accent); }
.sync-family-note { margin-top: 18px; color: var(--muted); font-size: .92rem; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .is-live .sc-wire i:first-child { animation: sc-right 4s var(--ease) infinite; }
  .is-live .sc-wire i:last-child { animation: sc-left 4s var(--ease) 2s infinite; }
}
@keyframes sc-right { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 40% { left: calc(100% - 8px); opacity: 1; } 48%, 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes sc-left { 0% { left: calc(100% - 8px); opacity: 0; } 8% { opacity: 1; } 40% { left: 0; opacity: 1; } 48%, 100% { left: 0; opacity: 0; } }

/* AWS architecture diagram */
.only-dark { display: none; }
[data-theme="dark"] .only-dark { display: inline; }
[data-theme="dark"] .only-light { display: none; }
.vf-group { fill: none; stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.2; }
.vf-group-label { fill: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 550; }
.vf-wires path { stroke: var(--ink); stroke-opacity: .6; stroke-width: 1.5; }
.vf-head { fill: var(--ink); fill-opacity: .75; }
.vf-label { fill: var(--ink); font-family: var(--font); font-size: 14.5px; font-weight: 550; text-anchor: middle; }
.vf-small { font-size: 13.5px; }
.vf-caption { fill: var(--muted); font-family: var(--font); font-size: 13.5px; text-anchor: middle; }
.vf-voxo rect { fill: #0b5fbf; }
.vf-voxo path { fill: #ffffff; }
.vf-transcript rect { fill: var(--signal-soft); stroke: none; }
.vf-tag { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; }
.vf-quote { font-size: 14.5px; }
.vf-out image { transition: opacity .2s; }
@media (max-width: 520px) {
  .vf-label { font-size: 17px; }
  .vf-small, .vf-caption { font-size: 15.5px; }
  .vf-group-label { font-size: 15.5px; }
  .vf-quote { font-size: 16.5px; }
}

/* ---------- Article ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-grid.no-aside { grid-template-columns: minmax(0, 860px); }
.article-body > h2 { margin: 44px 0 16px; font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.article-body > h2:first-child { margin-top: 0; }
.article-body > h3 { margin: 28px 0 10px; }
.article-body > p { color: var(--ink-2); }
.ticks { display: grid; gap: 10px; margin: 0 0 1.2em; }
.ticks li { display: flex; gap: 11px; color: var(--ink-2); }
.ticks .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--signal); stroke-width: 2.2; }
.phases { margin: 0 0 1.4em; }
.phases li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.phases li:last-child { border-bottom: 1px solid var(--line); }
.phase-num { flex: none; width: 30px; padding-top: 2px; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.phases strong { display: block; margin-bottom: 3px; font-weight: 600; }
.phases p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.4em; }
.deliverables li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.deliverables strong { display: block; margin-bottom: 3px; font-weight: 600; line-height: 1.3; }
.deliverables span { display: block; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.callout { margin: 24px 0; padding: 18px 22px; background: var(--signal-soft); border-left: 3px solid var(--signal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p { margin: 0; color: var(--ink); font-weight: 500; }
.callout small { display: block; margin-top: 6px; color: var(--ink-2); font-size: .88rem; }
.glance { position: sticky; top: 96px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.glance-title { margin-bottom: 14px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.glance dl > div { padding: 11px 0; border-top: 1px solid var(--line); }
.glance dt { font-size: .82rem; color: var(--muted); }
.glance dd { font-weight: 550; line-height: 1.35; }
.glance-actions { display: grid; gap: 10px; margin-top: 18px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .glance { position: static; } }
@media (max-width: 620px) { .deliverables { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.card.is-link:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-art { margin: 0; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--signal-soft); color: var(--accent); }
.aws-icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 0; }
.card-logo { display: grid; place-items: center; width: 96px; height: 48px; margin-bottom: 14px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.card-logo img { width: 78px; height: 36px; object-fit: contain; border-radius: 0; }
.card h3 { font-size: 1.14rem; }
.card h3 a { color: inherit; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { text-decoration: none; }
.card-text { margin-top: 8px; color: var(--ink-2); font-size: .96rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: var(--link); font-weight: 550; font-size: .95rem; }
.card-link .arrow { transition: transform .22s var(--ease); }
.card.is-link:hover .card-link .arrow { transform: translateX(3px); }
@media (max-width: 1040px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; line-height: 1.4; }
.table-wrap th, .table-wrap td { padding: 13px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.table-wrap thead th { border-top: 0; font-family: var(--mono); font-size: .73rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table-wrap tbody th { font-weight: 600; }
.table-wrap td { color: var(--ink-2); }
.table-note { margin-top: 12px; color: var(--muted); font-size: .88rem; }

/* ---------- Closing call to action ---------- */
.cta-band { padding-block: clamp(48px, 6vw, 80px); background: var(--signal-soft); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: center; }
.cta-inner .lead { margin-top: 12px; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guide-page { padding-block: clamp(28px, 4vw, 48px) var(--section); }
.guide-page h1 { max-width: 24ch; font-size: clamp(2rem, 3.6vw, 3rem); }
.guide-page .lead { margin-top: 16px; max-width: 62ch; }
.guide { margin-top: 28px; max-width: 860px; }
.guide-shot { margin: 18px 0 26px; }
.guide-shot img { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.download-form { max-width: 440px; margin-top: 28px; }
.download-form .field { margin-bottom: 14px; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(420px, calc(100vw - 32px)); padding: 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .92rem; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; color: var(--ink-2); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.linklike { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; cursor: pointer; }
.linklike:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
