/*
 * The home page, fourth study (site/v4.html). Loaded after home-c.css: the
 * sections are that page's; this sheet gives it the first screen of the film
 * study without the camera, and the owner's notes of 28 November:
 *
 *   - scrolling crosses the page with a line and turns it into the translation,
 *     then the Original / Certified translation switch appears
 *   - the top bar keeps the film's build, with the live page's own headings,
 *     and has a ground of its own once the page has moved
 *   - no slanted words: a word is set apart by colour only
 *   - the steps have their rail, and each box lifts when pointed at
 *   - the name at the foot sits right under the small print
 *
 * Every selector starts at `.cx.v4` so it outranks home-c.css and landing.css.
 */

.cx.v4 .cx-wrap { max-width: 1440px; }
/* One look on the public site (owner, 28 Nov): no day/night switch on a v4 page. */
.cx.v4 .cw-daynight, .cx.v4 #mode { display: none; }

/* A word is set apart by colour, never by slant. */
.cx.v4 .cx-display em { font-style: normal; letter-spacing: inherit; }
.cx.v4 .cx-root .cx-night .steps__t h3::before { font-style: normal; color: var(--cw-ai-400); }
.cx.v4 .cx-close__title em { color: var(--hot); }

/* ── The curtain ─────────────────────────────────────────────────────── */
.cx.v4 .v4-pre {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--on);
  text-align: center;
  pointer-events: none;
  animation: v4-lift .9s .75s cubic-bezier(.7, 0, .2, 1) both;
}
.cx.v4 .v4-pre .cx-display { font-size: clamp(44px, 7vw, 88px); letter-spacing: -.02em; line-height: 1; }
.cx.v4 .v4-pre i { display: block; width: min(240px, 50vw); height: 1px; margin: 22px auto 0; background: var(--hot); transform-origin: 0 50%; animation: v4-line .8s var(--silk) both; }
.cx.v4 .v4-pre p:last-child { margin: 16px 0 0; color: var(--on-50); font: 400 14.5px/1.4 var(--sans); }
@keyframes v4-lift { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes v4-line { from { transform: scaleX(0); } }

/* ── The top bar ─────────────────────────────────────────────────────── */
.cx.v4 .v4-nav .cx-nav__in { height: 80px; }
.cx.v4 .v4-nav .cx-nav__links { gap: 30px; }
.cx.v4 .v4-nav .cx-nav__links a,
.cx.v4 .v4-nav .cx-nav__signin {
  position: relative;
  padding: 15px 0;
  border-radius: 0;
  background: none;
  color: color-mix(in srgb, var(--cw-ground-0) 84%, transparent);
  font: 500 14.5px/1 var(--sans);
}
.cx.v4 .v4-nav .cx-nav__links a::after,
.cx.v4 .v4-nav .cx-nav__signin::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .45s var(--silk);
}
.cx.v4 .v4-nav .cx-nav__links a:hover,
.cx.v4 .v4-nav .cx-nav__signin:hover { color: var(--on); background: none; }
.cx.v4 .v4-nav .cx-nav__links a:hover::after,
.cx.v4 .v4-nav .cx-nav__signin:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.cx.v4 .v4-nav .cx-nav__end { gap: 20px; }
.cx.v4 .v4-nav__rule { width: 1px; height: 16px; background: var(--on-line); }
.cx.v4 .v4-order { border-color: color-mix(in srgb, var(--cw-ground-0) 46%, transparent); color: var(--on); }
.cx.v4 .v4-order:hover,
.cx.v4 .v4-nav.is-stuck .v4-order { border-color: var(--hot); background: var(--hot); color: var(--navy); }
.cx.v4 .v4-nav.is-stuck .v4-order:hover { background: var(--cw-ai-400); border-color: var(--cw-ai-400); }
/* Once the page has moved the bar stands on its own ground, so nothing shows through its words. */
.cx.v4 .v4-nav.is-stuck, .cx.v4 .v4-nav.is-open {
  background: color-mix(in srgb, var(--night) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--on-line);
}
.cx.v4 .v4-nav.is-stuck .cx-nav__in { height: 68px; }
.cx.v4 .v4-nav .cx-nav__in { transition: height .35s var(--silk); }
@media (max-width: 1100px) {
  .cx.v4 .v4-nav .cx-nav__in, .cx.v4 .v4-nav.is-stuck .cx-nav__in { height: 64px; }
  .cx.v4 .v4-nav__rule { display: none; }
  .cx.v4 .v4-nav .cx-nav__end { gap: 10px; }
  .cx.v4 .cx-menu nav a::after { display: none; }
}

/* ── The first screen ────────────────────────────────────────────────── */
/* It holds for 70% of a window while the page turns; that is the whole hold. */
.cx.v4 .v4-hero { position: relative; height: 170svh; background: var(--night); color: var(--on); }
.cx.v4 .v4-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); }
.cx.v4 .v4-field {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 60% 48%, color-mix(in srgb, var(--cw-navy-700) 58%, transparent) 0%, transparent 70%);
}
.cx.v4 .v4-field::after {
  content: "";
  position: absolute;
  left: 60%;
  top: 50%;
  width: max(120vh, 900px);
  aspect-ratio: 1;
  background: url("/shared/assets/img/guilloche-light.svg") center / contain no-repeat;
  opacity: .11;
  transform: translate(-50%, -50%) rotate(var(--turn, 0deg));
}
.cx.v4 .v4-lens { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, color-mix(in srgb, var(--night) 62%, transparent)); }

.cx.v4 .v4-fig {
  position: absolute;
  left: 60%;
  top: 44%;
  width: min(calc(60svh / 1.2941), 50vw);
  min-width: 0;
  margin: 0;
  transform: translate(-50%, -50%);
}
.cx.v4 .v4-doc { width: 100%; min-width: 0; --f: 0; }
.cx.v4 .v4-doc > .sheet { width: 100%; height: auto; }
.cx.v4 .v4-under { position: absolute; left: 50%; top: calc(100% + 14px); display: grid; justify-items: center; width: max-content; max-width: 92vw; transform: translateX(-50%); }
.cx.v4 .v4-under > * { grid-area: 1 / 1; }
.cx.v4 .v4-under .cx-switch__seg { width: auto; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s var(--silk), transform .5s var(--silk); }
.cx.v4 .v4-under.is-done .cx-switch__seg { opacity: 1; transform: none; pointer-events: auto; }
.cx.v4 .cx-switch__seg { background: color-mix(in srgb, var(--night) 72%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cx.v4 .cx-switch__thumb { box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--cw-ground-950, #000) 60%, transparent); overflow: hidden; }
/* The glint of the buttons, on the switch's thumb too. */
.cx.v4 .cx-switch__thumb::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cw-ai-400) 42%, transparent), transparent);
  transform: translateX(-130%) skewX(-18deg);
}
@media (hover: hover) { .cx.v4 .cx-switch__seg:hover .cx-switch__thumb::after { animation: cx-glint 1.1s var(--silk); } }

.cx.v4 .v4-hint { display: flex; align-items: center; gap: 10px; align-self: center; margin: 10px 0 0; color: var(--on-50); font: 500 13px/1 var(--sans); transition: opacity .4s; }
.cx.v4 .v4-hint i { position: relative; width: 1px; height: 22px; overflow: hidden; background: var(--on-line); }
.cx.v4 .v4-hint i::after { content: ""; position: absolute; inset: 0; background: var(--hot); animation: v4-drop 1.8s var(--silk) infinite; }
@keyframes v4-drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.cx.v4 .v4-hero.is-moved .v4-hint, .cx.v4 .v4-under.is-done .v4-hint { opacity: 0; }

.cx.v4 .v4-hero__head { position: absolute; inset: 0 0 auto; padding-top: clamp(116px, 19vh, 200px); pointer-events: none; }
.cx.v4 .v4-hero__title { font-size: clamp(44px, 5vw, 84px); line-height: .94; letter-spacing: -.03em; color: var(--on); text-wrap: nowrap; }
.cx.v4 .v4-hero__title span { display: block; }
.cx.v4 .v4-hero__title em { color: var(--hot); }
.cx.v4 .v4-hero__foot { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: clamp(28px, 5vh, 48px); pointer-events: none; }
.cx.v4 .v4-hero__foot > * { pointer-events: auto; }
.cx.v4 .v4-hero__line { max-width: 33ch; margin: 0; color: var(--on-74); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.cx.v4 .v4-teaser { display: flex; align-items: center; gap: 22px; text-align: right; }
.cx.v4 .v4-teaser__k { margin: 0; color: var(--on-50); font: 500 13px/1.2 var(--sans); }
.cx.v4 .v4-teaser__price { margin-top: 4px; font-size: 34px; line-height: 1; color: var(--on); white-space: nowrap; }
.cx.v4 .v4-teaser__price small { font: 400 14.5px/1 var(--sans); letter-spacing: 0; opacity: .66; }
.cx.v4 .v4-teaser__note { margin: 6px 0 0; color: var(--on-50); font-size: 13px; white-space: nowrap; }
/* The label, the price and its note share one left edge; on a window under 880px high the label
   gives way, so the Original/Translation switch under the page never covers it (Koray, 68, 30 Nov). */
.cx.v4 .v4-teaser > div { text-align: left; }
@media (min-width: 1024px) and (max-height: 879px) { .cx.v4 .v4-teaser__k { display: none; } }

/* The words and the page arrive once the curtain has lifted. */
@media (prefers-reduced-motion: no-preference) {
  .cx.v4 .v4-hero__title span, .cx.v4 .v4-hero__line, .cx.v4 .v4-teaser { animation: v4-rise 1s var(--silk) both; animation-delay: calc(1.05s + var(--n, 0) * 90ms); }
  .cx.v4 .v4-hero__title span:nth-child(2) { --n: 1; }
  .cx.v4 .v4-hero__title span:nth-child(3) { --n: 2; }
  .cx.v4 .v4-hero__line { --n: 4; }
  .cx.v4 .v4-teaser { --n: 5; }
  .cx.v4 .v4-doc { animation: v4-page 1.3s var(--silk) 1s both; }
}
@keyframes v4-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(8px); } }
@keyframes v4-page { from { opacity: 0; transform: translate3d(0, 34px, 0); } }

/* The sheet that follows rises over the first screen. */
.cx.v4 .cx-sheet { margin-top: -40px; }

/* ── Promises: the label in the warm colour, the object moves when pointed at */
.cx.v4 .cx-promise .cx-k { color: var(--hot-text); }
.cx.v4 .cx-promise img { transition: transform .6s var(--silk), filter .6s var(--silk); }
@media (hover: hover) {
  .cx.v4 .cx-promise:hover img { transform: translateY(-6px) rotate(-7deg) scale(1.08); filter: drop-shadow(0 14px 10px color-mix(in srgb, var(--cw-navy-950) 22%, transparent)); }
}

