/* DOIT website — "the ghost at the desk".
   One world: a dusk Windows desktop + daylight continuations, one owl-blue cursor. */

@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4;
}

:root {
  --night: #0D1828;  --owl: #1B2F47;  --ink: #0F1B2D;  --ink-2: #3E4C61;
  --day: #F4F6F9;    --white: #FFFFFF; --line: #D6DDE6; --mist: #C5D0DE;
  --accent: #2F7BFF;        /* the ghost cursor: owl-eye blue */
  --accent-strong: #1F66F0; /* buttons: white text at AA */
  --accent-hover: #3B84FF;
  --wash: #E6F0FF;          /* things DOIT touched, on daylight */
  --ember: #F07E18;         /* only the dot over the i */
  --app-bg: #111214; --app-line: #26282C; --app-text: #E7E8EA; --app-dim: #9A9DA3;
  /* the real phone app (mobile dark theme) */
  --m-canvas: #1A1A19; --m-raised: #262624; --m-line: #302F2C; --m-text: #EEEDE8; --m-dim: #B4B2AA; --m-ok: #3DD68C;
  --display: "Bricolage", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --os: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --gutter: clamp(20px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--day); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #9AA6B6 var(--day); interpolate-size: allow-keywords; }
body { font-family: var(--display); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--day); font-variation-settings: "opsz" 14; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--accent-strong); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; font-variation-settings: "opsz" 96; max-width: 17ch; }
p { max-width: 62ch; text-wrap: pretty; }
.sub { color: var(--ink-2); font-size: 19px; max-width: 54ch; }

/* ---------- Wordmark ---------- */
.word { font-weight: 600; font-size: 26px; letter-spacing: -.04em; line-height: 1; font-variation-settings: "opsz" 48; }
.word .i { position: relative; display: inline-block; }
.word .dot { position: absolute; left: 50%; top: .02em; width: .2em; height: .2em; margin-left: -.1em; border-radius: 50%; background: var(--ember); }
.word.small { font-size: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; position: relative; overflow: hidden;
  font-weight: 650; font-size: 17px; color: var(--white); background: var(--accent-strong);
  padding: 17px 26px 17px 22px; border-radius: 12px;
  box-shadow: 0 12px 30px -12px rgba(31,102,240,.7), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .3s var(--out), box-shadow .3s var(--out), background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--out); }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(31,102,240,.8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover svg { animation: nudge .9s var(--out) infinite; }
.btn:active { transform: translateY(0) scale(.98); }
@keyframes nudge { 0%, 100% { transform: none; } 45% { transform: translateY(3px); } }
.fine { font-size: 14px; color: var(--mist); }
.fine a { color: inherit; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); color: var(--white); border-bottom: 1px solid transparent;
  transition: background .35s, padding .35s var(--out), border-color .35s;
}
.top.solid { background: rgba(13,24,40,.82); backdrop-filter: blur(16px) saturate(1.3); padding-block: 11px; border-color: rgba(197,208,222,.12); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark img { border-radius: 9px; background: var(--white); padding: 4px; transition: transform .45s var(--spring); }
.mark:hover img { transform: rotate(-8deg) scale(1.06); }
.top nav { display: flex; align-items: center; gap: 2px; }
.top nav a { position: relative; text-decoration: none; font-size: 15px; color: var(--mist); padding: 8px 14px; border-radius: 8px; transition: color .2s; }
.top nav a:not(.top-cta)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--out); }
.top nav a:hover { color: var(--white); }
.top nav a:hover::after { transform: scaleX(1); }
.top nav a.top-cta { color: var(--white); background: var(--accent-strong); font-weight: 600; margin-left: 10px; transition: background .2s, transform .25s var(--out); }
.top nav a.top-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ---------- 1. Desktop ---------- */
.desk {
  position: relative; min-height: min(100svh, 1000px); color: var(--white); background: var(--night); overflow: hidden;
  display: grid; grid-template-columns: minmax(340px, 4fr) 7fr; align-items: center; gap: clamp(24px, 3vw, 48px);
  padding: 116px var(--gutter) 96px;
}
.wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; }
.r2, .r3 { stroke-dasharray: 2400; animation: drift 14s ease-in-out infinite alternate; }
.r3 { animation-duration: 19s; }
@keyframes drift { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -600; } }
.desk-copy { position: relative; z-index: 2; max-width: 520px; }
.desk h1 { font-size: clamp(44px, 5.4vw, 88px); line-height: .98; letter-spacing: -.028em; font-weight: 700; font-variation-settings: "opsz" 96; margin-bottom: 28px; }
.desk h1 .hl { display: block; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--mist); line-height: 1.55; margin-bottom: 36px; max-width: 40ch; }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* intro choreography (only when JS runs; content is visible without it) */
.js .desk h1 .hl, .js .lede, .js .cta-row, .js .desk-stage { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--out), transform 1s var(--out), filter .9s var(--out); }
.js .desk h1 .hl:nth-child(2) { transition-delay: .12s; }
.js .lede { transition-delay: .26s; }
.js .cta-row { transition-delay: .38s; }
.js .desk-stage { transition-delay: .5s; transform: translateY(30px) scale(.985); }
.js.loaded .desk h1 .hl, .js.loaded .lede, .js.loaded .cta-row, .js.loaded .desk-stage { opacity: 1; transform: none; filter: none; }

