/* SyncIt.ai */
:root {
  --cream: #F5F0E9;
  --cream-2: #EDE6DC;
  --cream-3: #E4DCD0;
  --paper: #FAF6F0;
  --ink: #1A1411;
  --ink-2: #4A403A;
  --muted: #857A72;
  --line: rgba(26, 20, 17, .12);
  --accent: #E75B36;
  --accent-soft: rgba(231, 91, 54, .12);
  --night: #0E0C0B;
  --night-2: #181413;
  --night-ink: #F5F0E9;
  --night-muted: rgba(245, 240, 233, .6);
  --night-line: rgba(245, 240, 233, .1);
  --ok: #3E9B6B;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --hdr: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(26, 20, 17, .11) 1px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.label { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.accent { color: var(--accent); }
.kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 26px; height: 1px; background: currentColor; }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; }
em { font-style: italic; color: var(--accent); }
.h-hero { font-size: clamp(44px, 6.6vw, 100px); letter-spacing: -.03em; line-height: 1; }
.h-xl { font-size: clamp(38px, 5.4vw, 82px); letter-spacing: -.025em; }
.h-l { font-size: clamp(32px, 4.2vw, 62px); letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 46ch; line-height: 1.55; margin: 0; }
p { margin: 0; }

/* word mask reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.w > span { display: inline-block; will-change: transform; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid var(--ink);
  text-decoration: none; font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  position: relative; overflow: hidden; isolation: isolate; background: transparent; min-height: 52px;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--cream); }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { border-color: var(--ink); }
.btn--night { border-color: rgba(245, 240, 233, .28); color: var(--night-ink); }
.btn--night::before { background: var(--night-ink); }
.btn--night:hover { color: var(--night); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; min-height: 0; }
.link { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--night-ink); transition: color .4s, background-color .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-light:not(.is-dark) { color: var(--ink); background-color: rgba(245, 240, 233, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.hdr.is-dark { background-color: rgba(14, 12, 11, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--night-line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 19px; color: var(--accent); flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav .link { opacity: .8; }
.nav .link:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 240vh; background: var(--night); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: flex-start; padding-top: calc(var(--hdr) + 11vh); color: var(--night-ink); pointer-events: none; }
.hero__content::before { content: ""; position: absolute; left: 50%; top: 42%; width: min(1100px, 130vw); height: 70%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(14, 12, 11, .82), rgba(14, 12, 11, .35) 60%, transparent); z-index: -1; }
.hero__content a { pointer-events: auto; }
.hero h1 { max-width: 15ch; }
.hero__name { margin-bottom: 26px; font-size: 12.5px; letter-spacing: .24em; }
.hero__content .lede { color: var(--night-muted); margin: 26px auto 0; max-width: 38ch; text-align: center; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.hero__readout { position: absolute; z-index: 2; left: var(--pad); bottom: 26px; color: var(--night-muted); display: flex; gap: 22px; font-variant-numeric: tabular-nums; font-size: 10.5px; }
.hero__readout b { color: var(--accent); }
.hero__scroll { position: absolute; z-index: 2; right: var(--pad); bottom: 26px; color: var(--night-muted); display: flex; align-items: center; gap: 12px; font-size: 10.5px; }
.hero__scroll i { width: 1px; height: 34px; background: var(--night-line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.wipe { position: absolute; z-index: 3; inset: 0; background-color: var(--cream); background-image: radial-gradient(rgba(26, 20, 17, .11) 1px, transparent 1.2px); background-size: 24px 24px; clip-path: circle(0px at var(--wx, 50%) var(--wy, 88%)); pointer-events: none; }
.intro { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; color: var(--ink); visibility: hidden; text-align: center; }
.intro .h-xl { max-width: 15ch; margin: 0 auto; }
.intro .lede { margin: 26px auto 0; }
.intro__tag { margin-top: 48px; color: var(--muted); }

/* ---------- Generic section ---------- */
.sec { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.bridge { text-align: center; padding: clamp(80px, 12vw, 150px) var(--pad) clamp(40px, 6vw, 80px); }
.bridge h2 { max-width: 18ch; margin: 0 auto; }
.bridge__rule { width: 64px; height: 1px; background: var(--ink); margin: 30px auto 0; transform-origin: center; }
.corner { position: absolute; width: 14px; height: 14px; color: var(--muted); }
.corner::before, .corner::after { content: ""; position: absolute; background: currentColor; }
.corner::before { left: 6.5px; top: 0; bottom: 0; width: 1px; }
.corner::after { top: 6.5px; left: 0; right: 0; height: 1px; }

/* ---------- Problem ---------- */
.problem { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.problem .h-xl { margin-top: 22px; }
.problem .lede { margin-top: 26px; }
.swaps { border-top: 1px solid var(--line); margin-top: 8px; }
.swap { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1.3fr) 26px; align-items: center; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.swap__old { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); position: relative; justify-self: start; line-height: 1.4; }
.swap__old::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 1.5px; background: var(--accent); transform: scaleX(var(--strike, 0)); transform-origin: left; }
.swap__arrow { height: 10px; position: relative; }
.swap__arrow::before { content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: calc(100% - 8px); background: var(--ink); transform: scaleX(var(--link, 0)); transform-origin: left; }
.swap__arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: var(--link, 0); }
.swap__new { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); letter-spacing: -.015em; line-height: 1.2; opacity: var(--new, 0); transform: translateX(calc((1 - var(--new, 0)) * 12px)); }
.swap__new span { background: linear-gradient(var(--accent), var(--accent)) 0 100% / calc(var(--new, 0) * 100%) 2px no-repeat; padding-bottom: 3px; }
.swap__n { font-size: 11px; font-weight: 600; color: var(--muted); text-align: right; }

