:root {
  --paper: #edf1f5;
  --surface: #ffffff;
  --text: #0f1b2d;
  --text-soft: #4a5a70;
  --mist: #d3dce7;
  --line: #c3cedb;
  --land: #d3dce7;
  --accent: #0af7cd;
  --accent-hover: #08d9b4;
  --accent-text: #087a66;
  --on-accent: #0f1b2d;
  --highlight: #d9f8f1;
  --panel: #0f1b2d;
  --panel-text: #ffffff;
  --panel-soft: #b9c6d8;
  --phone-rim: #2a3a52;
  --optimal: #17905f;
  --suboptimal: #c98307;
  --misplaced: #cf4236;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1320; --surface: #121d2e; --text: #e7edf5; --text-soft: #9aabc2;
    --mist: #22324a; --line: #2b3d58; --land: #24364f;
    --accent: #0af7cd; --accent-hover: #5cfbdf; --accent-text: #0af7cd;
    --highlight: #0e2f36; --panel: #1a2a45; --panel-soft: #b4c3d8; --phone-rim: #3a4f73;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1320; --surface: #121d2e; --text: #e7edf5; --text-soft: #9aabc2;
  --mist: #22324a; --line: #2b3d58; --land: #24364f;
  --accent: #0af7cd; --accent-hover: #5cfbdf; --accent-text: #0af7cd;
  --highlight: #0e2f36; --panel: #1a2a45; --panel-soft: #b4c3d8; --phone-rim: #3a4f73;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 85; margin: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.015em; max-width: 22ch; }
h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 650; }
p { margin: 0; }
a { color: inherit; }
code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .9em; background: var(--mist); padding: 1px 5px; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.section-lede { color: var(--text-soft); font-size: 1.15rem; max-width: 60ch; margin-top: 18px; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  font-weight: 600; border: 2px solid var(--accent);
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--text); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-light { background: #ffffff; color: #0f1b2d; border-color: #ffffff; }
.btn-light:hover { background: #edf1f5; border-color: #edf1f5; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); }
.top-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.3rem var(--display); font-variation-settings: "wdth" 85; text-decoration: none; }
.brand img { display: block; width: auto; height: 32px; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}
.pm-top svg { width: 30px; height: 30px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; }
.pm-top svg circle { fill: var(--accent); stroke: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { white-space: nowrap; text-decoration: none; color: var(--text-soft); font-weight: 500; }
.top nav a:hover { color: var(--text); }
.theme { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.theme svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme .i-sun, :root[data-mode="dark"] .theme .i-moon { display: none; }
:root[data-mode="dark"] .theme .i-sun { display: block; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent-text); background: var(--surface); border: 1px solid var(--mist); padding: 6px 14px 6px 12px; border-radius: 999px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--optimal); box-shadow: 0 0 0 0 rgba(23, 144, 95, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(23, 144, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 144, 95, 0); } }
h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.02; font-weight: 720;
  letter-spacing: -0.012em; margin-top: 22px; font-variation-settings: "wdth" 88;
}
.lede { font-size: 1.2rem; color: var(--text-soft); margin-top: 24px; max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Route map */
.route { margin: 0; background: var(--surface); border-radius: 28px; padding: 20px 20px 18px; border: 1px solid var(--mist); }
.route-icon { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 14px; padding: 8px 14px 8px 8px; font-weight: 600; font-size: .95rem; }
.tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); }
.tile svg { width: 22px; height: 22px; fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; }
.map { display: block; width: 100%; height: auto; margin-top: 8px; }
.land { fill: var(--land); }
.flight { fill: none; stroke: var(--text-soft); stroke-width: .8; stroke-dasharray: 2 3; opacity: 0; transition: opacity .4s; }
.flight.on { opacity: .55; }
.link { fill: none; stroke-width: 2.2; stroke-linecap: round; transition: stroke .4s; }
.region circle { fill: var(--surface); stroke: var(--text); stroke-width: 1.3; transition: fill .4s, stroke .4s; }
.region.active circle { fill: var(--text); }
.region text { font: 600 7px var(--body); fill: var(--text-soft); }
.region.active text { fill: var(--text); }
.user circle:last-child { fill: var(--accent-text); }
.user .halo { fill: var(--accent-text); opacity: .22; }
figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; min-height: 3.2em; }
.chip { flex: none; font-weight: 600; font-size: .85rem; padding: 3px 10px; border-radius: 999px; color: #ffffff; background: var(--optimal); transition: background-color .4s; }
.chip[data-r="suboptimal"] { background: var(--suboptimal); }
.chip[data-r="misplaced"] { background: var(--misplaced); }
#caption { color: var(--text-soft); font-size: 1rem; line-height: 1.45; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.steps button { font: 500 .9rem var(--body); color: var(--text-soft); background: none; border: 1px solid var(--mist); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.steps button[aria-pressed="true"] { color: var(--paper); background: var(--text); border-color: var(--text); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.facts p { padding: 22px 22px 0 0; color: var(--text-soft); font-size: .98rem; }
.facts p + p { padding-left: 22px; border-left: 1px solid var(--line); }
.facts strong { display: block; color: var(--text); font-weight: 600; }

section.product, section.onprem, section.faq, section.pricing, section.platform, section.ai, section.compare, section.tenant, section.about { padding: clamp(72px, 10vw, 128px) 0 0; }

/* Portal */
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 44px; align-items: start; }
.pmock { margin: 0; background: var(--surface); border: 1px solid var(--mist); border-radius: 28px; padding: 22px; }
.pm-top { display: flex; align-items: center; gap: 10px; font: 650 1.1rem var(--display); font-variation-settings: "wdth" 85; padding: 0 4px 16px; border-bottom: 1px solid var(--mist); }
.pm-top svg { width: 26px; height: 26px; }
.pm-user { margin-left: auto; font: 500 .9rem var(--body); color: var(--text-soft); }
.pm-list { list-style: none; padding: 0; margin: 8px 0 0; }
.pm-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; }
.pm-list li + li { border-top: 1px solid var(--mist); }
.pm-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); }
.pm-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pm-ic.pm-avd { background: var(--accent); }
.pm-ic.pm-avd svg { stroke: var(--on-accent); }
.pm-name { font-weight: 600; line-height: 1.3; }
.pm-name small, .pm-open small { display: block; font-weight: 400; font-size: .85rem; color: var(--text-soft); }
.pm-open { text-align: center; font-weight: 600; font-size: .92rem; color: var(--accent-text); border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 14px; min-width: 104px; line-height: 1.25; }
.ways { margin: 0; display: grid; gap: 28px; }
.ways dt { font: 650 1.35rem var(--display); font-variation-settings: "wdth" 85; }
.ways dd { margin: 8px 0 0; color: var(--text-soft); }

