:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --card: #ffffff;
  --ink: #12161d;
  --ink-2: #2e2e2e;
  --muted: #5c6370;
  --line: #e3e6eb;
  --accent: #8f5b00;
  --brand: #ffa400;
  --accent-soft: #fff3d9;
  --ok: #138a4b;
  --ok-soft: #e3f5ea;
  --btn-bg: #0d1017;
  --btn-ink: #ffffff;
  --shadow: 0 1px 2px rgba(13, 16, 23, .04), 0 8px 24px rgba(13, 16, 23, .06);
  --radius: 14px;
  --max: 1200px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d121a;
  --bg-alt: #121a26;
  --card: #172130;
  --ink: #f2f4f7;
  --ink-2: #d5d9e0;
  --muted: #9aa2b1;
  --line: #223042;
  --accent: #ffa400;
  --brand: #ffa400;
  --accent-soft: #2a2110;
  --ok: #4cc685;
  --ok-soft: #12291c;
  --btn-bg: #f2f4f7;
  --btn-ink: #0b0d12;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand { gap: 6px; font-size: 19px; }
.brand img { width: 32px; height: 32px; }
.brand small { font-weight: 400; color: var(--muted); font-size: 19px; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); color: var(--ink); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--muted); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-dark { display: none; }
:root[data-theme="dark"] .theme-dark { display: block; }
:root[data-theme="dark"] .theme-light { display: none; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; background: var(--card); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: 44px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 150px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.lang li a:hover, .lang li a[aria-current] { background: var(--bg-alt); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, opacity .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-ghost { border-color: var(--line); background: var(--card); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.head { max-width: 720px; margin-bottom: 48px; }
.head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; letter-spacing: -.035em; }
.hero h1 span { color: var(--muted); }
.hero .lead { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.console { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; position: relative; }
.console::before { content: ""; position: absolute; inset: -40px -40px auto auto; width: 220px; height: 220px; background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: -1; }
.console-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.console-top strong { font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.row .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-alt); display: grid; place-items: center; }
.row .ico svg { width: 18px; height: 18px; }
.row b { display: block; font-size: 14px; }
.row span { font-size: 13px; color: var(--muted); }
.row em { color: var(--ink); font-style: normal; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.approval { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; font-weight: 500; }
.approval .btn { height: 32px; padding: 0 14px; font-size: 13px; }
.caption { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* Shift */
.shift { padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shift h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; max-width: 820px; }
.shift > .wrap > p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 720px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cols3 > div { padding: 28px; background: var(--card); }
.cols3 > div + div { border-left: 1px solid var(--line); }
.cols3 h3 { font-size: 20px; font-weight: 600; }
.cols3 h3 span { color: var(--muted); font-weight: 400; }
.cols3 p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.cols3 .us { background: var(--btn-bg); color: var(--btn-ink); }
.cols3 .us h3 span, .cols3 .us p { color: color-mix(in srgb, var(--btn-ink) 72%, transparent); }

/* Cards */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.card h3 { font-size: 20px; font-weight: 600; margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.note { margin-top: 28px; color: var(--muted); font-size: 15px; }

.card.service { display: flex; flex-direction: column; padding: 32px; }
.card.service ul { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.card.service li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.card.service li svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.card.service small { margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* How we charge (home) */
.model { border-top: 1px solid var(--line); }
.never { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); font-size: 15px; font-weight: 500; }
.never svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
h3.sub { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 48px 0 16px; }
.card.sol-card { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit; }
.card.sol-card .ico { flex: none; }
.card.sol-card h3 { margin-top: 0; font-size: 18px; }
.card.sol-card p { margin-top: 6px; }
.card.sol-card .read { margin-top: 12px; }
.card.sol-card.soon { border-style: dashed; background: transparent; }
.card.sol-card.soon .ico { background: var(--bg-alt); color: var(--muted); }
.card.sol-card.soon .read { color: var(--muted); }

/* Solutions dropdown */
.navdrop { position: relative; }
.navdrop summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.navdrop summary:hover, .navdrop[open] summary { color: var(--ink); }
.nav .navdrop-menu a { white-space: normal; border-bottom: 0; }
.navdrop summary::-webkit-details-marker { display: none; }
.navdrop summary svg { width: 14px; height: 14px; transition: transform .2s ease; }
.navdrop[open] summary svg { transform: rotate(180deg); }
.navdrop-menu { position: absolute; left: -16px; top: 34px; z-index: 60; width: 320px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.navdrop-menu > a, .navdrop-menu > .soon { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.navdrop-menu > a:hover { background: var(--bg-alt); }
.navdrop-menu > a > svg, .navdrop-menu > .soon > svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.navdrop-menu b { display: block; font-size: 14px; font-weight: 600; }
.navdrop-menu small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.navdrop-menu .soon { opacity: .7; }
.navdrop-menu .soon > svg { color: var(--muted); }
.navdrop-menu em { font-style: normal; font-size: 11px; font-weight: 600; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.navdrop-menu .navdrop-how { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 13px; font-weight: 600; color: var(--accent); align-items: center; }
.navdrop-menu .navdrop-how svg { width: 14px; height: 14px; }

/* Solution page */
.sol-head .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.sol-head .cta-row { margin-top: 28px; }

/* The stage: the same card as the home console, so it follows the theme */
.stage { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: -40px -40px auto auto; width: 240px; height: 240px; background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: -1; }

.feed .fd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.feed .fd-top strong { font-size: 15px; }
.fd-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.fd-row .ok { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.fd-row .ok svg { width: 16px; height: 16px; }
.fd-row b { display: block; font-size: 14px; }
.fd-row span { font-size: 13px; color: var(--muted); }
.fd-row em { font-style: normal; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tag-ex { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 3px 10px; }
.fd-row.won em { color: var(--accent); }
.fd-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.fd-total strong { font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }

/* Items that appear one after the other; --d is set per item */
.fd-row, .fd-total, .scene.on .fld, .scene.on .msg, .scene.on .evt, .scene.on li, .scene.on .stamp, .scene.on .won-line { animation: pop .45s cubic-bezier(.22, 1, .36, 1) var(--d, 0s) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* How it works: five stages, played in order */
.sol-flow .head { margin-bottom: 40px; }
.fl-stages { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fl-stages::before { content: ""; position: absolute; left: 10%; right: 10%; top: 24px; height: 1px; background: var(--line); }
.fl-stages button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 0; background: transparent; font: inherit; color: var(--muted); cursor: pointer; padding: 0 4px; }
.st-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); transition: all .3s ease; }
.st-ico svg { width: 20px; height: 20px; }
.st-lb { font-size: 14px; font-weight: 600; }
.st-lb i { font-style: normal; opacity: .6; }
.st-bar { width: 48px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--brand); }
.fl-stages button.done .st-ico { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); color: var(--accent); background: var(--accent-soft); }
.fl-stages button[aria-selected="true"] { color: var(--ink); }
.fl-stages button[aria-selected="true"] .st-ico { background: var(--brand); border-color: var(--brand); color: #12161d; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.fl-stages button[aria-selected="true"] .st-bar i { width: 100%; }
.flow.playing .fl-stages button[aria-selected="true"] .st-bar i { animation: fill var(--step, 5.6s) linear both; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

.fl-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; margin-top: 48px; }
.fl-txt h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; }
.fl-txt > p:not(.eyebrow) { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.fl-txt:not([hidden]) { animation: pop .35s ease both; }
.fl-play { margin-top: 24px; }
.scenes { height: 340px; padding: 28px; overflow: hidden; }
.scene { display: none; height: 100%; }
.scene.on { display: block; animation: pop .3s ease both; }

/* 1. Sources stream into the CRM */
.sc-ship { display: flex; align-items: center; gap: 20px; height: 100%; }
.srcs { flex: 1; display: grid; gap: 16px; }
.src { display: flex; align-items: center; gap: 12px; }
.src span { width: 132px; flex: none; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt); }
.rail { position: relative; flex: 1; height: 1px; background: var(--line); }
.rail b { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: 0; }
.scene.on .rail b { animation: travel 1.6s ease-in var(--d) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.hub { width: 132px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--accent-soft); text-align: center; font-size: 14px; }
.hub svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--brand); color: #12161d; }

/* 2. The deal record filling in */
.sc-card { max-width: 420px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--card); }
.sc-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding-bottom: 12px; }
.sc-h svg, .evt svg, .stamp svg, .won-line svg, .sc-check li svg { width: 18px; height: 18px; flex: none; }
.fld { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fld span { color: var(--muted); }

/* 3. Follow-up chat and the meeting */
.sc-chat { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg.a { align-self: flex-start; background: var(--bg-alt); border-bottom-left-radius: 4px; }
.msg.l { align-self: flex-end; background: var(--brand); color: #12161d; border-bottom-right-radius: 4px; }
.evt { display: flex; align-items: center; gap: 8px; align-self: center; margin-top: 8px; padding: 10px 14px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--brand) 60%, var(--line)); font-size: 14px; font-weight: 600; }

/* 4. The proof, then the stamp */
.sc-check { display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 440px; margin: 0 auto; }
.sc-check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sc-check li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; }
.sc-check li svg { color: var(--accent); }
.stamp { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 20px; padding: 8px 16px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; font-size: 14px; }

/* 5. The deal moves to won, and the line lands on the dashboard */
.sc-won { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.sc-won .cols { position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-won .col { border-radius: 12px; background: var(--bg-alt); padding: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sc-won .col:last-of-type { background: var(--accent-soft); color: var(--accent); }
.deal { position: absolute; top: 44px; left: 12px; width: calc((100% - 20px) / 3 - 24px); padding: 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.scene.on .deal { animation: move 2s cubic-bezier(.65, 0, .35, 1) .3s both; }
@keyframes move { 0% { transform: none; } 45% { transform: translateX(calc(100% + 34px)); } 100% { transform: translateX(calc(200% + 68px)); border-color: var(--brand); } }
.won-line { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; }
.won-line span { display: flex; align-items: center; gap: 8px; }
.won-line svg { color: var(--accent); }
.won-line b { font-size: 22px; font-weight: 600; color: var(--accent); }

/* A page being assembled, section by section */
.sc-page { max-width: 440px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.sc-page .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sc-page .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.sc-page .bar span { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--card); }
.sc-page .blk { margin: 6px 12px; padding: 7px 12px; border-radius: 8px; border: 1px dashed var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.sc-page .blk:first-of-type { margin-top: 10px; padding: 14px 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--accent); }
.sc-page .blk:last-child { margin-bottom: 12px; }
.scene.on .blk { animation: pop .45s cubic-bezier(.22, 1, .36, 1) var(--d, 0s) both; }

/* What you get */
.card.get h3 { font-size: 20px; }
.card.get p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.mini { margin-top: 22px; padding: 14px; border-radius: 12px; background: var(--bg-alt); font-size: 12px; }
.mini.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini.board div { display: grid; gap: 6px; align-content: start; }
.mini.board span { font-weight: 600; color: var(--muted); }
.mini.board i { display: block; height: 22px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
.mini.board div:last-child i { border-color: var(--brand); }
.mini.dash .bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.mini.dash .bars i { flex: 1; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--brand) 55%, transparent); }
.mini.dash .bars i:last-child { background: var(--brand); }
.mini.dash p { margin-top: 10px; color: var(--muted); }
.mini.dash p span { display: block; }
.mini.dash p b { font-size: 18px; color: var(--ink); }
.mini.act { list-style: none; margin-top: 22px; display: grid; gap: 8px; }
.mini.act li { display: flex; justify-content: space-between; gap: 8px; }
.mini.act li span { color: var(--muted); }
.mini.page { padding: 0; overflow: hidden; display: grid; gap: 6px; padding-bottom: 10px; }
.mini.page p { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--card); }
.mini.page p b { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.mini.page p span { margin-left: 6px; color: var(--muted); }
.mini.page i { display: block; margin: 0 10px; padding: 6px 8px; border-radius: 6px; border: 1px dashed var(--line); font-style: normal; font-weight: 600; color: var(--muted); }
.mini.page i:first-of-type { padding: 14px 8px; background: var(--accent-soft); border-style: solid; border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--accent); }

/* Price */
.price-step { margin-top: 56px; font-size: 22px; font-weight: 600; }
.head + .price-step { margin-top: 0; }
.price-note { margin-top: 10px; font-size: 16px; color: var(--muted); max-width: 720px; line-height: 1.6; }
.price-extra { margin-top: 16px; font-size: 14px; color: var(--muted); }
.vols { margin-top: 24px; }
.card.vol h3 { font-size: 18px; }
.vol-fee { margin-top: 10px; color: var(--muted); font-size: 15px; }
.vol-fee strong { font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.card.vol ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.card.vol li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; }
.card.vol li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.card.vol.featured { border-color: var(--brand); box-shadow: var(--shadow); }
#price .cta-row { margin-top: 28px; }
.card.plan { margin-top: 24px; padding: 32px 36px; box-shadow: var(--shadow); }
.tiers-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.tier-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; padding: 5px; border-radius: 14px; background: var(--bg-alt); max-width: 560px; }
.tier-tabs button { border: 0; background: transparent; padding: 10px 6px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tier-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tier { margin-top: 24px; max-width: 760px; }
.tier[hidden] { display: none; }
.tier-range { font-size: 15px; color: var(--muted); }
.card.plan .fee { margin-top: 14px; }
.card.plan .fee strong { display: block; font-size: clamp(44px, 5vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.card.plan .fee strong small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.card.plan .fee span { display: block; margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 380px; }
.card h4 { margin: 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card.plan .results { margin-top: 4px; }
.card.plan .results .row { grid-template-columns: 1fr auto; padding: 14px 0; }
.card.plan .results b { display: block; font-size: 15px; }
.card.plan .row em { font-size: 20px; }
.card.plan .row:last-child em { color: var(--accent); }
.card.plan .never { margin-top: 28px; max-width: 760px; }
.plan-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.tier-note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 640px; }

@media (prefers-reduced-motion: reduce) {
  .fd-row, .fd-total, .scene.on *, .fl-txt, .scene.on { animation: none !important; }
  .scene.on .deal { transform: translateX(calc(200% + 68px)); }
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 28px 0; border-top: 2px solid var(--line); }
.step:first-child { border-top-color: var(--brand); }
.step .n { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 22px; font-weight: 600; margin-top: 10px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Why */
.why .card h3 { margin-top: 0; }
.why .card { padding: 32px; }
.why .k { display: block; width: 28px; height: 3px; background: var(--brand); border-radius: 2px; margin-bottom: 18px; }

/* Platform */
.platform-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
.platform-main .txt { padding: 44px; }
.platform-main .tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.platform-main h3 { font-size: 36px; font-weight: 600; margin-top: 16px; }
.platform-main p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.platform-main .btn { margin-top: 28px; }
.modules { background: var(--bg-alt); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; border-left: 1px solid var(--line); }
.modules span { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.platform-others { margin-top: 20px; }
.platform-others .card h3 { margin-top: 0; }
.platform-others small { display: block; margin-top: 16px; font-size: 13px; color: var(--accent); font-weight: 600; }

/* Stories */
.story { display: flex; flex-direction: column; }
.story .who { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.story h3 { margin-top: 12px; font-size: 22px; }
.story .bar { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent); margin-bottom: 22px; width: 64px; }

/* News */
.news-item { display: flex; flex-direction: column; text-decoration: none; }
.news-item .meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.news-item .meta b { color: var(--accent); font-weight: 600; }
.news-item h3 { margin-top: 12px; font-size: 19px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more svg { width: 16px; height: 16px; }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about .text { font-size: 18px; color: var(--ink-2); margin-top: 18px; }
.facts { margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.founder { display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-items: center; font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.founder h3 { font-size: 22px; font-weight: 600; }
.founder .role { color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 4px; }
.founder p { color: var(--muted); margin-top: 10px; }

.about-t { width: 72px; height: 72px; margin-bottom: 20px; }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; max-width: 820px; margin: 0 auto; }
.contact p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.contact .cta-row { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); margin-top: 12px; max-width: 320px; }
.foot .foot-h { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }


/* Logo strip */
.logos { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: 14px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; margin-top: 26px; }
.logo-row img { height: 30px; width: auto; opacity: .55; transition: opacity .2s ease; }
.logo-row img.sq { height: 46px; }
.logo-row img:hover { opacity: .9; }
.wordmark { font-size: 19px; white-space: nowrap; font-weight: 700; letter-spacing: -.01em; color: var(--muted); }
:root[data-theme="dark"] .logo-row img { filter: invert(1); opacity: .6; }

/* Stats */
.stats-band { padding: 0 0 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border-top: 2px solid var(--brand); padding-top: 18px; }
.stat strong { display: block; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 280px; }

/* Stories with images */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feature img { width: 100%; height: 100%; min-height: 300px; max-height: 420px; object-fit: cover; object-position: left center; }
.feature-txt { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.feature-txt h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; margin-top: 12px; }
.feature-txt p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.story-grid { margin-top: 20px; }
.card.story { padding: 0; overflow: hidden; }
.card.story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-txt { padding: 28px; }
.who { font-size: 13px; font-weight: 600; color: var(--muted); }
.story-txt h3, .mini h3 { margin-top: 10px; font-size: 21px; }
blockquote { margin: 22px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--accent); }
blockquote p { color: var(--ink) !important; font-size: 17px !important; font-style: italic; margin: 0 !important; }
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Products */
.prod-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; }
.card.product { display: flex; gap: 18px; align-items: flex-start; }
.card.product img { flex: none; object-fit: contain; }
.card.product h3 { margin-top: 0; }
img.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: none; }


/* Inner pages */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -.03em; margin-top: 6px; max-width: 900px; }
.page-head p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 720px; }
section.tight { padding: 8px 0 96px; }
.wrap.narrow { max-width: 860px; }
h2.sub { font-size: 24px; font-weight: 600; margin: 56px 0 20px; }
a.link-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.feature.link-card { display: grid; }
a.sol-card.link-card { flex-direction: row; }
.page-head .back + .eyebrow { display: block; width: max-content; }
a.link-card:hover { border-color: var(--brand); }
a.link-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.read { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); }
.read svg { width: 16px; height: 16px; }
.story-txt { display: flex; flex-direction: column; flex: 1; }
.story-txt .read { margin-top: auto; padding-top: 18px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.back:hover { color: var(--ink); }
.back svg { width: 16px; height: 16px; }
.story-page .who { display: block; }
.story-hero { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: left center; border-radius: 20px; border: 1px solid var(--line); margin-bottom: 40px; }
.story-stats { margin-bottom: 8px; }
.story-stats:empty { display: none; }
.story-page blockquote { margin: 40px 0 0; }
.story-page blockquote p { font-size: 22px !important; line-height: 1.45; }
.prose h2 { font-size: 26px; font-weight: 600; margin: 48px 0 12px; }
.prose p { font-size: 18px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.7; }

.stat-cover { aspect-ratio: 16 / 9; background: #0d121a; color: #f2f4f7; display: grid; align-content: center; gap: 18px; padding: 28px 32px; }
.stat-cover div { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid #223042; padding-top: 12px; }
.stat-cover strong { font-size: 34px; font-weight: 600; color: #ffa400; letter-spacing: -.02em; min-width: 120px; }
.stat-cover span { color: #b6bdca; font-size: 15px; }

.card.news-item { padding: 0; overflow: hidden; }
.news-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.news-item:hover .news-media img { transform: scale(1.03); }
.news-media.tile { display: grid; place-items: center; }
.news-media.tile svg { width: 56px; height: 56px; stroke-width: 1.4; }
.tile-company { background: linear-gradient(135deg, #0d121a, #223042); color: #ffa400; }
.tile-clients { background: linear-gradient(135deg, #fff3d9, #ffd98a); color: #7a4d00; }
.tile-education { background: linear-gradient(135deg, #e6eefc, #c9d9f7); color: #223042; }
.tile-community { background: linear-gradient(135deg, #e3f5ea, #bfe6cd); color: #0f5a32; }
.tile-events { background: linear-gradient(135deg, #223042, #2e2e2e); color: #f2f4f7; }
.news-txt { padding: 22px 24px 26px; }
.news-txt h3 { margin-top: 10px; font-size: 19px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live i { animation: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  .nav, .tools .btn-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .top .wrap { justify-content: space-between; }
  .nav.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open .navdrop summary { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; width: 100%; }
  .nav.open .navdrop-menu { position: static; width: auto; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 4px 0 8px 8px; background: transparent; }
  .nav.open .navdrop-menu > a, .nav.open .navdrop-menu > .soon { border-bottom: 0; padding: 8px 4px; }

  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero .wrap, .about .wrap, .platform-main, .sol-head .wrap, .tier, .fl-body { grid-template-columns: 1fr; gap: 40px; }
  .modules { border-left: 0; border-top: 1px solid var(--line); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .g2, .g3, .g4, .cols3, .stats { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature img { min-height: 0; max-height: 240px; aspect-ratio: 16 / 9; }
  .feature-txt { padding: 28px; }
  .logo-row { gap: 22px 32px; }
  .logo-row img { height: 24px; }
  .logo-row img.sq { height: 38px; }
  .cols3 > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .platform-main .txt, .modules { padding: 28px; }
  .modules { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .card.plan { padding: 22px; }
  .fl-stages { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
  .fl-stages::-webkit-scrollbar { display: none; }
  .fl-stages::before { display: none; }
  .fl-stages button { min-width: 92px; }
  .fl-body { margin-top: 32px; }
  .scenes { height: 320px; padding: 18px; }
  .src span, .hub { width: 104px; }
  .plan-foot { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr; }
  .lang summary span { display: none; }
  .brand small { display: none; }
}

/* Web solution page: its own pieces */
.web-head .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.web-head .cta-row { margin-top: 24px; }
.web-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.web-facts li { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.web-facts svg { width: 16px; height: 16px; color: var(--accent); }

/* A site that builds itself */
.builder { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.bd-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.bd-top > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.bd-url { margin-left: 8px; font-size: 12px; color: var(--muted); background: var(--card); border-radius: 999px; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-dev { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.bd-dev button { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.bd-dev button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.bd-screen { height: 390px; padding: 22px 22px 58px; background: var(--bg-alt); }
.bd-page { height: 100%; max-width: 100%; margin: 0 auto; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: max-width .6s cubic-bezier(.65, 0, .35, 1); }
.builder.mob .bd-page { max-width: 220px; }
.bd-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.bd-nav b { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); }
.bd-nav i { width: 34px; height: 6px; border-radius: 3px; background: var(--line); }
.bd-nav i:first-of-type { margin-left: auto; }
.builder.mob .bd-nav i { width: 12px; }
.web-head .builder p { margin: 0; max-width: none; font-size: 13px; }
.bd-h { color: var(--ink); max-width: 380px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.web-head .builder .bd-h { font-size: 22px; line-height: 1.2; }
.web-head .builder.mob .bd-h { font-size: 16px; }
@media (max-width: 640px) { .web-head .builder .bd-h { font-size: 18px; } }
.web-head .bd-p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.bd-btn { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: var(--brand); color: #12161d; font-size: 12px; font-weight: 600; }
.bd-img { height: 64px; margin-top: 14px; border-radius: 10px; background: linear-gradient(120deg, var(--accent-soft), color-mix(in srgb, var(--brand) 35%, transparent)); }
.bd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.builder.mob .bd-cards { grid-template-columns: 1fr; gap: 5px; }
.bd-card { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.bd-card i { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--accent-soft); }
.web-head .bd-live { margin: 0; color: var(--btn-ink); position: absolute; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: 12px; font-weight: 600; }
.bd-live svg { width: 14px; height: 14px; }
.builder.armed .b { opacity: 0; }
.builder.run .b { animation: pop .5s cubic-bezier(.22, 1, .36, 1) var(--d) both; }
.builder.run .bd-h { animation: type 1s steps(26) var(--d) both; }
@keyframes type { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* Package picker: one choice drives the visual, the price and the after-launch prices */
.cfg { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.cfg-pick { display: grid; gap: 12px; }
.cfg-pick button { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.cfg-pick button:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.cfg-pick b { display: block; font-size: 17px; }
.cfg-pick small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.cfg-pick strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.cfg-pick button[aria-checked="true"] { border-color: var(--brand); box-shadow: var(--shadow); transform: translateX(6px); }
.cfg-pick button[aria-checked="true"] strong { color: var(--accent); }
.cfg-view { padding: 28px; }
.cfg-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.cfg-panel[hidden] { display: none; }
.cfg-vis { position: relative; height: 280px; border-radius: 14px; background: var(--bg-alt); overflow: hidden; }
.pg { position: absolute; top: 50%; left: 50%; width: 92px; height: 124px; margin: -62px 0 0 -46px; padding: 10px 8px; display: grid; gap: 5px; align-content: start; border-radius: 8px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); --t: none; animation: fan .6s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * .07s) both; }
.pg i { display: block; height: 12px; border-radius: 3px; background: var(--line); }
.pg i:first-child { height: 26px; background: var(--accent-soft); }
.n0 .pg { width: 124px; height: 176px; margin: -88px 0 0 -62px; }
.n0 .pg i { height: 18px; }
.n0 .pg i:first-child { height: 40px; }
.n1 .pg { --t: translateX(calc((var(--i) - 2) * 50px)) rotate(calc((var(--i) - 2) * 5deg)); }
.n2 .pg { --t: translateX(calc((var(--i) - 2) * 46px)) translateY(-22px) rotate(calc((var(--i) - 2) * 5deg)); }
.pg.shop { grid-template-columns: 1fr 1fr; border-color: var(--brand); }
.pg.shop b { height: 46px; border-radius: 4px; background: var(--accent-soft); }
@keyframes fan { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: var(--t); } }
.chips { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: 12px; font-weight: 600; animation: pop .4s calc(.5s + var(--i) * .15s) both; }
.cfg-price { color: var(--muted); font-size: 15px; }
.cfg-price strong { font-size: 44px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.cfg-info h4 { margin-top: 20px; }
.cfg-inc { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cfg-inc li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; }
.cfg-inc svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.cfg-view .results .row { grid-template-columns: 1fr auto; padding: 12px 0; }
.cfg-view .results b { display: block; font-size: 15px; }
.cfg-view .never { margin-top: 24px; }
.cfg-view .tier-note { margin-top: 14px; }

/* Timeline that fills as you scroll */
.tl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl::before, .tl::after { content: ""; position: absolute; left: 10px; top: 9px; height: 2px; width: 75%; background: var(--line); }
.tl::after { background: var(--brand); width: calc(var(--p, 0) * 75%); transition: width .15s linear; }
.tl li { position: relative; padding-top: 36px; transition: opacity .3s ease; }
.tl.armed li { opacity: .45; }
.tl.armed li.on { opacity: 1; }
.tl-dot { position: absolute; top: 0; left: 0; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); transition: all .3s ease; }
.tl li.on .tl-dot { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-when { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tl li.on .tl-when { color: var(--accent); }
.tl h3 { margin-top: 6px; font-size: 20px; }
.tl li > p:last-child { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* From the form to the CRM */
.bridge-wrap { overflow-x: clip; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.bridge-wrap h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; }
.bridge-wrap > div > p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.bridge-wrap .more { margin-top: 18px; }
.bridge { display: grid; grid-template-columns: 1fr 36px 1.1fr; gap: 10px; align-items: center; padding: 24px; height: auto; }
.fm { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.fm-f span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fm-f b { display: block; min-height: 34px; margin-top: 4px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.bridge.armed .fm-f b { clip-path: inset(0 100% 0 0); }
.bridge.run .fm-f b { animation: type 1s steps(22) var(--d) both; }
.fm-send { justify-self: start; padding: 7px 14px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: 12px; font-weight: 600; }
.bridge.run .fm-send { animation: press .3s 2.6s both; }
@keyframes press { 50% { transform: scale(.9); } }
.fm-rail { position: relative; height: 2px; background: var(--line); }
.fm-rail b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); opacity: 0; }
.bridge.run .fm-rail b { animation: travel .7s ease-in 2.9s both; }
.cr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.cr-col { min-height: 190px; padding: 8px; display: grid; gap: 6px; align-content: start; border-radius: 10px; background: var(--bg-alt); }
.cr-col span { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cr-col i { display: block; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); }
.cr-new { padding: 6px 8px; border-radius: 6px; border: 1px solid var(--brand); background: var(--card); box-shadow: var(--shadow); font-size: 11px; font-weight: 600; }
.bridge.armed .cr-new { opacity: 0; }
.bridge.run .cr-new { animation: pop .45s 3.5s both; }

/* FAQ */
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }

@media (max-width: 960px) {
  .web-head .wrap, .cfg, .cfg-panel, .bridge-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cfg-pick button[aria-checked="true"] { transform: none; }
}
@media (max-width: 640px) {
  .bd-screen { height: 360px; padding: 14px 14px 54px; }
  .bd-url { display: none; }
  .bd-cards { grid-template-columns: 1fr; gap: 5px; }
  .tl { grid-template-columns: 1fr; gap: 28px; }
  .tl::before, .tl::after { left: 9px; top: 10px; width: 2px; height: calc(100% - 40px); }
  .tl::after { width: 2px; height: calc(var(--p, 0) * (100% - 40px)); transition: height .15s linear; }
  .tl li { padding: 0 0 0 40px; }
  .bridge { grid-template-columns: 1fr; }
  .fm-rail { display: none; }
  .cr-col { min-height: 120px; }
  .cfg-view { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg, .chip, .builder .b, .bridge * { animation: none !important; opacity: 1 !important; clip-path: none !important; }
}

/* Form «Hablemos» (app.js) */
dialog.hablemos { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
dialog.hablemos::backdrop { background: rgba(8, 10, 14, .6); backdrop-filter: blur(3px); }
.hablemos h2 { margin: 0 0 6px; font-size: 22px; }
.hablemos p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.hb-form { display: flex; flex-direction: column; }
.hb-form label { margin: 10px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hb-form input, .hb-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.hb-form input:focus, .hb-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.hb-form textarea { resize: vertical; }
.hb-form .btn { margin-top: 18px; justify-content: center; }
.hb-req { color: var(--accent); }
.hb-opt { font-weight: 400; }
.hb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hb-msg { min-height: 1em; margin: 10px 0 0; color: #c0392b; font-size: 14px; }
.hb-msg:empty { display: none; }
.hb-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.hb-ok { text-align: center; padding: 12px 0 4px; }