/* ---------- Systems ---------- */
.systems__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: start; margin-bottom: clamp(24px, 5vw, 60px); }
.systems { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); }
.systems .sheet-col { order: 2; }
.sys { min-height: 74vh; padding: 0 0 0 26px; border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s; opacity: .3; }
.sys::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.sys.is-active { opacity: 1; }
.sys.is-active::before { transform: scaleY(1); }
.sys h3 { font-size: clamp(30px, 2.9vw, 42px); margin: 12px 0 14px; }
.sys p { color: var(--ink-2); max-width: 40ch; }
.sys ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sys li { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.sheet-sticky { position: sticky; top: calc(50vh - min(32vh, 290px)); }
.sheet { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 4 / 3.1; max-height: 64vh; width: 100%; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(26, 20, 17, .35); }
.sheet__bar, .sheet__foot { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; padding: 14px 22px; color: var(--muted); z-index: 3; font-size: 10.5px; }
.sheet__bar { top: 0; } .sheet__foot { bottom: 0; }
.sheet .corner { z-index: 3; }
.corner.tl { top: 7px; left: 7px; } .corner.tr { top: 7px; right: 7px; } .corner.bl { bottom: 7px; left: 7px; } .corner.br { bottom: 7px; right: 7px; }
.scene { position: absolute; inset: 46px 22px 44px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.scene.is-on { opacity: 1; visibility: visible; }

/* scene: funnels */
.fn { height: calc(100% - 30px); display: grid; grid-template-columns: .95fr 1fr 1fr 1fr; gap: 10px; position: relative; }
.fn__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.fn__wires path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 3 4; }
.pg { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; min-width: 0; }
.pg::after { content: ""; flex: 1; min-height: 0; margin-top: 4px; background: repeating-linear-gradient(to bottom, var(--cream-2) 0 6px, transparent 6px 14px); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.pg__top { display: flex; gap: 3px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.pg__top i { width: 5px; height: 5px; border-radius: 50%; background: var(--cream-3); }
.pg__top span { margin-left: auto; font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pg h4 { font-family: var(--sans); font-size: 12px; line-height: 1.2; letter-spacing: -.005em; min-height: 3.6em; font-weight: 700; }
.pg h4.typing::after { content: ""; display: inline-block; width: 5px; height: 11px; background: var(--accent); margin-left: 2px; vertical-align: -1px; animation: blink 1s steps(1) infinite; }
.pg .sk { height: 6px; border-radius: 3px; background: var(--cream-2); flex: none; }
.pg .sk.img { height: 40px; border-radius: 5px; }
.pg .sk.cta { height: 16px; width: 64%; border-radius: 99px; background: var(--accent); }
.fn__opts { display: grid; gap: 5px; }
.fn__opts span { font-size: 10px; font-weight: 500; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; }
.pg--ad { background: var(--night); border-color: var(--night); color: var(--night-ink); }
.pg--ad .pg__top { border-color: var(--night-line); }
.pg--ad .pg__top span { color: var(--night-muted); }
.pg--ad .sk.img { height: 80px; background: linear-gradient(135deg, #3B2B25, var(--accent)); }
.pg--ad::after { background: repeating-linear-gradient(to bottom, #2A2321 0 6px, transparent 6px 14px); }
.fn__chips { position: absolute; left: 0; right: 0; bottom: -32px; display: flex; gap: 6px; justify-content: center; }
.fn__chips span { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); transition: all .3s; background: var(--paper); }
.fn__chips span.on { border-color: var(--accent); background: var(--accent); color: #fff; }

/* scene: kanban */
.kb { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.kb__clock { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kb__clock b { font-family: var(--sans); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kb__clock .label { color: var(--muted); font-size: 10.5px; }
.kb__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; min-height: 0; }
.kb__col { background: var(--cream-2); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kb__col > span { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kb__ghost { height: 40px; border-radius: 6px; border: 1px dashed rgba(26,20,17,.14); flex: none; }
.lead { position: absolute; top: 28px; left: 8px; background: #fff; border: 1.5px solid var(--accent); border-radius: 6px; padding: 7px 8px; display: grid; gap: 2px; box-shadow: 0 10px 20px -12px rgba(231,91,54,.7); z-index: 2; }
.lead b { font-size: 12.5px; }
.lead span { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb__log { display: grid; gap: 4px; font-size: 12px; color: var(--muted); height: 94px; align-content: end; overflow: hidden; font-variant-numeric: tabular-nums; }
.kb__log p { display: flex; justify-content: space-between; gap: 10px; animation: bubIn .4s var(--ease-out); }
.kb__log p b { color: var(--ink); font-weight: 600; }
.kb__log p.ok b { color: var(--ok); }

/* scene: chat / nurture */
.chat { height: 100%; display: grid; grid-template-columns: 1fr 110px; gap: 16px; }
.chat__win { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.chat__top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.chat__top .av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.chat__top .av svg { width: 16px; height: 9px; color: #fff; }
.chat__top small { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-left: auto; text-transform: uppercase; }
.chat__body { flex: 1; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; font-size: 13.5px; line-height: 1.35; overflow: hidden; min-height: 0; }
.bub { max-width: 86%; padding: 8px 12px; border-radius: 14px; animation: bubIn .45s var(--ease-out); flex: none; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.bub--me { align-self: flex-end; background: var(--ink); color: var(--cream); border-bottom-right-radius: 4px; }
.bub--ai { align-self: flex-start; background: var(--cream-2); border-bottom-left-radius: 4px; }
.bub--day { align-self: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 2px 0; }
.bub--typing { display: flex; gap: 4px; padding: 12px 13px; }
.bub--typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.bub--typing i:nth-child(2) { animation-delay: .15s; } .bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-3px); opacity: .4; } }
.bub--card { align-self: flex-start; background: #fff; border: 1.5px solid var(--accent); border-radius: 10px; padding: 8px 12px; display: grid; gap: 1px; }
.bub--card b { font-size: 13px; }
.bub--card span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.chat__flow { display: flex; flex-direction: column; justify-content: space-around; align-items: center; position: relative; padding: 10px 0; }
.chat__flow::before { content: ""; position: absolute; top: 16%; bottom: 16%; left: 50%; border-left: 1px dashed rgba(26,20,17,.3); }
.pnode { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 4px; }
.pnode i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); transition: background .3s, border-color .3s, box-shadow .3s; }
.pnode.is-on i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.pnode.is-on { color: var(--ink); }

/* scene: CRM */
.crm { position: relative; height: calc(100% - 34px); display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: center; }
.crm__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.crm__wires path { fill: none; stroke: rgba(26,20,17,.22); stroke-width: 1.2; stroke-dasharray: 3 4; transition: stroke .3s; }
.crm__wires path.on { stroke: var(--accent); stroke-dasharray: none; }
.crm__side { display: grid; gap: 12px; position: relative; z-index: 1; }
.app { font-size: 12px; font-weight: 600; padding: 9px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-align: center; transition: all .3s; }
.app.on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.crm__core { position: relative; z-index: 1; background: var(--night); color: var(--night-ink); border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.crm__core .label { color: var(--night-muted); font-size: 9.5px; margin-bottom: 2px; }
.crm__row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 8px; border-radius: 6px; transition: background .3s; }
.crm__row b { font-variant-numeric: tabular-nums; }
.crm__row.on { background: var(--accent); }
.crm__pk { position: absolute; z-index: 2; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; }
.crm__feed { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

/* scene: AI marketing pipeline */
.cp { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
.cp svg { width: 100%; height: 100%; overflow: visible; }
.cp .nd rect { fill: #fff; stroke: rgba(26,20,17,.25); stroke-width: 1; transition: fill .35s, stroke .35s; }
.cp .nd text { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--ink-2); transition: fill .35s; }
.cp .nd.on rect { stroke: var(--accent); fill: #FFF1EB; }
.cp .nd.warn rect { stroke: #D99A1E; fill: #FFF6E2; }
.cp .nd.done rect { stroke: var(--ink); fill: var(--ink); }
.cp .nd.done text { fill: var(--cream); }
.cp .wr { fill: none; stroke: rgba(26,20,17,.2); stroke-width: 1.3; transition: stroke .35s; }
.cp .wr.on { stroke: var(--accent); }
.cp .pk { fill: var(--accent); }
.cp .flag { font-family: var(--sans); font-size: 11px; font-weight: 700; fill: #B57A0B; opacity: 0; }
.cp__ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cp__ad { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px; display: grid; gap: 5px; position: relative; opacity: 0; transform: translateY(10px); }
.cp__ad i { display: block; height: 30px; border-radius: 4px; }
.cp__ad span { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cp__ad em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 9px; font-weight: 700; background: var(--ok); color: #fff; padding: 2px 5px; border-radius: 3px; opacity: 0; transform: scale(1.4); }

/* ---------- Proof ---------- */
.proof { background: var(--night); color: var(--night-ink); position: relative; }
.proof__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 84px 0 34px; }
.proof__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.proof__head .kicker { margin-bottom: 16px; }
.proof__head .h-l { max-width: 16ch; font-size: clamp(32px, 3.6vw, 54px); }
.proof__meta { color: var(--night-muted); text-align: right; display: grid; gap: 10px; justify-items: end; font-size: 10.5px; }
.proof__bar { width: 180px; height: 2px; background: var(--night-line); position: relative; }
.proof__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.track { display: flex; gap: 18px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.case { width: min(82vw, 520px); flex: none; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; height: min(calc(100vh - 290px), 540px); min-height: 430px; position: relative; overflow: hidden; }
.case__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case__tags span { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--night-line); color: var(--night-muted); }
.case__tags span:first-child { color: var(--accent); border-color: rgba(231,91,54,.4); }
.case h3 { font-size: clamp(28px, 2.6vw, 36px); }
.case p { color: var(--night-muted); font-size: 15.5px; }
.case p b { color: var(--night-ink); font-weight: 600; }
.case ol { list-style: none; margin: 0; padding: 0; counter-reset: s; flex: 1; }
.case li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--night-line); font-size: 14.5px; color: rgba(245,240,233,.85); line-height: 1.4; }
.case li::before { content: counter(s, decimal-leading-zero); font-size: 11px; font-weight: 700; color: var(--accent); padding-top: 2px; }
.case__out { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--night-ink); border-top: 1px solid var(--night-line); padding-top: 14px; display: flex; gap: 10px; line-height: 1.5; }
.case__out::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 4px; flex: none; }
.case--big { background: var(--accent); border-color: var(--accent); color: #fff; }
.case--big .case__tags span, .case--big .case__tags span:first-child { color: #fff; border-color: rgba(255,255,255,.4); }
.case--big p { color: rgba(255,255,255,.9); }
.case--big .num { font-family: var(--serif); font-size: clamp(64px, 7vw, 108px); letter-spacing: -.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.case--big .steps-pill { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-end; }
.case--big .steps-pill span { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.4); }
.case--end { background: transparent; border-style: dashed; justify-content: center; gap: 22px; }
.case--end h3 { font-size: clamp(34px, 3.4vw, 50px); }
.swipe-hint { display: none; }

/* ---------- Method ---------- */
.method { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); }
.method .dg-col { order: 2; }
.method__head { margin-bottom: 20px; }
.step { min-height: 64vh; padding-left: 36px; position: relative; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s; }
.step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.step::after { content: ""; position: absolute; left: -5px; top: calc(50% - 64px); width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--muted); background: var(--cream); transition: all .4s; }
.step.is-active { opacity: 1; }
.step.is-active::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.step.is-past::after { background: var(--ink); border-color: var(--ink); }
.step h3 { font-size: clamp(38px, 4.4vw, 62px); margin: 10px 0 12px; }
.step p { color: var(--ink-2); max-width: 36ch; }
.dg { width: 100%; height: 100%; }
.dg text { font-family: var(--sans); font-size: 11.5px; font-weight: 600; fill: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.dg .coord { font-size: 9.5px; font-weight: 500; fill: var(--muted); }
.dg .ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.dg .box { fill: var(--accent); }
.dg .boxtxt { fill: #fff; font-weight: 700; }
.dg .mess { fill: none; stroke: rgba(26,20,17,.28); stroke-width: 1; stroke-dasharray: 2 4; }
.dg .plan { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 5 5; }
.dg .merge { fill: none; stroke: var(--accent); stroke-linecap: round; }
.dg .dim { stroke: var(--muted); stroke-width: 1; fill: none; }
.dg .pk { fill: var(--accent); }
.dg .price rect { fill: var(--ink); }
.dg .price text { fill: var(--cream); font-size: 10px; }
.dg .chart { fill: none; stroke: var(--ink); stroke-width: 1.6; }

/* ---------- Under the hood ---------- */
.hood { background: var(--night); color: var(--night-ink); border-radius: 14px; padding: clamp(26px, 5vw, 64px); position: relative; overflow: hidden; }
.hood .kicker { margin-bottom: 20px; }
.hood .lede { color: var(--night-muted); margin-top: 18px; }
.arch { margin-top: 40px; border: 1px solid var(--night-line); border-radius: 10px; padding: 22px; position: relative; }
.arch .corner { color: var(--night-muted); }
.arch__bar { display: flex; justify-content: space-between; color: var(--night-muted); margin-bottom: 34px; font-size: 10.5px; }
.arch__row { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; }
.arch__line { position: absolute; left: 10%; right: 10%; top: 10px; height: 1px; background: var(--night-line); }
.arch__line i { position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flowX 3.6s linear infinite; }
.arch__line i:nth-child(2) { animation-delay: -1.2s; } .arch__line i:nth-child(3) { animation-delay: -2.4s; }
@keyframes flowX { from { left: 0; } to { left: 100%; } }
@keyframes flowY { from { top: 0; } to { top: 100%; } }
.anode { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 12px; position: relative; z-index: 1; text-align: center; }
.anode i { width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid var(--night-ink); background: var(--night); transition: all .35s; box-sizing: border-box; flex: none; }
.anode span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--night-muted); transition: color .3s; }
.anode:hover i, .anode.is-on i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 7px rgba(231,91,54,.18); }
.anode.is-on span { color: var(--night-ink); }
.anode:focus-visible i { outline: 2px solid var(--accent); outline-offset: 4px; }
.arch__out { margin-top: 30px; border-top: 1px solid var(--night-line); padding-top: 16px; font-size: 15px; color: var(--night-muted); min-height: 3.4em; line-height: 1.55; }
.arch__out b { color: var(--accent); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 15px; background: var(--accent); vertical-align: -2px; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stack { margin-top: 36px; border-top: 1px solid var(--night-line); padding-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.stack__track { display: flex; width: max-content; animation: marq 50s linear infinite; }
.stack__track span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--night-muted); padding-left: 32px; white-space: nowrap; display: flex; align-items: center; gap: 32px; }
.stack__track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 52px; }
.why__item { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.why__item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.why__item h3 { font-size: 27px; margin: 12px 0 10px; }
.why__item p { color: var(--ink-2); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq__title { position: sticky; top: 110px; }
.faq .h-xl { margin-top: 22px; }
.faq__title p { margin-top: 22px; color: var(--ink-2); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa button { all: unset; cursor: pointer; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 25px); letter-spacing: -.01em; line-height: 1.25; box-sizing: border-box; }
.qa button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qa button:hover { color: var(--accent); }
.qa .pm { width: 14px; height: 14px; position: relative; flex: none; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; background: currentColor; transition: transform .4s var(--ease); }
.qa .pm::before { left: 0; right: 0; top: 6.25px; height: 1.5px; }
.qa .pm::after { top: 0; bottom: 0; left: 6.25px; width: 1.5px; }
.qa.is-open .pm::after { transform: scaleY(0); }
.qa__a { overflow: hidden; height: 0; }
.qa__a p { padding: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta__logo { width: clamp(110px, 13vw, 170px); height: auto; margin: 0 auto 36px; color: var(--accent); overflow: visible; }
.cta h2 { max-width: 15ch; margin: 0 auto; }
.cta .lede { margin: 22px auto 0; text-align: center; }
.gets { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; }
.gets li { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.gets li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; flex: none; }
.cal { margin: 48px auto 0; max-width: 1040px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; text-align: left; box-shadow: 0 40px 80px -50px rgba(26, 20, 17, .4); }
.cal__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: 10.5px; }
.cal__bar .live { display: flex; align-items: center; gap: 8px; color: var(--ok); }
.cal__bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62,155,107,.5); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
.cal__body { position: relative; min-height: 700px; }
.cal .calendly-inline-widget { min-width: 300px; height: 700px; }
.cal__wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.cal__wait a { color: var(--accent); }
.cta__note { margin-top: 16px; color: var(--muted); }
.cta__note a { color: var(--ink); }

/* ---------- Footer ---------- */
.ftr { background: var(--cream-2); padding: clamp(64px, 9vw, 120px) 0 calc(30px + env(safe-area-inset-bottom)); overflow: hidden; }
.ftr__word { font-family: var(--serif); font-size: clamp(60px, 16vw, 262px); letter-spacing: -.04em; line-height: .9; color: var(--cream-3); white-space: nowrap; display: flex; user-select: none; }
.ftr__word span { display: inline-block; }
.ftr__mark { margin-top: 40px; display: flex; align-items: center; gap: 14px; color: var(--ink-2); flex-wrap: wrap; font-family: var(--serif); font-size: 20px; }
.ftr__mark svg { width: 46px; height: 25px; color: var(--accent); }
.ftr__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.ftr__row--nav { margin-top: 0; border-top: 0; padding-top: 12px; }
.ftr__row nav { display: flex; gap: 22px; flex-wrap: wrap; }

.mcta { display: none; }

/* ================= Tablet ================= */
@media (max-width: 1020px) {
  .problem, .systems__head, .faq { grid-template-columns: 1fr; }
  .faq__title { position: static; }
  .why { grid-template-columns: 1fr 1fr; }
  .why__item, .why__item:not(:nth-child(3n+1)) { padding: 26px 24px 26px 0; border-left: 0; }
  .why__item:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }

  /* systems + method: the visual pins to the top, the story scrolls under it */
  .systems, .method { grid-template-columns: 1fr; gap: 0; }
  .systems .sheet-col, .method .dg-col { order: 0; position: sticky; top: calc(var(--hdr) + 8px); z-index: 5; padding-bottom: 14px; }
  .systems .sheet-col::after, .method .dg-col::after { content: ""; position: absolute; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); top: -80px; bottom: -6px; background: linear-gradient(var(--cream) 85%, rgba(245,240,233,0)); z-index: -1; }
  .sheet-sticky { position: static; }
  .sheet { aspect-ratio: auto; height: min(46svh, 400px); max-height: none; }
  .sys, .step { min-height: 62svh; justify-content: flex-start; padding-top: 22px; }
  .sys { opacity: .35; }
  .step::after { top: 32px; }
}

/* ================= Phone ================= */
@media (max-width: 760px) {
  :root { --hdr: 58px; }
  body { font-size: 16px; }
  .nav .link { display: none; }
  .brand { font-size: 17px; }

  .hero { height: 210vh; }
  .hero__content { padding-top: calc(var(--hdr) + 9svh); }
  .hero__content::before { top: 34%; height: 62%; width: 160vw; }
  .hero h1 { max-width: 11ch; }
  .hero__content .lede { margin-top: 20px; font-size: 17px; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 340px; margin-top: 26px; }
  .hero__ctas .btn { width: 100%; }
  .hero__readout, .hero__scroll { display: none; }
  .intro .h-xl { font-size: clamp(36px, 10.4vw, 48px); }

  .swap { grid-template-columns: 1fr 30px; grid-template-areas: "old n" "new new"; gap: 8px; padding: 18px 0; }
  .swap__old { grid-area: old; } .swap__n { grid-area: n; } .swap__new { grid-area: new; } .swap__arrow { display: none; }

  .sheet { height: min(44svh, 360px); }
  .sheet__bar, .sheet__foot { padding: 12px 16px; }
  .scene { inset: 40px 14px 38px; }
  .sys h3 { font-size: 30px; }
  .sys, .step { min-height: 58svh; padding-left: 18px; }
  .step { padding-left: 26px; }
  .step h3 { font-size: 40px; }
  .dg text { font-size: 17px; }
  .dg .coord { display: none; }
  .dg .price text { font-size: 15px; }
  .dg .boxtxt { font-size: 15px; }

  .fn { grid-template-columns: 1fr 1fr 1fr; }
  .fn .pg--ad { display: none; }
  .fn__wires { display: none; }
  .pg { padding: 6px; }
  .pg h4 { font-size: 10.5px; }
  .kb__cols { gap: 5px; }
  .kb__col { padding: 6px; }
  .kb__col > span { font-size: 8px; letter-spacing: .04em; }
  .kb__ghost { height: 30px; }
  .lead { padding: 5px 6px; }
  .lead b { font-size: 11px; }
  .kb__log { height: 76px; font-size: 11px; }
  .chat { grid-template-columns: 1fr; }
  .chat__flow { display: none; }
  .chat__body { font-size: 13px; }
  .crm { grid-template-columns: .9fr 1.2fr .9fr; gap: 10px; }
  .app { font-size: 10.5px; padding: 7px 4px; }
  .crm__row { font-size: 11.5px; padding: 4px 6px; }
  .crm__feed { font-size: 11px; }

  .proof__pin { height: auto; padding: 84px 0 64px; }
  .proof__head { flex-direction: column; align-items: start; margin-bottom: 26px; }
  .proof__meta { display: none; }
  .track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; gap: 12px; scroll-padding: 0 var(--pad); }
  .track::-webkit-scrollbar { display: none; }
  .case { width: 84vw; height: auto; min-height: 0; padding: 22px; scroll-snap-align: start; }
  .case ol { flex: none; }
  .case li { font-size: 13.5px; padding: 5px 0; }
  .case h3 { font-size: 27px; }
  .case p { font-size: 14.5px; }
  .swipe-hint { display: block; padding: 14px var(--pad) 0; color: var(--night-muted); font-size: 10.5px; }

  .arch { padding: 18px 16px; }
  .arch__bar { margin-bottom: 20px; }
  .arch__row { grid-template-columns: 1fr; gap: 16px; }
  .arch__line { left: 10px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .arch__line i { left: -2px; animation-name: flowY; }
  .anode { grid-auto-flow: column; justify-content: start; justify-items: start; align-items: center; gap: 14px; }
  .anode span { font-size: 12px; }

  .why { grid-template-columns: 1fr; }
  .why__item, .why__item:not(:nth-child(3n+1)), .why__item:nth-child(2n) { padding: 22px 0; border-left: 0; }

  .gets { flex-direction: column; align-items: center; gap: 10px; }
  .cal__body { min-height: 1030px; }
  .cal .calendly-inline-widget { height: 1030px; }

  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; justify-content: center; padding: 15px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(231,91,54,.7); transform: translateY(170%); transition: transform .5s var(--ease); }
  .mcta.is-on { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