.desk-stage { position: relative; z-index: 2; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.chips-label { font-size: 13px; color: var(--mist); margin-right: 4px; }
.chip {
  position: relative; overflow: hidden; cursor: pointer; border: 1px solid rgba(197,208,222,.24); background: rgba(255,255,255,.04);
  color: var(--mist); font-size: 14px; font-weight: 550; padding: 7px 14px; border-radius: 999px;
  transition: color .2s, background .2s, border-color .2s, transform .25s var(--out);
}
.chip:hover { color: var(--white); border-color: rgba(197,208,222,.45); transform: translateY(-1px); }
.chip[aria-selected="true"] { color: var(--white); background: rgba(47,123,255,.18); border-color: rgba(91,151,255,.6); }
.chip i { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); }

.stage-wrap { position: relative; width: 100%; aspect-ratio: 760 / 540; }
.stage { position: absolute; left: 0; top: 0; width: 760px; height: 540px; transform-origin: 0 0; font-family: var(--os); }
.stage-note { margin-top: 14px; font-size: 13px; color: var(--mist); }

/* windows */
.win { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 26px 60px -18px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06); }
.titlebar { height: 34px; display: flex; align-items: center; gap: 9px; padding-left: 12px; font-size: 12px; color: var(--app-dim); background: #0B0C0E; white-space: nowrap; }
.titlebar.light { background: #F3F3F3; color: #1F1F1F; border-bottom: 1px solid #E3E3E3; }
.tb-icon { width: 18px; height: 18px; border-radius: 4px; background: var(--white); padding: 2px; }
.tb-ctrls { margin-left: auto; display: flex; height: 100%; }
.tb-ctrls i { width: 40px; height: 100%; display: grid; place-items: center; position: relative; transition: background .15s, color .15s; }
.tb-ctrls i::before { content: ""; width: 10px; height: 1px; background: currentColor; opacity: .75; }
.tb-ctrls i:nth-child(2)::before { height: 9px; background: none; border: 1px solid currentColor; }
.tb-ctrls i:nth-child(3)::before { width: 11px; transform: rotate(45deg); }
.tb-ctrls i:nth-child(3)::after { content: ""; position: absolute; width: 11px; height: 1px; background: currentColor; opacity: .75; transform: rotate(-45deg); }
.light-win:hover .tb-ctrls i:nth-child(3), .step-art:hover .tb-ctrls i:nth-child(3) { background: #C42B1C; color: #fff; }

.app { left: 0; top: 18px; width: 430px; height: 470px; background: var(--app-bg); color: var(--app-text); z-index: 1; }
.app-body { display: flex; height: calc(100% - 34px); }
.rail { width: 50px; border-right: 1px solid var(--app-line); display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12px; background: #0E0F11; }
.ri { width: 30px; height: 30px; padding: 5px; fill: none; stroke: #8B8E95; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; border-radius: 8px; }
.ri.on { stroke: var(--app-text); background: #222428; }
.ri circle[r="1.3"] { fill: #8B8E95; stroke: none; }
.chat { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 20px 20px 16px; gap: 12px; font-size: 13.5px; line-height: 1.5; }
.msg { border-radius: 12px; padding: 10px 13px; max-width: 86%; transition: opacity .45s var(--out), transform .5s var(--out); }
.msg:empty { display: none; }
.msg.me { align-self: flex-end; background: #24262B; }
.msg.it { align-self: flex-start; border: 1px solid var(--app-line); }
.msg.it strong { color: #7FAEFF; font-weight: 600; }
.msg.pre { opacity: 0; transform: translateY(10px); }
.file-chip { margin-top: 9px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; background: #1C1E22; border: 1px solid var(--app-line); border-radius: 8px; padding: 6px 10px 6px 6px; }
.file-chip .x { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 700; font-style: normal; }
.trail { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-left: 4px; font-size: 12.5px; color: var(--app-dim); }
.trail li { display: flex; align-items: center; gap: 9px; transition: opacity .35s var(--out), transform .35s var(--out), color .3s; }
.trail li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed #6E7178; flex: none; }
.trail li.pre { opacity: 0; transform: translateY(4px); }
.trail li.run::before { border-color: var(--accent); animation: spin 1.2s linear infinite; }
.trail li.done { color: var(--app-text); }
.trail li.done::before { border: 0; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; animation: pop .4s var(--spring); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); } }
.composer { margin-top: auto; border: 1px solid var(--app-line); border-radius: 14px; padding: 12px 12px 12px 14px; color: #6E7178; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: border-color .3s, color .3s; }
.composer.typing { color: var(--app-text); border-color: #3A3D44; }
.composer > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.send { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #2A2C31; color: var(--app-text); display: grid; place-items: center; transition: background .2s, transform .25s var(--spring); }
.send svg { width: 14px; height: 14px; }
.composer.typing .send { background: var(--accent); transform: scale(1.06); }

/* task windows: hidden until their task plays */
.work { opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .45s var(--out), transform .55s var(--out); z-index: 2; pointer-events: none; }
.work.open { opacity: 1; transform: none; }
.light { background: var(--white); color: #1F1F1F; }
.late { opacity: 0; transition: opacity .4s var(--out), background .35s, transform .4s var(--out); }
.late.show { opacity: 1; }

.explorer { left: 450px; top: 0; width: 310px; height: 214px; }
.folder-ico { width: 16px; height: 13px; border-radius: 2px; background: #E7B54A; }
.xls-ico, .doc-ico, .txt-ico, .cal-ico { width: 14px; height: 16px; border-radius: 2px; background: #1D7344; }
.doc-ico { background: #2B5FB8; } .txt-ico { background: #8A94A3; } .cal-ico { background: #2F7BFF; }
.files { list-style: none; padding: 8px; font-size: 12.5px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 5px; transition: background .25s, opacity .4s var(--out); }
.files li em { margin-left: auto; font-style: normal; color: #6B6B6B; font-size: 11.5px; }
.files li.sel { background: #CCE4F7; }
.files li.late.show { background: var(--wash); }
.pdf, .xls { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: #D93A2B; color: #fff; font-size: 8px; font-weight: 700; font-style: normal; }
.xls { background: #1D7344; }

.sheet { left: 374px; top: 240px; width: 360px; height: 190px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #ECECEC; }
.sheet th { font-weight: 600; color: #555; background: #FAFAFA; font-size: 11.5px; }
.sheet td:nth-child(2), .sheet th:nth-child(2) { text-align: right; }
.sheet tr.best { background: var(--wash); }
.sheet tr.best td:first-child { font-weight: 650; }

.browser-win { left: 400px; top: 30px; width: 360px; height: 330px; }
.titlebar.browser { padding-left: 10px; }
.url { flex: 1; min-width: 0; display: flex; align-items: center; background: #fff; border: 1px solid #DCDCDC; border-radius: 99px; padding: 4px 12px; font-size: 12px; color: #333; height: 24px; }
.url b { font-weight: 400; white-space: nowrap; overflow: hidden; }
.caret { width: 1.5px; height: 1.1em; background: currentColor; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.results { list-style: none; padding: 10px; display: grid; gap: 6px; }
.results li { padding: 9px 11px; border-radius: 8px; border: 1px solid #EEEEEE; display: grid; gap: 1px; font-size: 13px; }
.results li span { font-size: 11.5px; color: #5E6672; }
.results li.read { border-color: #B9D2FF; background: var(--wash); }
.results li.dim.show { opacity: .55; }

.notes { left: 470px; top: 0; width: 290px; height: 196px; }
.notes pre { font-family: Consolas, "Cascadia Mono", monospace; font-size: 11.5px; line-height: 1.65; padding: 12px 14px; color: #333; white-space: pre-wrap; }
.docw { left: 380px; top: 214px; width: 370px; height: 270px; }
.doc-body { padding: 18px 20px; display: grid; gap: 7px; font-size: 13px; line-height: 1.5; }
.doc-body p { min-height: 1.5em; color: #333; }

.cal { left: 390px; top: 50px; width: 370px; height: 300px; }
.cal-grid { display: grid; grid-template-columns: 46px repeat(3, 1fr); gap: 4px; padding: 10px; font-size: 11.5px; }
.cal-grid b { text-align: center; font-weight: 600; color: #444; padding: 4px 0; }
.cal-grid em { font-style: normal; color: #777; font-size: 10.5px; padding-top: 6px; }
.cal-grid i { font-style: normal; min-height: 46px; border-radius: 6px; background: #F5F6F8; padding: 5px 6px; color: #4A5260; }
.cal-grid i.busy { background: #E8ECF2; }
.cal-grid i.slot span { opacity: 0; }
.cal-grid i.slot.hover { background: var(--wash); outline: 1.5px dashed #8FB4FF; }
.cal-grid i.slot.booked { background: var(--accent); color: #fff; outline: 0; animation: pop .45s var(--spring); }
.cal-grid i.slot.booked span { opacity: 1; font-weight: 600; }

/* ghost cursor */
.ghost { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; will-change: transform; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.ghost svg { width: 26px; height: 26px; }
.ghost span { position: absolute; left: 22px; top: 20px; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--white); background: var(--accent); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.ghost.click svg { animation: tap .32s var(--out); }
.ghost.click::after { content: ""; position: absolute; left: -6px; top: -6px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); animation: ripple .5s var(--out) forwards; }
@keyframes tap { 40% { transform: scale(.8); } }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* compact desk (narrow screens): DOIT window with the task window under it */
.stage.compact { width: 460px; height: 680px; }
.stage.compact .app { left: 0; top: 0; width: 460px; height: 420px; }
.stage.compact .explorer, .stage.compact .notes { display: none; }
.stage.compact .sheet, .stage.compact .browser-win, .stage.compact .docw, .stage.compact .cal { left: 20px; top: 400px; width: 420px; }
.stage.compact .browser-win { height: 270px; }

/* taskbar */
.taskbar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: rgba(14,22,36,.82); backdrop-filter: blur(18px) saturate(1.2); border-top: 1px solid rgba(255,255,255,.06); }
.tb-apps { display: flex; gap: 6px; }
.tb-apps i { width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; position: relative; transition: background .2s; }
.tb-apps i:hover { background: rgba(255,255,255,.08); }
.tb-apps i::before { content: ""; width: 20px; height: 20px; border-radius: 3px; }
.tb-apps .start::before { background: #4C9BE0; clip-path: polygon(0 0, 46% 0, 46% 46%, 0 46%, 0 54%, 46% 54%, 46% 100%, 0 100%, 0 0, 54% 0, 100% 0, 100% 46%, 54% 46%, 54% 54%, 100% 54%, 100% 100%, 54% 100%, 54% 0); }
.tb-apps .t-explorer::before { background: #E7B54A; height: 16px; }
.tb-apps .t-browser::before { border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, #3A8DDE 23% 100%); }
.tb-apps .t-doit { background: rgba(255,255,255,.08); }
.tb-apps .t-doit::before { display: none; }
.tb-apps .t-doit img { width: 22px; height: 22px; border-radius: 5px; background: var(--white); padding: 2px; }
.tb-apps .t-doit::after { content: ""; position: absolute; bottom: 2px; width: 14px; height: 3px; border-radius: 2px; background: var(--accent); }
.tb-tray { position: absolute; right: 16px; display: flex; align-items: center; gap: 14px; font-family: var(--os); font-size: 12px; color: var(--mist); }
.clock { font-variant-numeric: tabular-nums; }
.demo-toggle { color: var(--mist); background: none; border: 1px solid rgba(197,208,222,.28); border-radius: 6px; padding: 5px 10px; cursor: pointer; font-size: 12px; transition: color .2s, border-color .2s; }
.demo-toggle:hover { color: var(--white); border-color: rgba(197,208,222,.5); }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(5px); transition: opacity .8s var(--out), transform .9s var(--out), filter .8s var(--out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- 2. How it works ---------- */
.how { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(60% 55% at 8% 0%, rgba(47,123,255,.15), transparent 70%),
    radial-gradient(45% 50% at 100% 70%, rgba(240,126,24,.09), transparent 70%),
    linear-gradient(180deg, #F2F6FC, var(--day) 60%); }
.how h2 { margin-bottom: clamp(48px, 6vw, 80px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); position: relative; }
.step h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin: 18px 0 8px; }
.step p { color: var(--ink-2); font-size: 16.5px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); font-size: 14px; font-weight: 700; transition: background .4s, border-color .4s, color .4s; position: relative; z-index: 1; }
.step.lit .step-n { background: var(--accent); border-color: var(--accent); color: var(--white); }
.step-art { height: 190px; display: grid; place-items: center; border-radius: 16px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--out), box-shadow .4s var(--out); }
.step:hover .step-art { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15,27,45,.4); }
.light-win { position: relative; background: var(--white); color: #1F1F1F; font-family: var(--os); box-shadow: 0 20px 40px -24px rgba(15,27,45,.45), 0 0 0 1px rgba(15,27,45,.08); }
.mini-installer { width: 78%; }
.mini-installer .titlebar { height: 28px; font-size: 11.5px; }
.inst-body { padding: 16px 16px 20px; display: grid; gap: 10px; font-size: 12.5px; }
.bar { height: 6px; border-radius: 3px; background: #E8ECF2; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; }
.step.in .bar i { animation: fill 2.6s var(--out) .4s forwards; }
@keyframes fill { to { width: 100%; } }
.composer-demo { width: 84%; min-height: 64px; border-radius: 16px; background: var(--app-bg); color: var(--app-text); font-family: var(--os); font-size: 13.5px; padding: 14px 16px; line-height: 1.45; box-shadow: 0 20px 40px -24px rgba(15,27,45,.5); }
.composer-demo .caret { display: inline-block; vertical-align: -2px; }
.done-card { width: 84%; display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; background: var(--white); border: 1px solid var(--line); padding: 14px; font-family: var(--os); font-size: 13px; line-height: 1.45; box-shadow: 0 20px 40px -24px rgba(15,27,45,.35); }
.done-card b { color: var(--accent-strong); }
.done-check { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke-dasharray: 107; stroke-dashoffset: 107; }
.done-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.step.in .done-check circle { transition: stroke-dashoffset .8s var(--out) .5s; stroke-dashoffset: 0; }
.step.in .done-check path { transition: stroke-dashoffset .5s var(--out) 1.1s; stroke-dashoffset: 0; }
html:not(.js) .done-check circle, html:not(.js) .done-check path { stroke-dashoffset: 0; }
html:not(.js) .bar i { width: 100%; }

/* ---------- 3. Before / after ---------- */
.ba { padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 12vw, 150px);
  background:
    radial-gradient(55% 60% at 100% 20%, rgba(47,123,255,.14), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(120,92,255,.09), transparent 70%),
    var(--day); }
.ba h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.ba-rows { display: grid; gap: 18px; }
.ba-row { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; align-items: stretch; }
.ba-old { padding: 26px 28px; border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid var(--line); }
.ba-old h3 { font-size: 19px; font-weight: 650; margin-bottom: 14px; letter-spacing: -.01em; }
.ba-old ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ba-old li { position: relative; font-size: 14.5px; color: var(--ink-2); background: var(--day); border-radius: 8px; padding: 6px 11px; transition: color .4s; }
.ba-old li::after { content: ""; position: absolute; left: 9px; right: 9px; top: 52%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--out); }
.ba-row.in .ba-old li { color: #6E7A8A; }
.ba-row.in .ba-old li::after { transform: scaleX(1); }
.ba-row.in .ba-old li:nth-child(1), .ba-row.in .ba-old li:nth-child(1)::after { transition-delay: .2s; }
.ba-row.in .ba-old li:nth-child(2), .ba-row.in .ba-old li:nth-child(2)::after { transition-delay: .35s; }
.ba-row.in .ba-old li:nth-child(3), .ba-row.in .ba-old li:nth-child(3)::after { transition-delay: .5s; }
.ba-row.in .ba-old li:nth-child(4), .ba-row.in .ba-old li:nth-child(4)::after { transition-delay: .65s; }
.ba-row.in .ba-old li:nth-child(5), .ba-row.in .ba-old li:nth-child(5)::after { transition-delay: .8s; }
.ba-new { position: relative; border-radius: 18px; background: var(--night); color: var(--white); padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; }
.ba-new::before { content: ""; position: absolute; right: -30%; bottom: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.35), transparent 65%); }
.ba-label { font-size: 13px; color: #8FB4FF; font-weight: 600; position: relative; }
.ba-ask { font-size: 21px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; position: relative; }
.ba-out { color: var(--mist); font-size: 15.5px; position: relative; display: flex; align-items: center; gap: 8px; }
.ba-out::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.js .ba-row .ba-new { opacity: 0; transform: translateX(-18px) scale(.97); transition: opacity .6s var(--out) 1.05s, transform .7s var(--out) 1.05s; }
.js .ba-row.in .ba-new { opacity: 1; transform: none; }
.js .ba-row .ba-old { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--out), transform .7s var(--out); }
.js .ba-row.in .ba-old { opacity: 1; transform: none; }

/* ---------- 4. Phone ---------- */
.phone { border-block: 1px solid var(--line);
  background:
    radial-gradient(50% 70% at 85% 45%, rgba(47,123,255,.20), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(61,214,140,.10), transparent 70%),
    linear-gradient(180deg, #FFFFFF, #F5F8FD); padding: clamp(88px, 11vw, 150px) 0; overflow: hidden; }
.phone-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.phone-copy h2 { margin-bottom: 24px; }
.phone-copy p { color: var(--ink-2); font-size: 18px; }
.phone-points { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.phone-points li { padding-left: 30px; position: relative; color: var(--ink-2); font-size: 16px; }
.phone-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='%231F66F0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.phone-points b { color: var(--ink); }
.phone-note { grid-column: 2; margin-top: -40px; }

.duo { position: relative; height: 640px; }
.pc-mini { left: 0; top: 90px; width: 50%; z-index: 0; height: auto; padding-bottom: 6px; transform: rotate(-2deg); box-shadow: 0 40px 70px -30px rgba(15,27,45,.5), 0 0 0 1px rgba(15,27,45,.06); }
.pc-trail { padding: 16px 16px 14px; gap: 9px; font-family: var(--os); }
.pc-trail li.pre { opacity: .35; transform: none; }

.handset {
  position: absolute; z-index: 1; right: 2%; top: 0; width: 300px; height: 620px; border-radius: 48px; padding: 11px;
  background: #0B0B0C; box-shadow: 0 50px 80px -34px rgba(15,27,45,.6), inset 0 0 0 2px #2A2A2C, 0 0 0 1px #3A3A3D;
  display: flex; flex-direction: column; font-family: var(--os);
}
.handset::before { content: ""; position: absolute; top: 22px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #050505; box-shadow: inset 0 0 0 2px #1A1A1C; z-index: 2; }
.handset > * { background: var(--m-canvas); }
.hs-status { border-radius: 38px 38px 0 0; height: 42px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; color: var(--m-text); font-size: 12px; font-weight: 600; }
.hs-icons { display: flex; gap: 5px; align-items: center; }
.hs-icons i { display: block; background: var(--m-text); }
.hs-icons .sig { width: 14px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hs-icons .wifi { width: 12px; height: 9px; clip-path: polygon(50% 100%, 0 0, 100% 0); border-radius: 2px; }
.hs-icons .bat { width: 20px; height: 9px; border-radius: 2.5px; background: linear-gradient(90deg, var(--m-text) 70%, #55544F 70%); }
.hs-appbar { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 14px 12px; color: var(--m-text); border-bottom: 1px solid var(--m-line); }
.hs-appbar svg { width: 20px; height: 20px; flex: none; color: var(--m-dim); }
.hs-title { display: grid; line-height: 1.25; }
.hs-title b { font-size: 15px; }
.hs-title span { font-size: 11px; color: var(--m-dim); display: flex; align-items: center; gap: 5px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--m-ok); box-shadow: 0 0 0 3px rgba(61,214,140,.18); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 5px rgba(61,214,140,.06); } }
.hs-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 14px 12px; overflow: hidden; font-size: 13.5px; line-height: 1.45; color: var(--m-text); }
.hs-day { align-self: center; font-size: 11px; color: var(--m-dim); margin-bottom: auto; }
.hs-thread > :not(.hs-day) { flex: none; }
.hs-me { align-self: flex-end; max-width: 82%; background: var(--m-raised); padding: 9px 13px; border-radius: 18px 18px 6px 18px; }
.hs-it { max-width: 96%; }
.hs-it b, .hs-tool b { font-weight: 600; color: var(--m-text); }
.hs-tool { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--m-dim); }
.hs-tool i { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.t-files { background: #222F3C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 4.5h4l1.2 1.4h5.8v6.6h-11z' fill='none' stroke='%238CC4FF' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.t-doc { background: #2A2440 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5h5l3 3v8H4zM6 8h4M6 10.5h3' fill='none' stroke='%23B9A6F8' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hs-typing { display: flex; gap: 4px; padding: 6px 0; }
.hs-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--m-dim); animation: dots 1.1s ease-in-out infinite; }
.hs-typing i:nth-child(2) { animation-delay: .15s; } .hs-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.hs-composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; }
.hs-composer .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--m-raised); color: var(--m-dim); font-size: 18px; flex: none; }
.hs-composer .field { flex: 1; min-width: 0; height: 36px; border-radius: 18px; border: 1px solid var(--m-line); display: flex; align-items: center; padding: 0 12px; color: #75736C; font-size: 13px; overflow: hidden; white-space: nowrap; }
.hs-composer .field.typing { color: var(--m-text); }
.hs-send { width: 32px; height: 32px; border-radius: 50%; background: var(--m-text); color: var(--m-canvas); display: grid; place-items: center; flex: none; transition: transform .25s var(--spring); }
.hs-send.go { transform: scale(.82); }
.hs-send svg { width: 15px; height: 15px; }
.hs-home { flex: none; height: 22px; border-radius: 0 0 38px 38px; display: grid; place-items: center; }
.hs-home::before { content: ""; width: 104px; height: 4px; border-radius: 2px; background: #6A6964; }
[data-pm].pre { display: none; }
[data-pm].enter { animation: enter .5s var(--out); }
@keyframes enter { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* ---------- 5. Local ---------- */
.local { padding: clamp(88px, 11vw, 150px) 0;
  background:
    radial-gradient(50% 60% at 0% 30%, rgba(47,123,255,.13), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(240,126,24,.08), transparent 70%),
    var(--day); }
.local-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.local-points { display: grid; border-top: 1.5px solid var(--ink); }
.local-points p { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink-2); max-width: none; }
.local-points b { color: var(--ink); font-weight: 650; display: block; font-size: 21px; letter-spacing: -.01em; margin-bottom: 2px; }

/* ---------- 6. Pricing ---------- */
.pricing { padding: clamp(24px, 3vw, 40px) 0 clamp(96px, 12vw, 160px);
  background:
    radial-gradient(45% 55% at 22% 75%, rgba(47,123,255,.18), transparent 70%),
    radial-gradient(40% 45% at 90% 30%, rgba(120,92,255,.09), transparent 70%),
    linear-gradient(180deg, var(--day), #EEF3FB); }
.pricing h2 { margin-bottom: 18px; }
.pricing .sub { margin-bottom: clamp(40px, 5vw, 64px); }
.plans { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; align-items: start; }
.plan { border-radius: 20px; padding: 28px; transition: transform .4s var(--out), box-shadow .4s var(--out), border-color .3s; }
.plan h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--wash); color: var(--accent-strong); white-space: nowrap; }
.tag.soon { background: var(--day); color: var(--ink-2); border: 1px solid var(--line); }
.plan.now { background: var(--white); border: 2px solid var(--accent); box-shadow: 0 30px 60px -36px rgba(31,102,240,.55); }
.plan.now:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -36px rgba(31,102,240,.6); }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.price b { font-size: 56px; font-weight: 750; letter-spacing: -.04em; line-height: 1; font-variation-settings: "opsz" 96; }
.price span { color: var(--ink-2); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan.later { border: 1.5px dashed #B8C3D1; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.plan.later:hover { transform: translateY(-2px); border-color: #8FA0B6; }
.who { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; }
.tbd { font-size: 15px; font-weight: 600; }

/* ---------- 7. Close ---------- */
.close { background: var(--night); color: var(--white); padding: clamp(88px, 11vw, 140px) 0 clamp(72px, 8vw, 110px); position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.22), transparent 60%); pointer-events: none; }
.close-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; }
.close h2 { font-size: clamp(40px, 5.2vw, 76px); max-width: 13ch; margin-bottom: 22px; }
.close p { font-size: 19px; margin-bottom: 34px; max-width: 40ch; color: var(--mist); }
.close .fine { margin-top: 16px; margin-bottom: 0; font-size: 15px; }
.faq h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.faq details { border-top: 1px solid rgba(197,208,222,.22); }
.faq details:last-child { border-bottom: 1px solid rgba(197,208,222,.22); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 36px 17px 0; font-size: 18px; font-weight: 600; position: relative; transition: color .2s; }
.faq summary:hover { color: #A9C6FF; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--out), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .ans p { font-size: 16.5px; margin: 0 0 18px; max-width: 46ch; color: var(--mist); }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--mist); padding: 28px 0 36px; font-size: 14px; border-top: 1px solid rgba(197,208,222,.12); }
.foot-row { display: flex; align-items: center; gap: 28px; }
.foot .word { color: var(--white); margin-right: auto; }
.foot a { text-underline-offset: 3px; transition: color .2s; }
.foot a:hover { color: var(--white); }
.demo-note { font-size: 14px; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .desk { grid-template-columns: 1fr; padding-top: 104px; padding-bottom: 80px; align-content: start; gap: 40px; }
  .desk-copy { max-width: 620px; }
  .top nav a:not(.top-cta) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 1fr; }
  .phone-grid, .local-grid, .close-grid { grid-template-columns: 1fr; }
  .phone-note { grid-column: 1; margin-top: 0; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .duo { height: 540px; }
  .pc-mini { display: none; }
  .handset { right: auto; left: 50%; margin-left: -140px; top: 0; width: 280px; height: 540px; }
  .tb-apps i:nth-child(n+2):not(.t-doit) { display: none; }
  .foot-row { flex-wrap: wrap; gap: 14px 22px; }
  .chips-label { width: 100%; }
}

/* Reduced motion: demos still play (states change), nothing travels or blurs */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .desk h1 .hl, .js .lede, .js .cta-row, .js .desk-stage, .js .ba-row .ba-old, .js .ba-row .ba-new { transform: none !important; filter: none !important; transition-property: opacity !important; transition-duration: .3s !important; }
  .r2, .r3, .btn:hover svg, .caret, .trail li.run::before, .live { animation: none; }
  .work, .msg.pre { transform: none; }
  [data-pm].enter, .cal-grid i.slot.booked, .trail li.done::before { animation: none; }
}
