/* ==========================================================================
   Welo website v5. Structure and rhythm modelled on sanalabs.com.
   Pure white page, black type, light H1 (400) and medium H2 (500),
   16px body, thin 16px line icons, 24px media radius, pill buttons.
   Media are slots: drop an <img> or <video> inside any .slot.
   Blue #0285FF is the only accent.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --text: #0a0a0a;
  --muted: rgba(10, 10, 10, .52);
  --faint: rgba(10, 10, 10, .32);
  --line: #e8e8ea;
  --line-soft: #f0f0f2;
  --soft: #f4f4f5;          /* cards, panels */
  --soft-2: #ececee;        /* slots */
  --btn: #0a0a0a;
  --blue: #0285ff;
  --blue-soft: rgba(2, 133, 255, .12);
  --navy: #1f1b7a;          /* Pennywise, the demo business */

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-h1: clamp(46px, 5.6vw, 84px);
  --fs-h2: clamp(34px, 3.2vw, 48px);
  --fs-h3: clamp(24px, 2.1vw, 32px);

  --r-media: 24px;
  --r-card: 24px;
  --gutter: clamp(16px, 2.7vw, 40px);
  --max: 1600px;
  --sec: clamp(72px, 8vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: -.011em; font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-soft); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sec { padding-block: var(--sec); }
.sec-t0 { padding-top: 0; }
.sec-b0 { padding-bottom: 0; }

/* ---------- Type ---------- */
.h1 { font-size: var(--fs-h1); font-weight: 400; line-height: .98; letter-spacing: -.042em; color: var(--ink); text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.02; letter-spacing: -.034em; color: var(--ink); text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.12; letter-spacing: -.028em; color: var(--ink); text-wrap: balance; }
.p { font-size: 16px; line-height: 1.42; color: var(--text); text-wrap: pretty; }
.p-l { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.42; color: var(--text); text-wrap: pretty; }
.muted { color: var(--muted); }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--blue); }
.strong { font-weight: 500; color: var(--ink); }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
em.n { font-style: normal; }
.tnum { font-variant-numeric: tabular-nums; }

