/* The agency site. One stylesheet, no framework.
   Palette: warm paper, deep pine, clay. Pine carries the stage and the pricing
   band; clay is for the one action that matters on each screen.
   Motion: one easing curve, a handful of moments, all off under reduced motion. */

:root {
  --paper: oklch(97.4% 0.01 92);
  --paper-2: oklch(94.6% 0.016 92);
  --paper-3: oklch(91% 0.02 95);
  --ink: oklch(23% 0.022 165);
  --ink-2: oklch(41% 0.022 165);
  --ink-3: oklch(55% 0.018 165);
  --rule: oklch(87% 0.014 110);
  --pine: oklch(34.5% 0.062 160);
  --pine-2: oklch(28.5% 0.052 162);
  --pine-3: oklch(41% 0.064 160);
  --on-pine: oklch(95% 0.018 120);
  --on-pine-2: oklch(84% 0.035 145);
  --clay: oklch(55.5% 0.145 41);
  --clay-2: oklch(49% 0.14 40);
  --clay-soft: oklch(90% 0.045 55);
  --sun: oklch(88% 0.09 86);
  --ok: oklch(52% 0.11 150);
  --err: oklch(51% 0.17 28);

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 14px;
  --r-lg: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px oklch(23% 0.03 165 / 0.06), 0 8px 24px -8px oklch(23% 0.03 165 / 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--clay-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(2.45rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.028em; font-weight: 720; }
h2 { font-size: clamp(1.95rem, 3.5vw, 3rem); line-height: 1.06; letter-spacing: -0.022em; font-weight: 700; }
h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -0.005em; font-weight: 650; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }

.kicker {
  font: 650 0.78rem/1.2 var(--text); letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--clay-2); margin-bottom: 14px;
}
.kicker.on-dark { color: var(--sun); }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.fine { font-size: 0.9rem; color: var(--ink-3); }
.fine a { color: inherit; }
.opt { font-weight: 400; color: var(--ink-3); font-size: 0.85em; margin-left: 4px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: oklch(97.4% 0.01 92 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.top.scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 20px -16px oklch(23% 0.03 165 / 0.5); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--pine); color: var(--on-pine); font: 750 1.05rem/1 var(--display);
}
.brand .wordmark { font: 700 1.2rem/1 var(--display); letter-spacing: -0.015em; }
.brand.on-dark { color: var(--on-pine); }
.brand.on-dark .mark { background: var(--paper); color: var(--pine); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.97rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--clay);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-simple { color: var(--ink-2); font-size: 0.95rem; }
.nav-simple a { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--clay); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent;
  font: 650 1rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn.primary { background: var(--clay); color: oklch(98.5% 0.008 70); box-shadow: 0 1px 0 oklch(100% 0 0 / 0.18) inset, 0 6px 18px -8px oklch(50% 0.14 40 / 0.7); }
