/* Invite All marketing site. One line of text and one picture per screen.
   Black / white / greys, Montserrat, big radii, 1px ink outlines instead of heavy shadows.
   The only colour is the three response colours, because the product uses them. */
:root {
  --ink: #111111;
  --ink-2: #2B2B2B;
  --paper: #FFFFFF;
  --g1: #6B6B6B;
  --g2: #A3A3A3;
  --g3: #DADADA;
  --g4: #EFEFEF;
  --g5: #F7F7F7;

  --green: #3DD68C; --green-bg: #E6F8EE; --green-tx: #17894F;
  --yellow: #F5C451; --yellow-bg: #FEF5DF; --yellow-tx: #A87408;
  --red: #F26D6D;   --red-bg: #FDECEC;   --red-tx: #D23F3F;
  --viz-green: var(--green); --viz-yellow: var(--yellow); --viz-red: var(--red); --viz-pending: #4A4A4A;

  --r-xl: 36px; --r-lg: 28px; --r-md: 18px; --r-sm: 10px; --r-pill: 999px;
  --ring: 0 0 0 1px var(--ink);
  --ring-soft: 0 0 0 1px var(--g3);
  --float: 0 18px 50px -24px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.08);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px;
  --nav-clear: 92px; /* floating header height plus breathing room: every screen starts below it */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--paper); color: var(--ink-2);
  font-family: 'Montserrat', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body { overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 14px; line-height: 1; padding: 13px 22px;
  border-radius: var(--r-pill); border: none; background: var(--paper); color: var(--ink);
  box-shadow: var(--ring); white-space: nowrap; cursor: pointer; font-family: inherit;
  transition: background .15s, transform .15s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:hover { background: var(--g5); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn.primary:hover { background: var(--ink-2); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--g4); }
.btn.sm { font-size: 13px; padding: 10px 16px; }
.btn.lg { font-size: 16px; padding: 18px 30px; gap: 11px; }
.btn.lg svg { width: 18px; height: 18px; }
.btn.xl { font-size: clamp(20px, 3vw, 30px); padding: 26px 48px; gap: 16px; font-weight: 700; }
.btn.xl svg { width: 30px; height: 30px; }
.btn.inverse { background: var(--paper); color: var(--ink); box-shadow: none; }
.btn.inverse:hover { background: var(--g4); }

/* ── Floating header ── */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), calc(100% - 32px));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 10px 10px 10px 10px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--r-pill); box-shadow: var(--float); z-index: 100;
  will-change: transform, opacity;
  transition: box-shadow .35s, transform .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}
.nav.away { transform: translate(-50%, calc(-100% - 20px)); opacity: 0; pointer-events: none; transition-duration: .35s, .4s, .25s; }
.nav.scrolled { box-shadow: 0 24px 60px -24px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.12); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; flex: none; color: var(--ink); }
.brand-mark svg { width: 28px; height: 28px; stroke-width: 1.6; }
.nav-links { display: flex; gap: 10px; }
.nav-links a { font-size: 13.5px; font-weight: 600; color: var(--g1); padding: 9px 14px; border-radius: var(--r-pill); text-align: center; white-space: nowrap; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--g4); color: var(--ink); }
.nav-cta { display: flex; gap: 6px; align-items: center; justify-self: end; }
.nav .brand { justify-self: start; margin-left: 8px; }

/* ── Screens ──
   Each screen is exactly one window tall: a number, one line, one picture scaled to fit. */
.slide {
  height: 100vh; height: 100svh;
  display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: start;
  padding: 0 0 28px;
  position: relative; background: var(--paper); overflow: clip;
}
.slide > .wrap { display: contents; }
.slide.dark { background: var(--ink); color: var(--paper); }
.slide.dark h2 { color: var(--paper); }
.slide.tint { background: var(--g5); }
.slide-head { text-align: center; max-width: 1120px; width: 100%; margin: 0 auto 28px; padding: 44px 24px 0; min-height: max(150px, 19vh); display: grid; align-content: end; justify-items: center; }
.slide-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--g2);
  margin-bottom: 10px;
}
.slide-num::before, .slide-num::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .6; }
.slide h2 { font-size: clamp(30px, 4.6vw, 60px); text-wrap: balance; }
.slide h2.one { white-space: nowrap; }
.h-plane { display: inline-block; width: .85em; height: .85em; vertical-align: -0.08em; margin-left: .1em; stroke-width: 1.3; }
.slide h2 em { font-style: normal; color: var(--g2); }
.slide.dark h2 em { color: rgba(255,255,255,.4); }
.slide-sub { margin: 14px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: var(--g1); max-width: 620px; }
.slide.dark .slide-sub { color: rgba(255,255,255,.6); }

/* The picture area fills the rest of the screen; the picture itself is drawn at full size and scaled down by script */
.pic { min-height: 0; display: flex; justify-content: center; align-items: center; padding: 0 24px; position: relative; }
.fitbox { flex: none; width: max-content; transform-origin: center; position: relative; }
/* Hand-drawn arrows beside the picture, placed by script level with the element they point at */
.arrow { position: absolute; width: 190px; height: 105px; color: var(--ink); z-index: 3; pointer-events: none; }
.arrow.flip { transform: scaleX(-1); }
.slide.dark .arrow { color: var(--paper); }
.pic.reveal .fitbox { opacity: 0; transition: opacity .7s var(--ease), translate .8s var(--ease); translate: 0 24px; }
.slide.in .pic.reveal .fitbox { opacity: 1; translate: 0 0; }

