/* ezhometour.com: layout and components. Tokens live in tokens.css (copied from the app). */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; }
::selection { background: rgba(232, 96, 74, 0.32); color: #fff; }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(1100px 520px at 50% -180px, rgba(255, 255, 255, 0.045), transparent 70%), var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  font-feature-settings: "cv11", "ss03", "calt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { box-shadow: var(--focus); border-radius: var(--r-sm); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--s5); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* ---------- Buttons (from the app) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 38px; padding: 0 var(--s4);
  font: 600 14px/1 var(--font); letter-spacing: -0.005em;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--hairline-2); border-radius: var(--r);
  box-shadow: var(--edge), var(--shadow-1);
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease), color var(--fast) var(--ease), transform 80ms var(--ease);
}
.btn:hover { background-color: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.2); }
.btn:active { transform: translateY(0.5px); box-shadow: var(--edge); }
.btn:focus-visible { box-shadow: var(--edge), var(--focus); border-radius: var(--r); }
.btn.primary {
  color: #fff; border-color: rgba(255, 140, 120, 0.28);
  background: linear-gradient(180deg, var(--accent-fill), var(--accent-fill-lo));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 1px 2px rgba(0,0,0,0.4), 0 8px 22px -8px rgba(201, 74, 53, 0.65);
}
.btn.primary:hover { background: linear-gradient(180deg, var(--accent-fill-hi), var(--accent-fill)); border-color: rgba(255, 150, 130, 0.38); }
.btn.primary:focus-visible { box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), var(--focus); }
.btn.quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-2); }
.btn.quiet:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.btn.lg { height: 50px; padding: 0 var(--s5); font-size: 15px; border-radius: var(--r-md); }

/* ---------- Header ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 22, 25, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.bar-in { max-width: 1200px; margin: 0 auto; height: 68px; padding: 0 var(--s5); display: flex; align-items: center; gap: var(--s6); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav ul { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--text-2); font-size: 14px; font-weight: 500; padding: 6px 2px; transition: color var(--fast) var(--ease); }
.nav ul a:hover { color: var(--text); }
.menu { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--hairline-2); background: rgba(255,255,255,0.03); color: var(--text); cursor: pointer; }
.menu svg { margin: auto; width: 18px; height: 18px; }

/* ---------- Placeholder page (/get) ---------- */
.soon { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: var(--s8) var(--s5); }
.soon .panel { max-width: 520px; padding: var(--s7); text-align: center; }
.soon h1 { font: 700 32px/1.15 var(--font); letter-spacing: -0.03em; margin-bottom: var(--s3); }
.soon p { color: var(--text-2); margin-bottom: var(--s6); }

/* ---------- Shared section bits ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px;
  box-shadow: var(--edge), var(--shadow-3);
}
.sec { padding: 104px 0; border-top: 1px solid var(--hairline); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 104px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font: 600 12.5px/1 var(--font); color: var(--text-2);
  padding: 7px 12px; border: 1px solid var(--hairline-2); border-radius: 999px; background: rgba(255,255,255,0.02);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hl { font: 700 60px/1.04 var(--font); letter-spacing: -0.035em; margin: 22px 0 18px; text-wrap: balance; }
.hl .c { color: var(--accent); }
.lede { color: var(--text-2); font-size: 18px; line-height: 1.55; max-width: 52ch; margin-bottom: 32px; }
.ctas { display: flex; gap: var(--s3); flex-wrap: wrap; }
.kick { display: block; font: 600 12.5px/1 var(--font); color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }

.hero-art {
  aspect-ratio: 1; display: grid; place-items: center;
  background: radial-gradient(closest-side, rgba(232, 96, 74, 0.10), transparent 70%), var(--surface);
}
.hero-mark { width: 58%; height: auto; }
.hero-mark .route { clip-path: inset(0 0 0 0) fill-box; }
.js .hero-mark .route { animation: route-draw 1400ms var(--ease) 300ms both; }
@keyframes route-draw {
  from { clip-path: inset(100% 0 0 0) fill-box; }
  to { clip-path: inset(0 0 0 0) fill-box; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-mark .route, .hero-mark .route { animation: none; clip-path: none; }
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .chev, .phone, .ba-switch button, .btn, .vbtn { transition: none; }
}

/* ---------- Fade-in (only with JS, never on the hero or the phones) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--step) var(--ease), transform var(--step) var(--ease); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Section type ---------- */
.h2 { font: 700 40px/1.1 var(--font); letter-spacing: -0.03em; margin: 14px 0 14px; text-wrap: balance; }
.body { color: var(--text-2); font-size: 17px; max-width: 46ch; }