.btn.primary:hover { background: var(--clay-2); color: oklch(98.5% 0.008 70); transform: translateY(-1px); box-shadow: 0 1px 0 oklch(100% 0 0 / 0.18) inset, 0 10px 24px -10px oklch(50% 0.14 40 / 0.8); }
.btn.primary:active { transform: translateY(0); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.quiet:hover { border-color: var(--ink-3); color: var(--ink); transform: translateY(-1px); }
.btn.quiet.on-dark { color: var(--on-pine); border-color: oklch(95% 0.02 120 / 0.3); }
.btn.quiet.on-dark:hover { border-color: var(--on-pine); color: var(--on-pine); }
.btn.link { background: none; border: 0; padding: 0 6px; min-height: 44px; color: var(--ink-2); font-weight: 600; }
.btn.link:hover { color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.93rem; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn.busy { opacity: 0.7; cursor: progress; transform: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 92px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin-bottom: 22px; max-width: 12.5em; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-copy .fine { margin-top: 16px; }

.hero-stage {
  position: relative; display: grid; justify-items: center; gap: 14px;
  padding: clamp(28px, 4vw, 44px) 16px 18px; border-radius: 28px;
  background:
    radial-gradient(120% 80% at 20% 0%, oklch(44% 0.07 158) 0%, transparent 60%),
    var(--pine);
}
.hero-stage::after { /* a soft floor under the phone */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 46px; height: 26px;
  background: oklch(15% 0.03 165 / 0.45); filter: blur(18px); border-radius: 50%; z-index: 0;
}
.stage-note { color: var(--on-pine); font-size: 0.9rem; font-weight: 600; z-index: 1; }
.stage-note span { color: var(--on-pine-2); font-weight: 400; }

/* ---------- phone mockup ---------- */
.phone {
  position: relative; z-index: 1; width: min(318px, 100%); aspect-ratio: 9 / 18.6;
  padding: 11px; border-radius: 46px; background: oklch(18% 0.012 165);
  box-shadow: 0 0 0 1.5px oklch(38% 0.01 165) inset, 0 30px 60px -24px oklch(10% 0.03 165 / 0.7);
}
.phone::before { /* the camera island */
  content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px;
  background: oklch(12% 0.01 165); border-radius: 20px; z-index: 3;
}
.phone-screen {
  height: 100%; overflow: hidden; border-radius: 36px; background: oklch(97% 0.012 120);
  display: flex; flex-direction: column; position: relative;
}

.mini-top { display: flex; justify-content: space-between; align-items: center; padding: 52px 18px 10px; }
.mini-brand { font: 750 0.95rem/1 var(--display); color: oklch(33% 0.08 140); }
.mini-call { font: 700 0.72rem/1 var(--text); color: #fff; background: oklch(45% 0.12 140); padding: 7px 11px; border-radius: 8px; }
.mini-hero { padding: 8px 18px 14px; }
.mini-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: oklch(45% 0.1 140); margin-bottom: 6px; }
.mini-h { font: 740 1.38rem/1.08 var(--display); letter-spacing: -0.02em; color: oklch(24% 0.04 150); }
.mini-list { list-style: none; margin: 14px 18px 0; padding: 0; display: grid; gap: 7px; }
.mini-list li { font-size: 0.78rem; color: oklch(35% 0.03 150); padding-left: 16px; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 7px; height: 7px; border-radius: 2px; background: oklch(62% 0.13 135); }
.mini-cta {
  margin: auto 14px 16px; padding: 12px; border-radius: 12px; text-align: center;
  font: 700 0.85rem/1 var(--text); color: #fff; background: oklch(45% 0.12 140);
}

/* ---------- before/after slider ---------- */
.ba {
  --pos: 50%; position: relative; margin: 0 12px; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden;
  background: var(--paper-3); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { position: absolute; inset: 0; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px oklch(0% 0 0 / 0.08); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: #fff center / 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23284a3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");
  box-shadow: 0 4px 14px -4px oklch(0% 0 0 / 0.45);
}
.ba-tag {
  position: absolute; top: 10px; font: 700 0.62rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: oklch(15% 0.02 165 / 0.55); padding: 5px 7px; border-radius: 6px; pointer-events: none;
}
.ba-tag-before { left: 10px; }
.ba-tag-after { right: 10px; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 200px; }
.ba-range::-moz-range-thumb { width: 44px; height: 200px; border: 0; }
.ba:focus-within .ba-handle::after { box-shadow: 0 0 0 3px var(--clay), 0 4px 14px -4px oklch(0% 0 0 / 0.45); }

/* ---------- what you get ---------- */
.included { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.included-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.included-head { position: sticky; top: 110px; }
.included-head h2 { margin-bottom: 18px; }
.included-head p:not(.kicker) { color: var(--ink-2); max-width: 30em; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.features li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 26px 0; border-top: 1px solid var(--rule); }
.features li:nth-child(-n+2) { border-top-color: var(--ink); }
.features svg {
  width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--paper-2);
  fill: none; stroke: var(--pine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.features h3 { margin-bottom: 6px; }
.features p { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- how it works ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0; }
.how-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { /* the line that joins the steps; it draws in once */
  content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--pine);
  transform-origin: left; transform: scaleX(1);
}
.steps li { position: relative; padding-top: 64px; }
.step-n {
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 720 1.05rem/1 var(--display); color: var(--on-pine); background: var(--pine); box-shadow: 0 0 0 6px var(--paper);
}
.steps h3 { margin-bottom: 8px; font-size: 1.22rem; }
.steps p { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- pricing ---------- */
.pricing { padding: clamp(64px, 9vw, 120px) 0; background: var(--pine); color: var(--on-pine); }
.pricing h2, .pricing h3 { color: var(--on-pine); }
.pricing-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.pricing-copy h2 { margin-bottom: 18px; }
.pricing-copy p:not(.kicker) { color: var(--on-pine-2); max-width: 24em; font-size: 1.1rem; }
.price-sheet { border-top: 1px solid oklch(95% 0.02 120 / 0.28); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid oklch(95% 0.02 120 / 0.28); }
.price-name h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price-name p { color: var(--on-pine-2); max-width: 30em; }
.price-num { text-align: right; }
.price-num b { display: block; font: 750 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--display); letter-spacing: -0.03em; }
.price-num span { display: block; margin-top: 6px; color: var(--on-pine-2); font-size: 0.95rem; }
.price-terms { padding: 22px 0 28px; color: var(--on-pine-2); }
.price-terms a { color: var(--sun); }
.price-terms a:hover { color: var(--on-pine); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-head h2 { margin-bottom: 16px; }
.faq-head p:not(.kicker) { color: var(--ink-2); max-width: 26em; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 650 1.13rem/1.35 var(--display); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-list summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--ink-2);
  transition: transform 0.35s var(--ease);
}
.faq-list summary::before { transform: rotate(90deg); }
.faq-list details[open] summary::before { transform: rotate(0deg); }
.faq-list details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 40em; }
.faq-list details[open] p { animation: open 0.45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- forms ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 19px; height: 19px; border-radius: 50%; background: var(--pine) center / 11px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; position: relative; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field small { color: var(--ink-3); font-size: 0.85rem; }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--text); color: var(--ink); background: oklch(99% 0.004 92);
  border: 1.5px solid var(--rule); border-radius: 11px; padding: 12px 14px; min-height: 50px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: oklch(99% 0.004 92) right 14px center / 14px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px oklch(34.5% 0.062 160 / 0.14); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--err); }
.field .why { color: var(--err); font-size: 0.85rem; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: center; padding: 20px 8px; }
.form-done h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-done p { color: var(--ink-2); }
.form-error { color: var(--err); font-weight: 600; font-size: 0.95rem; }
.form.sent > :not(.form-done) { display: none; }

/* ---------- footer ---------- */
.foot { background: var(--pine-2); color: var(--on-pine-2); padding: 56px 0 40px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 60px; }
.foot-brand p { margin-top: 14px; max-width: 26em; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; align-content: start; }
.foot-links a { color: var(--on-pine); text-decoration: none; font-weight: 550; }
.foot-links a:hover { color: var(--sun); }
.foot-small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid oklch(95% 0.02 120 / 0.16); font-size: 0.9rem; }
.foot-small a { color: var(--on-pine-2); }

/* ---------- sign-up ---------- */
.start { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 100px); }
.start-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.start-h { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 12px; }
.start-lead { color: var(--ink-2); max-width: 34em; margin-bottom: 26px; }
.notice { background: var(--clay-soft); color: oklch(33% 0.08 40); padding: 14px 16px; border-radius: 12px; margin-bottom: 22px; font-weight: 550; }
.progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; }
.progress li {
  flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--ink-3);
  padding-top: 12px; border-top: 3px solid var(--rule); transition: color 0.3s var(--ease), border-color 0.4s var(--ease);
}
.progress li span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 0.8rem/1 var(--display);
  background: var(--paper-2); color: var(--ink-3); transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.progress li.on { color: var(--ink); border-top-color: var(--pine); }