/* ── Hero: one outlined card, the plane sitting in a gap on its top edge ── */
.hero { text-align: center; grid-template-rows: 1fr; align-items: center; justify-items: center; padding: 76px 0 48px; }
.hero-card {
  position: relative; max-width: 880px; width: 100%; margin: 0 auto;
  padding: clamp(44px, 5.5vw, 64px) clamp(24px, 5vw, 56px) clamp(36px, 4.5vw, 52px);
  border-radius: var(--r-xl); box-shadow: var(--ring); background: var(--paper);
}
.hero-mark {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: clamp(52px, 6vw, 76px); height: auto; padding: 0 22px; box-sizing: content-box;
  background: var(--paper); color: var(--ink);
}
.hero-mark path { stroke-width: .8; }
.hero h1 { font-size: clamp(32px, 4.8vw, 62px); max-width: 760px; margin: 0 auto; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--g2); }
.hero-sub { margin: 16px auto 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.45; color: var(--g1); max-width: 560px; font-weight: 500; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ── The "screenshot" frame ──
   A browser card with the app's left rail, drawn at 1080px wide. 12.5px base so rows read from across the room. */
.shot {
  width: 1080px; height: 700px; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink-2);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 0 0 1px var(--ink), 0 36px 72px -32px rgba(0,0,0,.45);
  font-size: 12.5px; line-height: 1.4; text-align: left;
}
.slide.dark .shot { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 48px 6px rgba(255,255,255,.22), 0 0 140px 20px rgba(255,255,255,.1); }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--g4); background: var(--paper); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g3); }
.shot-bar .url { margin-left: 10px; font-size: 11px; color: var(--g2); background: var(--g5); border-radius: var(--r-pill); padding: 4px 12px; }
.app { display: grid; grid-template-columns: 52px 1fr; flex: 1; min-height: 0; }
.rail { background: var(--ink); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 12px 0; gap: 10px; }
.rail .mk { width: 26px; height: 26px; color: #fff; margin-bottom: 14px; }
.rail .mk svg { width: 26px; height: 26px; stroke-width: 1.4; }
.rail .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: rgba(255,255,255,.55); }
.rail .ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.rail .ic.on { background: var(--paper); color: var(--ink); }
.rail .av { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.rail-items { display: grid; gap: 6px; align-content: start; }
.main { min-width: 0; min-height: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--ink); }
.topbar h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.topbar .acts { display: flex; align-items: center; gap: 8px; }
.content { padding: 18px 22px 22px; }

/* Mock widgets */
.mbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 8px; font-weight: 600; font-size: 12px; box-shadow: var(--ring); background: var(--paper); color: var(--ink); white-space: nowrap; }
.mbtn.primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.mbtn.ghost { box-shadow: none; color: var(--g1); }
.mbtn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--g4); color: var(--ink); white-space: nowrap; line-height: 1.4; }
.pill.muted { color: var(--g1); }
.pill.green { background: var(--green-bg); color: var(--green-tx); }
.pill.yellow { background: var(--yellow-bg); color: var(--yellow-tx); }
.pill.red { background: var(--red-bg); color: var(--red-tx); }
.cb { width: 14px; height: 14px; border-radius: 4px; box-shadow: var(--ring); display: inline-grid; place-items: center; background: var(--paper); flex: none; }
.cb.on { background: var(--ink); }
.cb.on::after { content: ""; width: 4px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(-1px, -1px); }
.cb.half { background: var(--ink); }
.cb.half::after { content: ""; width: 7px; height: 2px; background: #fff; }
.cb.dis { box-shadow: var(--ring-soft); background: var(--g5); }
#pick table.mock .cb { width: 18px; height: 18px; border-radius: 5px; }
#pick table.mock .cb.on::after { width: 5px; height: 9px; border-width: 2.5px; }
#pick table.mock .cb.half::after { width: 9px; height: 2.5px; }
.sel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; box-shadow: var(--ring-soft); font-weight: 600; font-size: 12px; color: var(--ink); background: var(--paper); white-space: nowrap; }
.sel::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
.search { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; box-shadow: var(--ring-soft); color: var(--g2); font-size: 12px; flex: 1; min-width: 160px; }
.search svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.code { font-weight: 700; color: var(--g1); font-size: 11.5px; }
.dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; vertical-align: middle; margin-right: 5px; background: var(--g3); }
.dot.g { background: var(--green); } .dot.y { background: var(--yellow); } .dot.r { background: var(--red); }

/* Stepper */
.stepper { display: flex; align-items: center; justify-content: center; margin: 4px 0 18px; }
.stepper .st { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px; border-radius: var(--r-pill); background: var(--g4); color: var(--g1); font-weight: 700; font-size: 12px; }
.stepper .st i { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: var(--g1); }
.stepper .st.cur { background: var(--ink); color: var(--paper); }
.stepper .st.cur i { color: var(--ink); }
.stepper .st.done { background: var(--green-bg); color: var(--green-tx); }
.stepper .st.done i { color: var(--green-tx); }
.stepper .ln { width: 40px; height: 2px; background: var(--g4); }
.stepper .ln.done { background: var(--green); }

/* Tables */
.tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tools .note { font-size: 12px; color: var(--g1); margin-left: auto; }
.tools .note b { color: var(--ink); }
.scope { border-radius: var(--r-sm); box-shadow: var(--ring); overflow: hidden; background: var(--paper); }
.scope + .scope { margin-top: 10px; }
.scope-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--g5); font-weight: 700; font-size: 12.5px; color: var(--ink); }
.scope-head .chev, .group-head .chev { width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); margin-right: 2px; flex: none; }
.scope-head .chev.closed, .group-head .chev.closed { transform: rotate(-45deg) translateX(-2px); }
.scope-head .right, .group-head .right, .tk-head .right { margin-left: auto; font-weight: 500; color: var(--g1); font-size: 11.5px; }
table.mock { width: 100%; border-collapse: collapse; }
table.mock th { text-align: left; font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--g1); padding: 8px 12px; border-bottom: 1px solid var(--g4); font-weight: 700; }
table.mock td { padding: 8px 12px; border-bottom: 1px solid var(--g4); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
table.mock tr:last-child td { border-bottom: 0; }
table.mock td.co { font-weight: 700; color: var(--ink); }
table.mock td.co small { display: block; font-weight: 500; color: var(--g1); font-size: 11px; }
table.mock tr.picked td { background: #FAFAFA; }
table.mock tr.locked td, table.mock tr.locked td.co { color: var(--g2); }
table.mock tr.sub td { background: var(--g5); }
table.mock .tree { display: inline-block; padding-left: 26px; position: relative; }
table.mock .tree::before { content: ""; position: absolute; left: 10px; top: -14px; bottom: 50%; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); width: 10px; }
table.mock .mail, table.mock .tel { color: var(--g1); }
table.mock .ct { font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: var(--g4); color: var(--ink); }
.tag::after { content: ""; width: 4px; height: 4px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-1px); }