/* ---------- Before / after ---------- */
.ba-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ba--flip .ba-copy { order: 2; }
.stats { display: flex; gap: var(--s6); margin: 28px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd { margin: 0; font: 700 28px/1 var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color 0.4s var(--ease); }
.stats dd.c { color: var(--accent); }
.stats dt { color: var(--text-3); font-size: 13px; }
.ba-vis { display: flex; flex-direction: column; align-items: center; }

.ba-switch {
  display: inline-flex; padding: 4px; margin-bottom: 24px;
  border-radius: var(--r-md); background: var(--field); border: 1px solid var(--hairline);
}
.ba-switch button {
  appearance: none; border: 0; background: none; cursor: pointer;
  padding: 9px 18px; border-radius: 7px; font: 600 13.5px/1 var(--font); color: var(--text-2);
  transition: background-color var(--med) var(--ease), color var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.ba-switch button:hover { color: var(--text); }
.ba-switch button[aria-pressed="true"] { background: var(--surface-hi); color: var(--text); box-shadow: var(--edge), var(--shadow-2); }
.ba-switch button:focus-visible { box-shadow: var(--focus); }

.ba-stage { position: relative; width: 268px; aspect-ratio: 9 / 16; }
.phone {
  margin: 0; position: absolute; inset: 0;
  border-radius: 30px; padding: 8px; background: #0f1113;
  border: 1px solid var(--hairline-2); box-shadow: var(--edge), var(--shadow-3);
  transition: opacity var(--step) var(--ease);
}
.phone--after { border-color: rgba(232, 96, 74, 0.45); box-shadow: var(--edge), var(--shadow-3), 0 0 0 4px rgba(232, 96, 74, 0.07); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #000; }
.phone figcaption { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; color: var(--text-3); font-size: 13px; }
.js .ba-stage .phone:not(.is-active) { opacity: 0; pointer-events: none; }
.vbtn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--hairline-2); cursor: pointer;
  background: rgba(20, 22, 25, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); padding: 0;
  transition: opacity var(--med) var(--ease);
}
.vbtn svg { width: 22px; height: 22px; }
.vbtn:not(.is-playing) svg { margin-left: 3px; }
/* While playing: a small pause button in the corner, so a looping clip can always be stopped. */
.vbtn.is-playing { left: auto; top: auto; right: 16px; bottom: 16px; transform: none; width: 36px; height: 36px; opacity: 0.55; }
.vbtn.is-playing svg { width: 14px; height: 14px; }
.vbtn.is-playing:hover, .vbtn.is-playing:focus-visible { opacity: 1; }
.vbtn:focus-visible { box-shadow: var(--focus); }
html:not(.ready) .ba-switch { display: none; }

/* Without JavaScript: no switch, both phones shown with their own controls. */
.no-js .ba-stage { width: auto; aspect-ratio: auto; display: flex; gap: 32px; justify-content: center; }
.no-js .phone { position: relative; width: 240px; aspect-ratio: 9 / 16; margin-bottom: 36px; }

/* ---------- What it makes ---------- */
@font-face { font-family: "EZHT Montserrat"; src: url("../fonts/swatch/Montserrat.ttf") format("truetype"); font-weight: 100 900; font-display: block; }
.look--modern h3 { font-family: "EZHT Montserrat", serif; font-weight: 700; letter-spacing: 0.02em; text-transform: none; }
@font-face { font-family: "EZHT IM Fell DW Pica SC"; src: url("../fonts/swatch/IMFellDWPicaSC-Regular.ttf") format("truetype"); font-weight: normal; font-display: block; }
.look--rustic h3 { font-family: "EZHT IM Fell DW Pica SC", serif; font-weight: 400; letter-spacing: 0.02em; text-transform: none; }
@font-face { font-family: "EZHT Cinzel"; src: url("../fonts/swatch/Cinzel.ttf") format("truetype"); font-weight: 100 900; font-display: block; }
.look--luxury h3 { font-family: "EZHT Cinzel", serif; font-weight: 500; letter-spacing: 0.12em; text-transform: none; }
@font-face { font-family: "EZHT Nunito"; src: url("../fonts/swatch/Nunito.ttf") format("truetype"); font-weight: 100 900; font-display: block; }
.look--coastal h3 { font-family: "EZHT Nunito", serif; font-weight: 700; letter-spacing: 0; text-transform: none; }
@font-face { font-family: "EZHT Copperplate CC"; src: url("../fonts/swatch/CopperplateCC-Bold.ttf") format("truetype"); font-weight: normal; font-display: block; }
.look--classic h3 { font-family: "EZHT Copperplate CC", serif; font-weight: 700; letter-spacing: 0.08em; text-transform: none; }
@font-face { font-family: "EZHT Anton"; src: url("../fonts/swatch/Anton-Regular.ttf") format("truetype"); font-weight: normal; font-display: block; }
.look--bold h3 { font-family: "EZHT Anton", serif; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.formats { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.format { padding: var(--s5); border-radius: var(--r-lg); box-shadow: var(--edge), var(--shadow-2); }
.format h3 { font: 650 19px/1.3 var(--font); letter-spacing: -0.015em; margin: var(--s5) 0 6px; }
.format p { color: var(--text-2); font-size: 15px; }
.format-art { height: 190px; border-radius: var(--r-md); background: var(--field); border: 1px solid var(--hairline); display: grid; place-items: center; overflow: hidden; }
.format-art svg { width: 86%; height: auto; }
.format { position: relative; }
.format--top { border-color: rgba(232, 96, 74, 0.45); box-shadow: var(--edge), var(--shadow-2), 0 0 0 4px rgba(232, 96, 74, 0.06); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px;
  border-radius: 999px; font: 600 12px/1 var(--font); letter-spacing: 0.01em; white-space: nowrap;
}
.badge svg { width: 13px; height: 13px; flex: none; }
.badge--top {
  color: #fff; background: linear-gradient(180deg, var(--accent-fill), var(--accent-fill-lo));
  border: 1px solid rgba(255, 140, 120, 0.3); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 6px 16px -6px rgba(201, 74, 53, 0.6);
}
.badge--exp {
  color: var(--text-2); background: rgba(20, 22, 25, 0.78);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mini-phone { height: 172px; aspect-ratio: 9 / 16; border-radius: 14px; padding: 4px; background: #0f1113; border: 1px solid var(--hairline-2); }
.mini-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.mini-phone { position: relative; }
.mini-phone .vbtn:not(.is-playing) { width: 44px; height: 44px; }
.mini-phone .vbtn:not(.is-playing) svg { width: 16px; height: 16px; }
.mini-phone .vbtn.is-playing { right: 8px; bottom: 8px; width: 28px; height: 28px; }
.mini-phone .vbtn.is-playing svg { width: 11px; height: 11px; }
.looks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); }
.look-tile {
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--lk-bg); color: var(--lk-fg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid var(--hairline); box-shadow: var(--edge), var(--shadow-2);
}
.look-tile h3 { margin: 0; font-size: 24px; line-height: 1; }
.look-tile i { width: 36px; height: 2px; background: var(--lk-ac); border-radius: 2px; }
.look p { margin-top: 10px; color: var(--text-2); font-size: 13.5px; text-align: center; }
.match {
  margin-top: var(--s6); display: flex; align-items: center; gap: var(--s5);
  padding: var(--s5) var(--s6); border-radius: var(--r-lg);
  border-color: rgba(232, 96, 74, 0.32);
  background: linear-gradient(90deg, rgba(232, 96, 74, 0.09), transparent 55%), var(--surface);
  box-shadow: var(--edge), var(--shadow-2);
}
.match-art {
  flex: none; width: 72px; height: 72px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--field); border: 1px solid var(--hairline-2); box-shadow: var(--edge);
}
.match-mark { width: 54px; height: 54px; }
.match-copy h3 { font: 700 22px/1.2 var(--font); letter-spacing: -0.02em; margin: 0 0 4px; }
.match-copy p { color: var(--text-2); font-size: 16px; max-width: 62ch; }
@media (max-width: 560px) {
  .match { flex-direction: column; align-items: flex-start; padding: var(--s5); }
}

/* ---------- Who it's for ---------- */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.pain { padding: var(--s6) var(--s5); border-radius: var(--r-lg); box-shadow: var(--edge), var(--shadow-2); border-left: 2px solid var(--accent-line); }
.pain h3 { font: 650 19px/1.3 var(--font); letter-spacing: -0.015em; margin: 0 0 8px; text-wrap: balance; }
.pain p { color: var(--text-2); font-size: 15px; }
.pain:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- How it works ---------- */
.steps {
  --step-gap: clamp(64px, 8.5vw, 120px); --chev: clamp(40px, 5.4vw, 68px);
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--step-gap);
}
/* Coral-tinted cards: the page's surface, warmed toward the bottom, with a soft coral edge. */
.step {
  position: relative; padding: var(--s6) var(--s5); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(232, 96, 74, 0.03), rgba(232, 96, 74, 0.11)), var(--surface);
  border-color: rgba(232, 96, 74, 0.34);
  box-shadow: var(--edge), var(--shadow-2), 0 0 0 1px rgba(232, 96, 74, 0.06), 0 18px 40px -24px rgba(232, 96, 74, 0.35);
}
.step-icon { display: flex; justify-content: center; color: var(--accent); margin-bottom: var(--s5); }
.step-icon svg { width: 40px; height: 40px; }
/* Progression chevrons (Lucide ChevronsRight / ChevronsDown, ISC). Each fills the gap after its
   card, so it stays centered between the two cards at any width and never touches a card edge. */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: var(--step-gap); pointer-events: none;
  background-color: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 17 5-5-5-5'/%3E%3Cpath d='m13 17 5-5-5-5'/%3E%3C/svg%3E") center / var(--chev) var(--chev) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 17 5-5-5-5'/%3E%3Cpath d='m13 17 5-5-5-5'/%3E%3C/svg%3E") center / var(--chev) var(--chev) no-repeat;
}
.num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 700 13px/1 var(--font); color: var(--accent); background: var(--accent-wash); border: 1px solid var(--accent-line);
  font-variant-numeric: tabular-nums;
}
.step h3 { font: 650 19px/1.3 var(--font); letter-spacing: -0.015em; margin: 0 0 8px; }
.step p { color: var(--text-2); font-size: 15px; }