/* ── The steps: a rail over them, and each box lifts ─────────────────── */
.cx.v4 .v4-rail { position: relative; height: 1px; margin: 0 0 32px; background: var(--on-line); }
.cx.v4 .v4-rail > span { position: absolute; inset: -.5px 0; background: var(--hot); transform: scaleX(var(--fill, 0)); transform-origin: 0 50%; }
.cx.v4 .v4-rail > i {
  position: absolute;
  top: 50%;
  left: calc(var(--i) * (100% + 24px) / 4);
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0;
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 1.5px var(--on-50) inset;
  transition: background-color .3s, box-shadow .3s;
}
.cx.v4 .v4-rail > i.is-on { background: var(--hot); box-shadow: 0 0 0 5px color-mix(in srgb, var(--cw-ai-500) 22%, transparent); }
.cx.v4 .cx-root .cx-night .steps__list > li .crop { transition: transform .5s var(--silk), box-shadow .5s var(--silk); }
@media (hover: hover) {
  .cx.v4 .cx-root .cx-night .steps__list > li:hover .crop {
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--on-line), 0 36px 48px -24px color-mix(in srgb, var(--cw-ground-950, #000) 70%, transparent);
  }
}

/* ── The foot: the name right under the small print ──────────────────── */
.cx.v4 .cx-foot { padding-bottom: 0; }
.cx.v4 .cx-foot__word { margin-top: 18px; line-height: 0; }
.cx.v4 .cx-foot__word span {
  margin: -.08em 0 -.19em;
  line-height: 1;
  color: color-mix(in srgb, var(--cw-navy-700) 92%, var(--cw-ground-0));
  -webkit-mask-image: linear-gradient(#000 20%, transparent 104%);
  mask-image: linear-gradient(#000 20%, transparent 104%);
}

/* ── Narrower windows ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .cx.v4 .v4-rail { display: none; }
  .cx.v4 .v4-hero__title { font-size: clamp(40px, 6vw, 56px); }
}
@media (max-width: 1359px) {
  .cx.v4 .v4-hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cx.v4 .v4-teaser { flex-direction: row-reverse; text-align: left; gap: 18px; }
  .cx.v4 .v4-teaser__k { display: none; }
  .cx.v4 .v4-hero__line { max-width: 30ch; }
}
@media (max-width: 767px) {
  .cx.v4 .v4-hero { height: 160svh; }
  .cx.v4 .v4-hero__head { padding-top: 84px; }
  .cx.v4 .v4-hero__title { font-size: clamp(34px, 10vw, 46px); }
  .cx.v4 .v4-hero__title span { display: inline; }
  .cx.v4 .v4-hero__title { text-wrap: balance; max-width: 9em; }
  .cx.v4 .v4-fig { left: 50%; top: 186px; width: min(calc(40svh / 1.2941), calc((100svh - 420px) / 1.2941), 74vw); transform: translateX(-50%); }
  .cx.v4 .v4-under { top: calc(100% + 10px); }
  .cx.v4 .v4-hero__foot { flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 18px; }
  .cx.v4 .v4-hero__line { max-width: none; font-size: 14.5px; }
  .cx.v4 .v4-teaser { flex-direction: row; justify-content: space-between; text-align: left; }
  .cx.v4 .v4-teaser__price { font-size: 28px; }
  .cx.v4 .v4-field::after, .cx.v4 .v4-field { background-position: 50% 50%; }
  .cx.v4 .v4-field::after { left: 50%; }
}
@media (max-width: 640px) {
  /* room for the fixed order bar, only on the pages where that bar comes up (owner, 28 Nov: an empty strip elsewhere) */
  .cx.v4:has(.cx-mbar):has(.v4-hero) .cx-foot { padding-bottom: 68px; }
  .cx.v4 .cx-switch__seg button { min-height: 44px; padding: 0 14px; }
}
/* A window too short to hold a page and its words: nothing is held. */
@media (max-height: 520px) {
  .cx.v4 .v4-hero { height: auto; }
  .cx.v4 .v4-stage { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .cx.v4 .v4-pre { display: none; }
  .cx.v4 .v4-hero { height: auto; }
  .cx.v4 .v4-stage { position: relative; }
  .cx.v4 .v4-hint { display: none; }
  .cx.v4 .cx-switch__thumb::after { display: none; }
}

/* ── What you receive: the two pages lie side by side, straight, nothing covered */
.cx.v4 .cx-pdf__stage { aspect-ratio: 1 / .632; }
.cx.v4 .cx-root .cx-pg { top: 0; width: 48.6%; transform: none; transition: transform .5s var(--silk), box-shadow .5s var(--silk); }
.cx.v4 .cx-root .cx-pg--trans { left: 0; }
.cx.v4 .cx-root .cx-pg--cert { left: auto; right: 0; top: 0; }
@media (hover: hover) {
  .cx.v4 .cx-pdf:hover .cx-pg--trans, .cx.v4 .cx-pdf:hover .cx-pg--cert { transform: none; }
  .cx.v4 .cx-root .cx-pdf .cx-pg:hover { transform: translateY(-6px); }
}
.cx.v4 .cx-root .cx-pg--cert { transform: none; }
.cx.v4 .cx-root .cx-pdf .cx-pg--cert:hover { transform: translateY(-6px); }
.cx.v4 .cx-root .cx-pg .pg__cap { left: 0; opacity: 1; }
@media (max-width: 760px) { .cx.v4 .cx-root .cx-pg { position: absolute; width: 48.6%; } }
/* Padding in per cent is measured on the stage, which is twice the page's width. */
.cx.v4 .cx-root .cx-pg--cert { padding: 3.4% 3.9% 2.2%; }

/* Once the page has turned, the hold is gone for the rest of the visit. */
.cx.v4 .v4-hero.is-free { height: auto; }
.cx.v4 .v4-hero.is-free .v4-stage { position: relative; }

/* The name at the foot: only its upper half, pulled up behind the small print. */
/* The foot is tighter: less air above the logo, between the link rows and around the rule (owner, 28 Nov). */
.cx.v4 .cx-foot { padding-top: clamp(36px, 3.6vw, 52px); }
.cx.v4 .cx-foot__grid { row-gap: 24px; }
@media (min-width: 768px) { .cx.v4 .cx-foot nav a, .cx.v4 .cx-foot__docs a { padding-block: 4px; } }   /* phones keep the taller rows for the finger */
.cx.v4 .cx-foot__docs { margin-top: 22px; padding-top: 18px; }
.cx.v4 .cx-foot__legal { position: relative; z-index: 1; }
.cx.v4 .cx-foot__word { position: relative; z-index: 0; margin-top: -1.4vw; }
.cx.v4 .cx-foot__word span {
  margin: -.08em 0 -.56em;
  -webkit-mask-image: linear-gradient(#000 0%, transparent 62%);
  mask-image: linear-gradient(#000 0%, transparent 62%);
}
/* The name at the foot rises with the scroll (home-v4.js moves it; without scripts it stands in place). */
.cx.v4 .cx-foot__word span { will-change: transform; }
/* Phones: the name stands clear below the language row; it does not run through the words. */
@media (max-width: 640px) { .cx.v4 .cx-foot__word { margin-top: 16px; } .cx.v4 .cx-foot__word span { margin-top: 0; } }

/* ── Languages: the live page's block (the name in the heading turns) ─── */
.cx.v4 .cx-root section.lw.sec { padding: var(--pad) 0; background: var(--night); color: var(--on); }
.cx.v4 .cx-root .lw__kicker { margin: 0 0 14px; color: var(--cw-ai-400); font: 600 14.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.cx.v4 .cx-root .lw__title { color: var(--on); font-size: clamp(38px, 4.2vw, 64px); }
.cx.v4 .cx-root .lw__rot, .cx.v4 .cx-root .lw__w.is-on { color: var(--cw-ai-400); }
.cx.v4 .cx-root .lw__lede { color: var(--on-74); }
.cx.v4 .cx-root .lw__wall { color: color-mix(in srgb, var(--cw-ground-0) 20%, transparent); }
.cx.v4 .cx-root .lw__all { color: var(--on-74); font-size: 14.5px; }
.cx.v4 .cx-root .lw__all summary { color: var(--on); font-weight: 500; text-decoration-color: var(--on-50); text-underline-offset: 4px; }

/* The curtain carries the whole lockup: the mark and the name. */
.cx.v4 .v4-pre__lockup { display: inline-flex; align-items: center; gap: .16em; }
.cx.v4 .v4-pre__lockup svg { width: .82em; height: .82em; flex: none; animation: v4-mark .9s var(--silk) both; }
@keyframes v4-mark { from { opacity: 0; transform: rotate(-24deg) scale(.7); } }
/* Released, the first screen keeps its whole window: the next sheet starts below the fold. */
.cx.v4 .v4-hero.is-free { padding-bottom: 40px; }

/* ── The two cards: a piece of the real screen each, not a sketch ─────── */
.cx.v4 .v4-art { position: relative; display: block; height: 252px; padding: 26px 0 0 clamp(20px, 6%, 44px); overflow: hidden; background:
  radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--cw-navy-700) 62%, transparent), transparent 64%), var(--night); }
.cx.v4 .v4-win { display: block; height: 100%; margin-right: -1px; overflow: hidden; border-radius: 14px 0 0 0; background: var(--card); box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--cw-ground-950, #000) 70%, transparent); color: var(--navy); font: 400 12.5px/1.2 var(--sans); white-space: nowrap; transition: transform .6s var(--silk); }
.cx.v4 .v4-win > span { display: grid; align-items: center; gap: 14px; padding: 0 18px; }
.cx.v4 .v4-win__bar { grid-template-columns: auto 1fr auto; height: 46px; border-bottom: 1px solid var(--line); }
.cx.v4 .v4-win__bar b { font: 600 14.5px/1 var(--sans); }
.cx.v4 .v4-tabs { display: flex; gap: 6px; }
.cx.v4 .v4-tabs i { padding: 5px 9px; border-radius: 999px; color: var(--text-soft); font-style: normal; }
.cx.v4 .v4-tabs i.is-on { background: var(--paper-2); color: var(--navy); font-weight: 600; }
.cx.v4 .v4-tabs u { margin-left: 3px; opacity: .6; text-decoration: none; font-variant-numeric: tabular-nums; }
.cx.v4 .v4-win__new { padding: 7px 11px; border-radius: 999px; background: var(--hot); color: var(--navy); font-weight: 600; }
.cx.v4 .v4-win__crumb { color: var(--text-soft); }
.cx.v4 .v4-th { height: 30px; color: var(--text-soft); font-size: 12px; border-bottom: 1px solid var(--line); }
.cx.v4 .v4-th i { font-style: normal; }
.cx.v4 .v4-th, .cx.v4 .v4-tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.35fr) 62px 118px; }
.cx.v4 .v4-tr, .cx.v4 .v4-fr { height: 44px; border-bottom: 1px solid var(--line); }
.cx.v4 .v4-win i { overflow: hidden; color: var(--text); font-style: normal; text-overflow: ellipsis; }
.cx.v4 .v4-win b { display: flex; align-items: center; gap: 9px; overflow: hidden; font-weight: 600; text-overflow: ellipsis; }
.cx.v4 .v4-tr b u { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--cw-navy-700) 12%, transparent); color: var(--blue); font: 600 10px/1 var(--sans); text-decoration: none; }
.cx.v4 .v4-win svg { flex: none; width: 13px; height: 16px; margin-right: 7px; vertical-align: -3px; color: var(--text-soft); }
.cx.v4 .v4-win em { justify-self: start; padding: 5px 9px; border-radius: 999px; background: var(--paper-2); color: var(--text); font-style: normal; font-weight: 500; font-size: 12px; }
.cx.v4 .v4-win em.is-done { background: color-mix(in srgb, var(--cw-state-success) 14%, transparent); color: var(--cw-state-success-text); }
.cx.v4 .v4-win em.is-ready { background: color-mix(in srgb, var(--cw-ai-500) 20%, transparent); color: var(--cw-ai-700); }
.cx.v4 .v4-win--files .v4-th, .cx.v4 .v4-fr { grid-template-columns: minmax(0, 1.7fr) 54px minmax(0, 1fr); }
.cx.v4 .v4-fr b svg { margin-right: 0; }
.cx.v4 .v4-fr.is-sel { background: color-mix(in srgb, var(--cw-navy-700) 8%, transparent); box-shadow: 2px 0 0 var(--blue) inset; }
.cx.v4 .v4-menu { position: absolute; right: clamp(16px, 7%, 48px); top: 104px; display: grid; width: 232px; padding: 6px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 22px 44px -16px color-mix(in srgb, var(--cw-navy-950) 55%, transparent); color: var(--text); font: 400 13px/1 var(--sans); transition: transform .6s var(--silk); }
.cx.v4 .v4-menu > span { padding: 9px 11px; border-radius: 8px; }
.cx.v4 .v4-menu > .is-on { background: var(--blue); color: var(--on); font-weight: 500; }
.cx.v4 .v4-cursor { position: absolute; right: 22px; bottom: -6px; width: 18px; height: 20px; color: var(--navy); filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--cw-navy-950) 30%, transparent)); }
.cx.v4 .v4-cursor path { fill: var(--cw-ground-0); }
@media (hover: hover) {
  .cx.v4 .cx-card:hover .v4-win { transform: translate(-6px, -6px); }
  .cx.v4 .cx-card:hover .v4-menu { transform: translateY(-10px); }
}
@media (max-width: 640px) {
  .cx.v4 .v4-art { height: 216px; padding: 20px 0 0 16px; }
  .cx.v4 .v4-tabs, .cx.v4 .v4-win__crumb { display: none; }
  .cx.v4 .v4-win__bar { grid-template-columns: 1fr auto; }
  .cx.v4 .v4-menu { right: 12px; top: 92px; width: 210px; }
}
.cx.v4 .v4-win i { display: flex; align-items: center; }
.cx.v4 .v4-win i svg { margin-right: 7px; }
.cx.v4 .v4-fr b em { flex: none; margin-left: 2px; }
@media (max-width: 640px) {
  .cx.v4 .v4-th, .cx.v4 .v4-tr { grid-template-columns: minmax(0, 1fr) auto; }
  .cx.v4 .v4-th i:nth-child(2), .cx.v4 .v4-th i:nth-child(3), .cx.v4 .v4-tr i { display: none; }
  .cx.v4 .v4-win--files .v4-th, .cx.v4 .v4-fr { grid-template-columns: minmax(0, 1fr); }
  .cx.v4 .v4-fr i, .cx.v4 .v4-win--files .v4-th i:nth-child(n+2) { display: none; }
  .cx.v4 .v4-fr b em { display: none; }
}