/* Compose */
.form { display: grid; gap: 14px; }
.form .lbl { font-size: 12.5px; font-weight: 700; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--g4); margin-bottom: 8px; }
.form .in { padding: 9px 12px; border-radius: 8px; box-shadow: var(--ring-soft); font-size: 12.5px; color: var(--ink); background: var(--paper); line-height: 1.75; }
.form .in.ta { min-height: 150px; }
.form .hint { font-size: 11.5px; color: var(--g1); margin-bottom: 8px; line-height: 1.6; }
.ph { display: inline-block; background: var(--g4); color: var(--ink); border-radius: 5px; padding: 0 6px; font-weight: 600; font-size: 11.5px; line-height: 1.6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ph.hot { background: var(--ink); color: var(--paper); }
/* 02 · Write: nothing but the rail and the message, the body filling whatever is left */
#write .shot .main { display: flex; flex-direction: column; }
#write .shot .content { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 30px 36px 36px; }
.form.big { flex: 1; min-height: 0; grid-template-rows: auto minmax(0, 1fr); gap: 22px; }
.form.big .grow { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.form.big .lbl { font-size: 15px; padding-bottom: 8px; margin-bottom: 12px; }
.form.big .in { font-size: 16.5px; line-height: 1.85; padding: 14px 18px; }
.form.big .in.ta { min-height: 0; }
.form.big .ph { font-size: 15px; padding: 0 8px; }

/* Email preview */
.ep-pick { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ep-pick .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--g1); }
.ep-pick .sel { flex: 1; max-width: 460px; justify-content: space-between; }
.ep-pick .sel span { color: var(--g1); font-weight: 500; margin-left: 6px; }
.ep-pick .cnt { margin-left: auto; color: var(--g1); font-size: 12px; }
.ep { border-radius: var(--r-sm); box-shadow: var(--ring-soft); overflow: hidden; }
.ep-head { padding: 12px 18px; border-bottom: 1px solid var(--g4); display: grid; grid-template-columns: 52px 1fr; row-gap: 5px; font-size: 12px; }
.ep-head .k { color: var(--g2); font-weight: 600; }
.ep-head b { color: var(--ink); }
.ep-head .subj { grid-column: 1 / -1; font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.ep-canvas { background: var(--g5); padding: 22px 18px 22px; display: flex; justify-content: center; }
/* 03 · Send: the same frame, zoomed in on its top right corner where the button is; the preview starts at the subject line */
#send .shot .app { transform: scale(1.5); transform-origin: top right; }
#send .shot .topbar h3 { visibility: hidden; }
#send .shot .stepper, #send .shot .ep-pick, #send .shot .ep-head > :not(.subj) { display: none; }
#send .shot .ep-head .subj { margin-top: 0; }
#send .shot .ep { width: 640px; margin-left: auto; }
.email { width: 100%; max-width: 560px; background: var(--paper); border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--g3); font-family: Arial, Helvetica, sans-serif; }
.email-plate { background: var(--ink); color: #fff; padding: 16px 28px; display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; font-size: 14px; text-transform: uppercase; font-family: 'Montserrat', sans-serif; }
.email-plate svg { width: 26px; height: 26px; stroke-width: 1.4; }
.email-body { padding: 24px 28px 0; }
.email-body h4 { font-size: 18px; color: var(--ink); margin-bottom: 4px; font-weight: 800; letter-spacing: -0.01em; }
.email-body .meta { font-size: 11.5px; color: var(--g1); margin-bottom: 16px; }
.email-body p { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin-bottom: 10px; }
.email-body mark { background: #FFF3C4; color: var(--ink); border-radius: 3px; padding: 0 3px; }
.email-btn { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 12px 24px; border-radius: 6px; margin: 14px 0 10px; }
.email-fb { font-size: 11px; color: var(--g1); margin-bottom: 18px; }
.email-fb u { color: var(--ink); display: block; margin-top: 2px; }
.email-sig { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); border-top: 1px solid var(--g4); padding: 14px 0 20px; }
.email-sig u { color: var(--ink); }

/* Tracker */
.figs { display: grid; grid-template-columns: repeat(8, 1fr); border-radius: var(--r-sm); box-shadow: var(--ring); overflow: hidden; }
.fig { padding: 14px 14px 12px; border-right: 1px solid var(--g4); }
.fig:last-child { border-right: 0; }
.fig .v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.fig .l { font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--g1); margin-top: 6px; font-weight: 700; white-space: nowrap; }
.fig.g .v { color: var(--green-tx); } .fig.y .v { color: var(--yellow-tx); } .fig.r .v { color: var(--red-tx); }
.rbar-wrap { padding: 14px 16px 12px; border-radius: 0 0 var(--r-sm) var(--r-sm); box-shadow: var(--ring); margin-top: -1px; }
.rbar-wrap .t { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.rbar { display: flex; gap: 3px; height: 28px; }
.rbar div { border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink); min-width: 26px; }
.rbar .g { background: var(--green); } .rbar .y { background: var(--yellow); } .rbar .r { background: var(--red); } .rbar .p { background: var(--g3); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-size: 11.5px; color: var(--ink-2); }
.legend b { color: var(--ink); }
.legend small { color: var(--g1); margin-left: 3px; }
.tk-head { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.tk-tools { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.tk-tools .mbtn.primary { margin-left: auto; }
.group { border-radius: var(--r-sm); box-shadow: var(--ring); overflow: hidden; }
.group + .group { margin-top: 10px; }
.group-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-weight: 700; font-size: 13px; color: var(--ink); }
.group table.mock th:first-child, .group table.mock td:first-child { padding-left: 14px; }
.group table.mock thead th { background: var(--g5); }
.group .acts { color: var(--g1); font-weight: 600; display: inline-flex; gap: 14px; }
.group .acts span { display: inline-flex; align-items: center; gap: 5px; }
.group .acts svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.group .reason { display: block; font-size: 10.5px; color: var(--g1); margin-top: 3px; font-weight: 500; }

/* Dashboard */
.dash-top { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.tiles { display: grid; gap: 12px; }
.tile { background: var(--ink); color: var(--paper); border-radius: var(--r-sm); padding: 14px 16px; }
.tile .v { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.tile .l { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 6px; }
.ringcard { border-radius: var(--r-sm); box-shadow: var(--ring); display: flex; align-items: center; gap: 24px; padding: 16px 20px; }
.ring { width: 118px; height: 118px; flex: none; position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.ring .c { text-align: center; }
.ring .c b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1; }
.ring .c small { font-size: 10px; color: var(--g1); }
.rl { font-size: 12px; display: grid; gap: 6px; min-width: 0; }
.rl .hd { color: var(--g1); margin-bottom: 2px; }
.rl .hd b { color: var(--ink); }
.rl .row { display: grid; grid-template-columns: 12px 1fr auto 34px; gap: 8px; align-items: center; }
.rl .row i { width: 11px; height: 11px; border-radius: 3px; background: var(--g3); }
.rl .row b { color: var(--ink); text-align: right; }
.rl .row small { color: var(--g1); text-align: right; }
.deadlines { background: var(--ink); color: var(--paper); border-radius: var(--r-sm); padding: 14px 16px; }
.deadlines .t { font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.08); }
.dl:first-of-type { border-top: 0; }
.dl b { display: block; font-size: 12px; font-weight: 600; }
.dl small { font-size: 10.5px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.dl small i { width: 44px; height: 4px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; display: inline-block; }
.dl small i::after { content: ""; display: block; height: 100%; width: var(--w, 40%); background: var(--green); }
.dl .pl { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); white-space: nowrap; }
.dl .pl.late { background: rgba(242,109,109,.2); color: var(--red); }
.dl .pl.soon { background: rgba(245,196,81,.18); color: var(--yellow); }
.plist { border-radius: var(--r-sm); box-shadow: var(--ring); overflow: hidden; }
.plist .ph-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-weight: 700; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--g4); }
.plist .ph-row span { font-weight: 500; color: var(--g1); font-size: 11.5px; }
.plist table.mock td { padding: 10px 12px; }
.plist .bar { display: flex; gap: 2px; height: 6px; width: 100%; min-width: 220px; border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.plist .bar i { display: block; height: 100%; background: var(--g3); }
.plist .bar .g { background: var(--green); } .plist .bar .y { background: var(--yellow); } .plist .bar .r { background: var(--red); }
.plist .resp { font-size: 11px; font-weight: 600; white-space: nowrap; }
.plist .resp span { margin-right: 10px; }
.plist .due b { display: block; color: var(--g1); font-size: 11.5px; }
.plist .due b.late { color: var(--red-tx); }
.plist .due b.soon { color: var(--yellow-tx); }
.plist .due small { color: var(--g2); font-size: 10.5px; }

/* ── Phone (the trade's page) ── */
.phone-stage { position: relative; }
.phone {
  width: 360px; background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.2);
}
.slide.dark .phone { box-shadow: 0 0 0 3px rgba(255,255,255,.92), 0 50px 100px -40px rgba(0,0,0,.6); }
.phone-screen { background: var(--paper); border-radius: 34px; overflow: hidden; height: 640px; position: relative; color: var(--ink-2); font-size: 12px; text-align: left; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: var(--ink); border-radius: 20px; z-index: 2; }
.tp { padding: 50px 18px 18px; display: grid; gap: 12px; }
.tp-head { display: flex; align-items: center; justify-content: space-between; }
.tp-head .brand { font-size: 13px; gap: 7px; }
.tp-head .brand-mark { width: 22px; height: 22px; }
.tp-head .brand-mark svg { width: 20px; height: 20px; }
.tp-head .lock { font-size: 10px; color: var(--g1); display: inline-flex; align-items: center; gap: 4px; }
.tp-head .lock svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.tp-card { border-radius: 14px; box-shadow: var(--ring); padding: 16px; }
.tp .eyebrow { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--g1); font-weight: 700; margin: 0; }
.tp .eyebrow::before { content: none; }
.tp h4 { font-size: 20px; letter-spacing: -0.025em; margin-top: 4px; }
.tp h4::after { content: ""; display: block; width: 36px; height: 3px; background: var(--ink); border-radius: 2px; margin-top: 8px; }
.tp .due { margin-top: 12px; background: var(--g5); border-left: 3px solid var(--ink); border-radius: 0 8px 8px 0; padding: 9px 12px; font-size: 11.5px; }
.tp .due b { color: var(--ink); }
.tp .due small { display: block; color: var(--g1); font-size: 10.5px; margin-top: 2px; }
.tp .sec { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 14px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.doc { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; box-shadow: var(--ring-soft); margin-bottom: 7px; }
.doc .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--g5); display: grid; place-items: center; flex: none; }
.doc .ico svg { width: 13px; height: 13px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.doc b { display: block; font-size: 12px; color: var(--ink); }
.doc small { color: var(--g1); font-size: 10.5px; }
.doc .dl { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--ink); box-shadow: var(--ring); border-radius: 6px; padding: 5px 9px; border-top: 0; }
.answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ans { border-radius: 10px; box-shadow: var(--ring-soft); padding: 14px 6px 10px; text-align: center; font-weight: 700; font-size: 11.5px; color: var(--ink); display: grid; justify-items: center; gap: 8px; }
.ans i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--ring-soft); font-style: normal; font-size: 12px; }
.ans.on { background: var(--green-bg); color: var(--green-tx); box-shadow: inset 0 0 0 2px var(--green); }
.ans.on i { background: var(--green); color: #fff; box-shadow: none; }
.tp .fine { font-size: 10.5px; color: var(--g1); margin-top: 8px; }
.tp .saved { margin-top: 10px; font-size: 11.5px; font-weight: 700; color: var(--green-tx); }

/* Phone versions of the app screens: shown instead of the browser frames on phones */
.phone-alt { display: none; }
.pa { padding: 46px 14px 14px; font-size: 11.5px; display: grid; gap: 10px; text-align: left; color: var(--ink-2); }
.pa-top { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pa-top .mbtn { margin-left: auto; padding: 7px 10px; font-size: 11px; }
.pa .stepper { margin: 0; justify-content: flex-start; }
.pa .stepper .st { padding: 5px 12px 5px 5px; font-size: 11px; }
.pa .stepper .st i { width: 22px; height: 22px; font-size: 10px; }
.pa .stepper .st.dim { padding-right: 5px; }
.pa .stepper .ln { width: 16px; }
.pa table.mock td { padding: 7px 8px; }
.pa table.mock th { padding: 6px 8px; }
.pa .form { gap: 10px; }
.pa .form .in.ta { min-height: 0; }
.pa .ep-head { grid-template-columns: 40px 1fr; padding: 10px 12px; font-size: 11px; }
.pa .ep-head .subj { font-size: 12.5px; }
.pa .ep-canvas { padding: 14px 10px 0; }
.pa .email-plate { padding: 12px 16px; font-size: 12px; }
.pa .email-body { padding: 16px 16px 0; }
.pa .email-body h4 { font-size: 15px; }
.pa .email-body p { font-size: 11.5px; }
.pa .email-btn { font-size: 11.5px; padding: 10px 16px; }
.pa .tiles { grid-template-columns: 1fr 1fr; }
.pa .tile .v { font-size: 24px; }
.pa .ringcard { gap: 14px; padding: 12px 14px; }
.pa .ring { width: 86px; height: 86px; }
.pa .ring .c b { font-size: 20px; }
.pa .rl { font-size: 11px; gap: 4px; }
.pa .plist .bar { min-width: 0; }
.pa .plist .resp { font-size: 10px; white-space: normal; }

/* Notification next to the phone: what the estimator sees the moment the trade taps */
.live { position: absolute; left: calc(100% + 48px); bottom: 90px; width: 340px; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 22px 24px 24px; box-shadow: var(--ring), 0 30px 60px -30px rgba(0,0,0,.4); text-align: left; }
.live .t { display: flex; align-items: center; gap: 7px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--g1); font-weight: 700; }
.live .t svg { width: 14px; height: 14px; stroke-width: 1.6; }
.live .who { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; line-height: 1.1; }
.live .co { font-size: 15px; color: var(--g1); margin-top: 4px; }
.live .status { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.live .status .pill { font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.live .when { font-size: 13px; color: var(--g2); font-weight: 600; }

/* ── Closing screen ── */
.cta { height: auto; min-height: 0; grid-template-rows: auto; align-items: center; padding: 88px 0 60px; }
.cta .wrap { display: block; width: 100%; }
.cta-card {
  background: var(--ink); color: var(--paper); border-radius: 48px;
  padding: clamp(44px, 6vw, 72px) 24px; text-align: center; position: relative; overflow: hidden;
  display: grid; align-content: center; justify-items: center;
}
.cta-go { position: relative; display: inline-block; margin-top: 36px; }
.cta-go .btn { margin-top: 0; }
.note-hand { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%) rotate(-5deg); display: flex; align-items: center; gap: 6px; font-family: 'Caveat', 'Bradley Hand', 'Segoe Script', cursive; font-size: 32px; line-height: 1; color: rgba(255,255,255,.9); white-space: nowrap; }
.note-arrow { width: 64px; height: 36px; flex: none; }
.cta-card h2 { color: var(--paper); font-size: clamp(34px, 5vw, 64px); text-wrap: balance; max-width: 900px; margin: 0 auto; }
.cta-card p { margin: 18px auto 0; max-width: 560px; color: rgba(255,255,255,.62); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; }
.cta-card .btn { margin-top: 44px; }
.cta-rings { position: absolute; inset: -40% -10%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255,255,255,.05) 34.2% 34.6%, transparent 35% 44%, rgba(255,255,255,.04) 44.2% 44.6%, transparent 45% 54%, rgba(255,255,255,.03) 54.2% 54.6%, transparent 55%); }