/* Industry firsts */
.product > .wrap > .section-lede { margin-bottom: 40px; }
.first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.first:nth-of-type(even) .first-copy { order: 2; }
.first h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; font-weight: 700; }
.first-copy p { color: var(--text-soft); font-size: 1.1rem; margin-top: 16px; max-width: 52ch; }
.first .phone { justify-self: center; }
.card { margin: 0; background: var(--surface); border: 1px solid var(--mist); border-radius: 28px; padding: 22px 24px; }
.card-head { font: 650 1.15rem var(--display); font-variation-settings: "wdth" 85; padding-bottom: 14px; border-bottom: 1px solid var(--mist); margin: 0; }
.card-head small { display: block; font: 400 .9rem var(--body); color: var(--text-soft); margin-top: 2px; }
.card-list { list-style: none; padding: 0; margin: 4px 0 0; }
.card-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; font-weight: 600; }
.card-list li + li { border-top: 1px solid var(--mist); }
.card-list small { display: block; font-weight: 400; font-size: .88rem; color: var(--text-soft); }
.trip { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; position: relative; }
.trip li { position: relative; padding-left: 30px; color: var(--text-soft); }
.trip li strong { display: block; color: var(--text); font-weight: 600; }
.trip li::before { content: ""; position: absolute; left: 4px; top: .4em; width: 11px; height: 11px; border-radius: 50%; background: var(--accent-text); }
.trip li + li::after { content: ""; position: absolute; left: 9px; top: calc(-18px - .2em); height: calc(18px + .4em); border-left: 1.5px dashed var(--line); }

