/* Sift brand: off-white base, sky blue gradient, charcoal ink. Accent colour still to come.
   Motion rules: entrances from scale .97 + opacity 0, presses scale .97 in 150ms, transform only,
   UI motion under 300ms, rare moments (first load, a deal paid) get the big motion. */
:root {
  --sky-1: #2495E9;
  --sky-2: #9ACDFD;
  --sky-3: #E9F1F9;
  --base: #F7F3ED;
  --card: #FFFDF9;
  --ink: #232325;
  --ink-2: #5B5B60;
  --ink-3: #8C8C92;
  --line: rgba(35, 35, 37, 0.10);
  --blue: #1F93EE;
  --blue-2: #7EC1FD;
  --blue-deep: #1675C4;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(60, 45, 20, 0.06), 0 8px 28px rgba(60, 45, 20, 0.07);
  --shadow-lift: 0 2px 4px rgba(60, 45, 20, 0.07), 0 16px 40px rgba(60, 45, 20, 0.10);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --in-out: cubic-bezier(0.65, 0, 0.35, 1);
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue-deep); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Header: logo left, links right, like every site people know */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top.solid { position: static; border-bottom: 1px solid var(--line); background: var(--base); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--serif); font-size: 28px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 8px 12px; margin-left: -12px; }
.top:not(.solid) .wordmark { color: #fff; }
.nav { display: flex; gap: 4px; font-size: 15px; margin-right: -12px; }
/* Hit area is bigger than the text */
.nav a { color: inherit; text-decoration: none; padding: 12px; border-radius: 12px; opacity: 0.85; transition: opacity 150ms ease-out; }
.nav a:hover { opacity: 1; }
.top:not(.solid) .nav { color: #fff; }

/* Buttons: big targets, squash on press */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none;
  border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: scale 150ms ease-out, box-shadow 200ms ease-out, background-color 150ms ease-out;
}
.btn:active { scale: 0.97; }
.btn-dark { background: linear-gradient(90deg, #161618, #4a4a4e); color: #fff; box-shadow: var(--shadow); }
.btn-light { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
@media (hover: hover) { .btn-light:hover { box-shadow: var(--shadow); } }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px;
  background: linear-gradient(90deg, #161618, #4a4a4e); color: #fff; box-shadow: var(--shadow);
  font: 600 16px/1 var(--sans);
}
.badge svg { width: 18px; height: 18px; margin-top: -2px; }
.badge small { font-weight: 500; opacity: 0.65; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 38%, var(--sky-3) 72%, var(--base) 100%);
  padding: 120px 0 88px;
  text-align: center;
}
.scene { width: min(1000px, calc(100% - 32px)); margin: 0 auto; overflow: visible; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 12px auto 18px;
}
.hero p.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 30em; margin: 0 auto 32px; }

/* SVG parts rotate and scale around their own middle */
.scene .plane, .scene .env, .scene .coin, .scene .coin-2 { transform-box: fill-box; transform-origin: center; }

/* First load only: pose to pose, slow in and out, arcs, anticipation, squash, follow through */
.js .hero h1, .js .hero .lede, .js .hero .actions { animation: enter 280ms var(--out) both; }
.js .hero h1 { animation-delay: 380ms; }
.js .hero .lede { animation-delay: 460ms; }
.js .hero .actions { animation-delay: 540ms; }
@keyframes enter { from { opacity: 0; transform: translateY(8px) scale(0.97); } }

.js .scene .plane { animation: fly 1000ms both; }
@keyframes fly {
  0%   { opacity: 0; transform: translate(-300px, 150px) rotate(20deg) scale(0.9); animation-timing-function: ease-out; }
  14%  { opacity: 1; transform: translate(-318px, 162px) rotate(26deg) scale(0.92, 0.96); animation-timing-function: var(--in-out); }
  58%  { transform: translate(-90px, -46px) rotate(-8deg) scale(1.07, 0.94); animation-timing-function: var(--out); }
  84%  { transform: translate(8px, 5px) rotate(4deg) scale(0.96, 1.03); animation-timing-function: var(--in-out); }
  100% { transform: none; }
}
.js .scene .trail-reveal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 700ms var(--in-out) 760ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .scene .env { animation: pop 520ms var(--out) 1240ms both; }
.js .scene .coin { animation: pop 520ms var(--out) 1360ms both; }
.js .scene .coin-2 { animation: pop 520ms var(--out) 1440ms both; }
@keyframes pop {
  0%   { opacity: 0; transform: translateY(10px) scale(0.97); }
  45%  { opacity: 1; transform: translateY(-6px) scale(1.1, 0.94); }
  70%  { transform: translateY(2px) scale(0.97, 1.03); }
  100% { transform: none; }
}

/* Sections */
section { padding: 96px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 12px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 16px; }
h3 { font-size: 19px; letter-spacing: -0.015em; margin: 0 0 6px; }
.section-lede { color: var(--ink-2); max-width: 34em; margin: 0 0 44px; }

/* Steps: three chunks */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; transition: transform 200ms var(--out), box-shadow 200ms var(--out); }
@media (hover: hover) { .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  font: 600 16px/1 var(--sans); color: #fff;
  background: linear-gradient(160deg, var(--blue-2), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 4px 10px rgba(31,147,238,0.28);
}

/* Scroll reveal, once */
.js .reveal { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 280ms var(--out), transform 280ms var(--out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Feature sections: copy beside a phone, alternating sides */
.feature { background: linear-gradient(180deg, var(--base), var(--sky-3) 55%, var(--base)); }
.feature-alt { background: var(--base); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-copy .section-lede { margin-bottom: 28px; }
.point { border-left: 2px solid var(--blue-2); padding: 2px 0 2px 18px; }
.point p { margin: 0; color: var(--ink-2); font-size: 16px; }
.demo-note { font-size: 13px; color: var(--ink-3); margin: 24px 0 0; }

.device {
  width: min(360px, 100%); margin: 0 auto; padding: 12px; border-radius: 46px;
  background: linear-gradient(160deg, #fdfcfa, #e8e4dd);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(60,45,20,0.08), 0 30px 60px -12px rgba(60,45,20,0.22);
}
.screen { background: var(--base); border-radius: 36px; padding: 22px 14px 16px; height: 560px; position: relative; overflow: hidden; }
.screen-title { font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; margin: 6px 8px 14px; }
.view { position: absolute; inset: 22px 14px 70px; transition: transform 260ms var(--out), opacity 200ms ease-out; }
.view[hidden] { display: block; visibility: hidden; }
.view.off-left { transform: translateX(-32px) scale(0.97); opacity: 0; }
.view.off-right { transform: translateX(32px) scale(0.97); opacity: 0; }
.replay-row { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
.replay { min-height: 44px; padding: 0 18px; font-size: 14px; }
.replay[hidden] { display: none; }

/* Inbox rows */
.threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.thread {
  width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 12px; align-items: center; text-align: left;
  background: var(--card); border: 0; border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); cursor: pointer;
  font: inherit; color: inherit; transition: scale 150ms ease-out; -webkit-tap-highlight-color: transparent;
}
.thread:active, .thread.pressing { scale: 0.97; }
.thread .logo, .deal-row .logo { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 600 15px/1 var(--serif); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
.thread strong { font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread .subject { grid-column: 2 / 4; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; display: inline-block; }
.tag.inbound { background: #DCEEFD; color: #1468AD; }
.tag.negotiating { background: #F6E9D3; color: #8A5A12; }
.tag.progress { background: #E2EFE4; color: #2F6B3B; }
.tag.invoice { background: #ECE6F6; color: #5B3F8C; }
.tag.paid { background: linear-gradient(160deg, var(--blue-2), var(--blue)); color: #fff; }
.tag.pop { animation: pill-pop 460ms var(--out); }
@keyframes pill-pop { 0% { transform: scale(0.97); } 40% { transform: scale(1.22, 0.9); } 70% { transform: scale(0.95, 1.05); } 100% { transform: none; } }

/* Thread view */
.back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 2px; margin: -4px 0 8px; border: 0; background: none; color: var(--blue-deep); font: 600 15px/1 var(--sans); cursor: pointer; transition: scale 150ms ease-out; }
.back:active { scale: 0.97; }
.msg { background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.msg b { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.msg p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.draft { background: linear-gradient(180deg, #F4F9FE, var(--card)); border: 1px solid #CFE4F8; border-radius: 18px; padding: 14px 16px; transform-origin: top center; transition: transform 240ms var(--out), opacity 180ms ease-out; }
.draft.folding { transform: scale(0.97, 0.2); opacity: 0; }
.draft-head { font-size: 12.5px; font-weight: 600; color: var(--blue-deep); margin-bottom: 6px; }
.draft-head .spark { display: inline-block; }
.draft.writing .spark { animation: spark 700ms ease-in-out infinite alternate; }
@keyframes spark { from { transform: rotate(-12deg) scale(0.9); } to { transform: rotate(12deg) scale(1.1); } }
.draft-text { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; min-height: 7.5em; color: var(--ink); }
.draft-text .caret { display: inline-block; width: 2px; height: 1em; background: var(--blue); vertical-align: -2px; margin-left: 1px; }
.send { min-height: 44px; width: 100%; font-size: 15px; }
.send.pressing { scale: 0.97; }
.sent { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; font-weight: 600; }
.sent[hidden] { display: none; }
.sent .check { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--blue-2), var(--blue)); box-shadow: 0 4px 12px rgba(31,147,238,0.35); }
.sent .check svg { width: 20px; height: 20px; }
.sent.show .check { animation: check-pop 520ms var(--out) both; }
.sent.show .sent-text { animation: enter 280ms var(--out) 120ms both; }

/* Pipeline */
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 2px 12px; }
.totals div { background: var(--card); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); }
.totals span { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.totals b { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; display: inline-block; transform-origin: left center; }
.totals b.bump { animation: amount-pop 420ms var(--out); }
@keyframes amount-pop { 0% { transform: none; } 40% { transform: scale(1.12); } 100% { transform: none; } }
.deals { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deal-row { background: var(--card); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); display: grid; grid-template-columns: 40px 1fr auto; gap: 2px 12px; align-items: center; position: relative; }
.deal-row strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-row .what { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-row .amt { font-size: 14px; font-weight: 600; text-align: right; }
.deal-row .tag { grid-column: 3; justify-self: end; }
.track { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 10px; }
.track i { height: 5px; border-radius: 3px; background: rgba(35,35,37,0.08); position: relative; overflow: hidden; }
.track i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-2), var(--blue)); transform: scaleX(0); transform-origin: left center; transition: transform 300ms var(--out); }
.track i.on::after { transform: scaleX(1); }
.flying-coin { position: absolute; width: 30px; height: 30px; z-index: 4; pointer-events: none; left: 0; top: 0; }

/* Trust */
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1000px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
.trust li .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; color: var(--blue); background: var(--card); box-shadow: var(--shadow); }
.trust li strong { display: block; margin-bottom: 4px; font-size: 18px; letter-spacing: -0.015em; }
.trust li span { color: var(--ink-2); font-size: 16px; }

/* Closing call */
.cta { text-align: center; background: linear-gradient(180deg, var(--base) 0%, var(--sky-3) 45%, var(--sky-2) 100%); padding-bottom: 120px; }
.cta h2 { font-size: clamp(38px, 5.6vw, 64px); }
.cta .section-lede { margin: 0 auto 32px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); background: var(--base); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 4px; flex-wrap: wrap; margin-right: -12px; }
footer a { color: var(--ink-2); text-decoration: none; padding: 12px; border-radius: 10px; transition: color 150ms ease-out; }
footer a:hover { color: var(--ink); }

/* Document pages: legal and support */
.doc { padding: 56px 0 96px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 12px; }
.doc h2 { font-family: var(--sans); font-weight: 650; font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.doc h3 { font-size: 17px; margin: 28px 0 6px; }
.doc p, .doc li { color: #38383c; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .section-lede { margin-bottom: 32px; }

/* Accordions: height: auto animates thanks to interpolate-size */
.faq { margin: 0; }
details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); margin: 12px 0; }
summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px;
  border-radius: 18px; -webkit-tap-highlight-color: transparent;
}
summary::-webkit-details-marker { display: none; }
summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-3); color: var(--blue-deep); transition: transform 220ms var(--out); }
details[open] summary .plus { transform: rotate(45deg); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 220ms var(--out), content-visibility 220ms allow-discrete; }
details[open]::details-content { block-size: auto; }
details .answer { padding: 0 24px 22px; color: var(--ink-2); }
details .answer p { margin: 0 0 10px; }
details .answer p:last-child { margin-bottom: 0; }
.contact { background: var(--sky-3); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 32px; }
.contact p { margin: 0; }
.contact p + p { margin-top: 4px; color: var(--ink-2); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-alt .device { order: 2; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .trust ul { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .nav { font-size: 14px; }
  .nav .hide-sm { display: none; }
  .hero { padding-top: 96px; }
  .actions .btn, .actions .badge { width: 100%; justify-content: center; }
}

/* Reduced motion: everything lands in its final pose */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .scene .trail-reveal { stroke-dashoffset: 0; }
}

/* Waitlist form: one field, one button. Errors shake, success pops, a plane takes off. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist { position: relative; flex-direction: column; align-items: center; gap: 0; max-width: 520px; margin: 0 auto; }
.field-row {
  display: flex; width: 100%; padding: 6px; gap: 6px; border-radius: 999px;
  background: var(--card); border: 1.5px solid transparent;
  box-shadow: 0 1px 2px rgba(60,45,20,0.06), 0 10px 30px rgba(60,45,20,0.10);
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.field-row[hidden] { display: none; }
.field-row:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(126,193,253,0.35), 0 10px 30px rgba(60,45,20,0.10); }
.field-row input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink);
  font: 400 17px/1.2 var(--sans); padding: 0 18px; min-height: 52px; letter-spacing: -0.01em;
}
.field-row input::placeholder { color: var(--ink-3); }
.field-row .btn { min-height: 52px; flex: none; }
.form-msg { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); min-height: 1.4em; text-align: center; transition: color 150ms ease-out; }
.waitlist.invalid .field-row { border-color: #E0533D; box-shadow: 0 0 0 4px rgba(224,83,61,0.15), 0 10px 30px rgba(60,45,20,0.10); }
.waitlist.invalid .form-msg { color: #C2412E; }
.waitlist.shake .field-row { animation: shake 360ms ease-out; }
@keyframes shake {
  0% { transform: translateX(0); } 16% { transform: translateX(-10px); } 33% { transform: translateX(10px); }
  50% { transform: translateX(-6px); } 66% { transform: translateX(6px); } 83% { transform: translateX(-3px); } 100% { transform: translateX(0); }
}
.waitlist.busy .btn { pointer-events: none; }
.waitlist.busy .btn .label { opacity: 0.7; }

.joined {
  display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 28px 0 12px; border-radius: 999px;
  background: var(--card); box-shadow: 0 1px 2px rgba(60,45,20,0.06), 0 10px 30px rgba(60,45,20,0.10);
  font-weight: 600; font-size: 17px;
}
.joined[hidden] { display: none; }
.joined .check { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--blue-2), var(--blue)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 12px rgba(31,147,238,0.35); }
.joined .check svg { width: 22px; height: 22px; }
.joined .check path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.waitlist.done .joined { animation: enter 280ms var(--out) both; }
.waitlist.done .joined .check { animation: check-pop 520ms var(--out) 80ms both; }
.waitlist.done .joined .check path { animation: check-draw 260ms var(--out) 260ms both; }
@keyframes check-pop { 0% { transform: scale(0.97); opacity: 0; } 45% { transform: scale(1.25, 0.88); opacity: 1; } 72% { transform: scale(0.94, 1.06); } 100% { transform: none; } }
@keyframes check-draw { from { stroke-dashoffset: 24; } }
.takeoff { position: absolute; width: 30px; height: 30px; pointer-events: none; z-index: 5; left: 0; top: 0; }

@media (max-width: 560px) {
  .field-row { flex-direction: column; border-radius: 26px; padding: 6px; }
  .field-row input { min-height: 54px; text-align: center; }
  .field-row .btn { width: 100%; }
}

/* Pipeline phone grows with its deals; the replay button gets its own reserved row */
#pipeline-demo .screen { height: auto; }
#pipeline-demo .replay-row { position: static; min-height: 44px; margin-top: 12px; }

/* Look: a soft sky, one flat page colour below it (no section bands), butter yellow as the one accent.
   Solid colours, no extra gradients. */
:root { --acc: #F6DE8D; --acc-soft: #FCF3D3; --acc-ink: #5A440A; }

.hero { background: linear-gradient(180deg, #8CC3F0 0%, #C6E1F8 40%, #EAF1F6 68%, var(--base) 100%); }
.feature,
.feature-alt,
.cta { background: var(--base); }
.waitlist .btn-dark {
  background: var(--acc); color: var(--acc-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 2px rgba(60,45,20,.08), 0 8px 20px color-mix(in srgb, var(--acc) 45%, transparent);
}
.eyebrow, .draft-head { color: var(--acc-ink); }
.step .num,
.joined .check,
.sent .check,
.tag.paid { background: var(--acc); color: var(--acc-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.point { border-left-color: var(--acc); }
.draft { background: var(--acc-soft); border-color: transparent; }
.trust li .icon { background: var(--acc-soft); color: var(--acc-ink); box-shadow: none; }
.field-row:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 40%, transparent), 0 10px 30px rgba(60,45,20,.10); }