/* ══ The pages behind the home page (site/v4/…): same shell, their own words ══ */

/* A document type's page: a longer title, and its paragraph right under it. */
.cx.v4.v4-sub .v4-hero__head { padding-top: clamp(108px, 17vh, 180px); }
.cx.v4.v4-sub .v4-hero__title { font-size: clamp(34px, 3.5vw, 58px); line-height: 1; text-wrap: balance; max-width: 9.5em; }
.cx.v4 .v4-hero__lede { max-width: 27em; margin: 22px 0 0; color: var(--on-74); font-size: 16px; line-height: 1.55; text-wrap: pretty; pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) { .cx.v4 .v4-hero__lede { animation: v4-rise 1s var(--silk) .25s both; } }
.cx.v4.v4-sub .v4-hero__title span, .cx.v4.v4-sub .v4-teaser, .cx.v4.v4-sub .v4-doc { animation-delay: calc(.1s + var(--n, 0) * 90ms); }
@media (max-width: 1359px) { .cx.v4.v4-sub .v4-hero__lede { max-width: 24em; font-size: 15px; } }
@media (max-width: 1000px) {
  .cx.v4.v4-sub .v4-hero__lede { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; max-width: 20em; }
}
/* Between a phone and a full desk (768–1099px) the long heading of a document page ran under the page: there the
   page stands further right and is a little narrower, and the heading and its paragraph keep to the room left of it. */
@media (min-width: 768px) and (max-width: 1099px) {
  /* every first screen: the page stands further right, so the switch under it clears the closing lines at the left */
  .cx.v4 .v4-fig { left: 69%; width: min(calc(60svh / 1.2941), 43vw); }
  .cx.v4 .v4-hero__line { max-width: min(30ch, 30vw); }
  .cx.v4.v4-sub .v4-hero__title { max-width: min(9.5em, 38vw); }
  .cx.v4.v4-sub .v4-hero__head .v4-hero__lede { max-width: min(20em, 38vw); }
}
@media (max-width: 767px) {
  .cx.v4.v4-sub .v4-hero__title { font-size: clamp(26px, 7vw, 30px); max-width: none; }   /* three lines of the longest title still end above the page */
  .cx.v4.v4-sub .v4-hero__title span { display: inline; }
  .cx.v4.v4-sub .v4-hero__head .v4-hero__lede { display: none; }
}

/* For business / For software: the live page's band, in the new shell. */
.cx.v4 .v4-band > section.band7 { padding: clamp(108px, 13vh, 128px) 0 clamp(72px, 8vw, 112px); background:
  radial-gradient(62% 86% at 100% 0%, rgba(84, 108, 220, .58) 0%, transparent 70%) no-repeat, var(--night); }
/* less air above the heading on narrow screens, and the first screen's light from the top right corner (owner, 28 Nov) */
@media (max-width: 1023px) { .cx.v4 .v4-band > section.band7 { padding-top: 96px; } }
@media (max-width: 640px) {
  .cx.v4 .v4-band > section.band7 { padding-top: 88px; background:
    radial-gradient(80% 420px at 100% 0%, rgba(84, 108, 220, .36) 0%, transparent 70%) no-repeat, var(--night); }
}
.cx.v4 .v4-band .wrap { max-width: 1440px; padding-inline: var(--gut); }
.cx.v4 .v4-band .scenehead h1 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.025em; color: var(--on); }
.cx.v4 .v4-band .signpost { margin-bottom: 14px; color: var(--cw-ai-400); font: 600 14.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.cx.v4 .v4-band .sec__lede { color: var(--on-74); }
.cx.v4 .v4-band .win7 { border-radius: 16px; box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--cw-ground-950, #000) 80%, transparent); }
.cx.v4 .v4-band .btn { min-height: 50px; padding: 0 24px; border-radius: 999px; border-color: var(--hot); background: var(--hot); color: var(--navy); font: 600 16px/1 var(--sans); }
.cx.v4 .v4-band .btn:hover { background: var(--cw-ai-400); border-color: var(--cw-ai-400); }
.cx.v4 .v4-band + .cx-foot, .cx.v4 .v4-band .cx-close { margin-top: 0; }
.cx.v4 .v4-band .cx-close { padding-top: clamp(48px, 5vw, 64px); }
.cx.v4 .v4-band .band7 a:not(.btn) { color: var(--on); text-decoration-color: var(--on-50); }
@media (max-width: 767px) { .cx.v4.v4-sub .v4-hero__head { padding-top: 84px; } }
/* The curtain shows the real lockup file, in its own proportions. */
.cx.v4 .v4-pre__logo { display: block; width: clamp(260px, 34vw, 520px); height: auto; margin-inline: auto; color: var(--on); }

/* ── Language: a small list anchored under its button; on a phone, in the menu */
.cx.v4 .v4-lang { position: relative; }
.cx.v4 .v4-lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid transparent; border-radius: 999px; background: none; color: color-mix(in srgb, var(--cw-ground-0) 84%, transparent); font: 500 14.5px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cx.v4 .v4-lang__btn:hover, .cx.v4 .v4-lang__btn[aria-expanded="true"] { background: var(--on-wash); border-color: var(--on-line); color: var(--on); }
.cx.v4 .v4-lang__btn svg { width: 17px; height: 17px; }
.cx.v4 .v4-lang__btn .v4-lang__chev { width: 11px; height: 11px; transition: transform .3s var(--silk); }
.cx.v4 .v4-lang__btn[aria-expanded="true"] .v4-lang__chev { transform: rotate(180deg); }
.cx.v4 .v4-lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; min-width: 148px; padding: 6px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 22px 44px -16px color-mix(in srgb, var(--cw-ground-950, #000) 60%, transparent); animation: v4-pop .22s var(--silk); transform-origin: 100% 0; }
.cx.v4 .v4-lang__list[hidden] { display: none; }
.cx.v4 .v4-lang__list a { position: relative; padding: 10px 12px 10px 16px; border-radius: 9px; color: var(--navy); font: 400 15px/1.2 var(--sans); text-decoration: none; }
.cx.v4 .v4-lang__list a:hover { background: var(--paper-2); }
.cx.v4 .v4-lang__list a[aria-current] { background: var(--paper-2); font-weight: 600; }
.cx.v4 .v4-lang__list a[aria-current]::before { content: ""; position: absolute; left: 6px; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--hot); }
.cx.v4 .v4-lang__list a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
@keyframes v4-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.cx.v4 .v4-menu-langs { display: none; }
@media (max-width: 1100px) {
  .cx.v4 .v4-lang { display: none; }
  .cx.v4 .cx-menu:not([hidden]) { gap: 20px; }
  .cx.v4 .v4-menu-langs { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--on-50); }
  .cx.v4 .v4-menu-langs svg { width: 18px; height: 18px; margin-right: 2px; }
  .cx.v4 .v4-menu-langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--on-line); border-radius: 999px; color: var(--on-74); font: 500 15px/1 var(--sans); text-decoration: none; }
  .cx.v4 .v4-menu-langs a[aria-current] { border-color: var(--on); background: var(--on); color: var(--navy); font-weight: 600; }
  .cx.v4 .cx-menu .v4-menu-langs + .cx-btn { margin-top: 0; }
}
/* The curtain's line grows from its middle, so it is under the middle of the logo at every moment. */
.cx.v4 .v4-pre i { transform-origin: 50% 50%; }