/* Platform */
.spotlights { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 44px; }
.spot { border-radius: 28px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 28px; align-content: space-between; }
.spot p { margin-top: 12px; }
.spot-4fa { background: var(--panel); color: var(--panel-text); grid-template-columns: 1fr auto; align-items: center; }
.spot-4fa p { color: var(--panel-soft); }
.spot-grave { background: var(--surface); border: 1px solid var(--mist); }
.spot-grave p { color: var(--text-soft); }
.phone { width: 220px; background: #ffffff; color: #0f1b2d; border-radius: 22px; padding: 16px; border: 6px solid var(--phone-rim); }
.phone .phone-app { font-size: .78rem; font-weight: 600; color: #087a66; margin: 0; }
.phone .phone-msg { color: #0f1b2d; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.phone-btns { display: flex; gap: 6px; }
.phone .phone-btns span { flex: 1; text-align: center; font-size: .82rem; font-weight: 600; padding: 7px 4px; border-radius: 10px; background: #edf1f5; color: #0f1b2d; }
.phone .phone-btns span:first-child { background: #0af7cd; color: #0f1b2d; }
.grave { list-style: none; counter-reset: g; padding: 0; margin: 0; display: grid; gap: 8px; }
.grave li { counter-increment: g; display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: .95rem; }
.grave li::before { content: counter(g); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--text); font-size: .8rem; font-weight: 600; }
.grave li:nth-child(3)::before { background: var(--text); color: var(--paper); }

.groups { margin-top: 64px; border-top: 1px solid var(--line); }
.group { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.group h3 { font-size: 1.6rem; }
.group dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; margin: 0; }
.group dt { font-weight: 600; }
.group dd { margin: 4px 0 0; color: var(--text-soft); font-size: 1rem; }


/* Tenant */
.tenant-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--optimal); border-bottom: 2.5px solid var(--optimal); transform: rotate(-45deg); }
.arch { width: 100%; height: auto; }
.a-tenant { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 5 5; }
.a-box { fill: var(--paper); stroke: var(--mist); }
.a-core { fill: var(--panel); }
.a-label, .a-head { font: 650 14px var(--body); fill: var(--text); }
.a-core-t { font: 700 20px var(--display); fill: var(--panel-text); }
.a-small { font: 500 12.5px var(--body); fill: var(--text-soft); }
.a-core-s { fill: var(--panel-soft); }
.a-arrow { stroke: var(--accent-text); stroke-width: 2.5; }

/* CTA */

.foot { padding: 32px 0 48px; color: var(--text-soft); font-size: .9rem; }
.foot .wrap { display: grid; gap: 8px; }
.sources { max-width: 90ch; }

@media (max-width: 960px) {
  .hero-grid, .tenant-grid, .first { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts p:nth-child(3) { border-left: 0; padding-left: 0; }
  .group { grid-template-columns: 1fr; }
  .first:nth-of-type(even) .first-copy { order: 0; }

  .top nav { display: none; }
  .theme { margin-left: auto; }
}
@media (max-width: 600px) {
  .facts, .group dl { grid-template-columns: 1fr; }
  .facts p, .facts p + p { border-left: 0; padding-left: 0; }
  .spot-4fa { grid-template-columns: 1fr; }
  .route, .pmock { padding: 14px; border-radius: 22px; }
  figcaption { flex-direction: column; gap: 6px; }
  .pm-list li { grid-template-columns: auto 1fr; }
  .pm-open { grid-column: 2; justify-self: start; min-width: 0; }
  .top-row { gap: 10px; }
  .top-row .btn-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.product h2 { max-width: 24ch; }
.chip[data-r="later"] { background: transparent; color: var(--text-soft); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Pricing tiers */
.tiers { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiers li { background: var(--surface); border: 1px solid var(--mist); border-radius: 24px; padding: 24px 26px; display: grid; gap: 6px; }
.tiers li.tier-top { background: var(--panel); border-color: var(--panel); color: var(--panel-text); }
.tier-users { font-weight: 600; }
.tier-price { font: 700 clamp(2.2rem, 3.6vw, 3rem) var(--display); font-variation-settings: "wdth" 85; line-height: 1; }
.tier-price small { font: 400 1rem var(--body); color: var(--text-soft); }
.tier-top .tier-price small { color: var(--panel-soft); }
.tier-note { color: var(--text-soft); max-width: 70ch; margin-top: 18px; font-size: .98rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 700 1.3rem/1.25 var(--display); font-variation-settings: "wdth" 85; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 1.5rem/1 var(--body); color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin: 0 0 24px; padding-left: 2.5rem; color: var(--text-soft); max-width: 68ch; }
.faq details a { color: var(--accent-text); }
@media (max-width: 960px) { .faq-grid, .tiers { grid-template-columns: 1fr; } }
.first-solo { margin-top: 24px; border-top: 0; }
@media (max-width: 600px) { .faq details p { padding-left: 1.5rem; } }

.badge { display: inline-block; font-weight: 600; font-size: .85rem; color: var(--accent-text); background: var(--highlight); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.first-copy .badge { margin-top: 0; font-size: .85rem; color: var(--accent-text); }

/* Two sides: hero scene */
:root {
  --ppl-bg: #ffffff; --ppl-ink: #0f1b2d; --ppl-soft: #4a5a70; --ppl-line: #e3e9f0; --ppl-tint: #d9f8f1; --ppl-blue: #0af7cd; --ppl-blue-text: #087a66; --ppl-ok: #17905f;
  --it-bg: #0f1b2d; --it-ink: #e7edf5; --it-soft: #9aabc2; --it-line: #24364f; --it-card: #1a2a45; --it-teal: #5fd0c0; --it-ok: #4fd39a; --it-warn: #f0b43c;
}
.scene { margin: 0; display: grid; gap: 14px; }
.scene-stage { --x: 50%; position: relative; height: 360px; border-radius: 24px; overflow: hidden; border: 1px solid var(--mist); background: var(--ppl-bg); cursor: ew-resize; touch-action: pan-y; user-select: none; box-shadow: 0 22px 44px -28px rgba(15, 27, 45, .45); }
.layer { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; }
.layer-ppl { background: var(--ppl-bg); color: var(--ppl-ink); }
.layer-it { background: var(--it-bg); color: var(--it-ink); clip-path: inset(0 0 0 var(--x)); }
.l-head { height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; }
.l-head b { font: 650 1.1rem var(--display); font-variation-settings: "wdth" 85; white-space: nowrap; }
.l-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .8rem; white-space: nowrap; color: var(--ppl-blue-text); }
.layer-it .l-tag { color: var(--it-teal); }
.l-row { height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-top: 1px solid var(--ppl-line); }
.layer-it .l-row { border-top-color: var(--it-line); }
.l-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--ppl-tint); }
.l-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ppl-blue-text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.layer-it .l-ico { background: var(--it-card); }
.layer-it .l-ico svg { stroke: var(--it-teal); }
.l-txt { min-width: 0; flex: 1; }
.l-txt strong { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-txt small { display: block; font-size: .8rem; color: var(--ppl-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.layer-it .l-txt small { color: var(--it-soft); }
.l-btn { flex: none; font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px; background: var(--ppl-blue); color: #0f1b2d; white-space: nowrap; }
.l-btn.on { background: var(--ppl-tint); color: var(--ppl-ok); }
.l-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .78rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--it-line); color: var(--it-ok); white-space: nowrap; }
.l-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.l-chip.warn { color: var(--it-warn); }
.l-foot { margin-top: auto; height: 48px; flex: none; display: flex; align-items: center; padding: 0 18px; border-top: 1px solid var(--ppl-line); font-size: .82rem; color: var(--ppl-soft); }
.layer-it .l-foot { border-top-color: var(--it-line); color: var(--it-soft); }
.s-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; pointer-events: none; }
.s-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #ffffff; box-shadow: 0 0 0 1px rgba(15, 27, 45, .3); }
.s-knob { position: absolute; top: 50%; left: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: linear-gradient(90deg, var(--ppl-bg) 50%, var(--it-bg) 50%); border: 2px solid #ffffff; box-shadow: 0 6px 16px rgba(15, 27, 45, .35); }
.scene-stage.glide .layer-it { transition: clip-path .45s ease; }
.scene-stage.glide .s-handle { transition: left .45s ease; }
.scene-ctl { display: flex; align-items: center; gap: 14px; }
.scene-ctl input { flex: 1; min-width: 0; height: 28px; accent-color: var(--accent-text); }
.sc-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 .9rem var(--body); cursor: pointer; white-space: nowrap; }
.sc-btn:hover { border-color: var(--text); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sc-btn .ic { color: var(--accent-text); }
.scene figcaption { font-size: .9rem; color: var(--text-soft); margin: 0; min-height: 0; }

/* Two sides: each feature */
.sides { display: grid; gap: 10px; margin-top: 22px; max-width: 56ch; }
.first-copy .side { margin: 0; max-width: none; font-size: 1rem; line-height: 1.5; padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--mist); color: var(--text); }
.first-copy .side-it { background: var(--panel); border-color: var(--panel); color: var(--panel-text); }
.who { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--accent-text); margin-bottom: 4px; }
.side-it .who { color: var(--it-teal); }
.who .ic { width: 16px; height: 16px; }
.outcome .route { align-self: center; }
@media (max-width: 600px) {
  .scene-stage { height: 340px; }
  .l-row, .l-head, .l-foot { padding: 0 12px; }
  .l-btn, .l-chip { font-size: .74rem; padding: 5px 9px; }
  .scene-ctl { flex-wrap: wrap; }
  .scene-ctl input { order: 3; flex-basis: 100%; }
  .sc-it { margin-left: auto; }
}
.hero h1 { font-size: clamp(2.2rem, 3.4vw, 2.8rem); }
.hero h1 span { display: block; }

/* AI assistants */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.ai-list dt { font-weight: 600; }
.ai-list dd { margin: 4px 0 0; color: var(--text-soft); font-size: 1rem; }
.chat { margin: 0; border: 1px solid var(--it-line); background: var(--it-bg); color: var(--it-ink); border-radius: 24px; overflow: hidden; box-shadow: 0 22px 44px -28px rgba(15, 27, 45, .45); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--it-line); }
.chat-body { display: grid; gap: 14px; padding: 20px; }
.msg { margin: 0; padding: 12px 16px; border-radius: 16px; font-size: .98rem; line-height: 1.45; max-width: 88%; }
.msg-you { justify-self: end; background: var(--ppl-blue); color: #0f1b2d; border-bottom-right-radius: 4px; }
.msg-ai { background: var(--it-card); border-bottom-left-radius: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .85rem; color: var(--it-soft); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--it-teal); border-bottom: 2px solid var(--it-teal); transform: rotate(-45deg) translateY(-2px); flex: none; }
.plan { border: 1px solid var(--it-line); border-radius: 16px; padding: 16px 18px; }
.plan-title { margin: 0 0 8px; font-weight: 600; color: var(--it-teal); font-size: .9rem; }
.plan ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; font-size: .95rem; }
.plan-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.plan-btn { font-weight: 600; font-size: .88rem; padding: 8px 18px; border-radius: 999px; background: var(--it-teal); color: var(--it-bg); }
.plan-ghost { background: transparent; color: var(--it-ink); box-shadow: inset 0 0 0 1.5px var(--it-line); }
.chat-foot { padding: 14px 20px; border-top: 1px solid var(--it-line); font-size: .85rem; color: var(--it-soft); }

/* Preview request */
.preview { margin-top: clamp(72px, 10vw, 128px); background: var(--panel); color: var(--panel-text); padding: clamp(56px, 8vw, 96px) 0; }
.preview-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.preview h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.preview-copy > p { max-width: 44ch; margin: 18px 0 0; color: var(--panel-soft); font-size: 1.15rem; }
.preview-copy h3 { margin-top: 36px; font-size: 1.15rem; }
.next { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 8px; color: var(--panel-soft); }
.preview .ticks { margin-top: 12px; gap: 8px; color: var(--panel-soft); }
.preview .ticks li::before { border-color: #0af7cd; }
.form-card { background: var(--surface); color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 28px 60px -30px rgba(10, 20, 60, .6); }
#preview-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; padding: 0; }
.field em { font-style: normal; font-weight: 400; color: var(--text-soft); }
.field small { color: var(--text-soft); font-size: .88rem; }
.field input, .field textarea { font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); }
.field legend { margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.pills span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .95rem; cursor: pointer; }
.pills input:checked + span { background: var(--highlight); border-color: var(--accent-text); color: var(--accent-text); font-weight: 600; }
.pills input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 2px; }
#preview-form .btn { justify-self: start; }
#preview-form .btn:disabled { opacity: .6; cursor: progress; }
.form-error { margin: 0; color: var(--misplaced); font-weight: 600; }
.form-note { margin: 0; color: var(--text-soft); font-size: .9rem; }
.hp { position: absolute; left: -9999px; }
.form-done { display: grid; gap: 12px; justify-items: start; outline: none; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { margin: 0 0 8px; color: var(--text-soft); }
@media (max-width: 960px) {
  .ai-grid, .preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ai-list { grid-template-columns: 1fr; }
  .chat-body { padding: 16px; }
  .msg { max-width: 100%; }
}
#preview-form[hidden], .form-done[hidden] { display: none; }
button.btn { font-family: inherit; font-size: inherit; cursor: pointer; }
.next, .plan ol { list-style: none; padding-left: 0; counter-reset: step; }
.next li, .plan li { counter-increment: step; display: grid; grid-template-columns: 1.4em 1fr; }
.next li::before, .plan li::before { content: counter(step) "."; font-weight: 600; }

/* About us */
.about-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-photo { margin: 0; display: grid; gap: 14px; }
.about-photo img, .photo-slot { width: 100%; height: auto; aspect-ratio: 6 / 7; border-radius: 24px; object-fit: cover; border: 1px solid var(--mist); box-shadow: 0 22px 44px -28px rgba(15, 27, 45, .45); }
.photo-slot { display: grid; place-items: center; background: var(--highlight); color: var(--accent-text); font: 700 1.1rem var(--display); }
.about-photo figcaption { display: grid; gap: 2px; }
.about-photo figcaption span { color: var(--text-soft); }
.about-copy h3 { font: 700 1.3rem/1.25 var(--display); font-variation-settings: "wdth" 85; margin: 32px 0 8px; }
.about-copy p:not(.section-lede) { color: var(--text-soft); max-width: 68ch; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 320px; } }
.about-copy p + p { margin-top: 14px; }
