/* Ayotiq temporary landing page. Mobile-first; checked at 360, 390, 768 and 1280px.
   CSP is style-src 'self': no inline styles anywhere, so everything lives here. */

/* ---------- Fonts (self-hosted, OFL; see /fonts/LICENSE-*.txt) ---------- */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/landing/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/landing/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --blue: #1049bc;
  --blue-hover: #0c3a96;
  --blue-50: #f3f6fd;
  --blue-100: #e4ecfb;
  --blue-200: #c5d6f6;
  --ink: #0a1022;
  --ink-2: #1b2540;
  --body: #3a4256;
  --muted: #5a6478;
  --line: #e8e5df; /* warm hairline (round 4) */
  --line-strong: #cfcac1;
  --bg-soft: #faf8f5; /* warm limestone instead of cold slate */
  --bg-tint: #f3efe9;
  --error: #b42318;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 16, 34, 0.06);
  --shadow-md: 0 1px 2px rgba(10, 16, 34, 0.05), 0 12px 32px -12px rgba(10, 16, 34, 0.14);
  --shadow-lg: 0 2px 4px rgba(10, 16, 34, 0.04), 0 32px 64px -24px rgba(16, 73, 188, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* Motion system (round 3) */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* "Live" state only */
  --ok: #0b7a4b;
  --ok-50: #e6f5ec;

  --gutter: 16px;
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
}

img,
svg {
  display: block;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--blue-hover);
}

::selection {
  background: var(--blue-200);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a[href^="tel:"] {
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(10, 16, 34, 0.05);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand img {
  width: 108px;
  height: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-tint);
}

.market-toggle a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.market-toggle a:hover {
  color: var(--ink);
}

.market-toggle a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(10, 16, 34, 0.08), 0 0 0 1px rgba(10, 16, 34, 0.04);
}

.market-toggle .long {
  display: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .icon {
  color: var(--blue);
}

.header-phone:hover {
  color: var(--blue);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon-arrow {
  transition: transform 0.15s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(180deg, #1a56cf, #1049bc);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(16, 73, 188, 0.3), 0 12px 24px -10px rgba(16, 73, 188, 0.55);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(16, 73, 188, 0.3), 0 16px 28px -10px rgba(16, 73, 188, 0.6);
}

.btn:active,
.btn-primary:active,
.btn-white:active {
  transform: scale(0.97);
  transition-duration: 0.12s;
}

.btn-primary[disabled] {
  opacity: 0.75;
  cursor: progress;
  transform: none;
}

.btn-lg {
  width: 100%;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
  min-height: 54px;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 24px -10px rgba(4, 12, 40, 0.45);
}

.btn-white:hover {
  background: var(--blue-50);
  color: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: var(--ink-2);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-text {
  padding: 0 10px;
  background: transparent;
  color: var(--body);
}

.btn-text:hover {
  color: var(--ink);
}

.link-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--blue-hover);
}

.link-btn .icon-chevron {
  display: inline-block;
  margin-left: 3px;
  vertical-align: -2px;
  transition: transform 0.2s var(--ease);
}

.link-btn[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding: 36px 0 64px;
}

/* Soft brand glow + masked dot grid behind the illustration. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  left: 50%;
  bottom: -120px;
  width: 760px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(16, 73, 188, 0.11), rgba(16, 73, 188, 0));
}

.hero::after {
  inset: 0;
  background-image: radial-gradient(rgba(16, 73, 188, 0.2) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 45% at 50% 82%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 45% at 50% 82%, #000 0%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.25rem, 1.55rem + 2.9vw, 2.875rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.subhead {
  margin-top: 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 34rem;
  margin-top: 14px;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.offer {
  margin-top: 28px;
  max-width: 520px;
}

.disclosure {
  margin-top: 16px;
  padding: 14px 16px 14px 18px;
  border-radius: 12px;
  background: var(--blue-50);
  box-shadow: inset 3px 0 0 var(--blue);
  color: #1f2637;
  font-size: 1rem;
  line-height: 1.6;
}

.disclosure strong {
  color: var(--ink);
  font-weight: 650;
}

.consult {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
}

.disclosure-sm {
  margin-top: 18px;
  font-size: 0.9375rem;
}

/* Business-type tap cards */
.choice-field {
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  padding: 0;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #7d889a;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choice:hover {
  border-color: #5c6679;
}

.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.choice:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.choice input:focus-visible {
  outline: none;
}

.choice-wide {
  grid-column: 1 / -1;
}

.choice-field.is-invalid .choice {
  border-color: var(--error);
}

.hero-utility {
  max-width: 560px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.utility-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96875rem;
}

.utility-line + .collapse,
.collapse + .utility-line {
  margin-top: 14px;
}

.utility-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.strong-link {
  color: var(--ink);
  font-weight: 650;
}

.strong-link:hover {
  color: var(--blue);
}

/* Scan panel: animated open/close (JS toggles .is-open + inert). */
.collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.28s var(--ease), opacity 0.2s ease;
}

.collapse.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.collapse-inner {
  min-height: 0;
  overflow: hidden;
  padding: 4px;
  margin: -4px;
}

.scan-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.scan-form .btn-secondary {
  width: 100%;
  margin-top: 16px;
}

.scan-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}

.btn-secondary {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-50);
  color: var(--blue-hover);
}

.scan-done {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 2px;
  font-size: 0.9375rem;
}

.scan-done:focus {
  outline: none;
}

.scan-done strong {
  color: var(--ink);
}

.scan-done-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue);
}

/* ---------- Hero showcase: sample site on desktop + phone ---------- */

.hero-art {
  position: relative;
  margin: 40px 0 0;
  padding-bottom: 9%; /* room for the phone to hang below the browser */
}

.sc-browser {
  position: relative;
  margin-right: 13%;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 24px -6px rgba(16, 24, 40, 0.1), 0 40px 80px -24px rgba(16, 24, 40, 0.24);
}