/* ══ The working screens (order, sign in, track, verify, book a call, docs) in the new shell ══ */
.cx.v4.v4-app { padding-top: 72px; background: var(--paper); color: var(--navy); font: inherit; }
.cx.v4.v4-app .v4-nav, .cx.v4.v4-app .v4-nav.is-stuck { background: var(--night); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cx.v4.v4-app .v4-nav .cx-nav__in { height: 72px; }
.cx.v4.v4-app .v4-order { border-color: var(--hot); background: var(--hot); color: var(--navy); }
.cx.v4.v4-app h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.cx.v4.v4-app .cw-btn { border-radius: 999px; }
.cx.v4.v4-app .cw-btn--primary { border-color: var(--hot); background: var(--hot); color: var(--navy); font-weight: 600; }
.cx.v4.v4-app .cw-btn--primary:hover { border-color: var(--cw-ai-400); background: var(--cw-ai-400); }
.cx.v4.v4-app .cx-foot { margin-top: clamp(48px, 6vw, 88px); }
@media (max-width: 1100px) { .cx.v4.v4-app { padding-top: 64px; } .cx.v4.v4-app .v4-nav .cx-nav__in { height: 64px; } }
.cx.v4.v4-app { font: 400 16px/1.5 var(--sans); }
.cx.v4.v4-app .cw-btn--strong { border-color: var(--hot); background: var(--hot); color: var(--navy); font-weight: 600; }
.cx.v4.v4-app .cw-btn--strong:hover { border-color: var(--cw-ai-400); background: var(--cw-ai-400); }
.cx.v4.v4-app .cw-btn--strong:disabled { opacity: .5; }

/* The closing card: the engraved rings behind its two pages, turning with the scroll like the first screen's. */
.cx.v4 .cx-close__card::before {
  right: -6%;
  top: 50%;
  width: min(980px, 78%);
  opacity: .14;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent);
  mask-image: radial-gradient(closest-side, #000 62%, transparent);
  transform: translateY(-50%) rotate(var(--turn, 0deg));
}
@media (max-width: 1000px) { .cx.v4 .cx-close__card::before { right: -30%; top: 72%; width: 150%; } }

/* ══ One behaviour everywhere ══════════════════════════════════════════════
   Every filled button has the glint when pointed at, whichever page it is on
   and whichever class the page gave it; every text link fills with the warm
   colour from left to right. */
.cx.v4 .v4-band .btn,
.cx.v4.v4-app .cw-btn--primary,
.cx.v4.v4-app .cw-btn--strong { position: relative; overflow: hidden; }
.cx.v4 .v4-band .btn::after,
.cx.v4.v4-app .cw-btn--primary::after,
.cx.v4.v4-app .cw-btn--strong::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cw-ground-0) 38%, transparent), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
@media (hover: hover) {
  .cx.v4 .v4-band .btn:hover::after,
  .cx.v4.v4-app .cw-btn--primary:not(:disabled):hover::after,
  .cx.v4.v4-app .cw-btn--strong:not(:disabled):hover::after { animation: cx-glint 1.1s var(--silk); }
}

.cx.v4 .v4-band .band7 a:not(.btn),
.cx.v4 .cx-link,
.cx.v4 .cx-card__go,
.cx.v4 .cx-foot nav a,
.cx.v4 .cx-foot__langs a,
.cx.v4 .lw__all summary {
  --fill: var(--cw-ai-400);
  background: linear-gradient(90deg, var(--fill) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position .45s var(--silk), text-decoration-color .3s;
}
.cx.v4 .cx-paper .cx-link, .cx.v4 .cx-paper2 .cx-link, .cx.v4 .cx-sheet .cx-link, .cx.v4 .cx-card__go { --fill: var(--cw-ai-600); }
@media (hover: hover) {
  .cx.v4 .v4-band .band7 a:not(.btn):hover,
  .cx.v4 .cx-link:hover,
  .cx.v4 .cx-card:hover .cx-card__go,
  .cx.v4 .cx-foot nav a:hover,
  .cx.v4 .cx-foot__langs a:hover,
  .cx.v4 .lw__all summary:hover { background-position: 0 0; text-decoration-color: var(--fill); }
}
.cx.v4 .cx-card__go .cx-arrow { color: var(--blue); transition: transform .3s var(--silk), color .45s var(--silk); }
.cx.v4 .cx-card:hover .cx-card__go .cx-arrow { color: var(--cw-ai-600); }
@media (prefers-reduced-motion: reduce) {
  .cx.v4 .v4-band .btn::after, .cx.v4.v4-app .cw-btn--primary::after, .cx.v4.v4-app .cw-btn--strong::after { display: none; }
}
/* a heading on a working screen is one colour (owner, 28 Nov): the warm colour is an accent, not a habit */
.cx.v4.v4-app h1 em, .cx.v4.v4-app h2 em { font-style: normal; color: inherit; }

/* The help button stands clear of the phone's order bar. */
@media (max-width: 640px) { .cx.v4:not(.v4-app) .cw-chat__open { bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* ── The four promises: small drawings of the thing itself (a slip, a watermarked
   page, the two-page PDF, the code with its tick) instead of glossy objects. */
.cx.v4 .v4-ico {
  --ico-paper: var(--cw-ground-0); --ico-ink: var(--cw-navy-950); --ico-hot: var(--cw-ai-500); --ico-ground: var(--paper); --ico-tick: var(--cw-navy-950);
  width: 60px; height: 60px; overflow: visible;
  filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--cw-navy-950) 16%, transparent));
  transition: transform .6s var(--silk), filter .6s var(--silk);
}
@media (hover: hover) {
  .cx.v4 .cx-promise:hover .v4-ico { transform: translateY(-6px) rotate(-6deg) scale(1.08); filter: drop-shadow(0 16px 14px color-mix(in srgb, var(--cw-navy-950) 20%, transparent)); }
}

/* ── On a phone: boxes instead of long lists ─────────────────────────── */
@media (max-width: 640px) {
  /* the four promises: two by two, the drawing on top */
  .cx.v4 .cx-promises { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0 0; border-bottom: 0; }
  .cx.v4 .cx-promise, .cx.v4 .cx-promise + .cx-promise { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 10px; padding: 16px 14px; border: 0; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  .cx.v4 .v4-ico { width: 44px; height: 44px; }
  .cx.v4 .cx-promise .cx-k { margin-bottom: 3px; font-size: 12.5px; }
  .cx.v4 .cx-promise__t { font-size: 15.5px; line-height: 1.28; }

  /* what you receive: five short boxes, then the two pages */
  .cx.v4 .cx-root .cx-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; border: 0; }
  .cx.v4 .cx-root .cx-ledger > div { display: block; padding: 14px; border: 0; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  .cx.v4 .cx-root .cx-ledger > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cx.v4 .cx-root .cx-ledger dt { margin: 0 0 5px; font-size: 17px; line-height: 1.2; }
  .cx.v4 .cx-root .cx-ledger dd { margin: 0; font-size: 13.5px; line-height: 1.42; }

  /* the four steps: two by two, the picture on top */
  .cx.v4 .cx-root .cx-night .steps__list { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .cx.v4 .cx-root .cx-night .steps__list > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cx.v4 .cx-root .cx-night .crop { height: 118px; border-radius: 14px; }
  .cx.v4 .cx-root .cx-night .steps__t h3 { font-size: 18px; }
  .cx.v4 .cx-root .cx-night .steps__t p { margin-top: 4px; font-size: 13.5px; line-height: 1.42; }

  /* the closing card: the two buttons side by side, a shorter card */
  .cx.v4 .cx-close__t { padding: 26px 20px 0; }
  .cx.v4 .cx-close__t .cx-hero__cta { flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
  .cx.v4 .cx-close__t .cx-hero__cta .cx-btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 12px; font-size: 15px; }
  .cx.v4 .cx-close__meta { margin-top: 14px; font-size: 13.5px; }
  .cx.v4 .cx-close__pair { min-height: 150px; margin: 4px 16px 0; }
}

/* The closing card when it is one column: the two pages hang from a line under the words and are cut by the card, never over the words. */
@media (max-width: 1000px) {
  .cx.v4 .cx-close__card { gap: 0; }
  .cx.v4 .cx-close__pair { min-height: 210px; margin: 22px 20px 0; overflow: hidden; }
  .cx.v4 .cx-root .cx-close__pg { top: 22px; bottom: auto; width: 56%; }
  .cx.v4 .cx-root .cx-close__pg--en { top: 6px; bottom: auto; }
}
@media (max-width: 640px) { .cx.v4 .cx-close__pair { min-height: 168px; margin: 18px 14px 0; } }

/* The phone menu's languages: no globe, centred, right under the links. */
@media (max-width: 1100px) {
  .cx.v4 .v4-menu-langs { justify-content: center; margin-top: 6px; }
  .cx.v4 .v4-menu-langs svg { display: none; }
  .cx.v4 .cx-menu .v4-menu-langs + .cx-btn { margin-top: auto; }
}

/* ── Prices: the live page's table (not a calculator), in the new dress ── */
.cx.v4 .v4-price { width: 100%; max-width: 680px; justify-self: end; }
.cx.v4 .cx-root .ptable { border: 0; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px var(--lp-070d59-a35); font-size: 16px; }
.cx.v4 .cx-root .ptable th, .cx.v4 .cx-root .ptable td { padding: 14px 22px; border-top: 1px solid var(--line); }
.cx.v4 .cx-root .ptable thead th, .cx.v4 .cx-root .ptable thead td { border-top: 0; padding-top: 18px; }
.cx.v4 .cx-root .ptable thead th { color: var(--navy); font-weight: 600; }
.cx.v4 .cx-root .ptable tbody th { color: var(--text-soft); }
.cx.v4 .cx-root .ptable__lead td { font: 400 34px/1 var(--serif); color: var(--navy); letter-spacing: -.025em; }
.cx.v4 .cx-root .ptable tfoot td { padding-top: 16px; padding-bottom: 18px; }
.cx.v4 .cx-root .ptable .link, .cx.v4 .cx-root .pstack__more .link { color: var(--blue); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.cx.v4 .cx-root .ptable__go { position: relative; overflow: hidden; min-height: 42px; padding: 0 20px; border: 1px solid var(--line-ctl); border-radius: 999px; background: none; color: var(--navy); font: 600 15px/1 var(--sans); }
.cx.v4 .cx-root .ptable__go:not(.ptable__go--lead):hover { background: var(--paper-2); border-color: var(--navy); }
.cx.v4 .cx-root .ptable__go--lead { border-color: var(--hot); background: var(--hot); color: var(--navy); }
.cx.v4 .cx-root .ptable__go--lead:hover { border-color: var(--cw-ai-400); background: var(--cw-ai-400); }
.cx.v4 .cx-root .ptable__go--lead::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 35%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cw-ground-0) 38%, transparent), transparent); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
@media (hover: hover) { .cx.v4 .cx-root .ptable__go--lead:hover::after { animation: cx-glint 1.1s var(--silk); } }
.cx.v4 .cx-root .pricing__quote { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 0; padding: 16px 16px 16px 22px; border: 0; border-radius: 20px; background: var(--navy); color: var(--on-74); font-size: 15.5px; line-height: 1.45; }
.cx.v4 .cx-btn--line { flex: none; border-color: color-mix(in srgb, var(--cw-ground-0) 34%, transparent); color: var(--on); }
.cx.v4 .cx-btn--line:hover { border-color: var(--hot); background: var(--hot); color: var(--navy); }
.cx.v4 .cx-root .pstack { display: none; }
.cx.v4 .cx-root .pstack__more { display: none; }
@media (max-width: 1000px) { .cx.v4 .v4-price { max-width: none; justify-self: stretch; } }
@media (max-width: 640px) {
  .cx.v4 .cx-root .ptable { display: none; }
  .cx.v4 .cx-root .pstack { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; list-style: none; }
  .cx.v4 .cx-root .pstack__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px 12px; padding: 14px 14px 14px 16px; border: 0; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  .cx.v4 .cx-root .pstack__name { grid-column: 1; grid-row: 1; color: var(--navy); font: 600 16px/1.2 var(--sans); }
  .cx.v4 .cx-root .pstack__time { grid-column: 1; grid-row: 2; color: var(--text-soft); font-size: 13.5px; line-height: 1.3; }
  .cx.v4 .cx-root .pstack__price { grid-column: 2; grid-row: 1 / span 2; text-align: right; color: var(--navy); white-space: nowrap; }
  .cx.v4 .cx-root .pstack__price b { font: 400 26px/1 var(--serif); letter-spacing: -.02em; }
  .cx.v4 .cx-root .pstack__price small { display: block; color: var(--text-soft); font-size: 12px; }
  .cx.v4 .cx-root .pstack__row .ptable__go { grid-column: 3; grid-row: 1 / span 2; min-height: 42px; padding: 0 16px; font-size: 14.5px; }
  .cx.v4 .cx-root .pstack__more { display: block; margin: 12px 2px 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.45; }
  .cx.v4 .cx-root .pricing__quote { flex-direction: column; align-items: stretch; padding: 16px; font-size: 14.5px; }
}

