/* Sorted Studio home, Nov 2026 redesign. Bar: mercury.com. Whole fields of colour with hard edges.
   Film scene first, then chapters. Without JS or with reduced motion, every state below is plain page flow. */

/* ---------- the film ---------- */
html.home, html.home body { background: var(--ink); }  /* a screen not yet drawn shows ink, never a light flash over the film */
.film { position: relative; background: var(--ink); color: var(--paper); }
.film__stage { position: relative; overflow: hidden; }
.film__world { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.film__img { width: 100%; height: 100%; object-fit: cover; object-position: 48.7% 90%; display: block; transform-origin: 0 0; }
.film__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48.7% 90%; transform-origin: 0 0; opacity: 0; transition: opacity 0.8s linear; pointer-events: none; }  /* the hero loop: the same photograph with the grass and clouds moving (js/film.js loads it) */
.film__vid.is-on { opacity: 1; will-change: transform; }
/* The table, toolbox and phone as their own layer over the loop (which has the table removed). It grows a little faster
   than the veld as the camera moves in, so the scene has depth. Shown only together with the loop (js/film.js). */
.film__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48.7% 90%; transform-origin: 0 0; opacity: 0; pointer-events: none; }
.film__fg:not([src]) { display: none; }
.film__fg.is-on { opacity: 1; will-change: transform; }
.film__ink, .film__lime { display: none; }
.film__scrim { position: absolute; inset: 0 0 auto; height: 74%; pointer-events: none; background: linear-gradient(rgba(10, 12, 14, 0.5), rgba(10, 12, 14, 0.36) 62%, rgba(10, 12, 14, 0)); }  /* taste-skill-ignore: neutral scrim on a photo */

