:root {
  --lav: #e8e3ff;
  --lav-2: #f1eeff;
  --haze: #a9a0d2;
  --off: #fbfafc;
  --white: #ffffff;
  --ink: #111015;
  --ink-2: #2a2733;
  --muted: #777286;
  --blush: #f1d9d3;
  --blue: #c9e4ec;
  --accent: #5b4fe6;
  --line: rgba(30, 25, 45, 0.10);
  --line-2: rgba(30, 25, 45, 0.16);
  --mint: #3ecf8e;
  --amber: #f5b544;
  --rose: #e86a8a;
  --sky: #6cb6ff;
  --r: 16px;
  --wrap: 1120px;
  --wide: 1200px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--off); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wide { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.h2 { font-size: clamp(32px, 4.4vw, 48px); }
.h2 .serif { color: #6d6596; }
.lead { font-size: 17px; color: var(--muted); max-width: 580px; }
.center .lead { margin: 18px auto 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font: 500 15px/1 var(--sans);
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: #3b3446; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -10px rgba(30,20,60,.6); }
.btn-dark:hover { background: #2c2635; }
.btn-light { background: #f7f1ea; color: var(--ink); border-color: rgba(30,25,45,.08); box-shadow: 0 6px 18px -12px rgba(30,20,60,.4); }
.btn-light:hover { background: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; justify-content: space-between; }
.btn svg { width: 16px; height: 16px; }
.link { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- nav + notch ---------- */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 30; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.brand img { width: 32px; height: 32px; padding: 5px; border-radius: 10px; background: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.icon-link { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; opacity: .85; }
.icon-link:hover { opacity: 1; }
.icon-link svg { width: 18px; height: 18px; }

.notch { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 40; width: min(440px, calc(100% - 200px)); }
.notch-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; background: #000; color: #fff; border-radius: 0 0 20px 20px; cursor: pointer; border: 0; width: 100%; font: 500 13px var(--sans);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); transition: border-radius .25s ease; }
.notch.open .notch-bar { border-radius: 0; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(62,207,142,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,207,142,.55); } 70% { box-shadow: 0 0 0 7px rgba(62,207,142,0); } 100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); } }
.notch-bar .tiles { display: flex; gap: 5px; }
.notch-bar .tiles i { width: 22px; height: 22px; border-radius: 6px; background: #1d1b24; display: grid; place-items: center; font: 600 9px var(--mono); font-style: normal; color: #cfc8ff; }
.notch-bar .label { margin-left: auto; color: #d8d4e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notch-bar .chev { transition: transform .25s; color: #8f8aa3; }
.notch.open .chev { transform: rotate(180deg); }
.notch-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; background: #000; border-radius: 0 0 22px 22px; }
.notch.open .notch-panel { grid-template-rows: 1fr; }
.notch-panel > div { overflow: hidden; }
.notch-inner { padding: 4px 14px 14px; color: #fff; }
.np-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #15131b; margin-top: 8px; font-size: 13px; }
.np-row b { font-weight: 600; }
.np-row small { display: block; color: #8f8aa3; font-size: 11.5px; }
.np-row .tag { margin-left: auto; font: 500 10.5px var(--mono); padding: 3px 8px; border-radius: 999px; background: rgba(62,207,142,.14); color: var(--mint); white-space: nowrap; }
.np-slots { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.np-slots a { font: 500 12px var(--sans); padding: 7px 11px; border-radius: 9px; background: #1d1b24; color: #e7e3f7; }
.np-slots a:hover { background: #2b2836; }
.np-cta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12.5px; color: #8f8aa3; }
.np-cta a { color: #fff; background: var(--accent); padding: 7px 12px; border-radius: 9px; font-weight: 500; }
.notch-hint { position: fixed; z-index: 39; top: 52px; margin: 0; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,.85); white-space: nowrap; display: flex; gap: 6px; align-items: center; pointer-events: none; transition: opacity .3s; }
.notch-hint span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.scrolled .notch-hint, .notch.open + .notch-hint { opacity: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 150px 0 0; min-height: 900px;
  background: linear-gradient(180deg, #8d84d6 0%, #a39be0 26%, #c3bcef 52%, #e3defb 76%, var(--lav) 100%); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -2;
  background: radial-gradient(40% 50% at 20% 40%, rgba(255,214,230,.45), transparent 70%), radial-gradient(35% 45% at 85% 30%, rgba(201,228,236,.5), transparent 70%), radial-gradient(30% 40% at 50% 10%, rgba(255,255,255,.25), transparent 70%);
  filter: blur(10px); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-2%) translateY(0); } to { transform: translateX(2%) translateY(2%); } }
.hero-hills { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: max(1600px, 100%); max-width: none; z-index: -1; pointer-events: none; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { font-size: clamp(52px, 9vw, 104px); color: #fff; letter-spacing: -0.045em; line-height: .98; text-shadow: 0 2px 30px rgba(60,40,140,.15); }
.hero h1 .serif { display: block; font-size: 1.08em; color: #fff7ef; letter-spacing: -0.02em; line-height: 1.02; }
.hero-sub { max-width: 560px; margin: 28px auto 0; font-size: 18px; line-height: 1.6; color: #2c2640; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.tools-cap { margin-top: 46px; font-size: 13px; color: #4a4363; }
.tools { display: inline-flex; gap: 8px; margin-top: 12px; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(10px); flex-wrap: wrap; justify-content: center; }
.tools span { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.7); display: grid; place-items: center; font: 600 12px var(--mono); color: #3b3446; position: relative; }
.tools span::after { content: attr(data-name); position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font: 500 11px var(--sans); color: #4a4363; opacity: 0; transition: opacity .2s; white-space: nowrap; pointer-events: none; }
.tools span:hover::after { opacity: 1; }

/* ---------- workflow intro ---------- */
.intro { background: var(--lav); padding: 120px 0 110px; }
.intro .h2 { margin-top: 4px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.trio > div { padding: 26px 26px 30px; }
.trio > div + div { border-left: 1px solid var(--line); }
.trio-top { display: flex; align-items: center; gap: 10px; }
.trio-top .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 10px var(--mono); }
.trio-top b { font-size: 13px; font-weight: 600; display: block; line-height: 1.2; }
.trio-top small { font-size: 12px; color: var(--muted); }
.pill { margin-left: auto; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.done { background: #dff5e9; color: #1d7a4c; }
.pill.live { background: #e7e3ff; color: #4a3fc4; }
.pill.wait { background: #fdf0d8; color: #9a6400; }
.trio h3 { font-size: 18px; margin-top: 22px; letter-spacing: -0.02em; }
.trio p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ---------- sections ---------- */
.sec { padding: 120px 0; }
.sec-white { background: var(--white); }
.sec-off { background: var(--off); }
.sec-lav { background: var(--lav); }
.head-left { max-width: 720px; }
.head-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.head-row p { color: var(--muted); font-size: 16.5px; }

/* case study diagram */
.diagram { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.05fr 1.25fr; align-items: center; position: relative; }
.diagram svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.node { position: relative; z-index: 1; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px -22px rgba(40,30,90,.5); padding: 16px 18px; }
.node.dark { background: var(--ink); color: #fff; border-color: #000; }
.node.dark p { color: #a7a2b8; }
.node-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.node-title { font-size: 15px; font-weight: 600; }
.node-tag { font: 11px var(--mono); color: var(--muted); }
.node.dark .node-tag { color: #8f8aa3; }
.node p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font: 11.5px var(--mono); padding: 3px 9px; border-radius: 999px; background: var(--lav-2); color: #4a4363; }
.node.dark .chip { background: #1f1c27; color: #d7d2ea; }
.col-root { padding-right: 44px; } .col-mid { display: grid; gap: 20px; padding-right: 44px; } .col-rows { display: grid; gap: 20px; }
.rows { border-radius: 12px; background: var(--ink); position: relative; z-index: 1; overflow: hidden; box-shadow: 0 16px 34px -22px rgba(20,10,50,.7); }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font: 12.5px var(--mono); color: #e9e6f5; }
.row + .row { border-top: 1px solid #23202b; }
.row .file { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { font-size: 11px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-good { color: var(--mint); } .st-warn { color: var(--amber); } .st-info { color: #b3a8ff; } .st-dim { color: #8f8aa3; }
.diagram-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: right; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics div { padding: 26px 22px; }
.metrics div + div { border-left: 1px solid var(--line); }
.metrics b { display: block; font-size: 38px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.metrics span { font-size: 14px; color: var(--muted); }
.defs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.defs h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.015em; }
.defs p { font-size: 14.5px; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; margin-top: 52px; }
.g-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-top: 18px; }
.g-card p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.g-card .link { display: inline-block; margin-top: 10px; }
.panel { height: 240px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px; transition: transform .3s ease; }
.g-card:hover .panel { transform: translateY(-3px); }
.t-lav { background: radial-gradient(80% 70% at 30% 20%, #f4f1ff, transparent 70%), linear-gradient(180deg, #d9d2fb, #c7bdf3); }
.t-blush { background: radial-gradient(80% 70% at 70% 20%, #fff4ef, transparent 70%), linear-gradient(180deg, #f6dfd8, #ecc9c2); }
.t-blue { background: radial-gradient(80% 70% at 30% 20%, #f1fbfe, transparent 70%), linear-gradient(180deg, #d6edf3, #bcdbe6); }
.panel::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.35); filter: blur(14px); }
.mini { position: relative; z-index: 1; width: 100%; max-width: 300px; background: #0f0e13; color: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 20px 40px -18px rgba(20,10,50,.55), 0 0 0 1px rgba(0,0,0,.6); font-size: 12px; }
.mini-head { display: flex; align-items: center; gap: 8px; }
.mini-head .ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 600 9px var(--mono); background: #241f33; color: #cfc8ff; flex: none; }
.mini-head b { font-weight: 600; font-size: 12.5px; }
.mini-head small { color: #8f8aa3; font-size: 11px; display: block; line-height: 1.2; }
.mini-head .r { margin-left: auto; font: 10.5px var(--mono); color: #8f8aa3; }
.mini-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 7px 9px; border-radius: 9px; background: #1a1821; font: 11px var(--mono); color: #e1ddf0; }
.mini-row .st { margin-left: auto; }
.mini-q { margin-top: 8px; padding: 7px 9px; border-radius: 9px; background: #1a1821; color: #d9d4ec; font-size: 11.5px; }
.mini-btns { display: flex; gap: 6px; margin-top: 8px; }
.mini-btns span { font-size: 11px; padding: 5px 10px; border-radius: 8px; background: #26232f; color: #e1ddf0; }
.mini-btns .go { background: #f5b544; color: #241a00; font-weight: 600; }
.mini-btns .ok { background: #3ecf8e; color: #062b19; font-weight: 600; }
.bar { height: 5px; border-radius: 4px; background: #26232f; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8b7cff, #f2a7c9); }
.ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--mint) var(--p, 70%), #2b2836 0); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 88px; padding-top: 64px; border-top: 1px solid var(--line); }
.benefits .bi { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.benefits .bi svg { width: 14px; height: 14px; }
.benefits h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-top: 14px; }
.benefits p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* pillwave */
.pw { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.pw-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 12px 5px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
.pw-badge img { width: 22px; height: 22px; }
.pw .lead { margin-top: 20px; }
.assure { margin-top: 28px; }
.assure p { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.assure p:last-child { border-bottom: 1px solid var(--line); }
.assure b { color: var(--ink); font-weight: 600; }
.pw-ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.term-wrap { position: relative; padding: 0 56px 56px 0; }
.term { border-radius: 16px; background: #0f0e13; color: #e9e6f5; box-shadow: 0 30px 60px -30px rgba(30,20,80,.6); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #23202b; font: 12px var(--mono); color: #8f8aa3; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b2836; }
.term-bar span { margin-left: 8px; }
.tree { padding: 12px 18px 18px; font: 12.5px/2.05 var(--mono); }
.tree div { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tree .c { margin-left: auto; color: #77728a; font-size: 11px; padding-left: 14px; overflow: hidden; text-overflow: ellipsis; }
.tree .d { color: #f5c98a; } .tree .f { color: #b3a8ff; }
.l1 { padding-left: 18px; } .l2 { padding-left: 36px; }
.phone { position: absolute; right: 0; bottom: 0; width: 170px; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(30,20,80,.55); transform: rotate(4deg); border: 1px solid rgba(255,255,255,.6); }

/* stack (integrations) */
.stack-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 44px auto 0; text-align: left; }
.s-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #fff, #f6f3ff); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px -20px rgba(40,30,90,.4); }
.s-card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 12px var(--mono); flex: none; }
.s-card b { display: block; font-size: 15.5px; font-weight: 600; }
.s-card small { color: var(--muted); font-size: 13px; }
.grp-title { margin-top: 40px; font-size: 14px; font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.pills span { font-size: 13.5px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(30,25,45,.06); }
.pills.plain span { background: transparent; border: 0; padding: 6px 10px; display: inline-flex; gap: 7px; align-items: center; }
.pills.plain span i { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); color: #fff; font: 600 8px var(--mono); display: grid; place-items: center; font-style: normal; }
.grp-note { max-width: 520px; margin: 14px auto 0; font-size: 13px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.portrait { border-radius: 20px; overflow: hidden; background: var(--lav); box-shadow: 0 30px 60px -40px rgba(40,30,90,.6); }
.portrait img { aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 30%; width: 100%; }
.portrait-cap { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.portrait-cap b { color: var(--ink); font-weight: 600; }
.xp { margin-top: 36px; }
.xp-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.xp-row:last-child { border-bottom: 1px solid var(--line); }
.xp-when { font: 12.5px var(--mono); color: var(--muted); padding-top: 3px; }
.xp-role { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.xp-role span { color: var(--muted); font-weight: 400; }
.xp-row p { font-size: 14.5px; color: var(--muted); margin-top: 5px; }

/* engage (pricing) */
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #f0edf7; margin-top: 28px; }
.seg button { font: 500 14px var(--sans); color: var(--muted); background: none; border: 0; height: 36px; padding: 0 16px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(30,20,60,.3); }
.deal { display: grid; grid-template-columns: 1fr 1.05fr; max-width: 820px; margin: 36px auto 0; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(40,30,90,.45); text-align: left; }
.deal-left { padding: 28px; background: radial-gradient(90% 60% at 0% 100%, rgba(201,228,236,.55), transparent 70%), linear-gradient(160deg, #f5f2ff, #e3dcfb); position: relative; }
.deal-left .top { display: flex; justify-content: space-between; align-items: center; }
.deal-left h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.badge { font: 600 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.deal-left .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.price b { font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.deal-left .btn { margin-top: 22px; }
.deal-links { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.deal-links a:hover { color: var(--ink); }
.deal-right { padding: 28px 32px; }
.deal-right h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.deal-right ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.deal-right li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); }
.deal-right li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--haze); margin-top: 7px; }
.deal-right li small { display: block; color: var(--muted); font-size: 13px; }
[data-mode] [data-show] { display: none; }
#engage[data-mode="hire"] [data-show="hire"], #engage[data-mode="consult"] [data-show="consult"] { display: block; }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.quote { max-width: 560px; margin: 64px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.quote q { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--ink-2); quotes: "“" "”"; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--muted); }
.res-title { margin-top: 64px; font-size: 16px; font-weight: 600; }
.res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 18px auto 0; text-align: left; }
.res a { display: block; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff 60%, #f3f0ff); transition: transform .18s, box-shadow .18s; }
.res a:nth-child(even) { background: linear-gradient(135deg, #fff 60%, #fcefea); }
.res a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(40,30,90,.45); }
.res b { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; }
.res small { color: var(--muted); font-size: 13px; }

/* faq */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.plus { width: 14px; height: 14px; position: relative; flex: none; color: var(--muted); }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: currentColor; transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { padding: 0 40px 20px 0; color: var(--muted); font-size: 15px; max-width: 760px; }
.faq .ans a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* closing */
.closing { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 120px 0 110px; color: #fff;
  background: radial-gradient(60% 70% at 50% 40%, #c7bff0 0%, #a69ed8 45%, #8f87c6 100%); }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(30% 40% at 20% 80%, rgba(255,214,230,.45), transparent 70%), radial-gradient(30% 40% at 80% 20%, rgba(201,228,236,.45), transparent 70%);
  filter: blur(20px); animation: drift 26s ease-in-out infinite alternate; }
.closing h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(42px, 6.6vw, 76px); letter-spacing: -0.02em; line-height: 1.02; }
.closing p { margin: 18px auto 0; max-width: 460px; color: rgba(255,255,255,.88); }
.closing .note { font-size: 13px; margin-top: 22px; color: rgba(255,255,255,.75); }

/* footer */
footer { background: #fff; }
.foot-related { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-related b { color: var(--ink); font-weight: 600; }
.foot-related a:hover { color: var(--ink); }
.foot-main { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 26px 0; font-size: 13.5px; color: var(--muted); }
.foot-main .brand { color: var(--ink); font-size: 15px; }
.foot-main .brand img { width: 24px; height: 24px; padding: 4px; border-radius: 7px; }
.foot-main a:hover { color: var(--ink); }
.foot-main .right { margin-left: auto; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; }
.foot-badges span { font: 500 11px var(--sans); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: #4a4560; display: inline-flex; gap: 6px; align-items: center; }
.foot-badges span i { width: 6px; height: 6px; border-radius: 50%; background: #4a4560; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1040px) {
  .diagram { grid-template-columns: 1fr; gap: 16px; }
  .diagram svg.wires { display: none; }
  .col-root, .col-mid { padding-right: 0; }
  .col-mid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sec { padding: 88px 0; }
  .head-row, .pw, .about { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .trio > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div:nth-child(3) { border-left: 0; }
  .metrics div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .defs, .col-mid { grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .notch-hint { display: none; }
}
@media (max-width: 640px) {
  .wrap, .wide { padding: 0 16px; }
  .brand span { display: none; }
  .nav-right { display: none; }
  .notch { width: calc(100% - 120px); }
  .notch-bar .tiles { display: none; }
  .hero { padding-top: 130px; min-height: 820px; }
  .hero-sub { font-size: 16.5px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .gallery, .benefits, .stack-cards, .res { grid-template-columns: 1fr; }
  .xp-row { grid-template-columns: 1fr; gap: 4px; }
  .term-wrap { padding: 0 0 40px; }
  .phone { width: 118px; right: -6px; }
  .tree .c { display: none; }
  .metrics b { font-size: 30px; }
  .price b { font-size: 52px; }
  .faq .ans p { padding-right: 0; }
  .foot-main .right { margin-left: 0; }
}