/* ── Verification: the code to scan, as on the live page ─────────────── */
.cx.v4 .cx-root .vqr { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 18px; max-width: 460px; margin: 28px 0 0; padding: 14px 18px 14px 14px; border: 1px solid var(--on-line); border-radius: 20px; background: var(--on-wash); }
.cx.v4 .cx-root .vqr__code { display: block; padding: 8px; border-radius: 12px; background: var(--card); color: var(--navy); line-height: 0; }
.cx.v4 .cx-root .vqr__code svg { display: block; width: 100%; height: auto; }
.cx.v4 .cx-root .vqr p { margin: 0; color: var(--on-74); font-size: 14.5px; line-height: 1.45; }
.cx.v4 .cx-root .vqr p b { display: block; margin-bottom: 3px; color: var(--on); font: 600 16px/1.3 var(--sans); }
.cx.v4 .cx-vform { margin-top: 20px; }
@media (max-width: 640px) { .cx.v4 .cx-root .vqr { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; } }

/* The top bar's links fill with the warm colour too, like every other text link. */
.cx.v4 .v4-nav .cx-nav__links a, .cx.v4 .v4-nav .cx-nav__signin {
  --fill: var(--cw-ai-400);
  background: linear-gradient(90deg, var(--fill) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position .45s var(--silk);
}
@media (hover: hover) {
  .cx.v4 .v4-nav .cx-nav__links a:hover, .cx.v4 .v4-nav .cx-nav__signin:hover { background: linear-gradient(90deg, var(--fill) 50%, currentColor 50%) 0 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
}
.cx.v4 .v4-nav .cx-nav__links a::after, .cx.v4 .v4-nav .cx-nav__signin::after { background: var(--cw-ai-400); }

/* The glint is on every button, outlined ones too (on a light ground it is a warm sheen, since white would not show). */
.cx.v4 .cx-root .ptable__go:not(.ptable__go--lead)::after,
.cx.v4.v4-app .cw-btn:not(.cw-btn--primary):not(.cw-btn--strong)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cw-ai-500) 34%, transparent), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
.cx.v4.v4-app .cw-btn { position: relative; overflow: hidden; }
@media (hover: hover) {
  .cx.v4 .cx-root .ptable__go:not(.ptable__go--lead):hover::after,
  .cx.v4.v4-app .cw-btn:not(:disabled):hover::after { animation: cx-glint 1.1s var(--silk); }
}
@media (prefers-reduced-motion: reduce) { .cx.v4 .cx-root .ptable__go::after, .cx.v4.v4-app .cw-btn::after { display: none; } }

/* ── Found on the phone walk-through ─────────────────────────────────── */
.cx.v4 .cx-root .vqr p span { color: var(--on-74); }
/* a document page's paragraph: beside the page on a wide window, under it on a phone */
.cx.v4 .v4-hero__line--phone { display: none; }
@media (max-width: 767px) {
  .cx.v4 .v4-hero__line--phone { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.45; }
}
@media (max-width: 767px) and (max-height: 700px) { .cx.v4 .v4-hero__line--phone { -webkit-line-clamp: 2; } }
/* a button never shrinks below its own words */
.cx.v4.v4-app .cw-btn { min-width: max-content; }
/* the centred screens (sign in, register, reset) start a little under the bar */
.cx.v4.v4-app .cw-app__main--centred { padding-top: clamp(28px, 5vw, 56px); }
.cx.v4 .cx-pricing { align-items: center; }