/* ── 06 · No more: two logos the same height, struck out ── */
.logos { align-self: center; display: flex; justify-content: center; align-items: center; gap: clamp(32px, 8vw, 120px); padding: 0 24px; }
.logo { position: relative; }
.logo { --logo-h: clamp(130px, 20vw, 280px); }
.logo img { height: var(--logo-h); width: auto; display: block; }
/* The strike is sized from the logo height, not its width, so both lines are the same length */
.logo .strike { position: absolute; left: 50%; width: calc(var(--logo-h) * 1.56); margin-left: calc(var(--logo-h) * -0.78); top: 50%; height: clamp(8px, 1.4vw, 18px); background: #E0262E; border-radius: 999px; transform: translateY(-50%) rotate(-45deg); box-shadow: 0 0 0 4px var(--g5); }

/* ── FAQ: the last screen, with the footer pinned to its bottom ── */
.faq { min-height: 100vh; min-height: 100svh; padding: var(--nav-clear) 0 0; display: flex; flex-direction: column; }
.faq .wrap { width: 100%; }
.faq h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 20px; }
.faq .faq-list { gap: 8px; margin-bottom: 64px; }
.faq summary { padding: 16px 24px; font-size: 16px; }
.faq details p { padding: 0 24px 18px; font-size: 14.5px; }
.faq footer { margin-top: auto; }