.hero { position: absolute; inset: 0 0 auto; height: 100svh; min-height: 560px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--nav-h) + clamp(14px, 6svh, 64px)) var(--m) 0; color: #fff; }
.hero h1 { font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.042em; font-weight: 500; color: inherit; margin: 0; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 46ch; text-wrap: balance; margin: clamp(10px, 1.4svh, 16px) 0 clamp(14px, 2svh, 24px); color: #fff; letter-spacing: -0.012em; }

.hero__act { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 860px) { .hero__act { flex-direction: row; gap: 24px; } .hero__act .hero__risk { margin: 0; } }
.hero__risk { margin: 12px 0 0; font-size: var(--fs-body); line-height: 1.5; color: #fff; }
.hero__free { margin: 0 0 clamp(14px, 2svh, 24px); max-width: 46ch; text-wrap: balance; }
.film__beats { padding: clamp(64px, 10vw, 128px) var(--m); display: grid; gap: clamp(48px, 7vw, 96px); max-width: 720px; }
.beat h2 { font-size: var(--fs-head); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; color: inherit; margin: 0 0 16px; }
.beat p { font-size: var(--fs-body); line-height: 1.5; max-width: 44ch; margin: 0; color: inherit; }
.js .beat h2 { font-size: clamp(2.5rem, 4.3vw, 4.75rem); }
.beat[data-tone="lime"] { background: var(--lime); color: var(--ink); padding: 32px; }
.beat__errors { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--fs-body); color: color-mix(in srgb, var(--paper) 62%, transparent); }
.beat__errors li.is-on { color: var(--lime); }
.beat .v-link { margin-top: 24px; }

/* The phone, at rest in page flow: the finished chat. */
.film__phone { display: flex; justify-content: center; padding: 0 var(--m) clamp(64px, 10vw, 128px); }
.scr { position: relative; width: 390px; height: 844px; max-width: 100%; flex: none; transform-origin: 0 0; border-radius: 46px; }
.scr__bezel { position: absolute; inset: -13px; border-radius: 58px; background: #0d0f11; box-shadow: inset 0 0 0 2px #3b3e43, 0 0 0 1px #000, 0 50px 90px -30px rgba(0, 0, 0, 0.55); }  /* taste-skill-ignore: drawn screen or real control */
.scr__in { position: absolute; inset: 0; border-radius: 46px; overflow: hidden; background: #0d0f11; color: #111; font-family: Arial, Helvetica, sans-serif; }
.scr__in > * { position: absolute; inset: 0; }
.scr__blank { background: #f1deb8; display: none; }
.scr__err { background: #fff; padding: 70px 30px 30px; font-size: 19px; line-height: 1.45; display: none; }
.scr__err p { margin: 0 0 16px; color: #111; }
.scr__err--wp { background: #f1f1f1; }
.scr__err--wp u { color: #0073aa; }
.scr__err--403 { font-family: "Times New Roman", Times, serif; text-align: center; padding-top: 340px; }
.scr__err--403 .big { font-size: 40px; font-weight: 700; }
.scr__err--parked { background: #e9ecef; padding-top: 300px; }
.scr__err--parked .big { font-size: 34px; }
.scr__err--parked .bar { height: 26px; width: 74%; background: #c6cbd1; }
.scr__err--signin { font-family: Arial, Helvetica, sans-serif; padding-top: 120px; }
.scr__err--signin .big { font-size: 38px; margin-bottom: 8px; }
.scr__err--signin .field { margin-top: 36px; border: 1px solid #8a8f94; border-radius: 6px; padding: 18px 16px; color: #555; }  /* taste-skill-ignore: drawn screen or real control */
.scr__err--signin .next { margin: 40px 0 0 auto; width: 104px; text-align: center; background: #0b57d0; color: #fff; border-radius: 22px; padding: 12px 0; font-size: var(--fs-body); }
.scr__island { z-index: 5; inset: 13px auto auto 50% !important; width: 108px; height: 30px; margin-left: -54px; border-radius: 15px; background: #0d0f11; }
.scr__site { background: var(--ink); }
.scr__site img { position: absolute; left: 0; top: 54px; width: 100%; height: calc(100% - 54px); object-fit: cover; object-position: top; display: block; }
.scr__tap { position: absolute; left: 50%; top: 70%; width: 86px; height: 86px; margin-left: -43px; border-radius: 50%; border: 5px solid var(--lime); opacity: 0; }
.scr__chat { background: #f0f0ec; display: flex; flex-direction: column; font-family: var(--font-text); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 62px 20px 16px; background: var(--ink); color: #fff; font-size: 19px; font-weight: 600; }
.chat__head small { display: block; font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, 0.76); }
.chat__ava { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 16px; }
.chat__body { flex: 1; padding: 24px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.chat__type { margin: 0 12px 26px; padding: 15px 20px; border-radius: 999px; background: #fff; color: #5d6066; font-size: 18px; }
.chat__day { align-self: center; margin: 0 0 4px; padding: 4px 12px; border-radius: 999px; background: #e3e2db; font-size: 15px; color: var(--ink); }
.chat__msg { margin: 0; max-width: 84%; padding: 13px 15px; background: #fff; border-radius: 16px; font-size: 19px; line-height: 1.32; color: var(--ink); }
.chat__msg--me { align-self: flex-end; background: var(--lime); }
.chat__msg small { display: block; margin-top: 6px; font-size: 14px; text-align: right; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.scr__wipe { background: var(--ink); display: none; place-items: center; z-index: 4; }
.scr__wipe svg { width: 70%; }

/* ---------- the film, playing: JS on, motion allowed, wide screens only. Phones get plain page flow (below) ---------- */
@media (min-width: 860px) and (prefers-reduced-motion: no-preference) {
  .js .film { height: 380svh; }
  .js .film__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; }
  .js .film__world { position: absolute; inset: 0; height: 100%; }
  .js .film__img { position: absolute; inset: 0; will-change: transform; }
  .js .film__ink, .js .film__lime { display: block; position: absolute; inset: 0; }
  .js .film__ink { background: var(--ink); opacity: 0; }
  .js .film__lime { background: var(--lime); transform: translate3d(0, 100%, 0); }
  .js .hero { z-index: 3; }
  .js .film__beats { position: absolute; inset: 0; padding: 0; max-width: none; pointer-events: none; z-index: 3; }
  .js .beat { position: absolute; left: var(--m); top: 50%; translate: 0 -50%; width: min(54vw, 860px); opacity: 0; visibility: hidden; pointer-events: auto; }
  .js .beat[data-tone="lime"] { background: none; padding: 0; color: var(--ink); }
  .js .film__phone { position: absolute; inset: 0; padding: 0; display: block; z-index: 2; pointer-events: none; }
  .js .scr { position: absolute; left: 0; top: 0; max-width: none; border-radius: 46px; will-change: transform; }
  .js .scr__bezel { opacity: 0; }
  .js .scr__blank { display: block; background: #f1deb8 url(../assets/work/demo-northline-plumbing-phone-320.webp) top / cover no-repeat; }
  .js .scr__err { display: block; }
  .js .scr__err--wp { opacity: 0; }
  .js .scr__err:not(.scr__err--wp) { transform: translate3d(0, 100%, 0); }
  .js .scr__site { visibility: hidden; }
  .js .scr__chat { transform: translate3d(0, 100%, 0); }
  .js .chat__msg { opacity: 0; }
  .js .scr__wipe { display: grid; transform: translate3d(0, 100%, 0); }
}
.nav-on-lime { --nav-fg: var(--ink); }

/* Phones and small tablets: no scroll film. The story is plain page flow, and the phone is a native swipe:
   four broken sites, then the sorted site, then the chat. No script runs while the page scrolls. */
@media (max-width: 859px) {
  .film__stage { display: flex; flex-direction: column; }
  .film__beats { display: contents; }
  .film__scrim { height: max(74svh, 414px); }  /* 74% of the photo, not of the whole long stage */
  .beat { margin: 0 var(--m); }
  .beat[data-tone="ink"] { order: 1; padding: clamp(56px, 14vw, 88px) 0 32px; }
  .film__phone { order: 2; flex-direction: column; align-items: center; padding-bottom: 48px; }
  .beat[data-tone="lime"] { order: 3; margin-bottom: 0; padding-bottom: 8px; }
  /* Same feeling as the card above, so the two read as one lime card */
  .beat[data-tone="lime"] ~ .beat[data-tone="lime"] { order: 4; padding-top: 24px; margin-bottom: clamp(56px, 14vw, 88px); }
  .beat__errors { display: none; }
  .scr { zoom: 0.68; }
  .scr__in { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .scr__in::-webkit-scrollbar { display: none; }
  .scr__in > * { position: relative; inset: auto; flex: 0 0 100%; scroll-snap-align: start; }
  .scr__in > .scr__island, .scr__in > .scr__blank, .scr__in > .scr__wipe { display: none; }
  .scr__err { display: block; }
  .film__swipe { margin: 20px 0 0; font-size: var(--fs-body); line-height: 1.5; color: color-mix(in srgb, var(--paper) 76%, transparent); text-align: center; }
}
@media (min-width: 860px) { .film__swipe { display: none; } }

/* ---------- what you get: one act on one ground. Four proofs of the same promise, so they read as one list,
   not four full screens (scroll-craft review, 18 Nov 2026). On wide screens each short text holds while its picture passes. ---------- */
.sheets { background: var(--paper); color: var(--ink); padding: clamp(72px, 10vw, 144px) var(--m); overflow-x: clip; }  /* clip, not hidden: hidden would stop the sticky text */
.sheets__title { font-size: var(--fs-head); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; margin: 0 0 clamp(40px, 6vw, 88px); }
.sheet { display: grid; gap: clamp(24px, 4vw, 56px); }
.sheet + .sheet { margin-top: clamp(72px, 10vw, 144px); }
.sheet h3 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.034em; font-weight: 500; color: inherit; margin: 0 0 16px; max-width: 13ch; }
.sheet p { font-size: var(--fs-body); line-height: 1.5; color: inherit; margin: 0; max-width: 40ch; }
.sheet__show { min-width: 0; }
@media (min-width: 860px) {
  .sheet { grid-template-columns: 5fr 7fr; align-items: start; }
  .sheet__copy { position: sticky; top: calc(var(--nav-h) + 12svh); }
}
.sheet__show--bleed { margin-right: calc(-1 * var(--m)); }

.serp { background: #fff; color: #1f2124; border-radius: 18px 0 0 18px; box-shadow: 0 0 0 1px var(--ash); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.42; }
.serp p { margin: 0; max-width: none; font-size: inherit; color: inherit; }
.serp__top { padding: clamp(16px, 1.8vw, 26px) clamp(16px, 2vw, 32px) 0; }
.serp__q { background: var(--tone); padding: 13px 22px; border-radius: 999px; font-size: 1.12em !important; max-width: 560px !important; }
.serp__tabs { list-style: none; display: flex; gap: clamp(14px, 1.8vw, 28px); margin: 10px 0 0; padding: 0 clamp(20px, 2.4vw, 40px); border-bottom: 1px solid #e4e3dd; }  /* taste-skill-ignore: drawn screen */
.serp__tabs li { padding: 10px 0; color: #5a5e63; }
.serp__tabs .is-on { color: var(--ink); border-bottom: 3px solid var(--ink); }
.serp__cols { display: grid; gap: clamp(18px, 2vw, 32px); padding: clamp(18px, 2vw, 28px) clamp(20px, 2.4vw, 40px); }
.serp__hits { display: grid; gap: clamp(20px, 2vw, 30px); align-content: start; }
.serp__url { display: flex; align-items: center; gap: 10px; color: #3c4043 !important; }
.serp__fav { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.serp__fav--grey { background: #e4e3dd; color: var(--ink); }
.serp__title { color: #1a3bb8 !important; font-size: 1.3em !important; line-height: 1.2; margin: 7px 0 5px !important; letter-spacing: -0.012em; }
.serp__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px !important; color: #1a3bb8 !important; }
.serp__card { border: 1px solid #e4e3dd; border-radius: 14px; overflow: hidden; align-self: start; padding-bottom: 16px; }  /* taste-skill-ignore: drawn screen */
.serp__card > p { padding-inline: 16px; }
.serp__map { display: block; width: 100%; height: auto; margin-bottom: 14px; }
.serp__name { font-size: 1.25em !important; font-weight: 500; letter-spacing: -0.012em; }
.serp__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.serp__btns span { padding: 6px 12px; border-radius: 999px; border: 1px solid #c9c8c1; font-size: 0.92em; }  /* taste-skill-ignore: drawn screen */
.serp__note { margin-top: 12px !important; }
@media (min-width: 1100px) { .serp__cols { grid-template-columns: 1.45fr 1fr; } }

@media (min-width: 1100px) and (min-height: 800px) { .rec { font-size: clamp(18px, 1.5vw, 22px) !important; } }
.rec { background: #fff; color: var(--ink); border-radius: 18px 0 0 18px; box-shadow: 0 0 0 1px var(--ash); padding: clamp(16px, 2vw, 32px); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.4; }
.rec p { margin: 0; max-width: none; font-size: inherit; color: inherit; }
.rec__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: clamp(18px, 2vw, 28px); }
.rec__head .addr__bar { flex: 1 1 240px; margin: 0; }
.rec__on { padding: 8px 16px; border-radius: 999px; background: var(--lime); }
.rec h4 { font: 500 1.14em/1.2 var(--font-text); letter-spacing: -0.015em; margin: 0 0 10px; }
.rec__cols { display: grid; gap: clamp(20px, 2.4vw, 40px); }
.rec__mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rec__mine li { display: flex; align-items: center; gap: 12px; }
.rec__mine svg { width: 24px; height: 24px; flex: none; }
.rec__note { margin-top: 12px !important; }
@media (min-width: 1100px) { .rec__cols { grid-template-columns: 1.5fr 1fr; } }

.sheet__show--phones { display: flex; gap: clamp(10px, 1.6vw, 24px); align-items: flex-start; }
.sheet__show--phones img { flex: 1 1 0; min-width: 0; max-width: 260px; box-sizing: border-box; height: auto; border-radius: 26px; border: 8px solid #24272b; }
.sheet__show--phones img:nth-child(2) { margin-top: clamp(16px, 3vw, 48px); }

.sheet__show--browser { margin: 0 calc(-1 * var(--m)) 0 0; background: #fff; border-radius: 16px 0 0 16px; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 20px; font-size: 17px; max-width: none !important; background: #e8e6df; }
.browser__bar svg { width: 18px; height: 18px; flex: none; }
.sheet__show--browser img { display: block; width: 100%; height: auto; }
.sheet__show--browser figcaption { padding: 12px 24px; font-size: 16px; color: var(--ink); }

.addr__bar { display: flex; align-items: center; gap: 10px; background: var(--tone); border-radius: 999px; padding: 14px 20px; font-size: clamp(19px, 1.7vw, 24px) !important; letter-spacing: -0.015em; margin-bottom: 14px; }
.addr__bar svg { width: 20px; height: 20px; flex: none; }
.addr__line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; box-shadow: 0 1px 0 var(--ash); }  /* taste-skill-ignore: drawn screen or real control */
.addr__line:last-child { box-shadow: none; }  /* taste-skill-ignore: drawn screen or real control */
.addr__line span { color: #575b60; }
.addr__line b { font-weight: 500; }

/* ---------- work ---------- */
.shell.work__row { margin-top: clamp(56px, 8vw, 96px); }
.work { background: var(--ink); color: var(--paper); padding-block: max(calc(var(--nav-h) + 24px), 10vw) clamp(72px, 10vw, 128px); position: relative; z-index: 1; }
.work__head h2 { font-size: var(--fs-head); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; color: inherit; margin: 0 0 16px; }
.work__head p { font-size: var(--fs-body); line-height: 1.5; max-width: 52ch; margin: 0; color: inherit; }
.work__compare { margin-top: clamp(32px, 4vw, 64px); }
.work__compare { padding-inline: var(--m); max-width: calc(1440px + 2 * var(--m)); margin-inline: auto; }
.work__compare .compare { border-radius: 16px; overflow: hidden; }
.work__compare .work__cap { padding-inline: 0; }
.work__cap { font-size: 16px; line-height: 1.45; margin: 16px 0 0; color: color-mix(in srgb, var(--paper) 74%, transparent); }
.work__row { list-style: none; padding-block: 0; display: grid; gap: clamp(28px, 2.4vw, 32px); }
.work__row a { display: block; color: inherit; text-decoration: none; }
.work__row img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; transition: transform 0.3s var(--e-out); }
.work__row li a { overflow: hidden; }
.work__row a:hover img { transform: scale(1.025); }
.work__row b { display: block; font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.02em; margin-top: 16px; }
.work__row span { display: block; font-size: 16px; line-height: 1.4; margin-top: 4px; color: color-mix(in srgb, var(--paper) 74%, transparent); }
.work { padding-bottom: 0 !important; }
/* Small tools sit on their own light field, so the dark app has a hard edge. */
.work__real { margin-top: clamp(72px, 10vw, 136px); max-width: none; padding-block: clamp(72px, 10vw, 136px); padding-inline: max(var(--m), calc((100% - 1440px) / 2)); background: var(--tone); color: var(--ink); }
.work__realhead { font-size: var(--fs-head); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; color: inherit; margin: 0 0 clamp(24px, 3vw, 48px); }
.work__shot { margin: 0; }
.work__shot img { width: 100%; height: auto; display: block; border-radius: 16px; }
.work__shot figcaption { font-size: 16px; line-height: 1.45; margin-top: 16px; color: var(--ink); }
.work__quotes { display: grid; gap: clamp(28px, 3vw, 48px); margin: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 48px); }
.work__quotes figure { margin: 0; }
.work__quotes blockquote { margin: 0; }
.work__quotes blockquote p { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.375rem); line-height: 1.14; letter-spacing: -0.026em; margin: 0; color: inherit; }
.work__quotes figcaption { font-size: 16px; line-height: 1.4; margin-top: 16px; color: var(--ink); }
@media (max-width: 859px) { .work__shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; } }
.work__real .v-link { color: var(--ink); }
@media (min-width: 860px) {
  .work__row { grid-template-columns: repeat(3, 1fr); }
  .work__quotes { grid-template-columns: 1fr 1fr; }
}

/* ---------- prices: the plans step up ---------- */
.price { background: var(--paper); color: var(--ink); padding-block: max(calc(var(--nav-h) + 24px), 10vw) clamp(72px, 10vw, 128px); position: relative; z-index: 1; }
.price__title { font-size: var(--fs-head); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; color: inherit; margin: 0 0 clamp(28px, 4vw, 48px); max-width: 14ch; }
.price__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plan { border-radius: 20px; overflow: hidden; }
.plan a { display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.2vw, 32px); color: inherit; text-decoration: none; }
.plan h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: inherit; margin: 0; }
.plan__price { font-size: clamp(3rem, 2rem + 3.4vw, 5.25rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; margin: 12px 0 16px; color: inherit; font-variant-numeric: tabular-nums; }
.plan p:not(.plan__price) { font-size: var(--fs-body); line-height: 1.45; margin: 0 0 12px; max-width: 34ch; color: inherit; }
.plan--lime a { position: relative; }
.plan__pic { display: none; }
.plan__go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 52px; margin-top: auto; padding: 0 24px; border-radius: 999px; font-size: var(--fs-body); font-weight: 500; transition: background-color 0.2s ease, color 0.2s ease; }
.plan p:last-of-type { margin-bottom: 24px !important; }
.plan--lime .plan__go { background: var(--ink); color: var(--paper); }
.plan--lime a:hover .plan__go { background: #fff; color: var(--ink); }
.plan--ink .plan__go { background: var(--lime); color: var(--ink); }
.plan--ink a:hover .plan__go { background: #fff; }
.plan--lime { background: var(--lime); }
.plan--ink { background: var(--ink); color: var(--paper); }
.price__care { border-radius: 20px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; margin-top: 8px; padding: clamp(20px, 2vw, 32px) clamp(22px, 2.2vw, 32px); background: var(--tone); }
.price__care p { margin: 0; font-size: 18px; line-height: 1.45; }
.price__care b { font-weight: 500; }
.price__fine { font-size: 16px; line-height: 1.5; margin: 24px 0 0; max-width: 72ch; color: var(--ink); }
.price__fine a { color: inherit; text-underline-offset: 3px; }
.price__more { display: grid; gap: 16px; margin-top: 16px; }
.price__more .price__care { margin-top: 0; }
@media (min-width: 860px) {
  .price__steps { grid-template-columns: 7fr 5fr; }
  .plan .plan__price { font-size: clamp(4rem, 6.6vw, 7rem); margin-block: 24px 32px; }
  .plan__pic { display: block; position: absolute; top: clamp(24px, 2.6vw, 40px); right: clamp(20px, 2.6vw, 40px); width: clamp(150px, 19vw, 290px); max-width: 34%; height: auto; box-sizing: content-box; border: 6px solid #24272b; border-radius: 26px; }
  .plan--lime p:not(.plan__price) { max-width: min(34ch, 58%); }
  .price__more { grid-template-columns: 1fr 1fr; }
  .price__care { flex-direction: column; align-items: flex-start; justify-content: space-between; }
}

/* ---------- how it works: one slider, two fields ---------- */
.how { display: grid; background: var(--ink); color: var(--paper); position: relative; z-index: 1; }
.how__words { padding: max(calc(var(--nav-h) + 24px), 8vw) var(--m) clamp(28px, 4vw, 48px); }
.how__clause { font-size: var(--fs-head); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; margin: 0 0 24px; max-width: 12ch; }
.how__words p:not(.how__clause) { font-size: var(--fs-body); line-height: 1.5; max-width: 46ch; margin: 0; }
.how__show { background: var(--tone); color: var(--ink); padding: clamp(32px, 4vw, 64px) var(--m); display: flex; align-items: center; justify-content: center; order: 2; }
.chatwin { width: min(100%, 600px); min-height: clamp(440px, 58svh, 620px); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; }
.chatwin .chat__head { padding: 16px 20px; font-size: 18px; }
.chatwin .chat__head small { font-size: 16px; }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 20px 18px 24px; }
.thread[hidden] { display: none; }
.thread__msg { margin: 0; max-width: 86%; padding: 12px 16px; border-radius: 18px; background: var(--tone); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.34; overflow-wrap: anywhere; align-self: flex-start; }
.thread__msg--me { align-self: flex-end; background: var(--lime); }
.thread__msg small { display: block; margin-top: 4px; font-size: 14px; text-align: right; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.how__words { order: 0; }
.how__rail { order: 1; padding: 8px var(--m) clamp(28px, 4vw, 48px); background: var(--ink); }
.how__rail input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 48px; margin: 0; background: none; cursor: grab; --done: 0%; }
.how__rail input::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: linear-gradient(to right, var(--lime) var(--done), color-mix(in srgb, var(--paper) 22%, transparent) var(--done)); }  /* taste-skill-ignore: drawn screen or real control */
.how__rail input::-moz-range-track { height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--paper) 22%, transparent); }
.how__rail input::-moz-range-progress { height: 12px; border-radius: 6px; background: var(--lime); }
.how__rail input::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 48px; margin-top: -18px; border-radius: 50%; border: 0; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.how__rail input::-moz-range-thumb { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.how__rail input:active { cursor: grabbing; }
.how__rail input:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.how__names { list-style: none; margin: 8px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 12px; }
.how__names li:nth-child(n+3) { text-align: right; }
.how__names button { all: unset; display: block; cursor: pointer; font-size: var(--fs-body); line-height: 1.25; padding: 12px 0; color: color-mix(in srgb, var(--paper) 66%, transparent); }
.how__names button:hover { color: var(--paper); }
.how__names button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.how__names .is-on button { color: var(--lime); }
@media (max-width: 859px) { .how__names li { flex: 1 1 0; } .how__names button { font-size: 1rem; padding-block: 12px; } }
@media (min-width: 860px) {
  .how { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
  .how__words { grid-column: 1; grid-row: 1; min-height: 430px; }  /* room for the longest step, so the slider never jumps */
  .how__rail { grid-column: 1; grid-row: 2; }
  .how__names { flex-direction: column; gap: 0; }
  .how__names li:nth-child(n+3) { text-align: left; }
  .how__names button { font-size: var(--fs-lead); padding: 8px 0; }
  .how__show { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- close ---------- */
/* The close goes back to the opening picture, now with a finished site on the phone. */
.last { background: var(--ink); color: #fff; position: relative; z-index: 1; overflow: hidden; min-height: 100svh; padding-block: calc(var(--nav-h) + clamp(24px, 6svh, 64px)) clamp(240px, 40svh, 420px); }
.last__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48.7% 90%; }
.last__scrim { position: absolute; inset: 0 0 auto; height: max(74%, 640px); background: linear-gradient(rgba(10, 12, 14, 0.62), rgba(10, 12, 14, 0.5) 62%, rgba(10, 12, 14, 0)); }  /* taste-skill-ignore: neutral scrim on a photograph */
.last__in { position: relative; display: grid; gap: clamp(20px, 3vw, 48px); }
.last h2 { font-size: var(--fs-head-big); line-height: 0.98; letter-spacing: -0.044em; font-weight: 500; color: inherit; margin: 0; max-width: 11ch; }
.last__lead { font-size: var(--fs-lead); line-height: 1.3; max-width: 32ch; margin: 0 0 24px; letter-spacing: -0.012em; color: #fff; }
.last__form { margin-top: clamp(24px, 3vw, 32px); max-width: 620px; }
.last__form label { display: block; font-size: var(--fs-body); font-weight: 500; margin-bottom: 12px; color: inherit; }
.last__form .siteform__row { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; background: none; padding: 0; border: 0; box-shadow: none; border-radius: 0; }  /* taste-skill-ignore: drawn */
.last__form input { flex: 1 1 auto; width: min(100%, 300px); min-height: 56px; max-height: 56px; padding: 0 24px; font: 400 18px/1 var(--font-text); background: #fff; color: var(--ink); border: 0; border-radius: 999px; }
.last__form input::placeholder { color: #5d6066; }
.last__form input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.last__form .v-btn--line { color: #fff; border-color: #fff; }
.last__form .v-btn--line:hover { background: #fff; color: var(--ink); }
.last__form .siteform__hint, .last__form .siteform__error { color: #fff; font-size: 16px; margin: 12px 0 0; }
@media (min-width: 1000px) { .last__in { grid-template-columns: 7fr 5fr; align-items: start; } }
@media (max-width: 999px) { .last__scrim { height: 92%; background: linear-gradient(rgba(10, 12, 14, 0.62), rgba(10, 12, 14, 0.56) 78%, rgba(10, 12, 14, 0)); } }  /* taste-skill-ignore: neutral scrim on a photograph */

/* ---------- the parts of a chapter arrive once, in reading order ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise > * { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.3s var(--e-out), transform 0.3s var(--e-out); transition-delay: calc(var(--n, 0) * 80ms); }
  .rise.is-in > * { opacity: 1; transform: none; }
  .price__steps.rise > * { transform: translate3d(0, 70px, 0); }
  .price__steps.rise.is-in > * { transform: none; }
}

/* Short phones: the first screen and the film words must stay clear of the toolbox and the phone. */
@media (max-width: 700px) and (max-height: 700px) {
  .hero { padding-top: calc(var(--nav-h) + 4px); }
  .hero h1 { font-size: 2.375rem; }
  .hero__lead { font-size: 1.0625rem; line-height: 1.5; margin: 8px 0 12px; }
  .hero .v-btn { min-height: 48px; }
  .hero__risk { margin-top: 8px; font-size: 1rem; }
}