/* The logo fills with the warm colour when pointed at, like the links. */
.cx.v4 .cx-brand span {
  background: linear-gradient(90deg, var(--cw-ai-400) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position .5s var(--silk);
  padding-bottom: .08em;
}
.cx.v4 .cx-brand svg { transition: color .35s var(--silk), transform .5s var(--silk); }
@media (hover: hover) {
  .cx.v4 .cx-brand:hover span { background-position: 0 0; }
  .cx.v4 .cx-brand:hover svg { color: var(--cw-ai-400); transform: rotate(-8deg); }
}

/* The top bar and the foot show the real lockup file (mark and name in their own proportions and alignment);
   pointed at, it fills with the warm colour from the left. */
.cx.v4 .cx-brand { gap: 0; }
.cx.v4 .v4-lockup {
  display: block;
  width: 152px;
  aspect-ratio: 139.205 / 21.44;
  padding: 0;
  background: linear-gradient(90deg, var(--cw-ai-400) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-mask: url("/shared/assets/img/lockup.svg") center / contain no-repeat;
  mask: url("/shared/assets/img/lockup.svg") center / contain no-repeat;
  -webkit-text-fill-color: currentColor;
  transition: background-position .5s var(--silk);
}
@media (hover: hover) { .cx.v4 .cx-brand:hover .v4-lockup { background-position: 0 0; } }
@media (max-width: 640px) { .cx.v4 .v4-lockup { width: 134px; } }
.cx.v4 .cx-brand .v4-lockup {
  padding: 0;
  background: linear-gradient(90deg, var(--cw-ai-400) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: border-box; background-clip: border-box;
}
@media (hover: hover) { .cx.v4 .cx-brand:hover .v4-lockup { background-position: 0 0; } }
/* The lockup in the bar and foot: smaller (owner, 28 Nov: the name read too large). */
.cx.v4 .cx-brand .v4-lockup { width: 124px; }
@media (max-width: 640px) { .cx.v4 .cx-brand .v4-lockup { width: 116px; } }
/* The first screen's Order stands clear of the help button in the corner. */
@media (min-width: 1360px) { .cx.v4 .v4-teaser { margin-right: 60px; } }

/* ══ Sign in, create an account, forgotten password: the new look ═════════
   One white card on the paper ground, the engraved rings behind it; the old
   fanned papers and the corner mark are gone (pages are never shown fanned). */
.cx.v4.v4-app .cw-auth__paper, .cx.v4.v4-app .cw-auth__mark { display: none; }
.cx.v4.v4-app .cw-app--auth { position: relative; overflow: hidden; isolation: isolate; }
.cx.v4.v4-app .cw-app--auth::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: min(1180px, 170vw); aspect-ratio: 1;
  /* drawn in the ink navy itself (owner, 28 Nov): the drawing is the mask, the colour is the token */
  background: var(--navy); opacity: .09;
  -webkit-mask: url("/shared/assets/img/guilloche.svg") center / contain no-repeat, radial-gradient(closest-side, #000 55%, transparent);
  mask: url("/shared/assets/img/guilloche.svg") center / contain no-repeat, radial-gradient(closest-side, #000 55%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  transform: translate(-50%, -50%) rotate(var(--turn, 0deg));
}
.cx.v4.v4-app .cw-app__main--centred { grid-template-columns: minmax(0, 440px); padding-bottom: clamp(56px, 7vw, 96px); }
.cx.v4.v4-app .cw-auth { max-width: 440px; }
.cx.v4.v4-app .cw-auth .cw-title { margin: 0 0 10px; color: var(--navy); font-size: clamp(32px, 3vw, 44px); line-height: 1.08; letter-spacing: -.024em; }
.cx.v4.v4-app .cw-auth .cw-lead { margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.55; }
.cx.v4.v4-app .cw-auth__stage { padding: 0; }
.cx.v4.v4-app .cw-auth__panel { margin-top: 26px; padding: 28px; border: 0; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px var(--lp-070d59-a35); }
.cx.v4.v4-app .cw-auth .cw-twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.cx.v4.v4-app .cw-auth .cw-twocol > * { min-width: 0; }
.cx.v4.v4-app .cw-auth .cw-field__input { width: 100%; min-width: 0; box-sizing: border-box; }
.cx.v4.v4-app .cw-auth .cw-field__label { color: var(--navy); font: 600 14.5px/1.3 var(--sans); }
.cx.v4.v4-app .cw-auth .cw-field__input { min-height: 48px; border-radius: 12px; border-color: var(--line-strong); font-size: 16px; }
.cx.v4.v4-app .cw-auth .cw-field__input:focus-visible { border-color: var(--navy); outline: 2px solid color-mix(in srgb, var(--cw-navy-700) 28%, transparent); outline-offset: 1px; box-shadow: none; }
.cx.v4.v4-app .cw-auth__panel .cw-form > .cw-form__actions .cw-btn { width: 100%; min-height: 50px; font-size: 16px; }
.cx.v4.v4-app .cw-auth__links { margin-top: 22px; color: var(--text-soft); font-size: 15px; }
@media (max-width: 480px) {
  .cx.v4.v4-app .cw-auth__panel { padding: 22px 18px; border-radius: 18px; }
}

/* ══ The warm colour is an accent, not a habit (owner, 28 Nov) ════════════
   On the working screens the form's own button (Check, Sign in, Create
   account, Send, Track …) is ink; the warm pill stays for Order — the top
   bar's and the order screen's own pay button. */
.cx.v4.v4-app:not(:has(.cw-app--guest)) .cw-btn--primary,
.cx.v4.v4-app:not(:has(.cw-app--guest)) .cw-btn--strong { border-color: var(--navy); background: var(--navy); color: var(--on); }
.cx.v4.v4-app:not(:has(.cw-app--guest)) .cw-btn--primary:hover,
.cx.v4.v4-app:not(:has(.cw-app--guest)) .cw-btn--strong:hover { border-color: var(--cw-navy-700); background: var(--cw-navy-700); }

/* Text links on the working screens fill with the warm colour from the left, like every other link. */
.cx.v4.v4-app .cw-auth__links a,
.cx.v4.v4-app main :is(p, li) > a:not(.cw-btn):not([class*="btn"]) {
  --fill: var(--cw-ai-600);
  color: var(--blue);
  background: linear-gradient(90deg, var(--fill) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: background-position .45s var(--silk), text-decoration-color .3s;
}
@media (hover: hover) {
  .cx.v4.v4-app .cw-auth__links a:hover,
  .cx.v4.v4-app main :is(p, li) > a:not(.cw-btn):not([class*="btn"]):hover { background-position: 0 0; text-decoration-color: var(--fill); }
}
/* Verify and Track: the same box as sign in — 12px corners, 48px high, the ink focus ring (owner, 28 Nov:
   the verify box was a pill and taller, the track boxes lower). The button beside or under it is as high. */
.cx.v4.v4-app .cw-verify__form .cw-field__input,
.cx.v4.v4-app .cw-verify__grid .cw-verify__row .cw-field__input { min-height: 48px; border-radius: 12px; border-color: var(--line-strong); font-size: 16px; }
.cx.v4.v4-app .cw-verify__form .cw-field__input:focus-visible { border-color: var(--navy); outline: 2px solid color-mix(in srgb, var(--cw-navy-700) 28%, transparent); outline-offset: 1px; box-shadow: none; }
.cx.v4.v4-app .cw-verify__form .cw-btn,
.cx.v4.v4-app .cw-verify__grid .cw-verify__row .cw-btn { min-height: 48px; border-radius: 999px; }
/* A sign-in screen's card with nothing to show in it (an expired invite: the form is hidden, no message) is not drawn
   as an empty white box; and the old upper-case line under these screens is gone, like every such label. */
.cx.v4.v4-app .cw-auth__panel:has(> .cw-form[hidden]):has(> #result:empty) { display: none; }
.cx.v4.v4-app .cw-auth__descriptor { display: none; }
/* no strip of another ground between the sign-in screens and the foot */
.cx.v4.v4-app .cw-app--auth { min-height: 0; }
.cx.v4.v4-app .cw-app--auth + .cx-foot, .cx.v4.v4-app .cw-app--auth ~ .cx-foot { margin-top: 0; }
/* Check on the home page's verification block: white on the ink ground, not the warm pill (owner, 28 Nov). */
.cx.v4 .cx-vform .cx-btn { background: var(--card); color: var(--navy); }
.cx.v4 .cx-vform__row:focus-within { outline-color: var(--on-50); }

/* ══ Terms, privacy, refunds: the customer's legal pages ══════════════════ */
.cx.v4 .cx-foot__terms { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.cx.v4 .cx-foot__terms a {
  --fill: var(--cw-ai-400); color: var(--on-74); text-decoration: none;
  background: linear-gradient(90deg, var(--fill) 50%, currentColor 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: background-position .45s var(--silk);
}
@media (hover: hover) { .cx.v4 .cx-foot__terms a:hover { background-position: 0 0; } }
.cx.v4.v4-app .cw-terms { margin: 14px 0 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.5; }
.cx.v4.v4-app .cw-terms .cw-check { align-items: flex-start; gap: 10px; color: var(--text-soft); font-size: 13.5px; line-height: 1.5; }
.cx.v4.v4-app .cw-terms .cw-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.cx.v4.v4-app .cw-auth .cw-terms { margin: 4px 0 2px; }

.cx.v4 .v4-legal { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.cx.v4 .v4-legal__in { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cx.v4 .v4-legal__side { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; font-size: 14.5px; line-height: 1.35; }
.cx.v4 .v4-legal__docs { display: grid; gap: 2px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cx.v4 .v4-legal__docs a { padding: 8px 12px; border-radius: 10px; color: var(--navy); font-weight: 600; text-decoration: none; transition: background-color .2s; }
.cx.v4 .v4-legal__docs a:hover { background: color-mix(in srgb, var(--cw-navy-950) 5%, transparent); }
.cx.v4 .v4-legal__docs a[aria-current] { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.cx.v4 .v4-legal__toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.cx.v4 .v4-legal__toc li { counter-increment: t; }
.cx.v4 .v4-legal__toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 5px 12px; color: var(--text-soft); text-decoration: none; transition: color .2s; }
.cx.v4 .v4-legal__toc a::before { content: counter(t); font-variant-numeric: tabular-nums; }
.cx.v4 .v4-legal__toc a:hover { color: var(--navy); }
.cx.v4 .v4-legal__text { color: color-mix(in srgb, var(--cw-navy-950) 82%, transparent); font-size: 16px; line-height: 1.62; }
.cx.v4 .v4-legal__text h1 { margin: 0 0 22px; color: var(--navy); font-size: clamp(34px, 3.4vw, 48px); }
/* A Turkish or Spanish reader is told, under the title, that the text itself is English (4B; 86, 30 Nov). */
.cx.v4 .v4-legal__only-en { margin: -10px 0 22px; color: var(--text-soft); font-size: 14px; line-height: 1.4; }
.cx.v4 .v4-legal__text h2 { display: grid; grid-template-columns: 44px minmax(0, 1fr); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--navy); font: 400 24px/1.2 var(--serif); letter-spacing: -.015em; scroll-margin-top: 96px; }
.cx.v4 .v4-legal__text h2 span { color: var(--text-soft); }
.cx.v4 .v4-legal__text p { margin: 0 0 12px; }
.cx.v4 .v4-legal__text b { color: var(--navy); font-weight: 600; }
.cx.v4 .v4-legal__cl, .cx.v4 .v4-legal__sub { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
.cx.v4 .v4-legal__sub { margin-left: 44px !important; grid-template-columns: 36px minmax(0, 1fr); }
.cx.v4 .v4-legal__n { color: var(--text-soft); font-variant-numeric: tabular-nums; }
.cx.v4 .v4-legal__note { padding: 16px 18px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; line-height: 1.55; }
.cx.v4 .v4-legal__text mark { padding: 1px 4px; border-radius: 4px; background: color-mix(in srgb, var(--cw-ai-500) 22%, transparent); color: var(--navy); }
.cx.v4 .v4-legal__table { margin: 6px 0 18px; overflow-x: auto; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.cx.v4 .v4-legal__table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.cx.v4 .v4-legal__table th, .cx.v4 .v4-legal__table td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.cx.v4 .v4-legal__table thead th { border-top: 0; color: var(--navy); font-weight: 600; }
@media (max-width: 900px) {
  .cx.v4 .v4-legal__in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cx.v4 .v4-legal__side { position: static; max-height: none; }
  .cx.v4 .v4-legal__docs { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; }
  .cx.v4 .v4-legal__docs a { box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
  .cx.v4 .v4-legal__docs a[aria-current] { background: var(--navy); color: var(--on); }
  .cx.v4 .v4-legal__toc { display: none; }
  .cx.v4 .v4-legal__text h2, .cx.v4 .v4-legal__cl { grid-template-columns: 38px minmax(0, 1fr); }
  .cx.v4 .v4-legal__sub { margin-left: 38px !important; grid-template-columns: 32px minmax(0, 1fr); }
  .cx.v4 .v4-legal__table thead { display: none; }
  .cx.v4 .v4-legal__table tr { display: block; padding: 10px 14px; border-top: 1px solid var(--line); }
  .cx.v4 .v4-legal__table tbody tr:first-child { border-top: 0; }
  .cx.v4 .v4-legal__table td { display: block; padding: 3px 0; border: 0; }
  .cx.v4 .v4-legal__table td:first-child { color: var(--navy); font-weight: 600; }
}
.cx.v4.v4-app .v4-legal__toc li > a { color: var(--text-soft); text-decoration: none; }
.cx.v4.v4-app .cw-step__go .cw-terms { flex: 0 0 100%; margin: 0 0 4px; }

/* Very narrow phones (320): the Turkish Order button pushed the menu button off the screen. */
@media (max-width: 350px) {
  .cx.v4 .cx-nav .cx-nav__in { gap: 8px; }
  .cx.v4 .cx-nav .v4-order { padding-inline: 12px; font-size: 13px; }
  .cx.v4 .cx-nav .v4-order svg { display: none; }
}
/* The logo link: a taller area to tap, same look. */
.cx.v4 .cx-nav .cx-brand { padding-block: 13px; margin-block: -13px; }

/* No slanted words outside the drawn documents (his rule): the order form's step number,
   the demo panel's time notes, emphasis in the developer guide. */
.cx.v4 .cw-step__n, .cx.v4.v4-app main em, .cx.v4 .doc-sec em { font-style: normal; }
.cx.v4.v4-app main em, .cx.v4 .doc-sec em { font-weight: 600; }
html .cx.v4 .tp .tp__when span { font-style: normal !important; }

/* Phone: in the four promise boxes everything starts at the top, so the icons, the headings
   and the sentences of the two boxes in a row sit on the same lines. */
@media (max-width: 640px) {
  .cx.v4 .cx-promise, .cx.v4 .cx-promise + .cx-promise { align-items: start; align-content: start; }
  .cx.v4 .cx-promise img { width: 52px; height: 52px; }
}

/* The panel preview's status labels look like the partner panel's own badges (shared/css/components/badge.css):
   since the pill cleanup (owner, 28 Nov) a 4px rectangle with no dot, amber when it waits for you, blue while
   we work, green when done. No coral. */
.cx.v4 .v4-win em { display: inline-flex; align-items: center; gap: .4rem; min-height: 1.375rem; padding: .1rem .55rem; border-radius: 4px; background: var(--cw-state-info-bg); color: var(--cw-state-info-text); font-size: 12px; font-weight: 500; white-space: nowrap; }
.cx.v4 .v4-win em.is-ready { background: var(--cw-state-warning-bg); color: var(--cw-state-warning-text); }
.cx.v4 .v4-win em.is-run { background: var(--cw-state-info-bg); color: var(--cw-state-info-text); }
.cx.v4 .v4-win em.is-done { background: var(--cw-state-success-bg); color: var(--cw-state-success-text); }
@media (min-width: 641px) {
  .cx.v4 .v4-win:not(.v4-win--files) .v4-th, .cx.v4 .v4-tr { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 62px 178px; }
}
/* Between phone and wide screens the card is narrow: name and status only, as on a phone. */
@media (min-width: 641px) and (max-width: 1400px) {
  .cx.v4 .v4-win:not(.v4-win--files) .v4-tabs { display: none; }
  .cx.v4 .v4-win:not(.v4-win--files) .v4-win__bar { grid-template-columns: 1fr auto; }
  .cx.v4 .v4-win:not(.v4-win--files) .v4-th, .cx.v4 .v4-tr { grid-template-columns: minmax(0, 1fr) auto; }
  .cx.v4 .v4-win:not(.v4-win--files) .v4-th i:nth-child(2), .cx.v4 .v4-win:not(.v4-win--files) .v4-th i:nth-child(3), .cx.v4 .v4-tr i { display: none; }
}

/* Phone, first screen (his choice, options B + F): the rings are small and sit behind the page like a halo,
   fading towards the edges, over a soft light. Desktop is unchanged. */
@media (max-width: 640px) {
  .cx.v4 .v4-hero .v4-field { background: radial-gradient(85% 46% at 50% 44%, rgba(70, 92, 200, .55) 0%, transparent 72%); }
  .cx.v4 .v4-hero .v4-field::after { left: 50%; top: 46%; width: 560px; opacity: .13; -webkit-mask: radial-gradient(circle, #000 34%, transparent 68%); mask: radial-gradient(circle, #000 34%, transparent 68%); }
}
/* The same soft light behind the page on wider screens (rings stay as they are there). */
@media (min-width: 641px) {
  .cx.v4 .v4-hero .v4-field { background: radial-gradient(46% 64% at 50% 46%, rgba(70, 92, 200, .5) 0%, transparent 72%); }
}
@media (min-width: 1000px) {
  .cx.v4 .v4-hero .v4-field { background: radial-gradient(40% 66% at 60% 47%, rgba(70, 92, 200, .5) 0%, transparent 72%); }
}
/* Phone, first screen: the page grows into the empty band above the closing lines (his note). */
@media (max-width: 767px) {
  /* The page stays large on a short phone too (owner, 28 Nov: at 664px high it was 46% of the screen, at 614px 35%).
     Where the window is too short for the heading, the page and the closing lines together, the first screen is
     taller than the window and is held at its top all the same: heading and page stand still while the page turns
     (his choice), and the closing lines and the price follow below once the hold is released. The hold is as long
     as on a tall phone (60svh); home-v4.js counts it from the stage's height. The page always ends above the fold. */
  .cx.v4 .v4-hero { --v4-room: 456px; --v4-docw: max(min(calc((100svh - var(--v4-room)) / 1.2941), 78vw), min(66vw, calc((100svh - 210px) / 1.2941))); --v4-stage: calc(var(--v4-docw) * 1.2941 + var(--v4-room)); height: max(160svh, calc(var(--v4-stage) + 60svh)); }   /* --v4-room: heading, switch and the closing lines with air between them; the same figure sizes the page where all of it fits, so a tall phone's first screen is exactly one window (Order in view) */
  .cx.v4 .v4-hero.is-free { height: auto; }
  .cx.v4 .v4-fig { width: var(--v4-docw); }
  .cx.v4 .v4-stage { min-height: var(--v4-stage); }
}
@media (max-width: 767px) and (max-height: 520px), (max-width: 767px) and (prefers-reduced-motion: reduce) { .cx.v4 .v4-hero { height: auto; } }
/* A little light behind the sample record (his note). */
.cx.v4 .cx-record { position: relative; }
.cx.v4 .cx-record > * { position: relative; z-index: 1; }
/* Phone: where the bottom bar already offers Order (with the price), the top bar keeps only the logo and the menu. */
@media (max-width: 640px) {
  .cx.v4:has(.cx-mbar) .cx-nav .v4-order { display: none; }
}
.cx.v4.v4-app main :is(h1, h2, h3) em { font-weight: inherit; }
/* First screen: the light comes from the top right corner (his choice), on every width. */
/* phones: the same light, softer and smaller (owner, 28 Nov: too strong on the narrow screen) */
.cx.v4 .v4-hero .v4-field { background: radial-gradient(80% 420px at 100% 0%, rgba(84, 108, 220, .36) 0%, transparent 70%); }
@media (min-width: 641px) {
  .cx.v4 .v4-hero .v4-field { background: radial-gradient(62% 86% at 100% 0%, rgba(84, 108, 220, .58) 0%, transparent 70%); }
}
/* The dark bands (how it works, languages) get the same light from the top right corner. */
.cx.v4 #how, .cx.v4 #languages { background-image: radial-gradient(58% 92% at 100% 0%, rgba(84, 108, 220, .46) 0%, transparent 70%); background-repeat: no-repeat; }
@media (max-width: 640px) {
  .cx.v4 #how, .cx.v4 #languages { background-image: radial-gradient(80% 420px at 100% 0%, rgba(84, 108, 220, .32) 0%, transparent 70%); }
}
/* Verification band: a thin light behind the sample record and behind the scan box and the code box.
   Tied to the boxes themselves, so it sits behind them on every width. */
.cx.v4 #verify .vqr, .cx.v4 #verify .cx-vform__row { box-shadow: 0 0 80px 6px rgba(96, 120, 235, .26); }
/* Closing card, wide screens: the two pages tilted as before, a little smaller so far less of them is cut (his note).
   Phones and tablets keep the earlier look. */
@media (min-width: 1001px) {
  .cx.v4 .cx-close__pair { min-height: 400px; }
  .cx.v4 .cx-root .cx-close__pg { width: 46%; bottom: -9%; }
  .cx.v4 .cx-root .cx-close__pg--es { left: 2%; }
  .cx.v4 .cx-root .cx-close__pg--en { right: 0; bottom: -3%; }
}
/* Panel preview: the state is drawn as the partner panel draws it (partner.css `.cw-state`):
   three thin steps over a coloured word. No pills. */
.cx.v4 .v4-win em, .cx.v4 .v4-win em.is-ready, .cx.v4 .v4-win em.is-run, .cx.v4 .v4-win em.is-done { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .3rem; min-height: 0; padding: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.cx.v4 .v4-win em::before { content: ""; width: 5.5rem; height: 3px; border-radius: 999px; background: var(--line); --on1: var(--line); --on2: var(--line); --on3: var(--line);
  background: linear-gradient(to right, var(--on1) 0 30.3%, transparent 30.3% 34.85%, var(--on2) 34.85% 65.15%, transparent 65.15% 69.7%, var(--on3) 69.7% 100%); }
.cx.v4 .v4-win em.is-run { color: var(--navy); }
.cx.v4 .v4-win em.is-run::before { background: linear-gradient(to right, var(--blue) 0 15%, var(--line) 15% 30.3%, transparent 30.3% 34.85%, var(--line) 34.85% 65.15%, transparent 65.15% 69.7%, var(--line) 69.7% 100%); }
.cx.v4 .v4-win em.is-ready { color: var(--cw-state-warning-text); }
.cx.v4 .v4-win em.is-ready::before { background: linear-gradient(to right, var(--cw-state-success-text) 0 30.3%, transparent 30.3% 34.85%, var(--blue) 34.85% 50%, var(--line) 50% 65.15%, transparent 65.15% 69.7%, var(--line) 69.7% 100%); }
.cx.v4 .v4-win em.is-done { color: var(--cw-state-success-text); }
.cx.v4 .v4-win em.is-done::before { background: linear-gradient(to right, var(--cw-state-success-text) 0 30.3%, transparent 30.3% 34.85%, var(--cw-state-success-text) 34.85% 65.15%, transparent 65.15% 69.7%, var(--cw-state-success-text) 69.7% 100%); }
.cx.v4 .v4-win--files em::before { display: none; }
@media (max-width: 1400px) { .cx.v4 .v4-win:not(.v4-win--files) em { align-items: flex-end; } }
/* Faint grey text on working screens (inactive step names, "(optional)", small codes) was about 3:1 on white; now readable. */
.cx.v4.v4-app { --cw-text-faint: #667089; }
/* Phone, first screen: the closing sentence leaves room for the help button instead of running under it. */
@media (max-width: 640px) { .cx.v4 .v4-hero__line { padding-right: 54px; } }
/* Business page demo: states drawn as in the partner panel — three thin steps over a coloured word,
   the row's action as a small button beside it. No filled pills. */
.cx.v4 .cw-landing .pill { display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "bars act" "word act"; align-items: center; column-gap: 10px; row-gap: 4px; padding: 0; border-radius: 0; background: none; color: var(--navy); font-size: 11.5px; font-weight: 500; line-height: 1.2; }
.cx.v4 .cw-landing .pill::before { content: ""; grid-area: bars; width: 5.5rem; height: 3px; border-radius: 999px;
  background: linear-gradient(to right, var(--b1, #dfe3ec) 0 30.3%, transparent 30.3% 34.85%, var(--b2, #dfe3ec) 34.85% 65.15%, transparent 65.15% 69.7%, var(--b3, #dfe3ec) 69.7% 100%); }
.cx.v4 .cw-landing .pill .pt { grid-area: word; }
.cx.v4 .cw-landing .pill:not(:has(.pt)) { grid-template-areas: "bars" "word"; grid-template-columns: auto; }
.cx.v4 .cw-landing .pill--wait { color: var(--cw-state-warning-text); --b1: linear-gradient(#243b8a, #243b8a); }
.cx.v4 .cw-landing .pill--wait::before { background: linear-gradient(to right, #243b8a 0 15%, #dfe3ec 15% 30.3%, transparent 30.3% 34.85%, #dfe3ec 34.85% 65.15%, transparent 65.15% 69.7%, #dfe3ec 69.7% 100%); }
.cx.v4 .cw-landing .pill--paid, .cx.v4 .cw-landing .pill--work { color: var(--navy); }
.cx.v4 .cw-landing .pill--paid::before, .cx.v4 .cw-landing .pill--work::before { background: linear-gradient(to right, var(--cw-state-success-text) 0 30.3%, transparent 30.3% 34.85%, #243b8a 34.85% 50%, #dfe3ec 50% 65.15%, transparent 65.15% 69.7%, #dfe3ec 69.7% 100%); }
.cx.v4 .cw-landing .pill--go { color: var(--cw-state-warning-text); }
.cx.v4 .cw-landing .pill--go::before { background: linear-gradient(to right, var(--cw-state-success-text) 0 30.3%, transparent 30.3% 34.85%, var(--cw-state-success-text) 34.85% 65.15%, transparent 65.15% 69.7%, #243b8a 69.7% 85%, #dfe3ec 85% 100%); }
.cx.v4 .cw-landing .pill--done { color: var(--cw-state-success-text); }
.cx.v4 .cw-landing .pill--done::before { background: linear-gradient(to right, var(--cw-state-success-text) 0 30.3%, transparent 30.3% 34.85%, var(--cw-state-success-text) 34.85% 65.15%, transparent 65.15% 69.7%, var(--cw-state-success-text) 69.7% 100%); }
.cx.v4 .cw-landing .pill .act, .cx.v4 .cw-landing .pill--go .act, .cx.v4 .cw-landing .pill--done .act { grid-area: act; padding: 4px 10px; border-radius: 8px; background: var(--card, var(--cw-ground-0)); color: var(--navy); box-shadow: 0 0 0 1px #cfd5e3; font-size: 11px; font-weight: 600; }

/* His decision (28 Nov, late): the full metallic glint belongs to the coral buttons.
   Every other button has the same sweep, only much softer, so the two are one family (no lifting). */
.cx.v4 .cx-btn:not(.cx-btn--accent):not(.v4-order)::after,
.cx.v4 .cx-vform .cx-btn::after,
.cx.v4 .cx-root .ptable__go:not(.ptable__go--lead)::after,
.cx.v4.v4-app:not(:has(.cw-app--guest)) .cw-btn::after,
.cx.v4.v4-app .cw-btn:not(.cw-btn--primary):not(.cw-btn--strong)::after,
.cx.v4 .cx-switch__thumb::after { filter: opacity(.38) blur(1px); }
.cx.v4 .cx-vform .cx-btn::after { background: linear-gradient(100deg, transparent 0%, rgba(36, 59, 138, .30) 50%, transparent 100%); filter: blur(1px); }
/* Phone, the four steps: the upload and download cards show the page large, filling the card like the review card
   (the tiny thumbnail was lost in the box). */
@media (max-width: 640px) {
  .cx.v4 .cw-landing .crop--bar .cropfile { left: 0; right: 0; top: 0; height: calc(100% - 49px); transform: none; align-items: flex-start; justify-content: center; overflow: hidden; border-radius: 0; background: var(--lp-fffefb); }
  .cx.v4 .cw-landing .crop--bar .cropfile .thumb9 { width: 100%; height: auto; aspect-ratio: 1 / 1.2941; border-radius: 0; box-shadow: none; }
}
/* Closing card: the light comes from the top left (his note), where the words are. */
.cx.v4 .cx-close__card { background: radial-gradient(80% 120% at 0% 0%, rgba(84, 108, 220, .5), transparent 62%), var(--night-2); }

/* TRIAL (his ask, may be taken back): the light that follows the pointer over the navy bands (home-v4.js). */
.cx.v4 .v4-glow { position: fixed; left: -75px; top: -75px; z-index: 40; width: 150px; height: 150px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: screen; filter: blur(7px); will-change: transform;
  /* round, but with no edge to see: it thins out very slowly */
  background: radial-gradient(circle, rgba(115, 140, 255, .085) 0%, rgba(115, 140, 255, .05) 22%, rgba(115, 140, 255, .0225) 42%, rgba(115, 140, 255, .008) 60%, transparent 78%); }
.cx.v4 .v4-glow.is-on { opacity: 1; }
/* Developer pages: the side panel sticks right under the new bar (72px), as docs.css placed it under the old one. */
@media (min-width: 56rem) {
  .cx.v4.v4-app .v4-nav ~ .cw-app__body > .cw-side { top: 72px; height: calc(100vh - 72px); }
}

/* ══ The world's letters (owner's choice, 29 Nov) stand where the engraved rings stood: behind the first page, in the
   closing card, behind the sign-in screens. home-v4.js places them; each letter's strength is its own (--o). ═════ */
.cx.v4 .v4-hero .v4-field::after, .cx.v4 .cx-close__card::before, .cx.v4.v4-app .cw-app--auth::before { content: none; }
.cx.v4 .v4-letters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cx.v4.v4-app .cw-app--auth > .v4-letters { z-index: -1; }
/* First screen: a letter fades out before it reaches the top bar, so none ever touches the bar's links or its Order button. */
.cx.v4 .v4-hero .v4-letters { -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 88px, #000 150px); mask-image: linear-gradient(180deg, transparent 0, transparent 88px, #000 150px); }
@media (max-width: 1100px) { .cx.v4 .v4-hero .v4-letters { -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 70px, #000 122px); mask-image: linear-gradient(180deg, transparent 0, transparent 70px, #000 122px); } }
.cx.v4 .v4-letters span { position: absolute; color: var(--cw-navy-200); font-family: var(--serif), "Songti SC", "Hiragino Mincho ProN", serif; font-style: normal; line-height: 1; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%); transition: opacity 1.1s ease; will-change: transform; }
.cx.v4 .v4-letters span.is-shown { opacity: var(--o); }
.cx.v4.v4-app .v4-letters span { color: var(--navy); }

/* ══ Found by walking every page at every width (29 Nov) ══════════════════════════════════════════════════════════ */
/* Very narrow phones: the closing lines take more rows, so the first screen gets the room (the "Scroll" word touched them). */
@media (max-width: 374px) { .cx.v4 .v4-hero { --v4-room: 500px; } }
/* 320px: the closing card's two buttons no longer fit side by side in Turkish and Spanish. */
@media (max-width: 360px) { .cx.v4 .cx-close__card .cx-hero__cta { flex-wrap: wrap; } .cx.v4 .cx-close__card .cx-hero__cta .cx-btn { flex: 1 1 auto; } }
/* Just above the width where the top bar folds into the menu (1101–1300px) its words did not fit: the right end ran
   off the screen in every language. There the links stand closer and the thin rule is left out; Spanish, whose words
   are the longest, is also set a little smaller. */
@media (min-width: 1101px) and (max-width: 1300px) {
  .cx.v4 .v4-nav .cx-nav__links { gap: 12px; }
  .cx.v4 .v4-nav__rule { display: none; }
  .cx.v4 .v4-nav .cx-nav__end { gap: 8px; }
  :where(html[lang="es"]) .cx.v4 .v4-nav .cx-nav__links a, :where(html[lang="es"]) .cx.v4 .v4-nav .cx-nav__signin { font-size: 13.5px; }
}
/* 768–1099px: the switch under the page stacks its two words (as on a phone), so the longer Spanish and Turkish
   switch stays on the screen now that the page stands further right. */
@media (min-width: 768px) and (max-width: 1099px) {
  .cx.v4 .v4-under .cx-switch__seg button { flex-direction: column; gap: 2px; min-height: 46px; padding: 0 16px; }
}
/* The globe keeps its size when the top bar is tight. */
.cx.v4 .v4-lang__btn svg { flex: none; }


/* The first screen on a computer (owner, 29 Nov, decisions 8B and 9A; the document-type pages too,
   30 Nov): the page clearly on the right, its right edge in line with the top bar's "Order"; the headline on two lines
   ("Only the language / changes"), the sentence wider. Phones keep the layout above. */
@media (min-width: 1024px) {
  /* flush with the bar's Order (8B, mock hero-p2): the bar's own edge, its wrap (1440 at most) less --gut;
     % of the first screen, not vw, so a scrollbar does not move it (an earlier 1360/40px rule sat 32px in) */
  .cx.v4 .v4-fig { left: auto; right: calc(max(0px, (100% - 1440px) / 2) + var(--gut)); top: 46%; transform: translateY(-50%); width: min(calc(62svh / 1.2941), 40vw); }
  .cx.v4 .v4-field { background: radial-gradient(55% 70% at 72% 48%, color-mix(in srgb, var(--cw-navy-700) 58%, transparent) 0%, transparent 70%); }
  .cx.v4 .v4-field::after { left: 72%; }
  .cx.v4:not(.v4-sub) .v4-hero__head { padding-top: clamp(130px, 24vh, 250px); }
  .cx.v4:not(.v4-sub) .v4-hero__title { font-size: clamp(56px, 6vw, 104px); max-width: none; }
  .cx.v4:not(.v4-sub) .v4-hero__title span { display: inline; }
  .cx.v4:not(.v4-sub) .v4-hero__title span:nth-child(2)::after { content: ""; display: block; }
  .cx.v4:not(.v4-sub) .v4-hero__line { max-width: min(42ch, 36vw); font-size: 17px; }
}
/* A document type's page (the same first screen, Koray 30 Nov): its own sentence stands in the head,
   so the price block is alone in the foot. Where home's foot is one row (1360 and up) it goes right,
   under the page, as home's does; narrower, it stacks at the left as home's does. */
@media (min-width: 1360px) { .cx.v4.v4-sub .v4-teaser { margin-left: auto; } }