/* ── Footer ── */
/* One footer, one height, on every page */
footer { padding: 32px 0 36px; border-top: 1px solid var(--g4); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--g1); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }

/* ── Pricing page: one screen, one card ── */
.price { height: auto; min-height: 100svh; grid-template-rows: auto auto; padding-bottom: 96px; }
.price .slide-head { padding-top: 104px; margin-bottom: 40px; min-height: 0; }
.price .plan-stage { display: flex; justify-content: center; align-items: flex-start; padding: 0 24px; }
.price .plan { width: 100%; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .figs { grid-template-columns: repeat(4, 1fr); }
  .fig:nth-child(4) { border-right: 0; }
  .fig:nth-child(-n+4) { border-bottom: 1px solid var(--g4); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  /* Phones: screens flow at their natural height and the app pictures swipe sideways inside their frame */
  .slide { height: auto; min-height: 0; padding: 0 0 56px; grid-template-rows: auto auto; }
  .slide-head { min-height: 0; padding-top: 72px; }
  .slide h2.one { white-space: normal; }
  .hero { min-height: 100svh; padding: 128px 0 36px; grid-template-rows: 1fr; }
  .hero-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 48px 28px; }
  .pic { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; justify-content: flex-start; padding: 0 24px; }
  .pic::-webkit-scrollbar { display: none; }
  .fitbox { transform: none !important; width: auto; }
  .shot { width: 860px; }
  .phone-stage { display: grid; justify-items: center; gap: 20px; width: 100%; }
  .pic { overflow: visible; justify-content: center; }
  .fitbox[data-fit="width"] { display: none; }
  .phone-alt { display: block; }
  .phone-alt .phone { max-width: 100%; }
  .cta { padding-top: 56px; padding-bottom: 12px; }
  .faq { padding-top: 32px; }
  .live { position: static; }
  .arrow { display: none; }
  .cta { height: auto; min-height: 0; }
  .cta .wrap { height: auto; }
  .cta-card { height: auto; }
  .note-hand { display: none; }
  .cta-card { border-radius: var(--r-xl); }
  .faq { height: auto; min-height: 0; }
  .hero-card { width: calc(100% - 48px); }
  .dash-top { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .nav { padding: 8px 8px 8px 14px; }
  .nav-cta .btn.ghost { display: none; }
  .btn.xl { padding: 20px 30px; }
  .phone { width: 320px; max-width: 100%; }
  .phone-screen { height: 600px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pic.reveal .fitbox { opacity: 1; translate: none; transition: none; }
  * { transition: none !important; }
}

/* ══ Carried over for the inner pages (fit, pricing, privacy, pay, blog) ══ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--g1); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 56px); }
.sec-head p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--g1); max-width: 620px; }
/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
details { border-radius: var(--r-lg); box-shadow: var(--ring); overflow: hidden; background: var(--paper); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
/* .closing keeps [open] while the height collapses, so the colours fade back at the same time */
details[open]:not(.closing) { background: var(--ink); color: var(--paper); box-shadow: none; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: inherit; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--g2); transition: transform .4s var(--ease), color .4s var(--ease); flex: none; }
details[open]:not(.closing) summary::after { transform: rotate(45deg); color: var(--paper); }
details p { padding: 0 28px 26px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 720px; }
/* ── Closing CTA ── */
.cta-end { padding: 0 0 96px; }
.cta-end-card {
  border-radius: var(--r-xl); box-shadow: var(--ring);
  padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-end-card h2 { font-size: clamp(28px, 3.6vw, 40px); text-wrap: balance; }
.cta-end-card p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--g1); max-width: 520px; }
.cta-end-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.price-hero { padding: 172px 0 40px; text-align: center; }
.price-hero h1 { font-size: clamp(40px, 6vw, 72px); text-wrap: balance; }
.price-hero p { margin: 20px auto 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--g1); }
.plan {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--ring);
}
.plan-main { background: var(--ink); color: var(--paper); padding: 64px 60px; }
.plan-main .tier { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.55); }
.plan-main h2 { color: var(--paper); font-size: clamp(32px, 4vw, 46px); margin-top: 14px; }
.plan-main .lede { color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.55; margin-top: 20px; max-width: 360px; }
.plan-price { margin-top: 36px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-price .big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .unit { color: rgba(255,255,255,.55); font-size: 14px; }
.plan-main .btn { margin-top: 30px; }
.plan-main .fine { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.plan-main .fine a { color: rgba(255,255,255,.8); text-decoration: underline; }
.plan-feats { padding: 64px 60px; display: grid; align-content: center; }
.plan-feats h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--g1); font-weight: 700; }
.plan-feats ul { list-style: none; margin-top: 24px; display: grid; gap: 18px; }
.plan-feats li { display: flex; gap: 14px; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.plan-feats li::before { content: "✓"; font-weight: 800; color: var(--ink); flex: none; }
.plan-feats li small { display: block; color: var(--g1); font-size: 13px; margin-top: 2px; }
.contact-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid .note h4 { font-size: 16px; }
.welcome-fine { max-width: 960px; margin: 0 auto; text-align: center; font-size: 14px; line-height: 1.6; color: var(--g1); }
.welcome-fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* ── Privacy page ── */
.legal { padding: 152px 0 96px; }
.legal-wrap { max-width: 720px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 12px; }
.legal-date { margin-top: 12px; font-size: 14px; color: var(--g1); }
.legal h2 { font-size: 20px; letter-spacing: -0.02em; margin-top: 40px; }
.legal p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
/* ── Take-payment page (private, used on demo calls) ── */
.pay { padding: 56px 0 96px; }
.pay-wrap { max-width: 720px; }
.pay .brand { margin-bottom: 48px; }
.pay h1 { font-size: clamp(32px, 5vw, 48px); }
.pay .f.wide { grid-column: 1 / -1; }
.f select {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink);
  padding: 13px 40px 13px 16px; border: 0; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.f select:focus { outline: none; box-shadow: var(--ring); }
.pay-summary { margin-top: 20px; min-height: 22px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pay-result { margin-top: 28px; padding: 20px; border-radius: var(--r-lg); box-shadow: var(--ring); }
.pay-link { display: flex; gap: 8px; }
.pay-link input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 12px 16px; border: 0; border-radius: var(--r-pill); box-shadow: var(--ring-soft); background: var(--g5); color: var(--ink); }
/* ── Fit / book a demo page ── */
.fit { padding: 40px 0 64px; }
/* Form page: header and footer sit in the page flow so a long step (the details form) is never covered.
   The footer still rests on the bottom edge while a step is short. */
.page-fit { min-height: 100svh; display: flex; flex-direction: column; }
.page-fit main { flex: 1; }
.page-fit .nav { position: static; transform: none; margin: 16px auto 0; will-change: auto; }
.fit-wrap { max-width: 960px; }

/* Progress track: the plane flies node to node as the answers come in */
.track { position: relative; height: 28px; margin: 0 6px; }
.track-line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--g3); border-radius: 2px; }
.track-fill { height: 100%; width: 0; background: var(--ink); border-radius: 2px; transition: width .5s var(--ease); }
.track-plane { position: absolute; top: 14px; left: 0; width: 30px; height: 30px; margin-left: -15px; transform: translateY(-50%); display: grid; place-items: center; background: var(--ink); color: var(--paper); border-radius: 50%; box-shadow: 0 0 0 4px var(--paper); transition: left .5s var(--ease); z-index: 1; }
.track-plane svg { width: 14px; height: 14px; }
.track.done .track-plane { background: var(--viz-green); }
.track-step { margin: 18px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g1); }