.progress li.on span { background: var(--pine); color: var(--on-pine); }
.progress li.done { color: var(--ink-2); border-top-color: var(--pine-3); }
.progress li.done span { background: var(--pine-3); color: var(--on-pine); }
#signup { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.step legend { font: 700 1.5rem/1.2 var(--display); letter-spacing: -0.015em; margin-bottom: 4px; padding: 0; }
.step.enter { animation: step-in 0.55s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.step-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 6px; }
.keypoints { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.keypoints li { padding: 12px 14px 12px 44px; position: relative; background: var(--paper-2); border-radius: 12px; color: var(--ink-2); }
.keypoints li::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 19px; height: 19px; border-radius: 50%; background: var(--pine) center / 11px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.keypoints b { color: var(--ink); }
.keypoints.small li { font-size: 0.95rem; }
.agreement-box {
  max-height: 340px; overflow: auto; padding: 18px 20px; border: 1.5px solid var(--rule); border-radius: 12px; background: oklch(99% 0.004 92);
  font-size: 0.93rem; overscroll-behavior: contain;
}
.agreement-box h2 { font-size: 1.05rem; margin: 18px 0 6px; letter-spacing: 0; }
.agreement-box p, .agreement-box ul { margin: 0 0 10px; color: var(--ink-2); }
.agreement-box ul { padding-left: 20px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; padding: 14px; border-radius: 12px; border: 1.5px solid var(--rule); }
.check:has(input:checked) { border-color: var(--pine); background: oklch(34.5% 0.062 160 / 0.05); }
.check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--pine); }
.check.bad { border-color: var(--err); }
.signature { display: grid; gap: 4px; padding: 14px 18px; border-left: 0; border-radius: 12px; background: var(--paper-2); }
.sig-name { font: italic 500 1.7rem/1.1 Georgia, "Times New Roman", serif; color: var(--ink); }
.sig-meta { font-size: 0.85rem; color: var(--ink-3); }
.secure { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.summary { position: sticky; top: 96px; }
.due-mobile { /* phones: the summary sits below the form, so say what's due up here */
  display: none; justify-content: space-between; align-items: baseline; gap: 12px; margin: -8px 0 22px;
  padding: 12px 16px; border-radius: 12px; background: var(--pine); color: var(--on-pine); font-size: 0.93rem;
}
.due-mobile b { font: 750 1.25rem/1 var(--display); }
.summary-card { background: var(--pine); color: var(--on-pine); border-radius: var(--r-lg); padding: 26px; }
.summary-card h2 { color: var(--on-pine); font-size: 1.35rem; margin-bottom: 16px; }
.summary-card dl { margin: 0; display: grid; gap: 10px; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary-card dt { color: var(--on-pine-2); }
.summary-card dd { margin: 0; font-weight: 650; }
.due { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid oklch(95% 0.02 120 / 0.25); }
.due b { font: 750 2rem/1 var(--display); letter-spacing: -0.02em; }
.summary-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; color: var(--on-pine-2); }
.summary-list li { padding-left: 20px; position: relative; }
.summary-list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.summary-card .fine { color: var(--on-pine-2); }
.summary-card .fine a { color: var(--on-pine); }

/* ---------- welcome, legal, 404 ---------- */
.welcome, .lost { padding: clamp(56px, 8vw, 110px) 0; }
.welcome h1, .lost h1 { margin-bottom: 18px; }
.welcome .lead, .lost .lead { margin-bottom: 36px; }
.next { list-style: none; counter-reset: n; margin: 0 0 36px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.next li { counter-increment: n; position: relative; padding: 22px 0 22px 56px; border-bottom: 1px solid var(--rule); }
.next li::before {
  content: counter(n); position: absolute; left: 0; top: 20px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pine); color: var(--on-pine); font: 700 0.95rem/1 var(--display);
}
.next h3 { margin-bottom: 4px; }
.next p { color: var(--ink-2); }
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: 20px; }
.legal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.35rem; margin: 38px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; color: var(--ink-2); max-width: 68ch; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }

/* ---------- client login and dashboard ---------- */
.login { padding: clamp(40px, 7vw, 96px) 0; }
.login-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; width: min(1000px, 100% - 2 * var(--gutter)); }
.login h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 14px; }
.login .lead { margin-bottom: 24px; }
.acct { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 100px); }
.acct-in { width: min(900px, 100% - 2 * var(--gutter)); }
.acct-h { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 6px; }
.acct-who { margin-bottom: 28px; }
.acct-block { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); margin-bottom: 24px; }
.acct-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.acct-block .ctas { margin-top: 16px; }
.acct-status { color: var(--ink-2); margin-bottom: 20px; }
.acct-part { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 22px; }
.acct-part h3 { margin-bottom: 6px; }
.acct-part > p, .acct-row p { color: var(--ink-2); margin-bottom: 14px; max-width: 60ch; }
.acct-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.track li { display: grid; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.track li span { height: 6px; border-radius: 6px; background: var(--paper-3); }
.track li.done { color: var(--ink-2); }
.track li.done span { background: var(--pine); }
.track li.now { color: var(--ink); }
.track li.now span { background: var(--clay); }
.drop {
  position: relative; display: grid; place-items: center; min-height: 120px; padding: 20px; text-align: center; cursor: pointer;
  border: 2px dashed var(--rule); border-radius: 14px; background: oklch(99% 0.004 92); color: var(--ink-2);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--pine); background: oklch(34.5% 0.062 160 / 0.05); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 3px solid var(--clay); outline-offset: 3px; }