.sc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.sc-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3d6dc;
}

.sc-browser img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 800;
}

.sc-phone {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: 25%;
  padding: 5px;
  border-radius: 24px;
  background: #0b0f19;
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.1), 0 30px 60px -18px rgba(16, 24, 40, 0.5);
}

.sc-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 760; /* top of the phone screenshot */
  object-fit: cover;
  object-position: top;
  border-radius: 19px;
}

.sc-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ---------- Trust strip (directly under the hero) ---------- */

.trust {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.trust .bbb-seal img {
  width: 160px;
  height: 82px;
}

.trust-text {
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.trust-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- About band ---------- */

.about-band {
  padding: 72px 0;
  background: var(--bg-soft);
}

.section-title {
  font-size: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.section-title-sm {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.benefits {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.benefit {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, opacity 0.6s var(--ease);
}

.benefit-art {
  display: grid;
  place-items: center;
  height: 156px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--blue-50), var(--blue-100));
}

.art {
  width: 200px;
  height: 130px;
  overflow: visible;
}

.benefit-body {
  padding: 20px 16px 20px;
}

.benefit h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.benefit p {
  margin-top: 8px;
  font-size: 0.96875rem;
  line-height: 1.62;
}

.benefit .tagline {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 650;
}

/* Card artwork */
.art-page {
  fill: #fff;
  stroke: var(--blue-200);
  stroke-width: 1.5;
}

.art-ink {
  fill: var(--ink-2);
}

.art-bar {
  fill: #d5deee;
}

.art-tint {
  fill: var(--blue-100);
}

.art-bracket {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-scan-glow {
  fill: var(--blue);
  opacity: 0.12;
}

.art-scan-line {
  fill: var(--blue);
}

.art-dash {
  fill: none;
  stroke: #9db5e8;
  stroke-width: 2;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
}

.art-select {
  fill: rgba(16, 73, 188, 0.08);
  stroke: var(--blue);
  stroke-width: 1.8;
}

.art-cursor {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.art-node {
  fill: #fff;
  stroke: var(--blue-200);
  stroke-width: 1.5;
}

.art-pencil {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linejoin: round;
}

.art-node-blue {
  fill: var(--blue);
}

.art-check {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-ring {
  fill: none;
  stroke: var(--blue-200);
  stroke-width: 1.2;
}

.art-ring-3 {
  stroke-dasharray: 2 6;
}

.art-face {
  fill: #fff;
  stroke: var(--blue-200);
  stroke-width: 1.5;
}

.art-arc {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
}

.art-tick {
  stroke: #9db5e8;
  stroke-width: 2;
  stroke-linecap: round;
}

.art-hand {
  stroke: var(--ink-2);
  stroke-width: 3;
  stroke-linecap: round;
}

.art-hand-blue {
  stroke: var(--blue);
}

.art-hub {
  fill: var(--ink-2);
}

/* ---------- How it works ---------- */

.how {
  padding: 72px 0 8px;
}

.steps {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding-bottom: 28px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 6px;
  border-left: 1.5px solid var(--blue-200);
  transform-origin: top center;
}

.step-item.in .step-num {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(16, 73, 188, 0.7);
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.step-item h3 {
  padding-top: 7px;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step-item p {
  margin-top: 6px;
  font-size: 0.96875rem;
  line-height: 1.6;
}

/* ---------- Closing band ---------- */

.cta-band-section {
  padding: 56px 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 48px 22px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%),
    linear-gradient(135deg, #0c3a96 0%, #1049bc 55%, #1f5ad6 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(16, 73, 188, 0.6);
}

/* Dot texture fades out behind the text so the pricing sentence stays clean. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, transparent 35%, #000 100%);
  mask-image: radial-gradient(60% 70% at 50% 50%, transparent 35%, #000 100%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  max-width: 14ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.cta-sub {
  margin-top: 12px;
  color: #d3e0fb;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 650;
}

.cta-band .btn {
  margin-top: 28px;
}

.cta-band :focus-visible {
  outline-color: #fff;
}

.cta-disclosure {
  max-width: 38rem;
  margin: 24px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-disclosure strong {
  font-weight: 700;
}

.cta-disclosure .consult {
  color: #fff;
  opacity: 0.9;
}

/* ---------- Upgrade note + footer ---------- */

.upgrade-note {
  padding: 4px 0 28px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.upgrade-note .wrap {
  display: block;
}

/* The upgrade note belongs to the sales page only, never under the form or the thank-you. */
body.form-open .upgrade-note {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding: 44px 0 8px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  flex: none;
  width: 28px;
  height: auto;
  margin-top: 1px;
}

.footer-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand address {
  margin-top: 4px;
  font-style: normal;
  line-height: 1.7;
}

.footer-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col p:not(.footer-label) {
  line-height: 1.7;
}

.footer-col a {
  display: inline-block;
  padding: 3px 0; /* 24px+ tap target (WCAG 2.5.8) */
  color: var(--ink);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-strong {
  font-weight: 600;
}

.bbb-seal {
  display: inline-block;
}

.bbb-seal img {
  width: 160px;
  height: 82px;
  border: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-links a {
  display: inline-block;
  padding: 4px 0;
  color: var(--body);
}

.legal-links a:hover {
  color: var(--blue);
}

.footer-bottom .market-toggle {
  align-self: flex-start;
}

.footer-bottom .market-toggle .long {
  display: inline;
}

.footer-bottom .market-toggle .short {
  display: none;
}

/* ---------- Form view ---------- */

.apply {
  display: none;
  padding: 24px 0 56px;
  background: var(--bg-soft);
}

html:not(.js) .apply:target {
  display: block;
}

body.form-open .apply {
  display: block;
  min-height: calc(100dvh - 64px);
}

body.form-open #landing {
  display: none;
}

.apply-intro {
  margin-bottom: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 550;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

.apply-intro h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 1.6rem + 1.7vw, 2.75rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.032em;
}

.apply-intro h1:focus,
.confirm-card h1:focus {
  outline: none;
}

.form-intro {
  margin-top: 10px;
  font-size: 1.0625rem;
}

.mini-steps {
  display: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.mini-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96875rem;
}

.mini-steps li + li {
  margin-top: 14px;
}

.mini-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
}

.form-card {
  padding: 22px 18px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.progress-label {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.progress-label strong {
  color: var(--ink);
}

.progress-track {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--blue-100);
}

.progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: var(--blue);
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: transform 0.4s var(--e-out);
}

.form-card.is-step-2 .progress-fill {
  transform: none;
}

.step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  margin-top: 20px;
}

.step .field:first-of-type {
  margin-top: 24px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.90625rem;
  font-weight: 600;
  line-height: 1.4;
}

.req {
  color: var(--blue);
}

.opt {
  color: var(--muted);
  font-weight: 450;
}

.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #7d889a; /* 3.5:1 on white: WCAG 1.4.11 non-text contrast */
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px stops iOS zoom-on-focus */
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder {
  color: #6b7485;
}

.input:hover {
  border-color: #5c6679;
}

.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(16, 73, 188, 0.16);
}

.input[aria-invalid="true"] {
  border-color: var(--error);
  background: #fffbfa;
}

.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}

textarea.input {
  min-height: 116px;
  resize: vertical;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

select.input {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  color: var(--error);
  font-size: 0.84375rem;
  font-weight: 550;
  line-height: 1.45;
}

.field-error::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") no-repeat center / contain;
}

.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef3f2;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 550;
}

.notice {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.84375rem;
  line-height: 1.6;
}

.form-actions {
  margin-top: 24px;
}

.form-actions.split {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}

.form-actions.split .btn-primary {
  width: 100%;
  min-height: 54px;
}

/* Honeypot: off-screen for people, still in the DOM for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Confirmation */
body.form-open .apply.is-done {
  display: flex;
  align-items: center;
}

.confirm-wrap {
  padding: 8px var(--gutter);
}

.confirm-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 44px 22px 40px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.confirm-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, #1a56cf, #1049bc);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(16, 73, 188, 0.65);
}

.confirm-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
}

.confirm-card h1 {
  max-width: 18ch;
  margin: 22px auto 0;
  font-size: clamp(1.75rem, 1.45rem + 1.3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.confirm-card p {
  max-width: 30rem;
  margin: 12px auto 0;
  font-size: 1.0625rem;
}

.confirm-card .btn {
  margin-top: 28px;
}

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.2s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .reveal.d2 {
  transition-delay: 60ms;
}

.js .reveal.d3 {
  transition-delay: 120ms;
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero copy settles into place (transform only: never hide the LCP text). */
  .hero-copy > * {
    animation: lift 0.7s var(--e-out) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 60ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 120ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 180ms;
  }

  .hero-utility {
    animation: lift 0.7s var(--e-out) 240ms both;
  }

  /* Hero showcase: frames rise once (transform only, so the image is never hidden for LCP). */
  .sc-browser {
    animation: frame-rise 0.9s var(--e-out) 0.15s both;
  }

  .sc-phone {
    animation: frame-rise 0.9s var(--e-out) 0.3s both;
  }

  .js .hero-art:not(.in),
  .js .hero-art:not(.in) * {
    animation-play-state: paused;
  }

  /* How it works: numbers fill in sequence, connectors draw. */
  .js .step-item.reveal .step-num {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  }

  .js .step-item.reveal.d2 .step-num {
    transition-delay: 0.14s;
  }

  .js .step-item.reveal.d3 .step-num {
    transition-delay: 0.28s;
  }

  .js .step-item.reveal::before {
    transition: transform 0.5s var(--e-out) 0.25s;
  }

  .js .step-item.reveal:not(.in)::before {
    transform: scaleY(0);
  }

  /* About-card artwork plays once when revealed. */
  .js .benefit.in .art-scan {
    animation: scan-sweep 2.2s var(--ease) 0.35s both;
  }

  .js .benefit.in .art-check {
    stroke-dasharray: 30;
    animation: draw 0.5s var(--ease) 0.55s both;
  }

  .js .benefit.in .art-arc {
    stroke-dasharray: 50;
    animation: draw-50 0.9s var(--ease) 0.45s both;
  }

  .step:not([hidden]) {
    animation: step-in 0.32s var(--e-out) both;
  }

  #lead-form.is-back .step:not([hidden]) {
    animation-name: step-in-back;
  }

  .confirm-check {
    stroke-dasharray: 22;
    animation: draw-22 0.45s var(--ease) 0.15s both;
  }

  .confirm-icon::after {
    animation: ring 0.9s ease-out 0.35s both;
  }
}

@keyframes frame-rise {
  from {
    transform: translateY(18px);
  }
  to {
    transform: none;
  }
}

@keyframes lift {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

@keyframes wipe {
  from {
    transform: scaleX(0);
  }
  to {
    transform: none;
  }
}

@keyframes img-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-sm {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scan-down {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(19em);
  }
}

@keyframes step-in-back {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.2em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cursor-in {
  from {
    opacity: 0;
    transform: translate(5em, 4em);
  }
  40% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes select-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(0.6em) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scan-sweep {
  0% {
    opacity: 0;
    transform: translateY(-36px);
  }
  15% {
    opacity: 1;
  }
  60% {
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 30;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-50 {
  from {
    stroke-dashoffset: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-22 {
  from {
    stroke-dashoffset: 22;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ring {
  from {
    opacity: 0.45;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

/* ---------- Breakpoints ---------- */

@media (max-width: 559px) {
  /* Mobile form: no nested card, full use of the 16px gutters. */
  body.form-open .apply,
  body.form-open .upgrade-note {
    background: #fff;
  }

  .apply-intro {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .form-card {
    padding: 4px 0 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .confirm-card {
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 479px) {
  /* Phones: slightly larger phone frame so the mobile design reads. */
  .sc-browser {
    margin-right: 18%;
  }

  .sc-phone {
    width: 33%;
    bottom: 18px;
    padding: 4px;
    border-radius: 20px;
  }

  .sc-phone img {
    border-radius: 16px;
  }
}

@media (min-width: 560px) {
  :root {
    --gutter: 24px;
  }

  .btn-lg {
    width: auto;
  }

  .scan-panel {
    margin-left: 42px;
    padding: 20px;
  }

  .scan-form .btn-secondary {
    width: auto;
  }

  .form-card {
    padding: 34px 40px 38px;
  }

  .form-actions.split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form-actions.split .btn-primary {
    width: auto;
    min-width: 200px;
  }

  .confirm-card {
    padding: 60px 48px 52px;
  }

  .cta-band {
    padding: 64px 40px;
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 128px;
  }

  .header-right {
    gap: 14px;
  }

  .header-phone {
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    transition: border-color 0.15s ease, color 0.15s ease;
  }

  .header-phone:hover {
    border-color: var(--blue);
  }

  .hero {
    padding: 64px 0 88px;
  }

  .hero h1 {
    font-size: clamp(2.875rem, 1.6rem + 3vw, 3.5rem);
  }

  .subhead {
    font-size: 1.5rem;
  }

  .lede {
    font-size: 1.1875rem;
  }

  .hero-art {
    margin-top: 56px;
  }

  .about-band {
    margin: 0 12px;
    padding: 104px 0;
    border-radius: 32px;
  }

  .how {
    padding: 104px 0 16px;
  }

  .about-band {
    border: 1px solid var(--line);
  }

  .cta-band-section {
    padding: 56px 0 64px;
  }

  .cta-band {
    padding: 80px 56px;
    border-radius: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    padding-top: 56px;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }

  .footer-bottom p {
    margin-right: auto;
  }

  .footer-bottom .market-toggle {
    align-self: auto;
  }

  body.form-open .apply {
    min-height: calc(100dvh - 72px);
  }

  .apply {
    padding: 48px 0 80px;
  }
}

@media (min-width: 560px) {
  .choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-wide {
    grid-column: span 2;
  }
}

@media (max-width: 479px) {
  .trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 36px;
  }
}

@media (min-width: 900px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
  }

  .benefit-art {
    height: 176px;
  }

  .benefit-body {
    padding: 24px 20px 26px;
  }

  /* Editorial grid: hairline rules instead of floating connectors. */
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .step-item {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 18px;
    padding: 32px 32px 34px 0;
  }

  .step-item + .step-item {
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }

  .step-item:not(:last-child)::before {
    display: none;
  }

  .step-item h3 {
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1.25fr auto;
  }
}

@media (min-width: 960px) {
  .apply-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: start;
    gap: 64px;
    max-width: 1100px;
  }

  .apply-intro {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
    padding-top: 8px;
  }

  .mini-steps {
    display: block;
  }
}

@media (min-width: 1040px) {
  .hero {
    padding: 72px 0 112px;
  }

  .hero::before {
    left: auto;
    right: -180px;
    top: -120px;
    bottom: auto;
    width: 980px;
    height: 820px;
    transform: none;
  }

  .hero::after {
    -webkit-mask-image: radial-gradient(42% 62% at 78% 46%, #000 0%, transparent 100%);
    mask-image: radial-gradient(42% 62% at 78% 46%, #000 0%, transparent 100%);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-areas: "copy art" "util art";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
  }

  .hero-copy {
    grid-area: copy;
  }

  .hero-art {
    grid-area: art;
    align-self: center;
  }

  .hero-utility {
    grid-area: util;
    align-self: start;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.25rem, 1.2rem + 3vw, 3.875rem);
  }

  .hero-art {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .input,
  .collapse,
  .progress-fill,
  .link-btn .icon-chevron {
    transition: none;
  }

  .btn:hover,
  .btn:hover .icon-arrow {
    transform: none;
  }
}

.nowrap {
  white-space: nowrap;
}

/* ================= Change-request demo (spec) ================= */

.cr {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding: 20px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.cr-eyebrow { color: var(--blue); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cr-copy h3 { margin-top: 10px; font-size: 1.625rem; line-height: 1.15; font-weight: 750; letter-spacing: -0.025em; text-wrap: balance; }
.cr-copy p:not(.cr-eyebrow) { margin-top: 12px; font-size: 1rem; line-height: 1.62; }

.cr-tabs { display: inline-flex; margin-top: 18px; padding: 4px; border-radius: 999px; background: var(--bg-tint); }
.cr-tab {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 600 0.9375rem/1 var(--font-body); cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.cr-tab:hover { color: var(--ink); }
.cr-tab[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10, 16, 34, 0.1), 0 0 0 1px rgba(10, 16, 34, 0.04); }

.cr-demo { min-width: 0; container-type: inline-size; }

/* Stage: fixed em geometry (28em wide), font-size scales with the container. */
.cr-stage {
  position: relative;
  height: 29em;
  overflow: hidden;
  border-radius: 1.3em;
  border: 1px solid #dce5f7;
  background: linear-gradient(160deg, var(--blue-50), var(--blue-100));
  font-family: var(--font-body);
  font-size: clamp(11px, 3.5714cqw, 19px); /* 100cqw / 28em */
  line-height: 1.3;
  contain: layout paint;
}

.cr[data-mode="click"] .cr-only-upload,
.cr[data-mode="upload"] .cr-only-click { display: none; }

.cr-ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cr-window {
  position: absolute; left: 1.5em; right: 1.5em; top: 1.5em;
  border: 1px solid var(--line); border-radius: 1em; background: #fff;
  box-shadow: var(--shadow-lg);
}
.cr-chrome { display: flex; align-items: center; gap: 0.8em; height: 2.5em; padding: 0 0.9em; border-bottom: 1px solid var(--line); border-radius: 1em 1em 0 0; background: var(--bg-soft); }
.cr-dots { display: flex; gap: 0.32em; }
.cr-dots i { width: 0.55em; height: 0.55em; border-radius: 50%; background: #d9dee7; }
.cr-url { padding: 0.25em 0.9em; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--muted); font-size: 0.72em; white-space: nowrap; }
.cr-livechip {
  position: relative; display: inline-flex; align-items: center; gap: 0.4em; margin-left: auto; padding: 0.28em 0.75em 0.28em 0.6em;
  border-radius: 99px; background: var(--ok-50); color: var(--ok); font-size: 0.78em; font-weight: 700;
}
.cr-livedot { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ok); }
.cr-livechip-ring { position: absolute; inset: 0; border: 2px solid var(--ok); border-radius: 99px; opacity: 0; }

.cr-site { padding: 1em 1.2em 1.1em; }
.cr-brand { display: flex; align-items: center; gap: 0.55em; }
.cr-logo { width: 1.4em; height: 1.4em; border-radius: 0.4em; background: linear-gradient(135deg, #1a56cf, #1049bc); }
.cr-name { color: var(--ink); font: 700 0.9em/1 var(--font-display); white-space: nowrap; }
.cr-links { display: flex; gap: 0.5em; margin-left: auto; }
.cr-links i { width: 2em; height: 0.4em; border-radius: 99px; background: #e3e8f0; }

.cr-list { margin-top: 0.9em; padding: 0.15em 0.8em; border: 1px solid var(--line); border-radius: 0.75em; }
.cr-row { position: relative; display: flex; align-items: center; gap: 0.6em; height: 2.7em; border-bottom: 1px dashed var(--line); color: var(--body); font-size: 0.9em; }
.cr-row:last-child { border-bottom: 0; }
.cr-item { white-space: nowrap; }
.cr-lead { flex: 1; border-bottom: 1.5px dotted var(--line-strong); transform: translateY(0.3em); }
.cr-price { position: relative; display: grid; justify-items: end; min-width: 3.6em; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-price > span { grid-area: 1 / 1; position: relative; }
.cr-old { opacity: 0; }                              /* poster = after the change */
.cr[data-mode="click"] .cr-row:not(.is-target) .cr-old { opacity: 1; }
.cr[data-mode="click"] .cr-row:not(.is-target) .cr-new { opacity: 0; }
.cr-ring { position: absolute; inset: -0.4em -0.55em; border: 2px solid var(--blue); border-radius: 0.5em; background: rgba(16, 73, 188, 0.06); opacity: 0; }
.cr-flash { position: absolute; inset: -0.3em -0.45em; border-radius: 0.45em; background: var(--ok-50); opacity: 0; }

.cr-pill {
  position: absolute; right: -0.3em; top: calc(100% - 0.15em); z-index: 3;
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.55em 0.9em;
  border-radius: 99px; background: var(--blue); color: #fff; font-size: 0.95em; font-weight: 650; white-space: nowrap;
  box-shadow: 0 0.5em 1.2em -0.4em rgba(16, 73, 188, 0.6);
  opacity: 0;
}

.cr-sheet {
  position: absolute; left: 3em; right: 3em; top: 15.4em; height: 12.1em; z-index: 4;
  border: 1px solid var(--line); border-radius: 1.1em; background: #fff;
  box-shadow: 0 0.2em 0.4em rgba(10, 16, 34, 0.04), 0 1.8em 3.4em -1.2em rgba(10, 16, 34, 0.32);
}
.cr-pane { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.7em; padding: 1.05em 1.15em 1.15em; opacity: 0; }
.cr-pane-live { opacity: 1; }
.cr-pane-working, .cr-pane-ready, .cr-pane-live { align-items: center; justify-content: center; text-align: center; }
.cr-pane-ready { align-items: stretch; justify-content: flex-start; }
.cr-pane-ready .cr-diff { padding: 0.65em 0.8em; border-radius: 0.65em; background: var(--blue-50); }

.cr-sheet-title { display: flex; align-items: center; gap: 0.45em; color: var(--ink); font: 700 0.95em/1.2 var(--font-display); }
.cr-sheet-title .cr-ic { color: var(--blue); }
.cr-field { display: flex; flex-direction: column; gap: 0.35em; }
.cr-field-label { color: var(--muted); font-size: 0.74em; font-weight: 600; }
.cr-field-box { display: flex; align-items: center; gap: 0.6em; height: 2.7em; padding: 0 0.8em; border: 1.5px solid var(--blue); border-radius: 0.65em; box-shadow: 0 0 0 0.22em rgba(16, 73, 188, 0.14); font-size: 0.95em; font-variant-numeric: tabular-nums; }
.cr-field-box s, .cr-diff s { color: var(--muted); }
.cr-arrow { color: var(--muted); width: 0.95em; height: 0.95em; }
.cr-typed { display: inline-flex; align-items: center; color: var(--ink); font-weight: 700; }
.cr-caret { width: 1.5px; height: 1.15em; margin-left: 1px; background: var(--blue); opacity: 0; }

.cr-drop { display: grid; place-items: center; height: 3.9em; border: 1.5px dashed #9db5e8; border-radius: 0.75em; background: var(--blue-50); }
.cr-drop > * { grid-area: 1 / 1; }
.cr-drop-empty { display: inline-flex; align-items: center; gap: 0.45em; color: var(--blue); font-size: 0.9em; font-weight: 650; opacity: 0; }
.cr-file { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.5em 0.8em; border: 1px solid var(--line); border-radius: 0.6em; background: #fff; color: var(--ink); font-size: 0.86em; font-weight: 650; white-space: nowrap; box-shadow: var(--shadow-sm); }
.cr-file .cr-ic { color: var(--blue); }
.cr-file-in { position: relative; }
.cr-file-bar { position: absolute; left: 0.7em; right: 0.7em; bottom: 0.22em; height: 2px; overflow: hidden; border-radius: 2px; }
.cr-file-bar i { display: block; height: 100%; background: var(--blue); transform-origin: left; opacity: 0; }
.cr-file-drag { position: absolute; left: 0; top: 0; z-index: 6; box-shadow: var(--shadow-md); opacity: 0; }

.cr-btn { display: grid; place-items: center; height: 2.7em; margin-top: auto; border-radius: 0.7em; background: linear-gradient(180deg, #1a56cf, #1049bc); color: #fff; font-size: 0.95em; font-weight: 650; box-shadow: 0 0.5em 1em -0.5em rgba(16, 73, 188, 0.6); }

.cr-status { color: var(--ink); font: 750 1.15em/1.2 var(--font-display); letter-spacing: -0.01em; }
.cr-badge { display: flex; gap: 0.35em; }
.cr-badge i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--blue); }
.cr-bar { width: 62%; height: 0.32em; overflow: hidden; border-radius: 99px; background: var(--blue-100); }
.cr-bar i { display: block; height: 100%; border-radius: 99px; background: var(--blue); transform-origin: left; }
.cr-diff { display: flex; align-items: center; justify-content: center; gap: 0.55em; color: var(--body); font-size: 0.9em; font-variant-numeric: tabular-nums; }
.cr-diff b { color: var(--ink); }
.cr-diff .cr-ic { color: var(--blue); }
.cr-check { display: grid; place-items: center; width: 3em; height: 3em; border-radius: 50%; background: var(--ok); box-shadow: 0 0.7em 1.4em -0.6em rgba(11, 122, 75, 0.7); }
.cr-check svg { width: 1.6em; height: 1.6em; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.cr-check path { stroke-dasharray: 1; }

.cr-cursor { position: absolute; left: 0; top: 0; z-index: 8; width: 0; height: 0; opacity: 0; }
.cr-pointer { position: absolute; left: 0; top: 0; display: block; transform-origin: 0 0; }
.cr-arrowptr { position: absolute; left: -0.3em; top: -0.15em; width: 1.7em; height: 1.7em; fill: var(--ink); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(10, 16, 34, 0.3)); }
.cr-finger { display: none; position: absolute; left: -1em; top: -1em; width: 2em; height: 2em; border: 2px solid #fff; border-radius: 50%; background: rgba(10, 16, 34, 0.42); box-shadow: 0 2px 6px rgba(10, 16, 34, 0.3); }
.cr-tap { position: absolute; left: -1.1em; top: -1.1em; width: 2.2em; height: 2.2em; border: 2px solid var(--blue); border-radius: 50%; opacity: 0; }
@media (pointer: coarse) {
  .cr-arrowptr { display: none; }
  .cr-finger { display: block; }
  .cr-pointer { transform-origin: 50% 50%; }
}

/* Footer: step rail + pause */
.cr-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 10px 12px; margin-top: 14px; }
.cr-steps { flex: 1 1 100%; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.cr-steps li { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--ink); font-size: 0.75rem; font-weight: 600; line-height: 1.25; text-align: center; }
.cr-steps li + li::before { content: ""; position: absolute; top: 11px; right: calc(50% + 16px); width: calc(100% - 32px); border-top: 1.5px solid var(--blue-200); }
.cr-dot { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--blue-200); border-radius: 50%; background: #fff; color: var(--muted); font: 700 0.6875rem/1 var(--font-display); font-style: normal; }
.cr-dot-on { position: absolute; inset: -1.5px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; }
.cr-dot-halo { position: absolute; inset: -6px; border-radius: 50%; background: rgba(16, 73, 188, 0.16); opacity: 0; }
.cr-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 0.8125rem/1 var(--font-body); cursor: pointer;
}
.cr-toggle:hover { border-color: var(--blue); color: var(--blue); }
.cr-toggle .cr-ic { width: 16px; height: 16px; }
.cr-ic-play { fill: currentColor; stroke: none; }
.cr-toggle .cr-ic-play, .cr-toggle.is-paused .cr-ic-pause { display: none; }
.cr-toggle.is-paused .cr-ic-play { display: block; }

.cr-steps li { white-space: nowrap; }

@media (max-width: 379px) {
  .cr-steps li { font-size: 0.625rem; }
}

@media (max-width: 479px) {
  /* Labelled, centred control under the step rail (no orphaned icon). */
  .cr-foot { justify-content: center; }
  .cr-toggle { min-height: 44px; padding: 0 16px 0 14px; }
  .cr-steps li { font-size: 0.6875rem; }
}

@media (max-width: 559px) {
  .cr-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .cr-tab { padding: 0 8px; }
  .disclosure-sm { margin-top: 14px; padding: 12px 14px 12px 16px; font-size: 0.875rem; }
}

@media (min-width: 560px) {
  .cr { padding: 28px 24px 24px; }
}

@media (min-width: 900px) {
  .cr { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; margin-top: 44px; padding: 16px 16px 16px 48px; }
  .cr-copy h3 { font-size: 2.25rem; }
  .cr-copy p:not(.cr-eyebrow) { font-size: 1.0625rem; }
  .cr-foot { flex-wrap: nowrap; align-items: center; margin: 16px 8px 8px; }
  .cr-steps { flex: 1 1 0; }
  .cr-toggle { min-height: 36px; }
}

/* ---------- About: two supporting cards (round 3) ---------- */

.benefits-2 {
  margin-top: 16px;
}

.benefits-2 .benefit-art {
  height: 140px;
}

@media (min-width: 900px) {
  .benefits.benefits-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .benefits-2 .benefit {
    display: grid;
    grid-template-columns: 196px minmax(0, 1fr);
    align-items: stretch;
  }

  .benefits-2 .benefit-art {
    height: auto;
    min-height: 168px;
  }

  .benefits-2 .art {
    width: 168px;
    height: auto;
  }

  .benefits-2 .benefit-body {
    align-self: center;
    padding: 22px 24px 22px 22px;
  }
}

/* The hero dot grid only sits behind the illustration on wide screens. */
@media (max-width: 1039px) {
  .hero::after {
    display: none;
  }
}

/* ---------- Round 4: new card artwork ---------- */

.art-link {
  fill: none;
  stroke: #9db5e8;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.art-tag {
  fill: #fff;
  stroke: var(--blue-200);
  stroke-width: 1.4;
}

.art-tag-dot {
  fill: var(--blue);
}

.art-tag-text {
  fill: var(--ink-2);
  opacity: 0.8;
}

.art-check-bg {
  fill: var(--blue);
}

.art-tick-mark,
.art-shield-tick {
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-shield {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .js .benefit .art-tags rect.art-tag,
  .js .benefit .art-tags .art-tag-dot,
  .js .benefit .art-tags .art-tag-text {
    transform-box: fill-box;
  }

  .js .benefit.in .art-tags {
    animation: fade-in 0.5s ease 0.9s both;
  }

  .js .benefit.in .art-tick-mark {
    stroke-dasharray: 12;
    animation: draw-12 0.4s var(--e-out) 0.5s both;
  }

  .js .benefit.in .art-tick-mark:nth-of-type(2) {
    animation-delay: 0.7s;
  }

  .js .benefit.in .art-tick-mark:nth-of-type(3) {
    animation-delay: 0.9s;
  }
}

@keyframes draw-12 {
  from {
    stroke-dashoffset: 12;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ======================= Round 5: real sample sites ======================= */

/* No dot texture behind the showcase. */
.hero::after {
  display: none;
}

/* ---------- Sample-design gallery ---------- */

.gallery {
  padding: 8px 0 72px;
}

.gallery-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  list-style: none;
}

.gallery-row::-webkit-scrollbar {
  display: none;
}

.g-card {
  scroll-snap-align: start;
}

.g-shot {
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 32px -16px rgba(16, 24, 40, 0.22);
}

.g-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.g-card p {
  margin-top: 12px;
  color: var(--body);
  font-size: 0.9375rem;
}

.g-card b {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.gallery-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
}

@media (min-width: 720px) {
  .gallery {
    padding: 16px 0 104px;
  }

  .gallery-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .gallery-note {
    margin-top: 18px;
    text-align: right;
  }
}

/* ---------- Change-request demo, restyled as the sample restaurant's menu ---------- */

.cr-stage {
  border-color: #e6e1d6;
  background: linear-gradient(160deg, #f6f3ec, #ebe5d8);
}

.cr-window {
  background: #fbf8f1;
}

.cr-chrome {
  background: #f3f0e8;
}

.cr-url {
  min-width: 11em;
  height: 1.55em;
}

.cr-site {
  padding-top: 0.9em;
}

.cr-brand {
  justify-content: space-between;
}

.cr-name {
  color: #3f4a2b;
  font: 600 1.05em/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.cr-menu-label {
  color: #6b6a5b;
  font-size: 0.68em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cr-list {
  border-color: #e7e0d0;
  background: #fff;
}

.cr-row {
  color: #3a3a2c;
}

.cr-thumb {
  flex: none;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.5em;
  object-fit: cover;
}

.cr-price {
  color: #23281a;
}

/* ---------- Supporting cards: crops of the sample sites ---------- */

.benefit-shot {
  position: relative;
  overflow: hidden;
  background: #eef0f3;
}

.shot-art {
  position: absolute;
  inset: 0;
}

.shot-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.facts {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: min(220px, 82%);
  padding: 9px 11px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px -12px rgba(16, 24, 40, 0.35);
  font-size: 0.6875rem;
  line-height: 1.35;
}

.benefit .facts p {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
  border-top: 1px dashed var(--line);
  font-size: inherit;
  line-height: inherit;
}

.facts b {
  flex: none;
  width: 4.8em;
  color: var(--muted);
  font-weight: 600;
}

.facts span {
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
}

.benefit .facts .facts-head {
  align-items: center;
  gap: 6px;
  padding-top: 0;
  border-top: 0;
  color: var(--blue);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.facts-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.done-notes {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.done-notes li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
  box-shadow: 0 10px 22px -10px rgba(16, 24, 40, 0.4);
}

.done-tick {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
}

@media (min-width: 900px) {
  .benefits-2 .benefit {
    grid-template-columns: 236px minmax(0, 1fr);
  }

  .benefits-2 .benefit-shot {
    min-height: 196px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .benefit.reveal .facts {
    transition: transform 0.6s var(--e-out) 0.35s, opacity 0.4s ease 0.35s;
  }

  .js .benefit.reveal:not(.in) .facts {
    opacity: 0;
    transform: translateX(16px);
  }

  .js .benefit.reveal .done-notes li {
    transition: transform 0.45s var(--e-spring), opacity 0.3s ease;
  }

  .js .benefit.reveal .done-notes li:nth-child(1) {
    transition-delay: 0.4s;
  }

  .js .benefit.reveal .done-notes li:nth-child(2) {
    transition-delay: 0.6s;
  }

  .js .benefit.reveal:not(.in) .done-notes li {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

/* =====================================================================
   Round 6: Astra (Codex) + Fable (Claude) reviews, 13 Nov 2026.
   Overrides earlier rules on purpose; kept together so the round is easy to read.
   ===================================================================== */

/* Hero showcase: address bar, image placeholders, bezel highlight. */
.sc-bar {
  position: relative;
}

.sc-url {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  height: 18px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border-radius: 99px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  color: #6b7280;
  font: 500 10px/18px var(--font-body);
  text-align: center;
  white-space: nowrap;
}

.sc-browser img,
.sc-phone img {
  background: #f4efe4; /* no black slab while the screenshot loads */
}

.sc-phone {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 1px #05070c, 0 2px 4px rgba(16, 24, 40, 0.1), 0 30px 60px -18px rgba(16, 24, 40, 0.5);
}

@media (max-width: 479px) {
  .hero-art {
    padding-bottom: 13%;
  }

  .sc-phone {
    width: 28%;
    bottom: 0;
  }

  .sc-bar {
    height: 24px;
  }

  .sc-url {
    height: 14px;
    font-size: 8px;
    line-height: 14px;
  }
}

/* The hero glow no longer ends in a hard edge at the gallery on phones and tablets. */
@media (max-width: 1039px) {
  .hero::before {
    top: 40%;
    bottom: auto;
    height: 520px;
  }
}

/* A larger hero picture on desktop. */
@media (min-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.16fr);
    column-gap: 48px;
  }
}

/* Clearer "fictional" label under the gallery. */
.gallery-note {
  font-size: 0.8125rem;
}

/* Supporting cards: the whole screenshot, stacked above the text, at every width. */
.benefits-2 .benefit-art.benefit-shot {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.facts {
  width: min(268px, 84%);
  padding: 10px 12px 7px;
  font-size: 0.8125rem;
}

.benefit .facts .facts-head {
  font-size: 0.6875rem;
}

.facts b {
  width: 5.4em;
}

@media (min-width: 900px) {
  .benefits-2 .benefit {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits-2 .benefit-art.benefit-shot {
    height: auto;
    min-height: 0;
  }

  .benefits-2 .benefit-body {
    align-self: start;
    padding: 22px 18px 20px;
  }
}

/* Phones: the facts sit in a panel under the screenshot instead of covering it. */
@media (max-width: 559px) {
  .benefits-2 .benefit:first-child .benefit-art.benefit-shot {
    aspect-ratio: auto;
    overflow: visible;
    background: none;
  }

  .benefits-2 .benefit:first-child .shot-art {
    position: relative;
    inset: auto;
  }

  .benefits-2 .benefit:first-child .shot-art img {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .benefits-2 .facts {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 10px 0 0;
    box-shadow: var(--shadow-sm);
  }
}

/* Change-request demo, phones: a larger stage scale so menu and sheet text read without zooming. */
@media (max-width: 559px) {
  .cr-stage {
    font-size: clamp(11px, 4.1667cqw, 19px); /* 100cqw / 24em */
  }

  .cr-window {
    left: 0.9em;
    right: 0.9em;
  }

  .cr-sheet {
    left: 1.6em;
    right: 1.6em;
  }

  .cr-url {
    min-width: 0;
  }
}

.cr-url {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (pointer: coarse) {
  .cr-finger {
    left: -0.85em;
    top: -0.85em;
    width: 1.7em;
    height: 1.7em;
    background: rgba(10, 16, 34, 0.3);
  }
}

/* Motion: a hero entrance you can see, fuller reveals, overlays that arrive. */
@media (prefers-reduced-motion: no-preference) {
  .sc-browser {
    transform-origin: 50% 100%;
    animation: browser-rise 0.9s var(--e-out) 0.12s both;
  }

  /* The phone is not the LCP element, so it may fade; the browser stays transform-only. */
  .sc-phone {
    animation: phone-rise 1s var(--e-out) 0.34s both, fade-in 0.28s linear 0.34s both;
  }

  .sc-caption {
    animation: fade-in 0.4s ease 0.8s both;
  }

  .js .reveal {
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.8s var(--e-out), box-shadow 0.2s ease;
  }

  .js .reveal.d2 {
    transition-delay: 90ms;
  }

  .js .reveal.d3 {
    transition-delay: 180ms;
  }

  .js .g-card.reveal .g-shot img {
    transition: transform 1.1s var(--e-out);
  }

  .js .g-card.reveal.d2 .g-shot img {
    transition-delay: 90ms;
  }

  .js .g-card.reveal:not(.in) .g-shot img {
    transform: scale(1.05);
  }

  .js .benefit.reveal .facts {
    transform-origin: 100% 100%;
    transition: transform 0.6s var(--e-spring) 0.35s, opacity 0.25s ease 0.35s;
  }

  .js .benefit.reveal:not(.in) .facts {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  .js .benefit.reveal .facts p:not(.facts-head) {
    transition: opacity 0.32s var(--e-out), transform 0.32s var(--e-out);
  }

  .js .benefit.reveal .facts p:nth-child(2) { transition-delay: 0.62s; }
  .js .benefit.reveal .facts p:nth-child(3) { transition-delay: 0.71s; }
  .js .benefit.reveal .facts p:nth-child(4) { transition-delay: 0.8s; }
  .js .benefit.reveal .facts p:nth-child(5) { transition-delay: 0.89s; }

  .js .benefit.reveal:not(.in) .facts p:not(.facts-head) {
    opacity: 0;
    transform: translateY(4px);
  }

  .js .benefit.reveal .done-tick {
    transition: transform 0.36s var(--e-spring);
  }

  .js .benefit.reveal .done-notes li:nth-child(1) .done-tick { transition-delay: 0.54s; }
  .js .benefit.reveal .done-notes li:nth-child(2) .done-tick { transition-delay: 0.74s; }

  .js .benefit.reveal:not(.in) .done-tick {
    transform: scale(0.4);
  }

  .btn .icon-arrow {
    transition: transform 0.3s var(--e-out);
  }

  .btn:hover .icon-arrow {
    transform: translateX(4px);
  }
}

@keyframes browser-rise {
  from {
    transform: translateY(28px) scale(0.975);
  }
  to {
    transform: none;
  }
}

@keyframes phone-rise {
  from {
    transform: translate(18px, 34px) scale(0.94);
  }
  to {
    transform: none;
  }
}

/* Equal-height cards: don't let the art row stretch (its 16:10 ratio would then widen it past the card). */
.benefits-2 .benefit {
  align-content: start;
}