.screen { padding: 0; }
/* Details step: two columns sharing three rows (content, buttons, fine print) so Back and Request a demo sit level */
.screen.cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto auto auto; gap: 0 48px; align-items: start; }
.screen.cols .col-l, .screen.cols .col-r { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 3; align-items: start; }
.screen.cols .fit-actions { align-self: stretch; }
.screen.cols .fit-fields { margin-top: 6px; grid-template-columns: 1fr; }
.screen h1 { font-size: clamp(32px, 5vw, 52px); text-wrap: balance; }
.fit-lede { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--g1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.big { margin-top: 44px; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 11px 18px; border-radius: var(--r-pill);
  box-shadow: var(--ring-soft); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, box-shadow .15s, color .15s;
}
.chips.big span { padding: 18px 26px; font-size: 17px; border-radius: var(--r-md); }
.chips label:hover span { background: var(--g5); }
.chips input:checked + span { background: var(--ink); color: var(--paper); box-shadow: var(--ring); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fit-actions.center { justify-content: center; }
[hidden] { display: none !important; }
.other-box { margin-top: 18px; display: grid; gap: 14px; max-width: 420px; }
.other-box .btn { justify-self: start; }

/* Success: same calm card as the app's "invitations sent" screen */
.success { text-align: center; padding: 8px 0 0; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center;
  animation: pop-in .45s var(--ease) both;
}
.success-icon svg { width: 30px; height: 30px; }
.success .fit-lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.success.honest .success-icon { display: none; }
.success.honest .fit-lede { max-width: 640px; }
.usecase { max-width: 640px; margin: 22px auto 0; text-align: left; }
.f textarea {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink); resize: vertical; min-height: 88px;
  padding: 13px 16px; border: 0; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper);
}
.f textarea:focus { outline: none; box-shadow: var(--ring); }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.confetti { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.confetti span {
  position: absolute; top: -24px; display: block; opacity: 0; border-radius: 2px;
  animation-name: confetti-fall; animation-timing-function: linear; animation-fill-mode: forwards;
}
@keyframes confetti-fall {
  0%   { opacity: 1; transform: translate3d(0, 0, 0) rotate3d(1, .4, 0, 0deg); }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 105vh, 0) rotate3d(1, .4, 0, var(--spin)); }
}
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }
.fit-err { font-size: 13.5px; font-weight: 600; color: var(--viz-red); }
.fit-back { margin-top: 22px; }
.fit-back:empty { display: none; }
.fit-verdict { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.fit-verdict .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; }
.fit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.f { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.f small { font-weight: 500; color: var(--g2); margin-left: 6px; }
.f input {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 0; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper);
}
.f input:focus { outline: none; box-shadow: var(--ring); }
.fit-fine { margin-top: 16px; font-size: 13px; color: var(--g2); }
/* Details screen: their four answers, sent along with the request */
.recap { list-style: none; margin-top: 24px; display: grid; gap: 8px; }
.recap li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--g4); }
.recap li span { color: var(--g1); }
.recap li b { color: var(--ink); font-weight: 600; text-align: right; }
.fit-done { text-align: left; }