/* ---------- What you need ---------- */
.needs-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s5); }
.need { padding: var(--s6); border-radius: var(--r-lg); box-shadow: var(--edge), var(--shadow-2); }
.need h3 { margin: 0; font: 600 13px/1.3 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.need-main { font: 700 24px/1.25 var(--font); letter-spacing: -0.02em; margin: var(--s4) 0 var(--s3); }
.need-sub { color: var(--text-2); font-size: 15px; }
.need--setup { border-color: rgba(232, 96, 74, 0.28); background: linear-gradient(180deg, rgba(232, 96, 74, 0.05), transparent 60%), var(--surface); }
.ticks { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s4); }
.ticks li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; color: var(--text-2); }
.ticks b { color: var(--text); font-weight: 600; }
.tick { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.needs-note { margin-top: var(--s5); color: var(--text-3); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: 20px 4px; font: 600 17px/1.35 var(--font); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.chev { width: 16px; height: 16px; flex: none; color: var(--text-3); transition: transform var(--med) var(--ease); }
.faq details[open] .chev { transform: rotate(180deg); color: var(--accent); }
.faq details p { color: var(--text-2); padding: 0 4px 22px; max-width: 60ch; }

/* ---------- Final call to action + footer ---------- */
.final-panel {
  text-align: center; padding: 72px var(--s6); display: flex; flex-direction: column; align-items: center; gap: var(--s4);
  background: radial-gradient(600px 240px at 50% 0, rgba(232, 96, 74, 0.10), transparent 70%), var(--surface);
}
.final-panel .h2 { margin: 0; max-width: 20ch; }
.final-panel .btn { margin-top: var(--s3); }
.foot { border-top: 1px solid var(--hairline); padding: 32px 0 40px; color: var(--text-3); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: var(--s3); }
.foot nav { display: flex; gap: var(--s5); }
.foot nav a { color: var(--text-2); transition: color var(--fast) var(--ease); }
.foot nav a:hover { color: var(--text); }

/* ---------- Tablet and below ---------- */
@media (max-width: 860px) {
  .sec { padding: 80px 0; }
  .hero { padding: 56px 0 80px; }
  .hero-in, .ba-in, .needs-grid, .faq-in { grid-template-columns: 1fr; }
  .hero-in { gap: 40px; }
  .hero-art { max-width: 360px; width: 100%; justify-self: center; }
  .hl { font-size: 48px; }
  .ba-in { gap: 40px; }
  .ba--flip .ba-copy { order: 0; }
  .faq-in { gap: 24px; }
  .formats, .steps, .pains { grid-template-columns: 1fr; }
  .steps { --step-gap: 72px; --chev: 44px; }
  .step:not(:last-child)::after {
    top: 100%; bottom: auto; left: 0; right: 0; width: auto; height: var(--step-gap);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 6 5 5 5-5'/%3E%3Cpath d='m7 13 5 5 5-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 6 5 5 5-5'/%3E%3Cpath d='m7 13 5 5 5-5'/%3E%3C/svg%3E");
  }
  .format-art { height: 200px; }
  .looks { grid-template-columns: repeat(3, 1fr); }

  .menu { display: grid; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: var(--s4);
    padding: var(--s4) var(--s5) var(--s5);
    background: rgba(20, 22, 25, 0.94);
    -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-2);
  }
  .ready .nav { display: none; }
  .ready .nav-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 2px; font-size: 16px; border-bottom: 1px solid var(--hairline); }
  .nav .btn { height: 46px; }
  html:not(.ready) .menu { display: none; }
  html:not(.ready) .nav { position: static; background: none; box-shadow: none; border: 0; padding: 0; flex-direction: row; }
  html:not(.ready) .nav ul { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 560px) {
  .wrap, .bar-in { padding-left: 20px; padding-right: 20px; }
  .sec { padding: 64px 0; }
  .hl { font-size: 40px; }
  .lede { font-size: 17px; }
  .h2 { font-size: 32px; }
  .ctas .btn { flex: 1 1 100%; }
  .looks { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: var(--s5); }
  .need, .step, .pain { padding: var(--s5); }
  .final-panel { padding: 48px var(--s5); }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .no-js .ba-stage { flex-direction: column; align-items: center; }
  /* Thumb-sized targets (44px) and a smaller logo panel, so the first video sits higher. */
  .ba-switch button { min-height: 44px; padding: 0 20px; }
  .foot nav { flex-wrap: wrap; gap: 0 var(--s5); }
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero-art { max-width: 240px; }
  .hero-in { gap: 32px; }
}

/* ---------- Always improving ---------- */
.upd {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; padding: 48px;
  background: radial-gradient(700px 300px at 100% 0, rgba(232, 96, 74, 0.08), transparent 70%), var(--surface);
}
.upd-copy .body { margin-bottom: var(--s4); }
.upd-stat { color: var(--text-3); font-size: 14.5px; }
.upd-stat b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.versions {
  list-style: none; margin: 0; padding: 0; align-self: center;
  display: grid; grid-template-columns: repeat(6, 1fr); position: relative;
}
.versions::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--hairline-2), var(--accent-line) 70%, var(--accent));
}
.ver { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.ver-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid rgba(255, 255, 255, 0.28); }
.ver b { font: 650 14px/1 var(--font); font-variant-numeric: tabular-nums; margin-top: 6px; }
.ver small { color: var(--text-3); font-size: 12px; }
.ver--now .ver-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px rgba(232, 96, 74, 0.35); }
.ver--now b { color: var(--accent); }
.ver--now .ver-dot { position: relative; }
/* "Live" pulse: a ring grows out of the current version's dot and fades. Added on top; the dot itself is unchanged. */
.ver--now .ver-dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent);
  pointer-events: none; animation: live-pulse 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes live-pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ver--now .ver-dot::after { animation: none; display: none; } }