.drop b { color: var(--pine); }
.upload.busy .drop { opacity: 0.6; pointer-events: none; }
.upload-note { min-height: 1.4em; margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
.upload-note.bad { color: var(--err); font-weight: 600; }
.files { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.files li { display: grid; gap: 4px; font-size: 0.8rem; color: var(--ink-2); min-width: 0; }
.files img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.files span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files small { color: var(--ink-3); }
.change textarea { margin-bottom: 10px; }
.change-row { display: flex; align-items: center; gap: 12px; }
.change-row .upload-note { margin: 0; }
.acct-agreement summary { cursor: pointer; list-style: none; }
.acct-agreement summary::-webkit-details-marker { display: none; }
.acct-agreement summary h3 { display: inline; }
.acct-agreement summary::after { content: " +"; color: var(--ink-3); font-weight: 700; }
.acct-agreement[open] summary::after { content: " \2212"; }
.acct-agreement pre {
  max-height: 320px; overflow: auto; margin: 10px 0 0; padding: 14px; border-radius: 12px; background: var(--paper-2);
  white-space: pre-wrap; font: 0.85rem/1.5 ui-monospace, Menlo, Consolas, monospace;
}
.files .doc { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--paper-2); font-weight: 700; color: var(--ink-3); }
.files a { display: block; }

/* the client's numbers: a period picker, one hero figure, a few tiles, one bar chart, a table twin */
.stats-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.stats-head h3 { margin: 0; }
.range { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--paper-2); }
.range a { padding: 7px 12px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.range a:hover { color: var(--ink); }
.range a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px oklch(23% 0.03 165 / 0.14); }
.hero-stat { display: grid; gap: 4px; margin-bottom: 16px; }
.hero-stat b { font: 700 3.2rem/1 var(--text); letter-spacing: -0.02em; color: var(--ink); }
.tile-label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.tile-delta { font-size: 0.85rem; color: var(--ink-3); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 24px; }
.tile { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); }
.tile-value { font: 700 1.6rem/1.1 var(--text); color: var(--ink); }
.chart { --chart: #2a7a52; --chart-on: #1c5c3c; margin: 0 0 10px; }
.chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.chart figcaption b { font-weight: 650; }
.chart figcaption span { font-size: 0.85rem; color: var(--ink-3); }
.chart-plot { position: relative; height: 200px; margin-left: 32px; }
.chart-grid span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid oklch(91% 0.012 100); }
.chart-grid span:first-child { border-top-color: oklch(80% 0.015 110); }
.chart-grid b { position: absolute; right: 100%; top: 0; margin-right: 8px; transform: translateY(-50%); font-size: 0.72rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chart-bars { position: absolute; inset: 0; display: flex; align-items: stretch; gap: var(--gap, 2px); margin: 0; padding: 0; list-style: none; }
.chart-bars li { flex: 1; min-width: 0; display: flex; align-items: flex-end; justify-content: center; outline: none; }
.chart-bars li span { display: block; width: 100%; max-width: 24px; background: var(--chart); border-radius: 4px 4px 0 0; transition: background-color 0.15s var(--ease); }
.chart-bars li:hover span, .chart-bars li.on span { background: var(--chart-on); }
.chart-bars li:focus-visible { box-shadow: inset 0 0 0 2px var(--clay); border-radius: 4px; }
.chart-tip {
  position: absolute; z-index: 2; display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; white-space: nowrap; pointer-events: none;
  transform: translate(-50%, -100%); background: var(--ink); color: var(--paper); box-shadow: var(--shadow);
}
.chart-tip b { font-size: 0.95rem; }
.chart-tip span { font-size: 0.78rem; opacity: 0.8; }
.chart-x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 8px 0 0 32px; font-size: 0.72rem; color: var(--ink-3); }
.chart-x span { display: flex; justify-content: center; white-space: nowrap; }
.chart-x span.end { justify-content: flex-end; } /* the newest label, in a narrow column, stays inside the chart */
.chart-table summary { margin-top: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.chart-table table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { padding: 7px 8px; border-bottom: 1px solid var(--rule); text-align: right; }
.chart-table th:first-child { text-align: left; font-weight: 500; }
.chart-table thead th { font-size: 0.78rem; font-weight: 650; color: var(--ink-3); }
.scroll { overflow-x: auto; }

.auth-go { margin: 24px 0 16px; }
form.nav-simple { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- designs gallery (home page) ---------- */
.designs { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); background: var(--paper-2); border-top: 1px solid var(--rule); }
.designs-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px); }
.designs-head h2 { margin-bottom: 14px; }
.designs-head p:not(.kicker) { color: var(--ink-2); }
.dcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.dcard { display: grid; gap: 12px; min-width: 0; }
.dshot {
  display: block; position: relative; aspect-ratio: 9 / 12.5; overflow: hidden; border-radius: 18px;
  background: var(--paper-3); border: 1px solid var(--rule); box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dshot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 2.6s var(--ease); }
