/* HM Webworks. Editorial black-and-white: off-white and grey sections, solid black blocks,
   light-weight headlines, small mono labels, browser-framed screenshots in colour. */
:root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --grey: #eeeeec;
  --line: #dcdcd8;
  --ink: #141414;
  --muted: #555555;
  --faint: #6b6b6b;
  --dark: #141414;
  --dark-2: #1f1f1f;
  --dark-line: #333333;
  --on-dark: #f2f2f0;
  --on-dark-muted: #a9a9a6;
  --radius: 6px;
  --wrap: 1180px;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  /* Names the inbox and other pages still use */
  --paper: var(--bg); --white: var(--surface); --green: var(--ink); --sun: #8a8a8a;
  font-family: "Work Sans", system-ui, sans-serif;
  color-scheme: light;
  color: var(--ink);
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-size: 1rem; line-height: 1.6; background: transparent; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: from-font; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Small mono labels: "01 — Our work" */
.label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.small { font-size: .9rem; color: var(--muted); }
.arrow { width: .75em; height: .75em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(247,247,245,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.wordmark img { width: 40px; height: 40px; border-radius: 50%; }
.wordmark span { font-weight: 400; }
.wordmark b { font-weight: 600; }
nav { display: flex; align-items: center; gap: 1.8rem; min-width: 0; }
nav a { text-decoration: none; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.nav-chat { white-space: nowrap; }
/* Medium screens: drop the two in-page links before anything wraps onto two lines. */
@media (max-width: 1120px) { nav { gap: 1.3rem; } nav .nav-extra { display: none; } }
@media (max-width: 380px) { .wordmark { letter-spacing: .08em; gap: .5rem; } .nav-chat { padding: .5rem .8rem; } }
nav a:hover { color: var(--ink); }

/* Buttons */
.btn, .nav-chat {
  font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .8rem 1.25rem; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-main, .nav-chat { background: var(--ink); color: var(--on-dark); }
.btn-main:hover, .nav-chat:hover { background: #000; }
.nav-chat { padding: .55rem 1rem; }
.btn-line { border-color: #b9b9b5; color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.text-link { font: inherit; background: none; border: 0; padding: .4rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; text-decoration: underline; text-underline-offset: .25em; color: var(--ink); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section > .wrap > .label, .section .label + h2 { display: block; }
.section > .wrap > .label { margin-bottom: 1.4rem; }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-head p { color: var(--muted); max-width: 40ch; justify-self: end; }
.grey { background: rgba(232,232,230,.88); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .label { color: var(--on-dark-muted); }

/* Hero */
.hero-band { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.hero { display: grid; gap: 2rem; margin-bottom: 3rem; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 12ch; }
.hero-side { display: grid; gap: 1.5rem; max-width: 34rem; }
.hero-side p { font-size: 1.12rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.showcase { margin: 0; background: rgba(235,235,233,.9); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); }
.label-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.devices { position: relative; max-width: 940px; margin-inline: auto; padding-right: clamp(2rem, 9vw, 7rem); }

/* Browser frame (used in the hero, cards and the feature) */
.browser { background: var(--surface); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06); }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #f1f1ef; border-bottom: 1px solid #e2e2de; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9c9c5; }
.browser-bar span { flex: 1; text-align: center; font-family: var(--mono); font-size: .62rem; color: #8a8a86; margin-right: 36px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { aspect-ratio: 1440 / 800; width: 100%; object-fit: cover; object-position: top; }

.phone {
  position: absolute; right: 0; bottom: -1.2rem; width: clamp(110px, 21%, 190px); aspect-ratio: 9 / 18.5;
  border-radius: 22px; padding: 6px; background: #111; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: 8% top; border-radius: 17px; }

.points { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.5rem; align-items: start; padding: 2.2rem 0 3rem; border-bottom: 1px solid var(--line); }
.points p { font-size: .9rem; color: var(--muted); }
.points .points-lead { color: var(--ink); font-size: .95rem; }
.num { font-family: var(--mono); font-size: .7rem; color: var(--faint); margin-right: .5rem; }

/* Work cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { display: flex; flex-direction: column; }
.card-shot { display: block; background: rgba(233,233,231,.95); border-radius: var(--radius); padding: clamp(.8rem, 2vw, 1.2rem); margin-bottom: 1.1rem; text-decoration: none; transition: background .25s; }
.card-shot .browser-bar { border-radius: 6px 6px 0 0; height: 18px; }
.card-shot .browser-bar i { width: 5px; height: 5px; }
.card-shot img { aspect-ratio: 1440 / 860; width: 100%; object-fit: cover; object-position: top; border-radius: 0 0 6px 6px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); }
a.card-shot:hover { background: #e2e2df; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card-title h3 { font-size: 1.05rem; }
.card-title span { font-family: var(--mono); font-size: .72rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.card-text { font-size: .92rem; color: var(--muted); margin: .45rem 0 .3rem; }
.card-meta { font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.card-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.card-foot a { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 500; text-decoration: none; padding-block: .4rem; }
.card-foot a:hover { text-decoration: underline; }

/* Why (black) */
.why h2 { max-width: 20ch; padding-bottom: 2.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--dark-line); }
.why-grid h3 { font-size: 1rem; margin: 1.1rem 0 .5rem; }
.why-grid p { color: var(--on-dark-muted); font-size: .93rem; max-width: 34ch; }

/* What we build (split) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-shot { margin: 0; position: relative; background: rgba(235,235,233,.9); border-radius: var(--radius); padding: 1.2rem 1.2rem 2.4rem; }
.split-shot .label { display: block; margin-bottom: .9rem; }
.note-card { position: absolute; left: -1rem; bottom: -1.2rem; display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; box-shadow: 0 18px 36px -18px rgba(0,0,0,.35); max-width: 270px; }
.note-card div { display: grid; font-size: .82rem; line-height: 1.4; }
.note-card span { color: var(--muted); }
.split h2 { margin: .2rem 0 1rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.lead { color: var(--muted); margin-bottom: 1.6rem; max-width: 46ch; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: .75rem 0 .75rem 1.9rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .65rem; height: .35rem; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }

/* Process */
.process h2 { margin-bottom: 2.8rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { border-top: 1px solid #c9c9c5; padding-top: 1.2rem; }
.steps .num { display: block; margin-bottom: .8rem; }
.steps h3 { font-size: 1rem; margin-bottom: .5rem; }
.steps p { font-size: .9rem; color: var(--muted); }

/* Note / quote */
.note-row { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.asterisk { width: 46px; height: 46px; margin-top: 2.2rem; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
/* Mike and Hano, as name cards instead of a photo */
.people { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .8rem; }
.people li { display: flex; align-items: center; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
.people .initial { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; font-weight: 600; font-size: 1.15rem; }
.people b { display: block; font-size: 1.05rem; }
.people span:last-child { color: var(--muted); font-size: .93rem; line-height: 1.4; }
.people b { color: var(--ink); }
.note blockquote { margin: 0 0 1.2rem; font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; max-width: 30ch; }

/* Options (white + black cards) */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.plan-top h3 { font-size: 1.05rem; }
.plan-price { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.plan-price span { font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.plan > p:not(.plan-price) { color: var(--muted); font-size: .93rem; }
.plan .checks { margin-bottom: .6rem; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan-dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.plan-dark .label, .plan-dark .plan-price span, .plan-dark > p:not(.plan-price) { color: var(--on-dark-muted); }
.plan-dark .checks li { border-color: var(--dark-line); }

/* FAQ */
.faq-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq h2 { margin: 1.4rem 0 1.2rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.faq .label { display: block; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; font-size: .98rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); font-size: .93rem; padding-bottom: 1.2rem; max-width: 60ch; }

/* Closing (black) and footer */
.talk { background: var(--dark); color: var(--on-dark); padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem); }
.talk .label { color: var(--on-dark-muted); display: block; margin-bottom: 1.6rem; }
.talk-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; }
.talk h2 { font-size: clamp(3rem, 8vw, 6.2rem); line-height: 1; letter-spacing: -0.04em; }
.talk-side { display: grid; gap: 1.3rem; justify-items: start; }
.talk-side p { color: var(--on-dark-muted); }
.site-foot { background: var(--dark); color: var(--on-dark-muted); padding: 0 0 5.5rem; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2.5rem; border-top: 1px solid var(--dark-line); }
.foot-grid > div { display: grid; gap: .35rem; align-content: start; }
.foot-grid .label { color: #8d8d8a; margin-bottom: .4rem; }
.foot-grid a { text-decoration: none; padding-block: .2rem; }
.foot-grid a:hover { color: var(--on-dark); }
.foot-brand { color: var(--on-dark); letter-spacing: .14em; text-transform: uppercase; font-size: 1.05rem; }
.foot-brand b { font-weight: 600; }
.site-foot .small { color: var(--on-dark-muted); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--dark-line); padding-top: 1.4rem; font-family: var(--mono); font-size: .72rem; }
.foot-base a { text-decoration: none; }

/* ---- Chat widget ---- */
.chat-launch {
  position: fixed; right: max(1.2rem, env(safe-area-inset-right, 0px)); bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); z-index: 20;
  display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 500;
  color: var(--on-dark); background: var(--ink); border: 0; border-radius: 999px; padding: .85rem 1.3rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.chat-launch:hover { background: #000; }
.chat-launch[aria-expanded="true"] { display: none; }
.chat {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30;
  width: min(390px, calc(100vw - 2rem)); height: min(600px, calc(100dvh - 2rem));
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.chat-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: var(--dark); color: var(--on-dark); }
.chat-head h2 { font-size: 1.02rem; font-weight: 600; }
.chat-head p { font-size: .83rem; color: var(--on-dark-muted); margin-top: .2rem; }
.chat-close { background: none; border: 0; color: inherit; cursor: pointer; padding: .2rem; align-self: start; min-width: 40px; min-height: 40px; display: grid; place-items: center; border-radius: 8px; }
.chat-close:hover { background: rgba(255,255,255,.1); }
.chat-new { font: inherit; font-size: .82rem; font-weight: 500; background: none; color: var(--on-dark-muted); border: 1px solid #444; border-radius: 8px; padding: .25rem .6rem; cursor: pointer; align-self: start; margin-left: auto; white-space: nowrap; min-height: 36px; }
.chat-new:hover { color: var(--on-dark); border-color: var(--on-dark); }
.chat-log { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--bg); }
.msg { max-width: 85%; padding: .6rem .85rem; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.msg-who { display: block; font-size: .72rem; font-weight: 600; margin-bottom: .15rem; color: var(--muted); }
.msg-visitor { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 4px; }
.msg-visitor .msg-who { color: #b5b5b2; }
.msg-assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-team { align-self: flex-start; background: var(--grey); border: 1px solid #c9c9c5; border-bottom-left-radius: 4px; }
.msg-note { align-self: center; font-size: .83rem; color: var(--muted); text-align: center; }
.msg-typing { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; font: inherit; font-size: 1rem; padding: .6rem .75rem; max-height: 8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.chat-form textarea:focus { border-color: var(--ink); outline: none; }
.chat-send { font: inherit; font-weight: 500; background: var(--ink); color: var(--on-dark); border: 0; border-radius: 8px; padding: 0 1rem; cursor: pointer; }
.chat-send:disabled { opacity: .5; cursor: wait; }
.chat-privacy { font-size: .76rem; color: var(--faint); padding: 0 .9rem .6rem; }
.chat-privacy a { color: var(--muted); }
@media (pointer: coarse) { .chat-close { min-width: 44px; min-height: 44px; } .chat-new, .chat-send { min-height: 44px; } }

/* Plain text pages (privacy, 404) */
.prose { padding: 3rem 0 4rem; max-width: 68ch; }
.prose h1 { font-size: 2.4rem; margin-bottom: 1.2rem; }
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: .8rem; }

/* ---- Live background: soft light drifting behind the light sections (see bg.js) ---- */
@property --t1 { syntax: "<color>"; inherits: true; initial-value: #f7f7f5; }
@property --t2 { syntax: "<color>"; inherits: true; initial-value: #e7e7e4; }
.live-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(175deg, var(--t1) 0%, var(--t2) 100%);
  transition: --t1 .8s ease, --t2 .8s ease;
}
.live-bg span {
  position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform;
  translate: calc(var(--px, 0) * var(--depth)) calc(var(--py, 0) * var(--depth) - var(--sy, 0) * var(--depth) * .4);
}
.live-bg span:nth-child(1) { --depth: 40px; width: 55vmax; height: 55vmax; left: -12vmax; top: -18vmax; background: radial-gradient(circle, #ffffff 0%, rgba(255,255,255,0) 66%); animation: drift-a 26s ease-in-out infinite alternate; }
.live-bg span:nth-child(2) { --depth: -60px; width: 48vmax; height: 48vmax; right: -14vmax; top: 18vh; background: radial-gradient(circle, #cfcfcb 0%, rgba(207,207,203,0) 64%); animation: drift-b 32s ease-in-out infinite alternate; }
.live-bg span:nth-child(3) { --depth: 80px; width: 40vmax; height: 40vmax; left: 22vw; bottom: -20vmax; background: radial-gradient(circle, #b9b9b5 0%, rgba(185,185,181,0) 62%); opacity: .6; animation: drift-c 38s ease-in-out infinite alternate; }
.live-bg span:nth-child(4) { --depth: -30px; width: 30vmax; height: 30vmax; left: 45vw; top: -8vmax; background: radial-gradient(circle, #ffffff 0%, rgba(255,255,255,0) 64%); animation: drift-a 22s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-16vw, 14vh) scale(.9); } }
@keyframes drift-c { from { transform: translate(0, 0) scale(.95); } to { transform: translate(10vw, -18vh) scale(1.2); } }

/* Their own words, then "Get a quote" */
.quote-band .wrap { display: grid; gap: clamp(2.5rem, 6vw, 4rem); justify-items: center; text-align: center; }
.quote-fig { margin: 0; display: grid; gap: 1.4rem; justify-items: center; }
.quote-fig blockquote { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; max-width: 26ch; text-wrap: balance; }
.quote-cta { display: grid; gap: .9rem; justify-items: center; padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); width: min(100%, 34rem); }
.quote-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.02em; }
.quote-cta p { color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.quote-cta .btn { margin-top: .4rem; }
/* "Get a quote" leads straight into the prices: no big empty band between them. */
.quote-band { padding-bottom: clamp(2rem, 4vw, 3rem); }
.quote-band + .pricing { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ---- Scroll-in animations (switched on by js-on.js, run by bg.js) ---- */
.js-reveal main :is(h1, h2, .hero-side, .showcase, .points > *, .section-head > p, .card, .why-grid > div, .split-shot, .split .checks li, .steps li, .quote-fig, .quote-cta, .faq-list details, .talk-side) {
  opacity: 0; translate: 0 50px; filter: blur(8px);
  transition: opacity .6s ease-out, translate .85s cubic-bezier(.22, 1, .36, 1), filter .6s ease-out, scale .85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js-reveal main .is-in { opacity: 1 !important; translate: 0 0 !important; filter: none !important; scale: 1 !important; }
.js-reveal main .showcase:not(.is-in), .js-reveal main .split-shot:not(.is-in) { scale: .95; }
.js-reveal main .card:nth-child(1):not(.is-in) { translate: -60px 40px; }
.js-reveal main .card:nth-child(3):not(.is-in) { translate: 60px 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-bg span { animation: none; translate: none; }
  * { transition: none !important; }
}

/* ---- Smaller screens ---- */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.3fr 1fr; align-items: end; }
}
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  nav a { display: none; }
  .section-head, .split, .faq-row, .note-row, .talk-row { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .points { grid-template-columns: 1fr 1fr; }
  .points-lead { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .plans { grid-template-columns: 1fr; }
  .note-card { left: .8rem; }
  .asterisk { margin-top: 1rem; }
}
@media (max-width: 600px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .devices { padding-right: 3.2rem; }
  .phone { width: 92px; border-radius: 16px; padding: 4px; }
  .phone img { border-radius: 12px; }
  .label-row .label:last-child { display: none; }
  .wordmark { font-size: .85rem; }
  .chat { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); height: calc(100dvh - 1rem); }
  .foot-grid { grid-template-columns: 1fr; }
}