@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } .plan { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .plan-main, .plan-feats { padding: 40px 28px; }
  .fit-fields { grid-template-columns: 1fr; }
  .screen.cols { grid-template-columns: 1fr; gap: 0; }
  .screen.cols .col-l, .screen.cols .col-r { display: contents; }
  .screen.cols .col-r > .fit-fields { order: 2; margin-top: 22px; }
  .screen.cols .fit-actions { order: 3; }
  .screen.cols .fit-fine { order: 4; }
  .screen.cols .col-l > .fit-actions { order: 5; margin-top: 16px; }
  .chips.big span { padding: 15px 20px; font-size: 16px; }
  .page-fit .foot-links { display: none; }
  summary { padding: 20px 22px; font-size: 16px; }
  details p { padding: 0 22px 22px; font-size: 14.5px; }
}

/* ── Blog ── */
.blog-hero { padding: 172px 0 24px; }
.blog-hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 900px; text-wrap: balance; }
.blog-hero p { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--g1); max-width: 640px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.chip { font: inherit; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: var(--r-pill); border: 0; background: var(--paper); color: var(--g1); box-shadow: var(--ring-soft); transition: background .15s, color .15s, box-shadow .15s; }
.chip:hover { color: var(--ink); box-shadow: var(--ring); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.blog-list { padding: 40px 0 96px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 24px; border-radius: var(--r-lg); box-shadow: var(--ring-soft); background: var(--paper); transition: box-shadow .15s, transform .2s var(--ease); min-width: 0; }
.card:hover { box-shadow: var(--ring); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g1); }
.card h2 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--g1); flex: 1; }
.card-meta, .post-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--g1); }
.card .av, .post-meta .av, .post-author .av { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }

.post { padding: 152px 0 64px; }
.post-wrap { max-width: 720px; }
.post-back { display: block; width: max-content; font-size: 13px; font-weight: 600; color: var(--g1); margin-bottom: 28px; }
.post-back::before { content: "←"; margin-right: 6px; }
.post-back:hover { color: var(--ink); }
.post h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 12px; text-wrap: balance; }
.post-lede { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--g1); }
.post-meta { margin-top: 26px; padding-bottom: 28px; border-bottom: 1px solid var(--g4); font-size: 13.5px; }
.post-meta .av { width: 36px; height: 36px; font-size: 12px; }
.post-meta div { display: flex; flex-direction: column; gap: 2px; }
.post-meta b { color: var(--ink); font-weight: 700; }
.post-body { margin-top: 36px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.post-body > * + * { margin-top: 20px; }
.post-body h2 { font-size: 26px; letter-spacing: -0.025em; margin-top: 48px; line-height: 1.2; }
.post-body h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 36px; line-height: 1.25; }
.post-body h2 + *, .post-body h3 + * { margin-top: 14px; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--g2); }
.post-body a:hover { text-decoration-color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 26px; display: grid; gap: 8px; }
.post-body li::marker { color: var(--g1); font-weight: 600; }
.post-body blockquote { padding: 20px 24px; border-radius: var(--r-md); background: var(--g5); box-shadow: var(--ring-soft); font-size: 16px; }
.post-body blockquote > * + * { margin-top: 12px; }
.post-body pre { padding: 20px 22px; border-radius: var(--r-md); box-shadow: var(--ring); background: var(--paper); font: 500 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.post-body code { font: 500 .92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--g4); padding: 1px 6px; border-radius: 6px; }
.post-body pre code { background: none; padding: 0; }
.post-body .tbl { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--ring-soft); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.post-body th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--g1); padding: 12px 14px; background: var(--g5); border-bottom: 1px solid var(--g4); font-weight: 700; }
.post-body td { padding: 12px 14px; border-bottom: 1px solid var(--g4); vertical-align: top; line-height: 1.5; }
.post-body tr:last-child td { border-bottom: 0; }
.post-body strong { color: var(--ink); }
.post-author { display: flex; gap: 16px; margin-top: 56px; padding: 26px 28px; border-radius: var(--r-lg); box-shadow: var(--ring-soft); }
.post-author .av { width: 44px; height: 44px; font-size: 13px; }
.post-author b { display: block; color: var(--ink); font-size: 16px; }
.post-author small { display: block; color: var(--g1); font-size: 13px; margin-top: 2px; }
.post-author p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.post-more { margin-top: 56px; }
.post-more h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 18px; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-md); box-shadow: var(--ring-soft); transition: box-shadow .15s; min-width: 0; }
.more-card:hover { box-shadow: var(--ring); }
.more-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g1); }
.more-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.more-meta { font-size: 12px; color: var(--g1); margin-top: auto; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .more-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } .post-body { font-size: 16px; } .post-author { flex-direction: column; } }
.answer { margin-top: 32px; padding: 22px 26px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); font-size: 17px; line-height: 1.6; font-weight: 500; }
.answer span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.answer strong { color: var(--paper); }
.blog-notice { font-size: 12px; line-height: 1.6; color: var(--g2); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--g4); }

/* Comparison grids: break out of the text column so every column fits without scrolling */
.post-body .tbl.compare { overflow: hidden; width: min(1000px, calc(100vw - 64px)); position: relative; left: 50%; transform: translateX(-50%); }
.post-body .compare table { table-layout: fixed; font-size: 13.5px; }
.post-body .compare th { text-transform: none; letter-spacing: -0.01em; font-size: 13px; color: var(--ink); }
.post-body .compare th:first-child { width: 22%; }
.post-body .compare th, .post-body .compare td { padding: 10px 12px; overflow-wrap: anywhere; }
.post-body .compare th { overflow-wrap: normal; hyphens: manual; }
.post-body .compare td:first-child { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .post-body .tbl.compare { width: auto; left: 0; transform: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .post-body .compare table, .post-body .compare tbody, .post-body .compare tr, .post-body .compare td { display: block; width: auto; }
  .post-body .compare thead { display: none; }
  .post-body .compare tr { padding: 14px 16px; border-radius: var(--r-md); box-shadow: var(--ring-soft); background: var(--paper); }
  .post-body .compare tr + tr { margin-top: 12px; }
  .post-body .compare td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--g4); text-align: right; }
  .post-body .compare td:last-child { border-bottom: 0; }
  .post-body .compare td::before { content: attr(data-label); font-weight: 600; color: var(--g1); text-align: left; flex: none; max-width: 45%; }
  .post-body .compare td:first-child { display: block; text-align: left; font-size: 15px; padding: 0 0 8px; }
  .post-body .compare td:first-child::before { content: none; }
}