.dshot:hover { transform: translateY(-3px); box-shadow: 0 1px 2px oklch(23% 0.03 165 / 0.06), 0 18px 36px -14px oklch(23% 0.03 165 / 0.3); }
.dshot:hover img { object-position: 50% 38%; }
.dph { display: grid; place-items: center; width: 100%; height: 100%; font: 700 1.6rem/1 var(--display); color: var(--on-pine); background: var(--pine); }
.dmeta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dmeta h3 { font-size: 1.2rem; margin-bottom: 2px; }
.dmeta p { color: var(--ink-2); font-size: 0.95rem; }
.like {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--rule); color: var(--ink-2);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.like svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.like:hover { border-color: var(--clay); color: var(--clay); }
.like:active { transform: scale(0.92); }
.like[aria-pressed="true"] { background: var(--clay); border-color: var(--clay); color: #fff; }
.like[aria-pressed="true"] svg { fill: currentColor; }
.like.pill { width: auto; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; gap: 7px; font: 650 0.93rem/1 var(--text); }
.like.pill svg { width: 18px; height: 18px; }
.designs-more { margin-top: clamp(26px, 3vw, 36px); }

/* ---------- booking a design call ---------- */
.book { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.book-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.book-copy { position: sticky; top: 104px; }
.book-copy h2 { margin-bottom: 16px; }
.book-copy > p:not(.kicker) { color: var(--ink-2); max-width: 30em; margin-bottom: 22px; }
.liked { margin-top: 26px; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); }
.liked > p { margin-bottom: 10px; }
.liked ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.liked li { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); font-weight: 600; font-size: 0.93rem; }
.liked li button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.liked li button:hover { background: var(--paper-2); color: var(--err); }
.booker { gap: 22px; }
.pick, .details { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.pick legend, .details legend { font: 700 1.15rem/1.3 var(--display); letter-spacing: -0.01em; padding: 0; margin-bottom: 4px; }
.pick legend .fine { font: 500 0.85rem/1 var(--text); letter-spacing: 0; }
.details { gap: 16px; padding-top: 6px; border-top: 1px solid var(--rule); }
.details legend { padding-top: 18px; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 8px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.day {
  position: relative; flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px; min-width: 76px;
  padding: 10px 8px 9px; border-radius: 14px; border: 1.5px solid var(--rule); background: oklch(99% 0.004 92); cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.day:hover { border-color: var(--ink-3); }
.day .dw { font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.day .dn { font: 750 1.5rem/1.1 var(--display); }
.day .dm { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.day small { margin-top: 3px; font-size: 0.7rem; color: var(--ink-3); }
.day:has(input:checked) { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.day:has(input:checked) .dw, .day:has(input:checked) .dm, .day:has(input:checked) small { color: var(--on-pine-2); }
.day input, .time input, .opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.day:has(input:focus-visible), .time:has(input:focus-visible), .opt-card:has(input:focus-visible) { outline: 3px solid var(--clay); outline-offset: 2px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.time { position: relative; cursor: pointer; }
.time span {
  display: grid; place-items: center; min-height: 46px; border-radius: 11px; border: 1.5px solid var(--rule); background: oklch(99% 0.004 92);
  font-weight: 650; font-variant-numeric: tabular-nums; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.time:hover span { border-color: var(--pine); }
.time:has(input:checked) span { background: var(--clay); border-color: var(--clay); color: #fff; }
.row.tight { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 12px; }
.field.talk { grid-template-columns: 1fr 1fr; gap: 10px; }
.field.talk .label { grid-column: 1 / -1; font-weight: 600; font-size: 0.95rem; }
.opt-card { position: relative; cursor: pointer; }
.opt-card span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--rule); background: oklch(99% 0.004 92); transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.opt-card small { color: var(--ink-3); font-size: 0.85rem; }
.opt-card:has(input:checked) span { border-color: var(--pine); background: oklch(34.5% 0.062 160 / 0.06); }
.chosen { padding: 12px 14px; border-radius: 12px; background: var(--clay-soft); color: oklch(33% 0.08 40); }
.chosen:empty { display: none; }
.form-done.booked { text-align: left; padding: 8px 0; }
.form-done.booked h3 { font-size: 1.7rem; }
.form-done.booked p { margin-bottom: 10px; }
.book-alt { text-align: center; }
.form.sent .book-alt { display: none; }

/* ---------- design viewer (/designs, /showroom) ---------- */
.viewer { padding: clamp(24px, 4vw, 44px) 0 clamp(48px, 6vw, 80px); }
.viewer-in { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; width: min(1320px, 100% - 2 * var(--gutter)); }
.viewer-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.viewer-h { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; }
.viewer-lead { color: var(--ink-2); }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vlist button {
  width: 100%; display: grid; gap: 2px; text-align: left; padding: 11px 14px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid transparent; background: var(--paper-2); color: var(--ink); font: inherit;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.vlist button b { font: 700 1.02rem/1.2 var(--display); }
.vlist button small { color: var(--ink-3); font-size: 0.82rem; }
.vlist button:hover { border-color: var(--rule); background: var(--paper); }
.vlist button[aria-pressed="true"] { background: var(--pine); color: var(--on-pine); }
.vlist button[aria-pressed="true"] small { color: var(--on-pine-2); }
.theyliked { color: var(--clay); }
.vlist button[aria-pressed="true"] .theyliked { color: var(--sun); }
.vperson { padding: 14px 16px; border-radius: var(--r); background: var(--paper-2); display: grid; gap: 10px; }
.vperson summary { cursor: pointer; font-weight: 650; }
.vperson[open] summary { margin-bottom: 4px; }
.vperson input { min-height: 44px; padding: 8px 12px; }
.viewer-stage { display: grid; gap: 12px; min-width: 0; }
.vbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.vname b { font: 700 1.25rem/1.2 var(--display); margin-right: 6px; }
.vname span { color: var(--ink-2); }
.vtools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--paper-2); }
.seg button { border: 0; background: none; padding: 8px 12px; border-radius: 8px; font: 600 0.88rem/1 var(--text); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px oklch(23% 0.03 165 / 0.14); }
.vopen { font-weight: 600; font-size: 0.93rem; }
.device { position: relative; margin: 0 auto; overflow: hidden; }
.device iframe { display: block; border: 0; background: #fff; }
.device.on-phone { width: 390px; max-width: 100%; height: min(80vh, 820px); padding: 12px; border-radius: 46px; background: oklch(18% 0.012 165); box-shadow: 0 0 0 1.5px oklch(38% 0.01 165) inset, 0 30px 60px -28px oklch(10% 0.03 165 / 0.6); }
.device.on-phone iframe { width: 100%; height: 100%; border-radius: 34px; }
.device.on-desk { width: 100%; height: min(78vh, 780px); border-radius: 14px; border: 1px solid var(--rule); box-shadow: var(--shadow); background: #fff; }
.device.on-desk iframe { width: 1280px; transform-origin: 0 0; }

/* ---------- a booking's own page ---------- */
.mfacts { margin: 0 0 20px; display: grid; gap: 0; }
.mfacts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.mfacts dt { color: var(--ink-3); font-weight: 600; }
.mfacts dd { margin: 0; }
.meeting .picker { display: grid; gap: 12px; margin: 10px 0 14px; }

@media (max-width: 980px) {
  .nav a:nth-child(-n+2) { display: none; } /* "What you get" and "How it works": the rest fit a tablet */
  .book-in { grid-template-columns: minmax(0, 1fr); }
  .book-copy { position: static; }
  .viewer-in { grid-template-columns: minmax(0, 1fr); }
  .viewer-side { position: static; }
  .vlist { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .vlist li { flex: none; scroll-snap-align: start; }
  .vlist button { width: auto; min-width: 128px; }
}
@media (max-width: 760px) {
  .dcards { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
  .dcard { flex: 0 0 72%; scroll-snap-align: start; }
  .row.tight { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); }
  .seg { display: none; }
  .device.on-phone { width: 100%; height: 76vh; padding: 0; border-radius: 16px; background: none; box-shadow: none; border: 1px solid var(--rule); }
  .device.on-phone iframe { border-radius: 16px; }
  .mfacts div { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ---------- motion ---------- */
.rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .steps[data-reveal] { opacity: 1; transform: none; }
.js .steps[data-reveal]::before { transform: scaleX(0); transition: transform 1.3s var(--ease) 0.15s; }
.js .steps[data-reveal].in::before { transform: scaleX(1); }
.js .steps[data-reveal] li { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .steps[data-reveal].in li { opacity: 1; transform: none; }
.js .steps[data-reveal].in li:nth-child(2) { transition-delay: 0.22s; }
.js .steps[data-reveal].in li:nth-child(3) { transition-delay: 0.44s; }
.js .steps[data-reveal].in li:nth-child(4) { transition-delay: 0.66s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .steps[data-reveal] li { opacity: 1; transform: none; }
  .js .steps[data-reveal]::before { transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .hero-in, .included-in, .pricing-in, .faq-in, .start-in { grid-template-columns: minmax(0, 1fr); }
  .included-head { position: static; }
  .summary { position: static; }
  .due-mobile { display: flex; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 28px; }
  .hero-stage { padding-top: 26px; border-radius: 22px; }
  .phone { width: min(270px, 84%); }
  .features { grid-template-columns: 1fr; }
  .features li:nth-child(2) { border-top-color: var(--rule); }
  .row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .login-in, .acct-row { grid-template-columns: 1fr; }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .price-row { grid-template-columns: 1fr; gap: 12px; }
  .price-num { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .price-num span { margin: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .progress li { font-size: 0; gap: 0; }
  .progress li span { font-size: 0.8rem; }
  .step-actions { justify-content: space-between; }
  .step-actions .btn.primary { flex: 1; }
  .btn { white-space: normal; text-align: center; }
}

@media print {
  .top, .foot, .legal-actions, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal { padding: 0; }
  .prose p, .prose ul, .prose ol { color: #000; max-width: none; }
  a { color: #000; }
}