.upd-points { grid-column: 1 / -1; list-style: none; margin: 0; padding: 32px 0 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.upd-point { display: flex; gap: var(--s3); color: var(--text-2); font-size: 15px; }
.upd-point b { color: var(--text); font-weight: 600; }
.upd-point svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
@media (max-width: 860px) {
  .upd { grid-template-columns: 1fr; padding: 32px; }
  .upd-points { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .upd { padding: var(--s5); }
  .ver small { font-size: 12px; }
}

/* ---------- Pricing ---------- */
.pricing-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.price-card {
  padding: 36px; position: relative;
  border-color: rgba(232, 96, 74, 0.38);
  background: radial-gradient(520px 260px at 0 0, rgba(232, 96, 74, 0.10), transparent 70%), var(--surface);
  box-shadow: var(--edge), var(--shadow-2), 0 0 0 4px rgba(232, 96, 74, 0.05);
}
.price-label { display: inline-block; font: 600 12.5px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 8px; }
.price b { font: 750 64px/1 var(--font); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price span { color: var(--text-2); font-size: 16px; font-weight: 500; }
.price-sub { color: var(--text-2); font-size: 15px; margin-bottom: var(--s5); }
.price-card .ticks { margin: 0 0 var(--s6); padding-top: var(--s5); border-top: 1px solid var(--hairline); }
.tick-gift {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px;
  margin: 6px -14px 0; padding: 14px;
  border-radius: 14px; border: 1px solid rgba(232, 96, 74, 0.55);
  background: linear-gradient(135deg, rgba(232, 96, 74, 0.20), rgba(232, 96, 74, 0.06) 60%), var(--surface-hi);
  box-shadow: 0 10px 30px -12px rgba(201, 74, 53, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.gift-thumb { width: 76px; height: 76px; flex: none; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6); }
.gift-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gift-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 2px; }
.gift-label { display: inline-flex; align-items: center; gap: 5px; font: 650 12.5px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.gift-label svg { width: 14px; height: 14px; }
.ticks .gift-title { font: 700 18px/1.2 var(--font); letter-spacing: -0.015em; color: var(--text); }
.gift-sub { color: var(--text-2); font-size: 14px; line-height: 1.45; }
/* one soft sheen across the bonus when the card first appears */
.tick-gift::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.10) 50%, transparent 65%);
  transform: translateX(-100%);
}
.price-card.is-in .tick-gift::after { animation: gift-sheen 1.4s 0.6s var(--ease) 1 both; }
@keyframes gift-sheen { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .tick-gift::after, .price-card.is-in .tick-gift::after { animation: none; } }
@media (max-width: 560px) { .gift-thumb { width: 60px; height: 60px; } }
.badge--inline { position: static; height: 24px; font-size: 12.5px; }
.price-cta { width: 100%; justify-content: center; }
.kit-name { margin: 0 0 10px; font: 700 24px/1.15 var(--font); letter-spacing: -0.025em; color: var(--text); text-wrap: balance; }
.kit-h { margin: var(--s5) 0 0; padding-top: var(--s5); border-top: 1px solid var(--hairline); font: 600 12.5px/1.3 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.tick-val { display: block; margin-top: 3px; color: var(--accent); font-size: 13.5px; font-weight: 550; }
.kit-src { margin: var(--s4) 0 var(--s5); color: var(--text-3); font-size: 13px; }
.kit-src a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.kit-src a:hover { color: var(--text); }
.price-note { margin-top: var(--s4); color: var(--text-3); font-size: 13.5px; line-height: 1.55; }
.price-keep {
  display: flex; align-items: center; gap: 10px; margin-top: var(--s4); padding: 12px 14px;
  border-radius: 12px; background: rgba(232, 96, 74, 0.10); border: 1px solid rgba(232, 96, 74, 0.32);
  color: var(--text); font: 650 15.5px/1.3 var(--font); letter-spacing: -0.01em;
}
.price-keep svg { width: 22px; height: 22px; flex: none; color: var(--accent); }

.gift-h { font: 700 28px/1.15 var(--font); letter-spacing: -0.02em; margin: 14px 0 12px; }
.gift .body { margin-bottom: var(--s5); max-width: none; }
.pcmp-tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: var(--s4);
  border-radius: var(--r-md); background: var(--field); border: 1px solid var(--hairline);
}
.pcmp-tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 16px; border-radius: 7px; font: 600 13.5px/1 var(--font); color: var(--text-2);
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.pcmp-tab:hover { color: var(--text); }
.pcmp-tab[aria-pressed="true"] { background: var(--surface-hi); color: var(--text); box-shadow: var(--edge), var(--shadow-2); }
.pcmp-tab:focus-visible { outline: none; box-shadow: var(--focus); }
.pcmp { margin: 0; }
.pcmp img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--hairline-2); background: var(--field); }
.pcmp-tag {
  position: absolute; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px;
  font: 600 12px/1 var(--font); color: #fff; background: rgba(20, 22, 25, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none;
}
.pcmp-tag--before { left: 12px; }
.pcmp-tag--after { right: 12px; }
.gift-note { margin-top: var(--s4); color: var(--text-3); font-size: 13.5px; }