/* Centered section head */
.head { display: grid; justify-items: center; text-align: center; gap: 16px; max-width: 760px; margin: 0 auto clamp(40px, 4.4vw, 64px); }
.head .p { max-width: 440px; }
.head .actions { margin-top: 8px; }
/* Split head: title left, text right (Sana Learn subpages) */
.shead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 20px; align-items: start; margin-bottom: clamp(40px, 4.4vw, 64px); }
.shead > .h2 { grid-column: 1 / span 6; max-width: 15ch; }
.shead > .side { grid-column: 9 / -1; display: grid; gap: 20px; justify-items: start; max-width: 460px; padding-top: 6px; }
@media (max-width: 860px) { .shead > .h2, .shead > .side { grid-column: 1 / -1; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 1px 18px 0; border-radius: 999px; background: var(--btn); color: #fff; font-size: 16px; font-weight: 400; letter-spacing: -.01em; white-space: nowrap; transition: background-color .25s ease, color .25s ease, transform .2s ease; }
.btn:hover { background: #2b2b2e; }
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: #0072dc; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1f1f2; }
.btn-soft { background: rgba(10, 10, 10, .06); color: var(--ink); }
.btn-soft:hover { background: rgba(10, 10, 10, .1); }
.btn-sm { height: 34px; padding: 1px 14px 0; font-size: 14px; }
.btn .icon { width: 14px; height: 14px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.actions.start { justify-content: flex-start; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Slots: empty media placeholders, ready for a photo or video ---------- */
.slot { position: absolute; inset: 0; background: linear-gradient(180deg, #f2f2f3, #e9e9eb); overflow: hidden; }
.slot > img, .slot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot::after { content: attr(data-label); position: absolute; right: 16px; bottom: 14px; padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, .72); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(10, 10, 10, .42); pointer-events: none; }
.slot:has(> img)::after, .slot:has(> video)::after, .slot[data-label=""]::after { display: none; }
.slot.sky { background: linear-gradient(180deg, #1f6fd1 0%, #3d92ea 38%, #8cc0f2 72%, #d6e8fa 100%); }
.slot.sky::after { background: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); top: 16px; bottom: auto; }
.slot.ink { background: linear-gradient(180deg, #17171a, #2a2a2f); }
.slot.ink::after { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .55); }

/* Media panels */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); isolation: isolate; background: var(--soft-2); }
.media > .slot { z-index: -1; }
.ar-hero { aspect-ratio: 16 / 7.4; }
.ar-wide { aspect-ratio: 16 / 9; }
.ar-43 { aspect-ratio: 4 / 3; }
.ar-11 { aspect-ratio: 1 / 1; }
.ar-45 { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .ar-hero { aspect-ratio: 4 / 5; } .ar-wide { aspect-ratio: 4 / 3.4; } }
.bleed { position: relative; overflow: hidden; isolation: isolate; }
.bleed > .slot { z-index: -1; }

/* Fixed-size compositions scaled to their box (JS) */
.fit { position: relative; width: 100%; }
.fit > .fit-inner { position: absolute; left: 50%; top: 0; transform-origin: top center; transform: translateX(-50%) scale(var(--s, 1)); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(64px, 7.5vw, 112px); padding-bottom: clamp(36px, 3vw, 48px); }
.hero-head { display: grid; justify-items: center; text-align: center; gap: 20px; }
.hero-head .p { max-width: 400px; }
.hero-head .actions { margin-top: 6px; }
.hero-media { margin-top: clamp(40px, 4vw, 56px); }

/* Rotating first line of the H1 */
.rot { display: grid; justify-items: center; }
.rot > span { grid-area: 1 / 1; opacity: 0; filter: blur(8px); transform: translateY(10px); transition: opacity .6s ease, filter .7s ease, transform .8s var(--ease); white-space: nowrap; }
.rot > span.is-on { opacity: 1; filter: none; transform: none; }
.rot > span.is-out { opacity: 0; filter: blur(8px); transform: translateY(-10px); }
@media (max-width: 520px) { .rot > span { white-space: normal; } }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 24px; padding-block: clamp(32px, 3.4vw, 48px); }
.logos img { height: calc(var(--h, 30px) * 1); width: auto; max-width: 100%; filter: grayscale(1) brightness(.2); opacity: .95; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .logos img { height: calc(var(--h, 30px) * .8); } }

/* Feature row: icon, title, line (optionally tabs) */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; max-width: 920px; margin-inline: auto; text-align: center; }
.feat { display: grid; justify-items: center; gap: 2px; font-size: 14px; line-height: 1.4; transition: opacity .35s ease; }
.feat .icon { width: 16px; height: 16px; margin-bottom: 10px; }
.feat b { font-weight: 500; }
.feat span { font-weight: 450; }
.feats.as-tabs .feat { opacity: .36; cursor: pointer; }
.feats.as-tabs .feat:hover { opacity: .7; }
.feats.as-tabs .feat.is-on { opacity: 1; }
.feat .bar { width: 40px; height: 2px; border-radius: 2px; margin-top: 12px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.feat .bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); }
.feats.as-tabs .feat.is-on .bar { opacity: 1; }
@media (max-width: 760px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hero media overlays */
.mo { position: absolute; z-index: 2; }
.mo-br { right: 4%; bottom: 0; width: min(460px, 62%); }
.mo-c { left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 86%); }
.mo-cm { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 86%); }
@media (max-width: 760px) { .mo-br { right: 50%; transform: translateX(50%); width: 88%; } }

/* Panes: stacked content that crossfades with the active tab */
.panes { display: grid; }
.panes > [data-i] { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .7s var(--ease), visibility 0s linear .5s; }
.panes > [data-i].is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .05s, transform .7s var(--ease) .05s; }
.panes.fade > [data-i] { transform: none; }

/* ==========================================================================
   Pill tabs over full-bleed media (Sana product page)
   ========================================================================== */
.ptabs-sec { position: relative; color: #fff; padding-top: clamp(48px, 5vw, 72px); }
.ptabs-sec > .slot { z-index: -1; }
.ptabs { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; padding-inline: 16px; }
.ptab { position: relative; overflow: hidden; height: 40px; padding: 1px 16px 0; border-radius: 999px; font-size: 16px; color: #fff; transition: color .3s ease, background-color .3s ease; isolation: isolate; }
.ptab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .3s ease; }
.ptab:hover { background: rgba(255, 255, 255, .14); }
.ptab.is-on { color: var(--ink); background: rgba(255, 255, 255, .62); }
.ptab.is-on::before { opacity: 1; }
.pause { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: inline-grid; place-items: center; flex: none; }
.pause .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.pause .i-play { display: none; }
.is-paused .pause .i-pause { display: none; }
.is-paused .pause .i-play { display: block; }
.ptabs-title { margin-top: clamp(28px, 3vw, 40px); text-align: center; }
.ptabs-title .h2 { color: #fff; max-width: 17ch; margin-inline: auto; }
.window-stage { margin-top: clamp(36px, 4vw, 56px); padding-inline: var(--gutter); }
.window-stage .fit { max-width: 1180px; margin-inline: auto; }

/* Light version of the pills (white sections) */
.ptabs.light .ptab { color: var(--ink); opacity: .5; }
.ptabs.light .ptab:hover { opacity: .8; background: rgba(10, 10, 10, .04); }
.ptabs.light .ptab.is-on { opacity: 1; background: rgba(10, 10, 10, .06); }
.ptabs.light .ptab::before { background: rgba(10, 10, 10, .08); }
.ptabs.light .pause { background: rgba(10, 10, 10, .06); }

/* Browser window */
.win { width: 1180px; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px rgba(10, 10, 10, .06), 0 40px 80px -40px rgba(10, 10, 10, .45); overflow: hidden; }
.win.round { border-radius: 16px; }
.win-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); }
.win-bar .dots { display: flex; gap: 7px; }
.win-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar .dots i:nth-child(2) { background: #febc2e; }
.win-bar .dots i:nth-child(3) { background: #28c840; }
.win-bar .addr { flex: 1; max-width: 340px; margin-inline: auto; height: 24px; border-radius: 7px; background: #f4f4f5; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.win-bar .addr .icon { width: 11px; height: 11px; stroke-width: 2; }
.win-bar .sp { width: 50px; }
.win-body { position: relative; height: 560px; overflow: hidden; }
.win-body > .panes { height: 100%; }
.win-body > .panes > [data-i] { height: 100%; }

/* ==========================================================================
   Stats row
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat { padding: 0 24px; border-left: 1px solid var(--line); display: grid; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat small { font-size: 14px; font-weight: 500; color: var(--ink); }
.stat b { margin: 30px 0 10px; font-size: var(--fs-h2); font-weight: 500; line-height: 1; letter-spacing: -.034em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 16px; color: var(--ink); max-width: 18ch; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; } .stat:nth-child(4) { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { padding: 0 16px; } .stat:nth-child(odd) { border-left: 0; padding-left: 0; } .stat:nth-child(4) { border-left: 1px solid var(--line); padding-left: 16px; } }

/* ==========================================================================
   Carousels with a pager pill
   ========================================================================== */
.car { position: relative; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: none; }
.pager-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; }
.pager { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(10, 10, 10, .05); }
.pager button { width: 6px; height: 6px; border-radius: 999px; background: rgba(10, 10, 10, .2); position: relative; overflow: hidden; transition: width .45s var(--ease), background-color .3s ease; }
.pager button.is-on { width: 64px; background: rgba(10, 10, 10, .14); }
.pager button i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.pager button.is-on i { opacity: 1; }
.pager-row .pause { width: 32px; height: 32px; background: rgba(10, 10, 10, .05); }
.pager-row .pause .icon { width: 12px; height: 12px; }

/* Tall cards (testimonial style) */
.tcard { position: relative; width: calc((100% - 3 * 20px) / 4); min-width: 290px; height: clamp(400px, 30vw, 440px); border-radius: var(--r-card); overflow: hidden; isolation: isolate; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); }
.tcard > .slot { z-index: -1; }
.tcard q, .tcard .q { quotes: "\201C" "\201D"; font-size: 16px; line-height: 1.38; max-width: 30ch; }
.tcard .q-l { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; max-width: 14ch; }
.tcard .who { display: grid; gap: 2px; font-size: 16px; }
.tcard .who small { font-size: 16px; color: var(--muted); }
.tcard.on-dark { color: #fff; }
.tcard.on-dark .who small { color: rgba(255, 255, 255, .62); }
.tcard .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards-3 .tcard { width: auto; min-width: 0; }
@media (max-width: 900px) { .cards-3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .cards-3::-webkit-scrollbar { display: none; } .cards-3 .tcard { flex: none; width: 82%; scroll-snap-align: center; } }

/* Captioned cards (Sana Learn horizontal carousels) */
.ccard { width: clamp(300px, 38vw, 572px); display: grid; gap: 16px; }
.ccard:nth-child(3n+2) { width: clamp(280px, 30vw, 452px); }
.ccard .media { height: clamp(380px, 35vw, 528px); }
.ccard p { font-size: 16px; max-width: 46ch; }
.ccard p b { font-weight: 500; }

/* ==========================================================================
   Arrow tabs: media left, big text list right (Sana "Every team")
   ========================================================================== */
.atabs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 40px; align-items: stretch; }
.atabs > .media { grid-column: 1 / span 6; min-height: clamp(460px, 44vw, 640px); }
.atabs > .a-side { grid-column: 8 / -1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 8px; }
.a-list { display: grid; gap: 2px; margin-top: 18px; }
.a-tab { display: flex; align-items: baseline; gap: 10px; text-align: left; font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.032em; line-height: 1.12; color: rgba(10, 10, 10, .26); transition: color .35s ease; }
.a-tab:hover { color: rgba(10, 10, 10, .5); }
.a-tab .arr { display: inline-block; width: 0; overflow: hidden; opacity: 0; transition: width .45s var(--ease), opacity .3s ease; }
.a-tab.is-on { color: var(--ink); }
.a-tab.is-on .arr { width: 1.05em; opacity: 1; }
.a-foot { display: grid; gap: 18px; justify-items: start; max-width: 470px; }
@media (max-width: 900px) { .atabs > .media, .atabs > .a-side { grid-column: 1 / -1; } .atabs > .media { min-height: 0; aspect-ratio: 4 / 4.4; } .a-side { order: -1; } }

/* Glass card that floats on a media slot */
.glass { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 24px 50px -30px rgba(10, 10, 10, .35); }
.glass.dark { background: rgba(20, 20, 22, .55); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.check-card { width: 400px; padding: 20px 22px 8px; }
.check-card h5 { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.check-card h5 .icon { width: 15px; height: 15px; color: var(--ink); }
.check-card .q { font-size: 20px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 8px; }

/* Check list (ticks draw in when the pane is active) */
.checks li { display: flex; align-items: center; gap: 12px; padding-block: 11px; border-top: 1px solid rgba(10, 10, 10, .07); font-size: 15px; }
.checks .tick { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; transform: scale(.4); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s ease; }
.checks .tick .icon { width: 11px; height: 11px; stroke-width: 2.6; }
.go .checks .tick, .checks.static .tick { transform: none; opacity: 1; }
.go .checks li:nth-child(2) .tick { transition-delay: .12s; }
.go .checks li:nth-child(3) .tick { transition-delay: .24s; }
.go .checks li:nth-child(4) .tick { transition-delay: .36s; }
.go .checks li:nth-child(5) .tick { transition-delay: .48s; }

/* ==========================================================================
   Media + check-card grid (Sana partnership)
   ========================================================================== */
.cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.cgrid > .media { grid-column: 1 / span 6; min-height: 480px; }
.cgrid > .cells { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cell { min-height: 112px; border-radius: var(--r-card); background: var(--soft); padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; font-size: 16px; }
.cell .ck { width: 18px; height: 18px; border-radius: 50%; background: rgba(10, 10, 10, .32); color: #fff; display: grid; place-items: center; }
.cell .ck .icon { width: 11px; height: 11px; stroke-width: 2.6; }
.cell .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cell small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.cell.cta { background: var(--btn); color: #fff; justify-content: flex-end; transition: background-color .25s ease; }
.cell.cta:hover { background: #2b2b2e; }
.cell.cta span { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 900px) { .cgrid > .media, .cgrid > .cells { grid-column: 1 / -1; } .cgrid > .media { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .cgrid > .cells { gap: 10px; } .cell { min-height: 100px; padding: 18px; border-radius: 18px; } }

/* ==========================================================================
   Info panels (Sana integrations / security)
   ========================================================================== */
.ipanel { border-radius: var(--r-card); background: var(--soft); padding: clamp(24px, 2.4vw, 32px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.ipanel + .ipanel { margin-top: 20px; }
.ipanel .ip-l { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ipanel .ip-l b { font-size: 16px; font-weight: 500; }
.ipanel .ip-l p { margin-top: 8px; color: var(--muted); max-width: 34ch; }
.ip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.ip-item { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 450; min-height: 40px; }
.ip-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(10, 10, 10, .04); font-family: var(--mono); font-size: 11px; color: var(--ink); }
.ip-ic .icon { width: 16px; height: 16px; }
.ip-ic.pct { font-size: 11.5px; }
@media (max-width: 900px) { .ipanel { grid-template-columns: minmax(0, 1fr); } .ip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ip-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.ctable { display: grid; }
.ct-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); column-gap: 32px; padding-block: 22px; border-top: 1px solid var(--line); }
.ct-row.ct-head { border-top: 0; padding-block: 0 22px; color: var(--muted); }
.ct-row.ct-head span:last-child { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.ct-row > b { font-weight: 500; }
.ct-row > span:nth-child(2) { color: var(--muted); }
.ct-row > span:nth-child(3) { color: var(--ink); }
.ct-row .seal { width: 16px; height: 16px; }
@media (max-width: 760px) { .ct-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 8px; } .ct-row > b { grid-column: 1 / -1; } .ct-row.ct-head > :first-child { display: none; } }

/* ==========================================================================
   Vertical tabs (Sana Learn "Gorgeous user experience")
   ========================================================================== */
.vtabs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 40px; }
.vtabs > .v-side { grid-column: 1 / span 5; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.vtabs > .media { grid-column: 7 / -1; min-height: clamp(520px, 50vw, 760px); }
.v-head { display: grid; gap: 20px; max-width: 520px; }
.v-head .p { max-width: 400px; }
.v-list { display: grid; max-width: 380px; }
.v-tab { position: relative; text-align: left; padding: 16px 0 16px 26px; opacity: .36; transition: opacity .35s ease; }
.v-tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(10, 10, 10, .12); }
.v-tab::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: calc(var(--p, 0) * 100%); background: var(--ink); opacity: 0; }
.v-tab:hover { opacity: .7; }
.v-tab.is-on { opacity: 1; }
.v-tab.is-on::after { opacity: 1; }
.v-tab b { display: block; font-weight: 500; }
.v-tab span { display: block; margin-top: 2px; }
@media (max-width: 900px) { .vtabs > .v-side, .vtabs > .media { grid-column: 1 / -1; } .vtabs > .media { min-height: 0; aspect-ratio: 4 / 4.4; } }

/* ==========================================================================
   Pairs of captioned media (Sana Learn "Your AI learning analyst")
   ========================================================================== */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.trio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); gap: 20px; }
.cap { display: grid; gap: 14px; align-content: start; }
.cap .media { aspect-ratio: 4 / 3.1; }
.trio .cap .media { aspect-ratio: auto; height: clamp(360px, 34vw, 500px); }
.cap p { font-size: 16px; max-width: 52ch; }
.cap p b { font-weight: 500; display: block; }
@media (max-width: 860px) { .pair, .trio { grid-template-columns: minmax(0, 1fr); } .trio .cap .media { height: auto; aspect-ratio: 4 / 3.4; } }

/* Centered quote */
.cquote { display: grid; justify-items: center; text-align: center; gap: 28px; max-width: 760px; margin-inline: auto; }
.cquote .mark { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.045em; }
.cquote .mark svg { width: 26px; height: 26px; fill: var(--ink); }
.cquote q, .cquote .q { quotes: "\201C" "\201D"; font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; letter-spacing: -.028em; text-wrap: balance; }
.cquote .by { display: grid; gap: 2px; font-size: 16px; }
.cquote .by b { font-weight: 500; }
.cquote .by span { color: var(--muted); }

/* Full-bleed media with copy in the top-left corner */
.fbt { position: relative; min-height: clamp(560px, 52vw, 820px); isolation: isolate; overflow: hidden; }
.fbt > .slot { z-index: -1; }
.fbt .fbt-copy { padding: clamp(28px, 3vw, 40px) var(--gutter); display: grid; gap: 18px; max-width: 560px; }
.fbt.on-dark { color: #fff; }
.fbt.on-dark .h2 { color: #fff; }
.fbt .mo { z-index: 2; }

/* Phones */
.phones { position: relative; width: 1000px; height: 660px; }
.phone { position: absolute; top: 40px; width: 300px; height: 620px; border-radius: 52px; background: #111; padding: 11px; box-shadow: inset 0 0 0 2px #2b2b2e, 0 50px 80px -50px rgba(10, 10, 10, .55); }
.phone::before { content: ""; position: absolute; left: 50%; top: 20px; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 3; }
.phone .scr { position: relative; height: 100%; border-radius: 42px; background: #fff; overflow: hidden; padding: 58px 18px 18px; display: grid; align-content: start; gap: 14px; font-size: 13px; }
.phone.p1 { left: 40px; transform: rotate(-7deg) translateY(36px); }
.phone.p2 { left: 350px; top: 0; z-index: 2; }
.phone.p3 { right: 40px; transform: rotate(7deg) translateY(36px); }
.phone.dark .scr { background: #0b0b0c; color: #fff; }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.ph-top b { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 600; }
.ph-top b svg { width: 16px; height: 16px; fill: currentColor; }
.ph-title { font-size: 25px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; display: flex; align-items: center; gap: 7px; }
.ph-title .seal { width: 20px; height: 20px; }
.ph-sub { color: var(--muted); font-size: 12px; margin-top: -8px; }
.ph-box { border-radius: 16px; background: #f5f5f6; padding: 12px 14px; }
.phone.dark .ph-box { background: #19191b; }
.ph-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid rgba(10, 10, 10, .06); font-size: 12.5px; }
.ph-row:first-child { border-top: 0; }
.ph-row em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11.5px; }
.ph-row em .icon { width: 12px; height: 12px; color: var(--blue); stroke-width: 2.4; }
.ph-score { display: flex; align-items: baseline; justify-content: space-between; }
.ph-score b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.ph-score b i { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.ph-bar { height: 4px; border-radius: 4px; background: rgba(10, 10, 10, .08); overflow: hidden; margin-top: 8px; }
.ph-bar i { display: block; height: 100%; width: 92%; background: var(--blue); }
.ph-voice { margin-top: 30px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.ph-voice .seal { width: 64px; height: 64px; }
.ph-voice p { font-size: 15px; line-height: 1.35; max-width: 20ch; color: rgba(255, 255, 255, .9); }
.ph-voice small { font-size: 11.5px; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   FAQ, CTA, footer, toast
   ========================================================================== */
.faq { max-width: 880px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(10, 10, 10, .05); display: grid; place-items: center; transition: transform .4s var(--ease); }
.faq summary .pm .icon { width: 13px; height: 13px; stroke-width: 2; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
.faq-foot { text-align: center; margin-top: 28px; }

.cta { display: grid; justify-items: center; text-align: center; gap: 14px; }
.cta small { font-size: 16px; font-weight: 500; }
.cta .h2 { max-width: 18ch; }
.cta .actions { margin-top: 12px; }

/* ==========================================================================
   Real Welo components (identical to production)
   ========================================================================== */
.seal { width: 22px; height: 22px; flex: none; overflow: visible; --sf: #0285ff; --sc: #fff; }
.wb { position: absolute; left: 22px; bottom: 22px; z-index: 3; display: flex; align-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid #dbdbdb; border-radius: 999px; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); color: #141414; text-align: left; letter-spacing: normal; transition: width .56s var(--ease), box-shadow .2s ease, transform .18s ease; }
.wb.is-open { width: var(--pill-width, 300px); }
.wb.is-press { transform: scale(.97); }
.wb-logo { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; }
.wb-logo svg { width: 28px; height: 28px; fill: #1b1b1b; }
.wb-text { min-width: 0; flex: 1; display: grid; gap: 3px; padding-right: 15px; opacity: 0; transform: translateX(-10px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.wb.is-open .wb-text { opacity: 1; transform: none; }
.wb-title { font-size: 16px; font-weight: 600; line-height: 1.22; white-space: nowrap; }
.wb-sub { font-size: 12px; color: #8a8a8a; line-height: 1.22; white-space: nowrap; transition: opacity .42s var(--ease), transform .42s var(--ease); }
.wb-sub.out { opacity: 0; transform: translateY(8px); }
.wb-sub.prein { opacity: 0; transform: translateY(-8px); transition: none; }
.wb-static { position: relative; left: auto; bottom: auto; }
.chips { display: grid; gap: 10px; justify-items: center; }
.chip-w { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: #141414; letter-spacing: normal; box-shadow: 0 0 0 1px rgba(17, 24, 39, .06), 0 8px 20px -12px rgba(17, 24, 39, .35); white-space: nowrap; }
.chip-w .ring { width: 14px; height: 14px; border-radius: 50%; background: #9bb31e; box-shadow: 0 0 0 4px rgba(155, 179, 30, .2); }
.chip-w svg.blob { width: 18px; height: 18px; fill: #141414; }
.chip-w .sep { width: 1px; height: 18px; background: #e3e3e3; }
.chip-w .stars svg { width: 13px; height: 13px; }
.stars { display: inline-flex; gap: 2px; color: #1b1b1b; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.verified-by { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.verified-by .seal { width: 16px; height: 16px; }

.tag { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.dot-s { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.dot-s.active { background: var(--blue); }
.dot-s.review { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dot-s.suspended { background: rgba(10, 10, 10, .3); }
.dot-s.revoked { background: var(--ink); }
.live .dot-s.active, .dot-s.live { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(2, 133, 255, .35); } 50% { box-shadow: 0 0 0 5px rgba(2, 133, 255, 0); } }

.cursor { position: absolute; z-index: 9; width: 26px; height: 26px; pointer-events: none; left: 0; top: 0; opacity: 0; transform: translate(var(--x, 0px), var(--y, 0px)); transition: transform 1.1s cubic-bezier(.45, 0, .2, 1), opacity .3s ease; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22)); }
.cursor.is-on { opacity: 1; }
.cursor svg { width: 26px; height: 26px; transition: transform .15s ease; }
.cursor.is-click svg { transform: scale(.84); }

.pw-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 40px; }
.pw-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -.03em; color: var(--navy); }
.pw-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; flex: none; }
.pw-mark svg { width: 15px; height: 15px; fill: #fff; }
.pw-cta { height: 34px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; }
.skel { display: grid; gap: 10px; }
.skel i { display: block; height: 10px; border-radius: 6px; background: #f1f1f3; }
.skel i:nth-child(1) { width: 58%; height: 22px; border-radius: 8px; background: #ececef; }
.skel i:nth-child(2) { width: 90%; }
.skel i:nth-child(3) { width: 76%; }

/* Welo Page card (modal) */
.mc { background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(10, 10, 10, .05), 0 30px 60px -32px rgba(10, 10, 10, .4); }
.mc-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.mc-top b { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; font-size: 13px; }
.mc-top b svg { width: 17px; height: 17px; fill: var(--ink); }
.mc-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
.mc-head b { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.mc-head b .seal { width: 17px; height: 17px; }
.mc-head small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mc-rows { padding: 0 20px; }
.mc-rows li { display: flex; justify-content: space-between; align-items: center; height: 40px; font-size: 13.5px; box-shadow: inset 0 1px 0 var(--line-soft); }
.mc-rows em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.mc-rows .icon { width: 14px; height: 14px; color: var(--blue); stroke-width: 2.2; }
.js .anim-rows li { opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .5s var(--ease); }
.go .anim-rows li, .anim-rows li.on { opacity: 1; transform: none; }
.go .anim-rows li:nth-child(2) { transition-delay: .12s; }
.go .anim-rows li:nth-child(3) { transition-delay: .24s; }
.go .anim-rows li:nth-child(4) { transition-delay: .36s; }
.go .anim-rows li:nth-child(5) { transition-delay: .48s; }
.mc-foot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 20px 16px; box-shadow: inset 0 1px 0 var(--line-soft); }
.mc-foot span { font-size: 13px; color: var(--muted); }
.mc-foot b { font-size: 24px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mc-foot b i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); }

/* Hero demo: badge tapped, Welo Page card rises */
.demo { position: relative; width: 460px; height: 470px; }
.demo .wb { left: 0; bottom: 18px; }
.demo .mc { position: absolute; left: 30px; right: 0; bottom: 96px; opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom left; transition: opacity .5s ease, transform .6s var(--ease); }
.demo.open .mc { opacity: 1; transform: none; }

/* Website mock with badge and modal */
.site { position: relative; width: 1180px; height: 560px; background: #fff; }
.site-hero { padding: 40px 64px 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.site-hero .t { display: grid; gap: 14px; }
.site-hero .t b { font-size: 44px; font-weight: 600; letter-spacing: -.045em; line-height: 1.02; color: var(--navy); }
.site-hero .t > span:not(.pw-cta):not(.code-chip) { font-size: 15px; color: var(--muted); line-height: 1.5; }
.site-hero .t .pw-cta { justify-self: start; height: 38px; font-size: 13px; }
.site-art { height: 330px; border-radius: 18px; background: linear-gradient(160deg, #eef0ff, #e3e6fb 55%, #d9ddf7); position: relative; overflow: hidden; }
.site-art::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 30px; height: 150px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -24px rgba(31, 27, 122, .4); }
.site .wb { left: 28px; bottom: 28px; }
.veil { position: absolute; inset: 0; background: rgba(10, 10, 10, .16); opacity: 0; transition: opacity .45s ease; z-index: 5; }
.site.open .veil { opacity: 1; }
.site .mc { position: absolute; z-index: 6; left: 50%; top: 48px; width: 440px; transform: translate(-50%, 18px); opacity: 0; transition: opacity .45s ease, transform .6s var(--ease); }
.site.open .mc { opacity: 1; transform: translate(-50%, 0); }

/* Welo Page (full) */
.wpage { padding: 34px 56px; display: grid; gap: 22px; }
.wp-co { display: flex; align-items: center; justify-content: space-between; }
.wp-co > div { display: flex; align-items: center; gap: 16px; }
.wp-co .pw-mark { width: 58px; height: 58px; border-radius: 17px; }
.wp-co .pw-mark svg { width: 30px; height: 30px; }
.wp-co b { display: flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 600; letter-spacing: -.04em; }
.wp-co b .seal { width: 22px; height: 22px; }
.wp-co small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.scores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.score { padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.score .icon { width: 24px; height: 22px; color: #1b1b1b; }
.score small { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.score b { display: block; margin-top: 2px; font-size: 30px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.score b .of { font-size: 13px; color: var(--muted); font-weight: 500; }
.score .bar { height: 4px; border-radius: 4px; background: var(--line-soft); margin-top: 10px; overflow: hidden; }
.score .bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width 1.1s var(--ease) .1s; }
.go .score .bar i { width: var(--w); }
.wp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wp-two > div { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-soft); padding: 14px 18px 4px; }
.wp-two h5 { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.wp-two .checks li { font-size: 14px; padding-block: 10px; }
.wp-two .checks li:first-child { border-top: 0; }

/* Review cards */
.revs { padding: 40px 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
.revs-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.revs-head b { font-size: 28px; font-weight: 600; letter-spacing: -.04em; display: inline-flex; align-items: center; gap: 10px; }
.revs-head span { color: var(--muted); font-size: 14px; }
.rev { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-soft); padding: 18px; display: grid; gap: 9px; align-content: start; }
.rev .top { display: flex; justify-content: space-between; align-items: center; }
.rev b { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.rev p { font-size: 13.5px; color: #55555b; line-height: 1.5; }
.rev small { font-size: 12px; color: var(--muted); }
.rev .stars svg { width: 13px; height: 13px; }
.rev .verified-by { font-size: 12px; }
.rev .verified-by .seal { width: 14px; height: 14px; transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.rev .verified-by span { opacity: 0; transition: opacity .4s ease .15s; }
.go .rev .verified-by .seal { transform: none; }
.go .rev .verified-by span { opacity: 1; }
.go .rev:nth-of-type(3) .verified-by .seal { transition-delay: .2s; }
.go .rev:nth-of-type(4) .verified-by .seal { transition-delay: .4s; }
.media-row { display: flex; gap: 8px; }
.media-row span { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.media-row img { width: 100%; height: 100%; object-fit: cover; }

/* Updates timeline */
.upd { padding: 40px 56px; display: grid; gap: 20px; align-content: start; }
.upd-head b { font-size: 28px; font-weight: 600; letter-spacing: -.04em; }
.upd-head span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.upd ul { display: grid; }
.upd li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-soft); font-size: 16px; }
.upd li small { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Status panel */
.stat-ui { padding: 40px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; height: 100%; }
.stat-ui .big { display: grid; gap: 14px; justify-items: start; }
.stat-ui .big .seal { width: 72px; height: 72px; }
.stat-ui .big b { font-size: 34px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.stat-ui .big span { color: var(--muted); }
.state-stack { display: grid; gap: 10px; justify-items: start; }
.state { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: opacity .4s ease, transform .4s var(--ease); }
.state.dim { opacity: .32; }

/* Certificate */
.cert { width: 520px; border-radius: 12px; background: #fff; overflow: hidden; position: relative; box-shadow: 0 0 0 1px rgba(10, 10, 10, .06), 0 30px 70px -36px rgba(10, 10, 10, .4); }
.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid #efeff1; border-radius: 7px; pointer-events: none; }
.cert-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 32px 20px; border-bottom: 1px solid #efeff1; margin: 0 8px; }
.cert-head .brand { font-size: 17px; }
.cert-head .brand svg { width: 22px; height: 22px; }
.cert-head span { font-size: 12px; color: var(--muted); }
.cert-main { padding: 26px 32px 6px; display: grid; gap: 4px; }
.cert-main small { font-size: 12.5px; color: var(--muted); }
.cert-main h4 { display: flex; align-items: center; gap: 10px; font-size: 36px; font-weight: 500; letter-spacing: -.05em; line-height: 1.15; }
.cert-main h4 .seal { width: 28px; height: 28px; }
.cert-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; padding: 18px 32px 22px; }
.cert-fields dt { font-size: 11.5px; color: var(--muted); }
.cert-fields dd { font-family: var(--mono); font-size: 12.5px; margin-top: 3px; white-space: nowrap; }
.cert-fields dd .tag { height: 22px; font-family: var(--font); font-size: 11.5px; }
.cert-checks { margin: 0 32px; border-top: 1px solid #efeff1; }
.cert-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; font-size: 14px; border-bottom: 1px solid #efeff1; }
.cert-row .tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #e4e4e7; color: #fff; transition: background-color .4s ease; }
.cert-row .tick .icon { width: 11px; height: 11px; stroke-width: 3; }
.cert-row .tick path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s var(--ease) .1s; }
.cert-row em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--muted); transition: color .4s ease; }
.cert-row.on .tick { background: var(--blue); }
.cert-row.on .tick path { stroke-dashoffset: 0; }
.cert-row.on em { color: var(--ink); }
.cert-score { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px 12px; }
.cert-score small { font-size: 12.5px; color: var(--muted); }
.cert-score b { font-size: 34px; font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cert-score b .of { font-size: 16px; color: var(--muted); font-weight: 500; }
.cert-bar { height: 4px; border-radius: 4px; background: #efeff1; margin: 0 32px 30px; overflow: hidden; }
.cert-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--blue); transition: width 1.4s var(--ease); }
.cert-stamp { position: absolute; right: 26px; top: 96px; width: 94px; height: 94px; opacity: 0; transform: scale(1.3) rotate(-18deg); transition: opacity .4s ease, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.cert-stamp.on { opacity: 1; transform: scale(1) rotate(-8deg); }
.cert-stamp > svg { width: 100%; height: 100%; }
.cert-stamp text { font-family: var(--font); font-size: 7.6px; font-weight: 600; letter-spacing: .14em; fill: var(--blue); }

/* Dashboard */
.dash { display: grid; grid-template-columns: 210px minmax(0, 1fr); height: 100%; }
.dash-side { border-right: 1px solid var(--line-soft); padding: 22px 16px; display: grid; align-content: start; gap: 2px; font-size: 13.5px; color: var(--muted); }
.dash-side b { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--ink); font-size: 14px; font-weight: 600; }
.dash-side b svg { width: 18px; height: 18px; fill: var(--ink); }
.dash-side span { padding: 7px 10px; border-radius: 8px; }
.dash-side span.on { background: #f4f4f5; color: var(--ink); font-weight: 500; }
.dash-main { padding: 28px 34px; display: grid; gap: 22px; align-content: start; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top b { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.kpi { padding: 16px 20px; }
.kpi + .kpi { border-left: 1px solid var(--line-soft); }
.kpi small { display: block; font-size: 12.5px; color: var(--muted); }
.kpi b { font-size: 28px; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.chart { height: 220px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .ln { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.go .chart .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.chart .end, .chart .end-ring { fill: var(--blue); opacity: 0; }
.go .chart .end { opacity: 1; transition: opacity .3s ease 2s; }
.go .chart .end-ring { opacity: .18; transition: opacity .3s ease 2s; }
.ranges { display: flex; gap: 22px; font-family: var(--mono); font-size: 12.5px; color: rgba(10, 10, 10, .3); }
.ranges b { color: var(--ink); font-weight: 500; }

/* Code line */
.code-chip { justify-self: start; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 12px; background: #0f0f11; color: #e4e4e7; font-family: var(--mono); font-size: 13px; box-shadow: 0 20px 40px -24px rgba(10, 10, 10, .5); white-space: nowrap; }
.code-chip .k { color: #7cb8ff; }
.code-chip .s { color: #b5e08b; }

/* Search UI */
.search-ui { width: 520px; padding: 8px; }
.search-input { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-radius: 14px; background: #fff; font-size: 18px; letter-spacing: -.015em; box-shadow: 0 0 0 1px rgba(10, 10, 10, .04); }
.search-input .icon { width: 18px; height: 18px; color: var(--muted); }
.search-input .typed { white-space: nowrap; overflow: hidden; }
.search-input .caret { width: 1.5px; height: 22px; background: var(--ink); animation: blink 1s steps(1) infinite; margin-left: -10px; }
@keyframes blink { 50% { opacity: 0; } }
.search-results { min-height: 80px; padding-top: 8px; }
.result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; font-size: 14px; }
.result .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.result .pw-mark { width: 38px; height: 38px; border-radius: 11px; }
.result .pw-mark svg { width: 19px; height: 19px; }
.result b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.result b .seal { width: 15px; height: 15px; }
.result small { display: block; font-size: 12.5px; color: var(--muted); }
.result .q { width: 38px; height: 38px; border-radius: 11px; background: var(--soft); display: grid; place-items: center; color: var(--muted); flex: none; }
.result .q .icon { width: 18px; height: 18px; }
.js .result.anim { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s var(--ease); }
.js .result.anim.on { opacity: 1; transform: none; }

/* Standard pieces */
.mix { display: flex; gap: 2px; height: 12px; border-radius: 4px; overflow: hidden; }
.mix i { display: block; height: 100%; flex: var(--g, 1) 1 0; min-width: 0; background: var(--c); transition: flex-grow 1.1s var(--ease); }
.fr { display: grid; }
.fr li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid rgba(10, 10, 10, .07); font-size: 14px; }
.fr li:first-child { border-top: 0; }
.fr .code { font-family: var(--mono); font-size: 12.5px; color: var(--blue); padding-top: 1px; }
.fr b { font-weight: 500; display: block; font-size: 15px; }
.fr small { color: var(--muted); font-size: 13px; }

/* Small UI card on media */
.ui-card { width: 420px; padding: 22px; display: grid; gap: 14px; }
.ui-card .row { display: flex; justify-content: space-between; align-items: center; }
.ui-card .ttl { font-size: 18px; font-weight: 500; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.ui-card .ttl .icon { width: 16px; height: 16px; }
.ui-card .rule { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); }
.ui-card .rule span { height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); box-shadow: 0 0 0 1px rgba(10, 10, 10, .06); }
.ui-card .rule span i { font-style: normal; color: var(--muted); }
.ui-card .btns { display: flex; justify-content: flex-end; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid4 .cell { min-height: 150px; }
.grid4 .cell p { color: var(--muted); }
@media (max-width: 900px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }
.caption { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.seal-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.seal-stage .seal { width: 112px; height: 112px; filter: drop-shadow(0 24px 30px rgba(10, 10, 10, .18)); }

/* Windows inherit dark ink even inside white-text sections */
.win, .glass:not(.dark), .mc, .cert { color: var(--ink); }
.phones { height: 740px; }

/* URL bar, document list */
.urlbar { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 10, 10, .05), 0 20px 40px -24px rgba(10, 10, 10, .35); font-size: 16px; color: var(--muted); white-space: nowrap; }
.urlbar b { color: var(--ink); font-weight: 500; }
.urlbar .icon { width: 15px; height: 15px; color: var(--ink); stroke-width: 2; }
.doc-list { width: 400px; padding: 8px 18px; }
.doc { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(10, 10, 10, .07); }
.doc:first-child { border-top: 0; }
.doc .ic { width: 32px; height: 32px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.doc b { font-size: 14px; font-weight: 500; display: block; }
.doc small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.doc .ok { font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.doc .ok .icon { width: 13px; height: 13px; stroke-width: 2.4; color: var(--blue); }

/* Centered overlay stage inside a media */
.stage-c { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.stage-c > .fit { max-width: 100%; }
.stage-b { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1000px, 84%); }
@media (max-width: 760px) { .stage-b { width: 94%; } }
.cap .q-over, .q-over { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }

/* v5 mobile fixes */
.stage-c > [data-i] { justify-self: stretch; align-self: center; width: 100%; min-width: 0; display: grid; justify-items: center; }
.stage-c > [data-i] > .fit { width: 100%; }
@media (max-width: 760px) {
  .fbt { min-height: 0; display: flex; flex-direction: column; background: #0a0a0a; }
  .fbt > .slot { position: relative; inset: auto; order: 2; width: 100%; aspect-ratio: 4 / 4.6; z-index: 0; }
  .fbt .fbt-copy { order: 1; padding-top: 56px; padding-bottom: 36px; }
  .fbt .wb-photo { z-index: 2; }
}
@media (min-width: 761px) and (max-width: 1100px) { .ar-hero { aspect-ratio: 4 / 3; } }


/* ---------- Tall review cards: bigger stars ---------- */
.tcard .rate { gap: 3px; }
.tcard .rate svg { width: 18px; height: 18px; }

/* ---------- Icons in rounded squares ---------- */
.ip-ic { border-radius: 12px; }

/* ---------- Comparison with the Welo column first ---------- */
.ctable.welo-first .ct-row > span:nth-child(2) { color: var(--ink); }
.ctable.welo-first .ct-row > span:nth-child(3) { color: var(--muted); }
.ctable.welo-first .ct-row.ct-head span:last-child { color: var(--muted); font-weight: 400; display: inline; }
.ctable.welo-first .ct-row.ct-head span:nth-child(2) { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Search cells are information, not links ---------- */
.cell.ink { background: var(--btn); color: #fff; justify-content: flex-end; }

/* ---------- FAQ: smooth open and close ---------- */
.faq .answer { overflow: hidden; }
.faq details summary .pm { transition: transform .45s var(--ease), background-color .3s ease; }
.js .faq details[open] summary .pm { transform: none; }
.js .faq details.is-open summary .pm { transform: rotate(45deg); }
.faq summary:hover .pm { background: rgba(10, 10, 10, .09); }

/* ---------- Hero rotator: short words on phones, always one line ---------- */
.rot .w-sm { display: none; }
@media (max-width: 560px) {
  .rot > span { white-space: nowrap; }
  .rot .w-lg { display: none; }
  .rot .w-sm { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .xw-body [data-a], .xph [data-a], .xw-body .xt, .xph .xt { opacity: 1; }
  .go [data-a], .go .xt, .go .xbar i, .go .rate svg, .go .vb .seal, .go .wg::after, .go .xcode-line code, .xst-seal i { animation: none !important; }
}



/* ==========================================================================
   Site pages (Features, Help Center, Contact, Legal, Partner, Apply,
   Newsroom, Careers, FAQ, free tools, errors). Same tokens and rhythm as the
   home and for-businesses pages: white page, one blue accent, space instead of
   dividers, pill buttons, 24px media, no shadows.
   ========================================================================== */

.wr-page main { display: block; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.12; letter-spacing: -.028em; text-wrap: balance; }
.h4 { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.p-s { font-size: 14px; line-height: 1.4; color: var(--muted); }
.center { text-align: center; }

/* Page hero: text only, centered. Optional media below uses .media. */
.phero { display: grid; justify-items: center; text-align: center; gap: 20px; padding-top: clamp(48px, 7vw, 112px); }
.phero .h1 { max-width: 16ch; }
.phero .p-l { max-width: 440px; color: var(--text); text-wrap: pretty; }
.phero .actions { margin-top: 6px; }
.phero + .sec { padding-top: clamp(48px, 5vw, 80px); }
.phero.left { justify-items: start; text-align: left; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--faint); }

/* Split layout: sticky side column + content. */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 80px); align-items: start; }
.split > .side { position: sticky; top: 88px; display: grid; gap: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > .side { position: static; } }

/* Rows: a list of links separated by 1px lines (docs, legal, careers). */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .25s; }
.row b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.row small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); max-width: 70ch; text-wrap: pretty; }
.row .meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.row .arr { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--soft); transition: background .25s, transform .25s var(--ease); }
a.row:hover .arr { background: var(--ink); color: #fff; transform: translateX(2px); }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .row .arr { display: none; } }

/* Tiles: grey cards with an icon square. */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: grid; align-content: start; gap: 10px; min-height: 200px; padding: 24px; border-radius: var(--r-card); background: var(--soft); transition: background .25s; }
a.tile:hover { background: #efeff0; }
.tile .ic, .ic-sq { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .04); margin-bottom: 14px; }
.tile b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.tile p { color: var(--muted); text-wrap: pretty; }
.tile .more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.tile.ink { background: var(--ink); color: #fff; }
.tile.ink p { color: rgba(255, 255, 255, .64); }
.tile.ink .ic { background: rgba(255, 255, 255, .1); box-shadow: none; }
@media (max-width: 1100px) { .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tiles, .tiles.two { grid-template-columns: 1fr 1fr; } .tiles { gap: 12px; } }
@media (max-width: 560px) { .tiles, .tiles.two, .tiles.four { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Pill filters (categories). Info only when not a link or button. */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--soft); font-size: 14px; color: var(--ink); transition: background .25s, color .25s; }
.pill:hover { background: #ebebec; }
.pill.is-on, .pill[aria-current="page"], .pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pill .n { font-family: var(--mono); font-size: 12px; color: inherit; opacity: .6; font-style: normal; }
.pills.scroll { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.pills.scroll::-webkit-scrollbar { display: none; }

/* Search field: large pill. */
.search { position: relative; display: flex; align-items: center; width: 100%; max-width: 560px; }
.search .icon { position: absolute; left: 20px; color: var(--muted); }
.search input { width: 100%; height: 56px; padding: 0 20px 0 48px; border: 0; border-radius: 999px; background: var(--soft); font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: box-shadow .25s, background .25s; }
.search input::placeholder { color: var(--faint); }
.search input:focus { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }

/* Forms. */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .lb { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 14px; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--soft); font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: box-shadow .25s, background .25s; appearance: none; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.42; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { background-color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--ink); background-color: #fff; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form .err { font-size: 14px; color: var(--ink); }
.form-panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--soft); }
.form-panel .input, .form-panel .select, .form-panel .textarea { background-color: #fff; }
.form-done { display: grid; justify-items: start; gap: 12px; }

/* Long text: legal pages, articles, docs. */
.prose { max-width: 720px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -.028em; text-wrap: balance; }
.prose h3 { margin-top: 32px; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.prose h4 { margin-top: 24px; font-size: 16px; font-weight: 500; }
.prose p, .prose li { color: rgba(10, 10, 10, .78); text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--faint); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(10, 10, 10, .25); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong, .prose b { font-weight: 500; color: var(--ink); }
.prose img, .prose video, .prose iframe { width: 100%; height: auto; border-radius: var(--r-media); margin-block: 24px; }
.prose figure figcaption { margin-top: -12px; font-size: 14px; color: var(--muted); }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--ink); font-size: 18px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; overflow-y: hidden; }
.prose th, .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; }
.prose code { font-family: var(--mono); font-size: 13px; padding: 2px 6px; border-radius: 6px; background: var(--soft); }
.prose pre { padding: 18px; border-radius: 18px; background: var(--soft); overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 40px; }

/* Table of contents (legal, long docs). */
.toc { display: grid; gap: 2px; font-size: 14px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); transition: color .25s; }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.toc .lb { margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* Article and news cards. */
.ncards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.ncard { display: grid; align-content: start; gap: 14px; }
.ncard .media { aspect-ratio: 16 / 10; }
.ncard .slot img { transition: transform .6s var(--ease); }
.ncard:hover .slot img { transform: scale(1.02); }
.ncard .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.ncard b { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.ncard p { color: var(--muted); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard.lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 64px); align-items: center; }
.ncard.lead .media { aspect-ratio: 16 / 9; }
.ncard.lead b { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.028em; }
@media (max-width: 1100px) { .ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ncards { grid-template-columns: 1fr; gap: 32px; } .ncard.lead { grid-template-columns: 1fr; } }
.label { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--soft); font-family: var(--font); font-size: 12.5px; color: var(--ink); }
.label.blue { background: var(--blue-soft); color: var(--blue); }

/* Pager (lists). */
.pagenav { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(40px, 4vw, 64px); }
.pagenav a, .pagenav span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--soft); font-size: 14px; }
.pagenav a:hover { background: #ebebec; }
.pagenav [aria-current="page"] { background: var(--ink); color: #fff; }

/* Note: a quiet grey panel for supporting information. */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--soft); font-size: 14px; color: var(--muted); }
.note b { color: var(--ink); font-weight: 500; }
.note .icon { margin-top: 2px; color: var(--ink); }

/* Key facts: label and value rows (contact details, job facts). */
.kv { display: grid; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt, .kv span:first-child { color: var(--muted); }
.kv dd, .kv span:last-child { color: var(--ink); }

/* Tool frame: interactive free tools sit in a 24px panel. */
.tool { border-radius: var(--r-card); background: var(--soft); padding: clamp(16px, 2.4vw, 32px); }
.tool.white { background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .08); }
.tool-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }

/* Steps: numbered, one line each. */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.step b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.step p { color: var(--muted); text-wrap: pretty; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Error pages. */
.err-page { min-height: min(72vh, 760px); display: grid; place-items: center; text-align: center; }
.err-page .code { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.err-page .h1 { max-width: 14ch; margin: 16px auto 0; }
.err-page .p-l { max-width: 440px; margin: 16px auto 0; color: var(--muted); }
.err-page .actions { margin-top: 24px; justify-content: center; }
.err-page .links { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* Skip link. */
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; }
.skip:focus { top: 12px; }

/* FAQ groups (FAQ page, help topics). */
.faq-group + .faq-group { margin-top: clamp(56px, 6vw, 96px); }
.faq-group > .h3 { margin-bottom: 8px; scroll-margin-top: 96px; }
.faq-group .faq { max-width: none; }
.faq .answer a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(10, 10, 10, .25); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .split > .side .toc { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .split > .side .toc::-webkit-scrollbar { display: none; }
  .split > .side .toc .lb { display: none; }
  .split > .side .toc a { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--soft); color: var(--ink); white-space: nowrap; }
  .split > .side .toc a.is-on { background: var(--ink); color: #fff; }
}