/* Without the script: before and after simply stack, labelled, for every room. */
html:not(.ready) .pcmp-tabs, html:not(.ready) .pcmp-range, html:not(.ready) .pcmp-handle, html:not(.ready) .pcmp-tag { display: none; }
html:not(.ready) .pcmp { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s5); }
html:not(.ready) .pcmp-before { order: -1; }
html:not(.ready) .pcmp figcaption { order: -2; font-weight: 600; }

/* With the script: one room at a time, drag to compare. */
.ready .pcmp { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline-2); background: var(--field); --pos: 50%; }
.ready .pcmp:not(.is-active) { display: none; }
.ready .pcmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.ready .pcmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ready .pcmp figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pcmp-range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.pcmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 0 18px rgba(0, 0, 0, 0.35); pointer-events: none;
}
.pcmp-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: #fff center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141619' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.5);
}
.pcmp-range:focus-visible + .pcmp-handle::after { box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(232, 96, 74, 0.6); }

@media (max-width: 860px) {
  .pricing-in { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .price-card { padding: var(--s5); }
  .price b { font-size: 54px; }
  .pcmp-tabs { display: flex; }
  .pcmp-tab { flex: 1; padding: 0 8px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .pcmp-tab { transition: none; } }

/* 14-day guarantee line under the buy button */
.price-guarantee { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.price-guarantee svg { width: 16px; height: 16px; flex: none; margin-top: 2.5px; color: var(--ok); }
.price-guarantee a { white-space: nowrap; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.price-guarantee a:hover { color: var(--text); }
.faq details p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
