/* =========================================================
   Sundial Blinds · Direction 12 · "Owner's Mix" (built on Quiet Motion)
   Motorization-first smart-home look. Deep slate + iris.
   ========================================================= */

:root {
  /* dark surfaces */
  --night: #080C12;
  --slate: #0D131C;
  --panel: #131B26;
  --panel-2: #1A2432;
  --line-d: #253142;
  --line-d2: #34425A;
  --on-d: #EEF2F8;
  --on-d-2: #A9B5C7;
  --on-d-3: #A3AFC2;

  /* light surfaces */
  --paper: #F3F5F8;
  --white: #FFFFFF;
  --mist: #E9EDF3;
  --line: #DDE3EB;
  --line-strong: #7C8798;
  --ink: #0D131C;
  --ink-2: #465163;
  --ink-3: #5B6678;

  /* accents */
  --iris: #4F55E3;
  --iris-h: #3D43C4;
  --iris-soft: #EEEFFE;
  --iris-line: #C9CCFB;
  --iris-d: #A5ABFF;
  --cyan: #5CD6F5;
  --sun: #F2B35B;
  --sun-ink: #8A5A00;
  --ok-d: #6EE0AE;

  --grad: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;

  --shadow-1: 0 1px 2px rgba(var(--shadow-rgb), .05), 0 2px 8px -4px rgba(var(--shadow-rgb), .10);
  --shadow-2: 0 1px 2px rgba(var(--shadow-rgb), .06), 0 18px 40px -22px rgba(var(--shadow-rgb), .35);
  --shadow-d: 0 1px 0 rgba(var(--d-rgb), .06) inset, 0 30px 60px -30px rgba(var(--deep-rgb), calc(.8 * var(--deep-k))), 0 0 0 1px rgba(var(--d-rgb), .07);

  --wrap: 1240px;
  --gut: 32px;
  --header-h: 72px;
  --sec: 120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1024px) { :root { --gut: 28px; --sec: 96px; } }
@media (max-width: 720px)  { :root { --gut: 20px; --sec: 72px; --header-h: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
[hidden]:not(.bnav__msg) { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .header :focus-visible, .footer :focus-visible, .sec--dark :focus-visible, .hero :focus-visible, .phero :focus-visible, .mbar :focus-visible, .device :focus-visible { outline-color: var(--iris-d); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--s { width: 16px; height: 16px; }
.i--l { width: 24px; height: 24px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: block;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.on-dark .eyebrow, .sec--dark .eyebrow, .hero .eyebrow, .phero .eyebrow { color: var(--on-d-2); }

.h1 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -0.04em; line-height: 1.02; }
.h2 { font-size: clamp(30px, 3.3vw, 46px); letter-spacing: -0.035em; line-height: 1.06; }
.h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.on-dark .lede, .sec--dark .lede, .hero .lede, .phero .lede { color: var(--on-d-2); }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.note { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.on-dark .note, .sec--dark .note { color: var(--on-d-3); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--iris); color: var(--on-accent); box-shadow: 0 1px 0 rgba(var(--on-accent-rgb), .18) inset, 0 8px 20px -10px rgba(var(--iris-rgb), .8); }
.btn--primary:hover { background: var(--iris-h); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--ghost-d { background: rgba(var(--d-rgb), .04); color: var(--on-d); border-color: var(--line-d2); }
.btn--ghost-d:hover { background: rgba(var(--d-rgb), .08); border-color: var(--line-d3); }
.btn--light { background: var(--on-d); color: var(--on-d-ink); }
.btn--light:hover { background: var(--btn-light-hover); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--iris); text-decoration: none; }
.link .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.on-dark .link, .sec--dark .link, .hero .link { color: var(--iris-d); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- chips / badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  background: var(--mist); color: var(--ink-2); white-space: nowrap;
}
.badge--motor { background: var(--iris-soft); color: var(--iris-text); }
.badge--motor::before { background: var(--deco); box-shadow: 0 0 0 3px rgba(var(--deco-rgb), .18); }
.badge--d { background: rgba(var(--d-rgb), .06); color: var(--on-d-2); border: 1px solid var(--line-d); }
.badge--d::before { background: var(--ok-d); box-shadow: 0 0 0 3px rgba(var(--ok-d-rgb), .15); }
.badge--plain::before { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
}
a.chip:hover { border-color: var(--line-strong); }
.chip--d { background: rgba(var(--d-rgb), .04); border-color: var(--line-d); color: var(--on-d); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--night-rgb), .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(var(--d-rgb), .07);
  color: var(--on-d);
}
.header__row { height: var(--row-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 36px; width: auto; }
.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px;
  border-radius: 8px; border: 0; background: none;
  font-size: 15px; font-weight: 500; color: var(--on-d-2); text-decoration: none; white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.nav__link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--on-d); background: rgba(var(--d-rgb), .06); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__link[aria-current="page"], .nav__link[data-current="true"] { color: var(--on-d); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav__item .nav__link { position: relative; }

.drop {
  position: absolute; top: calc(100% + 14px); left: -12px; z-index: 5;
  display: grid; grid-template-columns: 200px 210px 230px; gap: 8px;
  padding: 14px; border-radius: 18px;
  background: var(--drop-bg); box-shadow: var(--shadow-d);
}
.drop[hidden] { display: none; }
.drop__col { padding: 10px 10px 6px; }
.drop__h { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-d-3); margin-bottom: 8px; }
.drop__col a { display: block; padding: 7px 0; font-size: 15px; color: var(--on-d); text-decoration: none; }
.drop__col a:hover { color: var(--iris-d); }
.drop__feature {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 12px; text-decoration: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--grad-a-rgb), .28), transparent 60%), var(--panel-2);
  border: 1px solid var(--line-d);
}
.drop__feature strong { font-size: 16px; color: var(--on-d); }
.drop__feature span { font-size: 14px; color: var(--on-d-2); line-height: 1.45; }
.drop__glyph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--deco-d-rgb), .12); color: var(--deco-d); margin-bottom: 6px; }
.drop__feature .drop__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--iris-d); font-weight: 600; font-size: 14px; }
.drop__more .i { width: 16px; height: 16px; }

.header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tool {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--on-d-2); text-decoration: none; white-space: nowrap;
}
.tool .i { width: 18px; height: 18px; }
.tool:hover { color: var(--on-d); background: rgba(var(--d-rgb), .06); }
.tool--phone span { font-variant-numeric: tabular-nums; }
.header__book { margin-left: 8px; }
.menu-btn {
  display: none; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 10px; border-radius: 10px;
  background: rgba(var(--d-rgb), .05); border: 1px solid var(--line-d2); color: var(--on-d); font-size: 15px; font-weight: 500;
}
.menu-btn .i { width: 20px; height: 20px; }

/* mobile menu */
.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--night); overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid rgba(var(--d-rgb), .06);
}
.mnav[hidden] { display: none; }
.mnav__inner { max-width: 640px; margin: 0 auto; padding: 12px var(--gut) calc(32px + env(safe-area-inset-bottom)); }
.mnav__list > li { border-bottom: 1px solid var(--line-d); }
.mnav__row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px;
  background: none; border: 0; padding: 0; text-align: left;
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--on-d); text-decoration: none;
}
.mnav__row .i { color: var(--on-d-3); transition: transform .2s var(--ease); }
.mnav__row[aria-expanded="true"] .i { transform: rotate(180deg); }
.mnav__sub { padding: 0 0 14px 2px; }
.mnav__sub a { display: flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--on-d-2); text-decoration: none; }
.mnav__foot { display: grid; gap: 10px; margin-top: 24px; }
.mnav__hours { text-align: center; font-size: 14px; color: var(--on-d-3); margin-top: 4px; }
body.menu-open { overflow: hidden; }
body.menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--night); }

@media (max-width: 1240px) {
  .tool--signin span { display: none; }
  .tool--signin { padding: 0 10px; }
}
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header__row { gap: 16px; }
  .tool--signin span { display: inline; }
}
@media (max-width: 720px) {
  .brand img { height: 30px; }
  .tool--phone, .tool--signin, .header__book { display: none; }
  .menu-btn__label { display: none; }
  .menu-btn { width: 42px; padding: 0; justify-content: center; }
  .header__tools { gap: 8px; }
}

/* =========================================================
   Sections
   ========================================================= */
.sec { padding: var(--sec) 0; position: relative; }
.sec--tight { padding: calc(var(--sec) * .7) 0; }
.sec--white { background: var(--white); }
.sec--mist { background: var(--mist); }
.sec--dark { background: var(--slate); color: var(--on-d); overflow: hidden; }
.sec--night { background: var(--night); }
.sec--line { border-top: 1px solid var(--line); }
.sec--dark.sec--line { border-top-color: var(--line-d); }
.sec__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.sec__head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.sec__head--row > div { display: grid; gap: 16px; max-width: 720px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
@media (max-width: 720px) {
  .sec__head { margin-bottom: 36px; gap: 12px; }
  .sec__head--row { grid-template-columns: 1fr; }
  .lede { font-size: 17.5px; }
  .sec__foot { margin-top: 32px; }
}

/* glow background used sparingly on dark bands */
.glow { position: absolute; pointer-events: none; inset: 0; overflow: hidden; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); }
.glow::before { width: 900px; height: 700px; right: -260px; top: -320px; background: var(--glow-1); }
.glow::after { width: 700px; height: 520px; right: 12%; bottom: -380px; background: var(--glow-2); }
.glow--left::before { right: auto; left: -300px; }
.dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(var(--d-rgb), .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 75% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 75% 30%, #000 0%, transparent 75%);
}

/* =========================================================
   Home hero
   ========================================================= */
.hero { position: relative; background: var(--slate); color: var(--on-d); overflow: hidden; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center;
  padding: 72px 0 88px;
}
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__copy .h1 { max-width: 12ch; }
.hero__copy .lede { max-width: 30em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--on-d-2); margin-top: 4px; }
.hero__meta a { color: var(--on-d); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.hero__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero__meta .i { width: 18px; height: 18px; color: var(--on-d-3); }

.stage { position: relative; }
.stage__photo { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 5.2; background: var(--panel); box-shadow: 0 40px 80px -40px rgba(var(--deep-rgb), calc(.9 * var(--deep-k))), 0 0 0 1px rgba(var(--d-rgb), .08); }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; }
.stage__photo::after { content: ""; position: absolute; inset: 0; background: var(--stage-fade); }
.stage .stage__device { position: absolute; left: -48px; bottom: 36px; width: 300px; z-index: 2; }
.stage .stage__routine { position: absolute; right: -24px; top: 36px; width: 244px; z-index: 2; }
.stage__label { position: absolute; left: 20px; top: 18px; z-index: 2; }

/* ---------- device cards (dark glass) ---------- */
.device {
  position: relative; border-radius: 22px; padding: 18px;
  background: linear-gradient(180deg, rgba(var(--card-d1-rgb), .92), rgba(var(--card-d2-rgb), .94));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-d);
  color: var(--on-d);
}
.device__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.device__room { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.device__room .i { width: 18px; height: 18px; color: var(--deco-d); }
.device__tag { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-d-3); border: 1px solid var(--line-d2); border-radius: 999px; padding: 2px 8px; }
.device__body { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; margin: 16px 0 14px; }
.device__num { font-family: var(--mono); font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.device__unit { font-size: 14px; color: var(--on-d-2); margin-left: 4px; }
.device__sub { font-size: 13px; color: var(--on-d-3); margin-top: 6px; }

/* the little window glyph whose shade moves */
.win { position: relative; width: 76px; height: 92px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, var(--art-sky-1) 0%, var(--art-sky-2) 55%, var(--art-sky-3) 100%); box-shadow: 0 0 0 1px rgba(var(--art-glint-rgb), .12) inset; }
.win::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49%, rgba(var(--art-glint-rgb), .25) 49% 51%, transparent 51%); }
.win__shade {
  position: absolute; left: 0; right: 0; top: 0; height: var(--closed, 60%);
  background: repeating-linear-gradient(180deg, var(--art-shade-1) 0 3px, var(--art-shade-2) 3px 4px);
  box-shadow: 0 2px 0 var(--art-shade-bar), 0 6px 10px -4px rgba(var(--deep-rgb), calc(.5 * var(--deep-k)));
  transition: height .7s var(--ease);
}
.win__cassette { position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--art-cassette); box-shadow: 0 1px 0 rgba(var(--deep-rgb), calc(.25 * var(--deep-k))); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--grad-a) 0, var(--grad-b) var(--p, 40%), var(--track-off) var(--p, 40%)); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--track-off); }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--grad); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--knob); margin-top: -8px; box-shadow: 0 0 0 1.5px var(--knob-ring), 0 2px 8px rgba(var(--deep-rgb), calc(.5 * var(--deep-k))); border: 0; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--knob); border: 0; box-shadow: 0 0 0 1.5px var(--knob-ring), 0 2px 8px rgba(var(--deep-rgb), calc(.5 * var(--deep-k))); }
.range:focus-visible { outline: 2px solid var(--iris-d); outline-offset: 4px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(var(--d-rgb), .06); margin-top: 10px; }
.seg button {
  min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--on-d-2);
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background-color .2s, color .2s;
}
.seg button .i { width: 16px; height: 16px; }
.seg button:hover { color: var(--on-d); }
.seg button[aria-pressed="true"] { background: rgba(var(--d-rgb), .12); color: var(--on-d); box-shadow: 0 1px 0 rgba(var(--d-rgb), .08) inset; }

.routine { display: grid; gap: 12px; }
.routine__head { display: flex; justify-content: space-between; align-items: center; }
.routine__time { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.routine__what { font-size: 14px; color: var(--on-d-2); line-height: 1.45; }
.routine__days { display: flex; gap: 4px; }
.routine__days span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--on-d-3); background: rgba(var(--d-rgb), .05); }
.routine__days span.on { background: rgba(var(--iris-d-rgb), .18); color: var(--on-d); }
.toggle { width: 42px; height: 26px; border-radius: 99px; background: var(--iris); position: relative; flex: none; box-shadow: 0 0 0 1px rgba(var(--on-accent-rgb), .1) inset; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--knob); box-shadow: 0 1px 3px rgba(var(--deep-rgb), calc(.4 * var(--deep-k))); }

/* trust strip */
.trust { position: relative; border-top: 1px solid var(--line-d); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px 28px 0; }
.trust__item + .trust__item { padding-left: 24px; border-left: 1px solid var(--line-d); }
.trust__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--deco-d-rgb), .1); color: var(--deco-d); flex: none; }
.trust__item div > strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--on-d); line-height: 1.3; }
.trust__item div > span { display: block; font-size: 14px; color: var(--on-d-2); margin-top: 3px; line-height: 1.4; }

@media (max-width: 1140px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; padding: 56px 0 72px; }
  .hero__copy .h1 { max-width: 14ch; }
  .stage { max-width: 760px; }
  .stage__photo { aspect-ratio: 16 / 11; }
  .stage .stage__device { left: 24px; bottom: 24px; }
  .stage .stage__routine { right: 24px; top: 24px; }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-d); }
}
@media (max-width: 720px) {
  .hero__grid { padding: 36px 0 48px; gap: 36px; }
  .hero__copy { gap: 18px; }
  .hero__copy .actions { width: 100%; }
  .hero__copy .actions .btn { flex: 1 1 100%; }
  .stage__photo { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .stage .stage__routine { display: none; }
  .stage .stage__device { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 14px 0; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__item, .trust__item + .trust__item { padding: 18px 0; border-left: 0; }
  .trust__item + .trust__item { border-top: 1px solid var(--line-d); }
  .trust__item:nth-child(3) { padding-left: 0; }
}

/* =========================================================
   Control cards (4 ways to move it)
   ========================================================= */
.ctrl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ctrl {
  display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.ctrl__media { position: relative; aspect-ratio: 4 / 3.3; background: linear-gradient(180deg, var(--media-l1), var(--mist)); display: grid; place-items: center; overflow: hidden; }
.ctrl__media img { position: absolute; inset: 0; margin: auto; max-width: 70%; max-height: 74%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(var(--shadow-rgb), .18)); }
.ctrl__media--photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.ctrl__media--dark { background: radial-gradient(90% 80% at 50% 20%, var(--media-d1), var(--media-d2)); }
.ctrl__media--dark img { max-height: 58%; max-width: 58%; filter: drop-shadow(0 18px 24px rgba(var(--deep-rgb), calc(.55 * var(--deep-k)))); }
.ctrl__num { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); background: rgba(var(--white-rgb), .85); border-radius: 999px; padding: 2px 9px; }
.ctrl__media--dark .ctrl__num, .ctrl__media--photo .ctrl__num { color: var(--on-d); background: rgba(var(--night-rgb), .6); }
.ctrl__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.ctrl__body h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.ctrl__body h3 .i { color: var(--deco); }
.ctrl__body p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.ctrl__good { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-3); }
.ctrl__good b { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 2px; }
@media (max-width: 1140px) { .ctrl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ctrl-grid { grid-template-columns: 1fr; gap: 14px; }
  .ctrl { display: grid; grid-template-columns: 112px 1fr; }
  .ctrl__media { aspect-ratio: auto; min-height: 100%; }
  .ctrl__media img { max-height: 84px; }
  .ctrl__media--photo img { max-height: none; }
  .ctrl__num { display: none; }
  .ctrl__body { padding: 16px; gap: 6px; }
  .ctrl__body h3 { font-size: 17.5px; }
  .ctrl__body h3 .i { display: none; }
  .ctrl__body p { font-size: 15px; }
  .ctrl__good { padding-top: 10px; font-size: 13.5px; }
}

/* =========================================================
   Product cards + filter
   ========================================================= */
.filter { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.filter button {
  min-height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.filter button .count { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); background: var(--mist); border-radius: 999px; padding: 1px 7px; }
.filter button:hover { color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--on-accent); }
.filter button[aria-pressed="true"] .count { background: rgba(var(--on-accent-rgb), .16); color: var(--on-accent); }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-h1); }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__media .badge { position: absolute; left: 12px; top: 12px; background: rgba(var(--white-rgb), .94); box-shadow: 0 2px 8px rgba(var(--shadow-rgb), .12); }
.pcard__media .badge--motor { background: rgba(var(--white-rgb), .96); color: var(--iris-text); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.pcard__body h3 { font-size: 18px; letter-spacing: -0.015em; }
.pcard__body p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.pcard__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--iris); }
.pcard__more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.pcard:hover .pcard__more .i { transform: translateX(3px); }
.pcard--text .pcard__media { display: grid; place-items: center; background: linear-gradient(160deg, var(--media-l2), var(--media-l3)); }
.pcard--text .pcard__media img { position: absolute; inset: 0; margin: auto; width: 70%; height: 70%; object-fit: contain; }
.pcard:hover .pcard--text .pcard__media img { transform: none; }

@media (max-width: 1140px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pgrid, .pgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .filter { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .filter button { padding: 0 8px; font-size: 14px; justify-content: center; gap: 6px; }
  .pgrid, .pgrid--3 { grid-template-columns: 1fr; gap: 12px; }
  .pcard { display: grid; grid-template-columns: 112px 1fr; min-height: 112px; }
  .pcard:hover { transform: none; }
  .pcard__media { aspect-ratio: auto; height: 100%; min-height: 112px; }
  .pcard__media .badge { display: none; }
  .pcard__body { padding: 14px 16px; gap: 4px; justify-content: center; }
  .pcard__body h3 { font-size: 16.5px; }
  .pcard__body p { font-size: 14.5px; }
  .pcard__more { display: none; }
  .pcard__tag-m { display: inline-flex !important; margin-top: 6px; align-self: flex-start; }
}
.pcard__tag-m { display: none !important; }

/* =========================================================
   Smart home band
   ========================================================= */
.smart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; position: relative; }
.smart__copy { display: grid; gap: 22px; align-content: start; }
.smart__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.smart__chips li { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(var(--d-rgb), .03); font-size: 14.5px; font-weight: 500; color: var(--on-d); }
.facts-d { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.facts-d li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.facts-d .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--deco-d-rgb), .1); color: var(--deco-d); }
.facts-d div > strong { display: block; font-size: 16px; font-weight: 600; }
.facts-d div > span { display: block; font-size: 15px; color: var(--on-d-2); line-height: 1.5; margin-top: 2px; }

.day { padding: 22px; }
.day__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.day__title { font-size: 16px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.day__title .i { color: var(--deco-d); }
.day__list { position: relative; margin-top: 10px; }
.day__list::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--sun), var(--grad-a) 55%, var(--day-end)); opacity: .7; border-radius: 2px; }
.day__item { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.day__item + .day__item { border-top: 1px solid rgba(var(--d-rgb), .06); }
.day__ico { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--day-ico); box-shadow: 0 0 0 1px rgba(var(--d-rgb), .08) inset; color: var(--on-d); }
.day__ico--sun { color: var(--sun); }
.day__ico--moon { color: var(--deco-d); }
.day__item div > strong { display: block; font-size: 15.5px; font-weight: 600; }
.day__item div > span { display: block; font-size: 13.5px; color: var(--on-d-3); margin-top: 2px; }
.day__time { font-family: var(--mono); font-size: 15px; color: var(--on-d-2); font-variant-numeric: tabular-nums; }
.day__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(var(--d-rgb), .08); font-size: 13.5px; color: var(--on-d-3); line-height: 1.5; display: flex; gap: 10px; }
.day__foot .i { width: 16px; height: 16px; margin-top: 2px; }
.voice { display: flex; align-items: center; gap: 12px; margin: 0 0 16px auto; width: max-content; max-width: 100%; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(var(--d-rgb), .06); border: 1px solid var(--line-d); font-size: 15px; color: var(--on-d); }
.voice__mic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-grad); }
.voice__mic .i { width: 18px; height: 18px; stroke-width: 2; }
.smart__visual { position: relative; }

@media (max-width: 1024px) { .smart { grid-template-columns: 1fr; gap: 48px; } .smart__visual { max-width: 560px; } }
@media (max-width: 720px) {
  .day { padding: 16px; }
  .day__item { grid-template-columns: 40px 1fr; gap: 12px; }
  .day__ico { width: 40px; height: 40px; }
  .day__list::before { left: 19px; }
  .day__time { grid-column: 2; grid-row: 1; font-size: 13px; order: -1; }
  .day__item > div { grid-column: 2; }
  .voice { margin-left: 0; font-size: 14px; }
}

/* =========================================================
   Power tiles
   ========================================================= */
.power { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ptile { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.ptile__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--deco-soft); color: var(--deco); margin-bottom: 6px; }
.ptile h3 { font-size: 18px; }
.ptile p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.ptile__read { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ink-3); }
.ptile__read b { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink); }
.meter { display: flex; gap: 3px; }
.meter i { width: 6px; height: 14px; border-radius: 2px; background: var(--line); }
.meter i.on { background: var(--deco); }
@media (max-width: 1024px) { .power { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .power { grid-template-columns: 1fr; gap: 10px; }
  .ptile { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px; align-items: start; }
  .ptile__ico { grid-row: span 2; margin: 0; }
  .ptile__read { grid-column: 1 / -1; margin-top: 10px; }
}

/* =========================================================
   Split feature (photo + copy)
   ========================================================= */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--mist); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy { display: grid; gap: 20px; align-content: start; }
.split__float { position: absolute; left: 20px; bottom: 20px; right: auto; max-width: 300px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.ticks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--deco-soft) var(--ico-tick) center / 16px no-repeat; margin-top: 1px; }
.on-dark .ticks li::before, .sec--dark .ticks li::before { background-color: rgba(var(--deco-d-rgb), .14); background-image: var(--ico-tick-d); }
.ticks--x li::before { background: var(--mist) var(--ico-x) center / 16px no-repeat; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 40px; } .split--rev .split__media { order: 0; } }
@media (max-width: 720px) { .split__media { aspect-ratio: 4 / 3.3; border-radius: 18px; } .split__float { left: 12px; bottom: 12px; right: 12px; max-width: none; } }

/* =========================================================
   Manual photo cards
   ========================================================= */
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mcard { border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.mcard__media { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--mist); }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 88%; }
.mcard__body { padding: 20px 20px 22px; display: grid; gap: 6px; }
.mcard__body h3 { font-size: 19px; }
.mcard__body p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .mgrid { grid-template-columns: 1fr; gap: 12px; } .mcard { display: grid; grid-template-columns: 120px 1fr; } .mcard__media { aspect-ratio: auto; height: 100%; min-height: 120px; } .mcard__body { padding: 16px; align-content: center; } .mcard__body h3 { font-size: 17px; } .mcard__body p { font-size: 15px; } }

/* =========================================================
   Steps
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.step__num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--deco); background: var(--deco-soft); border-radius: 999px; padding: 3px 10px; }
.step__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--ink); }
.step h3 { font-size: 19px; }
.step p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.step__bar { position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--line); overflow: hidden; }
.step__bar::after { content: ""; position: absolute; inset: 0; width: var(--w, 25%); background: var(--grad); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { border-radius: 0; border: 0; background: none; padding: 0 0 26px 58px; gap: 4px; align-items: start; }
  .step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step__top { position: absolute; left: 0; top: 0; margin: 0; }
  .step__ico { width: 40px; height: 40px; background: var(--white); border: 1px solid var(--line); }
  .step__num { display: none; }
  .step__bar { display: none; }
  .step h3 { font-size: 18px; padding-top: 8px; }
  .step h3 .mono { color: var(--deco); font-size: 14px; margin-right: 6px; }
}
.step h3 .mono { display: none; }
@media (max-width: 720px) { .step h3 .mono { display: inline; } }

/* =========================================================
   Builder teaser + builder mock
   ========================================================= */
.bteaser { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 56px; border-radius: 28px; background: var(--slate); color: var(--on-d); overflow: hidden; }
.bteaser__copy { position: relative; display: grid; gap: 20px; }
.bteaser__screen { position: relative; }
@media (max-width: 1024px) { .bteaser { grid-template-columns: 1fr; padding: 40px; gap: 40px; } }
@media (max-width: 720px) { .bteaser { padding: 28px 20px 20px; border-radius: 20px; margin: 0 calc(var(--gut) * -1 + 8px); } }

.appwin { border-radius: 18px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(var(--deep-rgb), calc(.9 * var(--deep-k))), 0 0 0 1px rgba(var(--d-rgb), .1); }
.appwin__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--appbar); border-bottom: 1px solid var(--line); }
.appwin__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--appdot); }
.appwin__bar span { margin-left: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.appwin__body { padding: 22px; }
.mini-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 20px; }
.mini-steps span { height: 4px; border-radius: 4px; background: var(--line); }
.mini-steps span.on { background: var(--grad); }
.mini-q { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mini-q small { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; white-space: nowrap; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.mini-opt .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); color: var(--ink-2); flex: none; }
.mini-opt.on { border-color: var(--iris); box-shadow: 0 0 0 3px rgba(var(--iris-rgb), .14); }
.mini-opt.on .ico { background: var(--iris-soft); color: var(--iris); }
.mini-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-foot .fake-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--iris); color: var(--on-accent); font-size: 14px; font-weight: 600; }
.mini-foot .fake-back { font-size: 14px; color: var(--ink-3); font-weight: 500; }
@media (max-width: 560px) { .mini-grid { grid-template-columns: 1fr; } .appwin__body { padding: 16px; } .mini-q { font-size: 17px; } }

/* =========================================================
   Reviews (placeholders)
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { min-height: 180px; padding: 24px; border-radius: var(--r); border: 1.5px dashed var(--review-line); background: repeating-linear-gradient(135deg, rgba(var(--line-rgb), .35) 0 12px, transparent 12px 24px); display: grid; gap: 12px; align-content: start; }
.review__stars { display: flex; gap: 4px; color: var(--review-line); }
.review__stars .i { width: 18px; height: 18px; }
.review strong { font-size: 16px; color: var(--ink-2); }
.review p { font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; gap: 12px; } .review { min-height: 0; } }

/* =========================================================
   Regions
   ========================================================= */
.areas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.areas__copy { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.region { display: grid; grid-template-columns: 12px 1fr; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.region:first-child { grid-column: 1 / -1; }
.region strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.region p { font-size: 15px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.sec--dark .region { background: var(--panel); border-color: var(--line-d); }
.sec--dark .region p { color: var(--on-d-2); }
.sec--dark .region__dot { background: var(--deco-d); }
@media (max-width: 1024px) { .areas { grid-template-columns: 1fr; gap: 36px; } .areas__copy { position: static; } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; gap: 10px; } .region { padding: 16px; } }

/* =========================================================
   CTA band
   ========================================================= */
.cta { position: relative; overflow: hidden; background: var(--night); color: var(--on-d); padding: 104px 0; }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: end; }
.cta__copy { display: grid; gap: 18px; max-width: 640px; }
.cta__side { display: grid; gap: 14px; justify-items: start; }
.cta__meta { font-size: 14.5px; color: var(--on-d-3); }
@media (max-width: 900px) { .cta { padding: 72px 0; } .cta__inner { grid-template-columns: 1fr; } .cta__side { width: 100%; } .cta__side .actions { width: 100%; } .cta__side .btn { flex: 1 1 100%; } }

/* =========================================================
   Footer + mobile bar
   ========================================================= */
.footer { background: var(--night); color: var(--on-d-2); padding: 80px 0 32px; border-top: 1px solid rgba(var(--d-rgb), .06); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.6fr; gap: 48px; }
.footer__brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer__brand p { max-width: 30em; line-height: 1.6; }
.brand--footer img { height: 40px; }
.footer__h { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-d-3); margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { color: var(--on-d); text-decoration: none; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.footer__phone .i { color: var(--deco-d); }
.footer__muted { color: var(--on-d-3); font-size: 14px; }
.footer__regions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.footer__regions li:first-child { grid-column: 1 / -1; }
.footer__regions strong { display: block; color: var(--on-d); font-weight: 600; font-size: 15px; }
.footer__regions span { display: block; font-size: 13.5px; color: var(--on-d-3); line-height: 1.5; margin-top: 2px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-d-3); }
.footer__bottom ul { display: flex; gap: 20px; }
.footer__bottom a { color: var(--on-d-2); text-decoration: none; }
.footer__bottom a:hover { color: var(--on-d); text-decoration: underline; }
@media (max-width: 1024px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__col--area { grid-column: 1 / -1; } }
@media (max-width: 720px) {
  .footer { padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand .btn { width: 100%; }
  .footer__regions { grid-template-columns: 1fr; }
  .footer__bottom { margin-top: 40px; flex-direction: column; }
}

.mbar { display: none; }
@media (max-width: 720px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(var(--night-rgb), .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(var(--d-rgb), .08);
    transition: transform .25s var(--ease);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; }
  .mbar .i { width: 18px; height: 18px; }
  .mbar__call { background: rgba(var(--d-rgb), .06); border: 1px solid var(--line-d2); color: var(--on-d); }
  .mbar__book { background: var(--iris); color: var(--on-accent); }
  .mbar.is-hidden { transform: translateY(110%); }
}

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.phero { position: relative; background: var(--slate); color: var(--on-d); overflow: hidden; }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0 72px; }
.phero__copy { display: grid; gap: 22px; justify-items: start; }
.phero__copy .h1 { font-size: clamp(38px, 4.4vw, 58px); max-width: 15ch; }
.phero__media { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(var(--deep-rgb), calc(.9 * var(--deep-k))), 0 0 0 1px rgba(var(--d-rgb), .08); background: var(--panel); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__float { position: absolute; left: 18px; bottom: 18px; width: 280px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-d-3); }
.crumbs a { color: var(--on-d-2); text-decoration: none; }
.crumbs a:hover { color: var(--on-d); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line-d2); }
.keyfacts { display: flex; flex-wrap: wrap; gap: 8px; }
.keyfacts li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(var(--d-rgb), .05); border: 1px solid var(--line-d); font-size: 14.5px; color: var(--on-d); }
.keyfacts .i { width: 16px; height: 16px; color: var(--deco-d); }
@media (max-width: 1024px) { .phero__grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; } .phero__media { max-width: 760px; } }
@media (max-width: 720px) {
  .phero__grid { padding: 28px 0 40px; gap: 28px; }
  .phero__copy { gap: 16px; }
  .phero__copy .actions { width: 100%; }
  .phero__copy .actions .btn { flex: 1 1 100%; }
  .phero__media { border-radius: 18px; aspect-ratio: 4 / 3.2; }
  .phero__float { display: none; }
  .keyfacts li { font-size: 14px; }
}

/* =========================================================
   Products page
   ========================================================= */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.route:hover { border-color: var(--line-h2); box-shadow: var(--shadow-2); }
.route__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--deco-soft); color: var(--deco); }
.route h3 { font-size: 18px; display: flex; gap: 6px; align-items: center; }
.route h3 .i { width: 16px; height: 16px; color: var(--ink-3); transition: transform .2s var(--ease); }
.route:hover h3 .i { transform: translateX(3px); }
.route p { font-size: 15px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; gap: 10px; } .route { padding: 18px; } }

.jump { position: sticky; top: var(--header-h); z-index: 50; background: rgba(var(--paper-rgb), .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jump__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.jump__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.jump__chips::-webkit-scrollbar { display: none; }
.jump__chips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.jump__chips a:hover, .jump__chips a.is-active { border-color: var(--ink); }
.jump__chips a.is-active { background: var(--ink); color: var(--on-accent); }
.jump__toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; flex: none; cursor: pointer; }
.jump__toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jump__toggle .sw { width: 40px; height: 24px; border-radius: 99px; background: var(--switch-off); position: relative; transition: background-color .2s; flex: none; }
.jump__toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--knob); box-shadow: 0 1px 3px rgba(var(--deep-rgb), calc(.25 * var(--deep-k))); transition: transform .2s var(--ease); }
.jump__toggle input:checked + .sw { background: var(--iris); }
.jump__toggle input:checked + .sw::after { transform: translateX(16px); }
.jump__toggle input:focus-visible + .sw { outline: 2px solid var(--iris); outline-offset: 3px; }
@media (max-width: 720px) { .jump__row { flex-wrap: wrap; gap: 0; min-height: 0; } .jump__chips { order: 2; flex-basis: 100%; padding: 0 0 10px; } .jump__toggle { padding: 10px 0 8px; } }

.family { scroll-margin-top: calc(var(--header-h) + 80px); }
.family + .family { margin-top: 88px; }
.family__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 32px; }
.family__head > div { display: grid; gap: 12px; }
.family__head p { color: var(--ink-2); max-width: 34em; }
@media (max-width: 900px) { .family__head { grid-template-columns: 1fr; } .family + .family { margin-top: 64px; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.feature__media { min-height: 420px; background: var(--mist); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__copy { padding: 48px; display: grid; gap: 18px; align-content: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature__media { min-height: 0; aspect-ratio: 4 / 3; } .feature__copy { padding: 28px 22px; } }

.mini-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-item { padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.mini-item strong { display: block; font-size: 16px; }
.mini-item span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
@media (max-width: 900px) { .mini-list, .mini-list--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mini-list, .mini-list--2, .mini-list--4 { grid-template-columns: 1fr; gap: 8px; } .mini-item { padding: 14px 16px; } }

/* compare table */
.table-wrap { border-radius: var(--r); border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--tint-1); }
.cmp tbody th { font-weight: 600; white-space: nowrap; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody tr:hover { background: var(--tint-2); }
.lvl { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lvl i { display: inline-flex; gap: 3px; }
.lvl i b { width: 16px; height: 6px; border-radius: 3px; background: var(--line); }
.lvl--3 i b { background: var(--ink); }
.lvl--2 i b:nth-child(-n+2) { background: var(--ink); }
.lvl--1 i b:first-child { background: var(--ink); }
.yes { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--iris-text); white-space: nowrap; }
.no { color: var(--ink-3); white-space: nowrap; }
@media (max-width: 900px) {
  .table-wrap { border: 0; background: none; border-radius: 0; }
  .cmp, .cmp tbody, .cmp tr, .cmp td, .cmp th { display: block; }
  .cmp thead { display: none; }
  .cmp tbody { display: grid; gap: 10px; }
  .cmp tr { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .cmp tbody tr:hover { background: var(--white); }
  .cmp tbody th { grid-column: 1 / -1; padding: 0 0 6px; border-bottom: 1px solid var(--line); font-size: 16.5px; white-space: normal; }
  .cmp td { padding: 0; border: 0; font-size: 14.5px; }
  .cmp td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
  .cmp td.full { grid-column: 1 / -1; }
}

/* two things / callouts */
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.callout { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.callout__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sun-soft); color: var(--sun-ink); }
.callout p { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.callout p strong { color: var(--ink); }
@media (max-width: 900px) { .callouts { grid-template-columns: 1fr; gap: 10px; } .callout { padding: 18px; gap: 14px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__head { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 32px); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 68px; padding: 16px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist) var(--ico-plus) center / 16px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.acc details[open] summary::after { transform: rotate(45deg); background-color: var(--iris-soft); }
.acc summary:hover::after { background-color: var(--line); }
.acc__a { padding: 0 52px 22px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
@media (max-width: 1024px) { .faq { grid-template-columns: 1fr; gap: 28px; } .faq__head { position: static; } }
@media (max-width: 720px) { .acc summary { font-size: 16.5px; min-height: 60px; } .acc__a { padding-right: 0; font-size: 16px; } }

/* =========================================================
   Roller page
   ========================================================= */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trio__item { align-items: start; padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.trio__item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--deco-soft); color: var(--deco); margin-bottom: 6px; }
.trio__item h3 { font-size: 19px; }
.trio__item p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; gap: 10px; } .trio__item { grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px; } .trio__item .ico { grid-row: span 2; margin: 0; } }

.lightlab { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: stretch; }
.lightlab__view { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; background: var(--panel); }
.lightlab__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.lightlab__view img.is-on { opacity: 1; }
.lightlab__panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.lightlab__opts { display: grid; gap: 8px; }
.lopt { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 12px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(var(--d-rgb), .02); text-align: left; color: var(--on-d); transition: border-color .2s, background-color .2s; }
.lopt:hover { border-color: var(--line-d2); }
.lopt[aria-pressed="true"] { border-color: var(--iris-d); background: rgba(var(--iris-d-rgb), .08); box-shadow: 0 0 0 3px rgba(var(--iris-d-rgb), .12); }
.lopt__sw { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(var(--d-rgb), .12) inset; }
.lopt div > strong { display: block; font-size: 15.5px; font-weight: 600; }
.lopt div > span { display: block; font-size: 13.5px; color: var(--on-d-3); margin-top: 1px; }
.lopt__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-d2); position: relative; }
.lopt[aria-pressed="true"] .lopt__radio { border-color: var(--iris-d); }
.lopt[aria-pressed="true"] .lopt__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--iris-d); }
.lightlab__desc { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 15.5px; color: var(--on-d-2); line-height: 1.55; min-height: 7.2em; }
.lightlab__desc strong { color: var(--on-d); display: block; margin-bottom: 4px; }
.scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-d-3); }
@media (max-width: 1024px) { .lightlab { grid-template-columns: 1fr; } .lightlab__desc { min-height: 0; } }
@media (max-width: 720px) { .lightlab__view { aspect-ratio: 4 / 3.2; border-radius: 18px; } .lightlab__panel { padding: 16px; } .lopt { padding: 10px; gap: 12px; grid-template-columns: 40px 1fr auto; } .lopt__sw { width: 40px; height: 40px; } }

.parts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.parts__img { position: relative; border-radius: var(--r-l); background: radial-gradient(80% 70% at 50% 40%, var(--white), var(--media-l4)); aspect-ratio: 4 / 3; display: grid; place-items: center; border: 1px solid var(--line); }
.parts__img img { width: 82%; filter: drop-shadow(0 30px 30px rgba(var(--shadow-rgb), .18)); }
.parts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; counter-reset: part; }
.parts__list li { padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: part; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.parts__list li::before { content: counter(part, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--deco); padding-top: 3px; }
.parts__list strong { display: block; font-size: 16px; }
.parts__list span { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
@media (max-width: 1024px) { .parts { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .parts__list { grid-template-columns: 1fr; } }

.ctrl6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.c6 { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); align-content: start; }
.c6 .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--ink); grid-row: span 2; }
.c6 strong { font-size: 16.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.c6 p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.c6--motor { background: var(--slate); border-color: var(--slate); color: var(--on-d); position: relative; overflow: hidden; }
.c6--motor .ico { background: rgba(var(--deco-d-rgb), .14); color: var(--deco-d); }
.c6--motor p { color: var(--on-d-2); }
@media (max-width: 1024px) { .ctrl6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ctrl6 { grid-template-columns: 1fr; gap: 8px; } .c6 { padding: 16px; } }

.goodfor { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.goodfor__col { padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.goodfor__col h3 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.goodfor__col--x { background: var(--tint-3); }
@media (max-width: 900px) { .goodfor { grid-template-columns: 1fr; gap: 12px; } .goodfor__col { padding: 20px; } }

/* =========================================================
   Product detail page
   ========================================================= */
.gallery { display: grid; gap: 12px; }
.gallery__main { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--panel); box-shadow: 0 40px 80px -40px rgba(var(--deep-rgb), calc(.9 * var(--deep-k))), 0 0 0 1px rgba(var(--d-rgb), .08); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.gallery__main img.is-on { opacity: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); box-shadow: 0 0 0 1px rgba(var(--d-rgb), .1); opacity: .6; transition: opacity .2s, box-shadow .2s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button:hover { opacity: .9; }
.gallery__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--iris-d); }
.gallery__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; font-family: var(--mono); font-size: 13px; color: var(--on-d); background: rgba(var(--night-rgb), .7); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 720px) { .gallery__main { border-radius: 18px; } .gallery__thumbs { gap: 8px; } .gallery__thumbs button { border-radius: 10px; } }

.minibar { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 80; background: rgba(var(--white-rgb), .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .3s var(--ease); visibility: hidden; }
.minibar.is-on { transform: none; visibility: visible; }
.minibar__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.minibar__name { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.minibar .actions { margin-left: auto; gap: 8px; }
@media (max-width: 720px) { .minibar { display: none; } }

.frame-sys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.frame-sys__img { position: relative; aspect-ratio: 1 / .9; border-radius: var(--r-l); background: radial-gradient(80% 70% at 50% 40%, var(--white), var(--media-l4)); border: 1px solid var(--line); display: grid; place-items: center; }
.frame-sys__img img { width: 74%; filter: drop-shadow(0 30px 30px rgba(var(--shadow-rgb), .2)); }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-2); font-size: 13.5px; font-weight: 600; }
.pin b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--deco); color: var(--on-accent); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.frame-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.frame-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.frame-list li > b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--deco-soft); color: var(--deco); font-family: var(--mono); font-size: 13px; font-weight: 500; margin-top: 1px; }
.frame-list strong { display: block; font-size: 16.5px; }
.frame-list span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }
@media (max-width: 1024px) { .frame-sys { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .pin { font-size: 13px; padding: 4px 10px 4px 4px; } .pin b { width: 20px; height: 20px; font-size: 13px; } }

.tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(var(--d-rgb), .06); border: 1px solid var(--line-d); }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: transparent; color: var(--on-d-2); font-size: 15.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tabs button:hover { color: var(--on-d); }
.tabs button[aria-selected="true"] { background: var(--on-d); color: var(--on-d-ink); }
.tabpanel[hidden] { display: none; }
.opt-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.opt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-d); overflow: hidden; }
.opt__media { position: relative; aspect-ratio: 1 / .8; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 25%, var(--media-d1), var(--media-d3)); overflow: hidden; }
.opt__media img { position: absolute; inset: 0; margin: auto; max-height: 70%; max-width: 70%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(var(--deep-rgb), calc(.5 * var(--deep-k)))); }
.opt__media--photo img { max-height: none; max-width: none; width: 100%; height: 100%; object-fit: cover; filter: none; }
.opt__media .i { width: 44px; height: 44px; color: var(--deco-d); stroke-width: 1.4; }
.opt__body { padding: 16px; display: grid; gap: 4px; }
.opt__body strong { font-size: 16px; }
.opt__body p { font-size: 14.5px; color: var(--on-d-2); line-height: 1.5; }
@media (max-width: 1140px) { .opt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .opt-grid, .opt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .tabs { display: grid; grid-auto-columns: 1fr; width: 100%; }
  .opt-grid, .opt-grid--4 { grid-template-columns: 1fr; gap: 8px; }
  .opt { display: grid; grid-template-columns: 92px 1fr; }
  .opt__media { aspect-ratio: auto; height: 100%; min-height: 92px; }
  .opt__media .i { width: 32px; height: 32px; }
  .opt__body { padding: 12px 14px; align-content: center; }
}

.normal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.normal li { padding: 20px; align-items: start; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); display: grid; grid-template-columns: 24px 1fr; gap: 12px; line-height: 1.5; }
.normal li .i { color: var(--sun-ink); margin-top: 1px; }
@media (max-width: 900px) { .normal { grid-template-columns: 1fr; gap: 8px; } .normal li { padding: 16px; } }

.local { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 32px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); }
.local h2 { font-size: 24px; letter-spacing: -0.02em; }
.local p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 900px) { .local { grid-template-columns: 1fr; padding: 22px; } }

/* =========================================================
   Builder page
   ========================================================= */
.bhero { position: relative; background: var(--slate); color: var(--on-d); overflow: hidden; padding: 56px 0 140px; }
.bhero__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.bhero__copy { display: grid; gap: 18px; max-width: 700px; }
.bhero__copy .h1 { font-size: clamp(38px, 4.4vw, 58px); }
.bhero__how { justify-self: end; }
@media (max-width: 900px) { .bhero { padding: 36px 0 110px; } .bhero__row { grid-template-columns: 1fr; } .bhero__how { justify-self: start; } }

.builder { position: relative; z-index: 2; margin-top: -96px; }
.bshell { border-radius: 24px; background: var(--white); box-shadow: 0 40px 80px -48px rgba(var(--shadow-rgb), .5), 0 0 0 1px var(--line); overflow: hidden; }
.bshell__top { display: flex; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.bshell__title { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.bshell__title .i { color: var(--deco); }
.bshell__save { margin-left: auto; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.bshell__save .i { width: 16px; height: 16px; }
.bsteps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0 28px; border-bottom: 1px solid var(--line); }
.bstep { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 0 18px; font-size: 14px; font-weight: 500; color: var(--ink-3); background: none; border: 0; text-align: left; }
.bstep::after { content: ""; position: absolute; left: 0; right: 8px; bottom: -1px; height: 3px; border-radius: 3px; background: transparent; }
.bstep__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; background: var(--mist); color: var(--ink-2); flex: none; }
.bstep.is-done .bstep__n { background: var(--iris-soft); color: var(--iris); }
.bstep.is-done { color: var(--ink-2); }
.bstep.is-current { color: var(--ink); font-weight: 600; }
.bstep.is-current .bstep__n { background: var(--iris); color: var(--on-accent); }
.bstep.is-current::after { background: var(--grad); }
.bstep.is-done::after { background: var(--iris-line); }
.bstep__opt { font-family: var(--mono); font-size: 13px; color: var(--ink-3); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; display: block; }

.bbody { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 560px; }
.bmain { padding: 32px 28px 28px; display: flex; flex-direction: column; }
.bq { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.bq h2 { font-size: 26px; letter-spacing: -0.025em; }
.bq__meta { font-family: var(--mono); font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.bhelp { color: var(--ink-2); font-size: 16px; margin-bottom: 24px; max-width: 40em; }
.bpanel[hidden] { display: none; }

.bopts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bopt { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); overflow: hidden; text-align: left; padding: 0; transition: border-color .15s, box-shadow .15s; }
.bopt:hover { border-color: var(--line-h3); }
.bopt[aria-checked="true"] { border-color: var(--iris); box-shadow: 0 0 0 4px rgba(var(--iris-rgb), .14); }
.bopt__media { position: relative; aspect-ratio: 16 / 8.5; background: var(--mist); overflow: hidden; }
.bopt__media img { width: 100%; height: 100%; object-fit: cover; }
.bopt__media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--white); }
.bopt__body { display: grid; grid-template-columns: 1fr 22px; gap: 4px 12px; padding: 14px 16px 16px; align-items: start; }
.bopt__body strong { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.bopt__body > span:not(.radio) { grid-column: 1; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.radio { grid-column: 2; grid-row: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--control-line); position: relative; margin-top: 1px; transition: border-color .15s; }
[aria-checked="true"] > .bopt__body .radio, [aria-checked="true"] .radio { border-color: var(--iris); }
[aria-checked="true"] > .bopt__body .radio::after, [aria-checked="true"] .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--iris); }
.bopt__ph-img { display: none; }

.bprio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bchk { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); text-align: left; transition: border-color .15s, box-shadow .15s; }
.bchk:hover { border-color: var(--line-h3); }
.bchk strong { font-size: 15.5px; font-weight: 600; }
.bchk > span:not(.box) { grid-column: 2; font-size: 14px; color: var(--ink-2); }
.box { grid-row: span 2; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--control-line); margin-top: 1px; position: relative; }
.bchk[aria-checked="true"] { border-color: var(--iris); box-shadow: 0 0 0 4px rgba(var(--iris-rgb), .12); }
.bchk[aria-checked="true"] .box { background: var(--iris) var(--ico-check) center / 14px no-repeat; border-color: var(--iris); }
.bchk--motor { background: linear-gradient(135deg, var(--motor-wash), var(--white)); }

.bsize { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.field label small, .field .label small { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.field__help { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--field-line); background: var(--white);
  font-size: 16.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; background: var(--white) var(--ico-chev) right 14px center / 18px no-repeat; padding-right: 44px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--field-line-hover); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--iris); box-shadow: 0 0 0 4px rgba(var(--iris-rgb), .16); }
.input-unit { position: relative; }
.input-unit .input { padding-right: 64px; }
.input-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; color: var(--ink-3); pointer-events: none; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--err); }
.field__error { display: none; font-size: 14px; color: var(--err); font-weight: 500; }
.field.has-error .field__error { display: flex; gap: 6px; align-items: center; }

.btypes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.btype { display: grid; grid-template-rows: auto 1fr; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); overflow: hidden; text-align: left; padding: 0; transition: border-color .15s, box-shadow .15s; }
.btype:hover { border-color: var(--line-h3); }
.btype[aria-checked="true"] { border-color: var(--iris); box-shadow: 0 0 0 4px rgba(var(--iris-rgb), .14); }
.btype__media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(170deg, var(--tint-1), var(--mist)); position: relative; }
.btype__media img { position: absolute; inset: 0; margin: auto; width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(var(--shadow-rgb), .16)); }
.btype__media .badge { position: absolute; left: 10px; top: 10px; background: rgba(var(--white-rgb), .95); }
.btype .bopt__body { padding: 12px 14px 14px; }
.btype .bopt__body strong { font-size: 15.5px; }
.btype .bopt__body > span:not(.radio) { font-size: 13.5px; }

.bnav { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.bnav .btn--ghost[disabled] { opacity: .45; cursor: not-allowed; }
.bnav__msg { flex: 1; font-size: 14.5px; color: var(--err); font-weight: 500; display: flex; align-items: center; gap: 8px; min-height: 22px; }
.bnav__msg .i { width: 18px; height: 18px; }
.bnav__msg[hidden] { display: flex; visibility: hidden; }
.bnav__next { margin-left: auto; }
.bdone { display: grid; gap: 16px; padding: 28px; border-radius: 18px; background: var(--paper); border: 1px dashed var(--line-h3); }
.bdone__sum { display: grid; gap: 8px; }
.bdone__sum li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bdone__sum li b { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }

.bside { border-left: 1px solid var(--line); background: var(--tint-3); padding: 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.preview { border-radius: 16px; background: var(--slate); color: var(--on-d); padding: 18px; }
.preview__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.preview__head span { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-d-3); }
.preview__stage { position: relative; border-radius: 12px; aspect-ratio: 4 / 3; background: radial-gradient(90% 80% at 50% 25%, var(--media-d1), var(--media-d3)); display: grid; place-items: center; overflow: hidden; }
.preview__stage img { position: absolute; inset: 0; margin: auto; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(var(--deep-rgb), calc(.5 * var(--deep-k)))); transition: opacity .3s; }
.preview__stage .ph { font-size: 14px; color: var(--on-d-3); text-align: center; padding: 20px; display: grid; gap: 10px; justify-items: center; }
.preview__stage .ph .i { width: 36px; height: 36px; color: var(--deco-d); stroke-width: 1.3; }
.picks { display: grid; gap: 0; margin-top: 14px; }
.picks li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(var(--d-rgb), .08); font-size: 14px; }
.picks li span { color: var(--on-d-3); }
.picks li b { font-weight: 500; text-align: right; }
.signin { border-radius: 16px; background: var(--white); border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.signin h3 { font-size: 16.5px; display: flex; gap: 8px; align-items: center; }
.signin h3 .i { width: 18px; height: 18px; color: var(--ink-2); }
.signin .input { min-height: 46px; font-size: 16px; }
.signin .field label { font-size: 14px; }
.signin__links { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.signin__links a { color: var(--iris); font-weight: 500; }
.bmobar { display: none; }
.bsheet { display: none; }

@media (max-width: 1140px) {
  .bbody { grid-template-columns: 1fr; }
  .bside { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .bstep__label { font-size: 13px; }
}
@media (max-width: 900px) {
  .bsteps { grid-template-columns: repeat(6, auto); gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .bsteps::-webkit-scrollbar { display: none; }
  .bstep { white-space: nowrap; }
  .btypes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .builder { margin-top: -84px; }
  .bshell { border-radius: 18px; margin: 0 -8px; }
  .bshell__top { padding: 14px 16px; }
  .bshell__save { display: none; }
  .bsteps { display: none; }
  .bmain { padding: 20px 16px 16px; }
  .bq h2 { font-size: 21px; }
  .bq__meta { display: none; }
  .bhelp { font-size: 15.5px; margin-bottom: 16px; }
  /* phone: cards become list rows (76px photo left, text, radio right) */
  .bopts, .btypes { grid-template-columns: 1fr; gap: 8px; }
  .bopt, .btype { grid-template-rows: none; grid-template-columns: 76px 1fr; align-items: center; min-height: 84px; }
  .bopt__media, .btype__media { aspect-ratio: auto; width: 76px; height: 100%; min-height: 84px; }
  .bopt__media--split { display: block; }
  .bopt__media--split img + img { display: none; }
  .btype__media img { width: 86%; height: 86%; }
  .btype__media .badge { display: none; }
  .bopt__body, .btype .bopt__body { padding: 12px 14px; }
  .bopt__body strong, .btype .bopt__body strong { font-size: 15.5px; }
  .bopt__body > span:not(.radio) { font-size: 14px; }
  .bprio { grid-template-columns: 1fr; gap: 8px; }
  .bsize { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bnav { position: static; padding-top: 16px; flex-wrap: wrap; }
  .bnav__msg { order: -1; flex-basis: 100%; }
  .bnav .btn { flex: 1; }
  .bnav__next { margin-left: 0; }
  .bside { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .preview__stage { aspect-ratio: 16 / 8; }
  .bmain { min-height: 0; }
  .bmobar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 16px; border-bottom: 1px solid var(--line); background: var(--tint-3); font-size: 14.5px; }
  .bmobar b { font-weight: 600; }
  .bmobar button { border: 0; background: none; color: var(--iris); font-weight: 600; font-size: 14.5px; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
  .bmobar button .i { width: 16px; height: 16px; }
  .bsheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 150; }
  .bsheet__scrim { position: absolute; inset: 0; background: rgba(var(--scrim-rgb), .5); }
  .bsheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--white); border-radius: 20px 20px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); }
  .bsheet__grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
  .bsheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .bsheet__head strong { font-size: 17px; }
  .bsheet__head button { width: 44px; height: 44px; border: 0; background: var(--mist); border-radius: 50%; display: grid; place-items: center; }
  .bsheet__list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; border: 0; background: none; border-bottom: 1px solid var(--line); font-size: 16px; text-align: left; padding: 0; }
  .bsheet__list button .bstep__n { width: 28px; height: 28px; }
  .bsheet__list button.is-current { font-weight: 600; }
  .bsheet__list button.is-current .bstep__n { background: var(--iris); color: var(--on-accent); }
  .bsheet__list button.is-done .bstep__n { background: var(--iris-soft); color: var(--iris); }
  .bsheet__list button:disabled { color: var(--ink-3); }
}

.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: how; }
.howto li { counter-increment: how; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.howto li::before { content: counter(how, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--deco); }
.howto strong { font-size: 16.5px; }
.howto span { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .howto { grid-template-columns: 1fr; gap: 8px; } .howto li { padding: 16px; } }

.nojs { padding: 20px; border-radius: 14px; background: var(--sun-soft); color: var(--sun-deep); font-weight: 500; }

/* =========================================================
   Contact page
   ========================================================= */
.book { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.form-card { border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.form-card__head { display: grid; gap: 10px; margin-bottom: 28px; }
.form-card__head h2 { font-size: 28px; letter-spacing: -0.025em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.either { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); margin: -8px 0 -4px; display: flex; gap: 8px; align-items: center; }
.either .i { width: 16px; height: 16px; }
.field .drop-zone { display: grid; justify-content: stretch; font-weight: 400; font-size: 15px; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: center; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--field-line); background: var(--tint-2); cursor: pointer; }
.field .drop-zone:hover { border-color: var(--iris); }
.drop-zone:focus-within { border-color: var(--iris); box-shadow: 0 0 0 4px rgba(var(--iris-rgb), .16); }
.drop-zone .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--deco-soft); color: var(--deco); grid-row: span 2; }
.drop-zone strong { font-size: 15.5px; }
.drop-zone > span:not(.ico) { font-size: 14px; color: var(--ink-3); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot p { font-size: 14.5px; color: var(--ink-3); flex: 1; min-width: 220px; }
.form-alert { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--err-soft); color: var(--err-deep); font-size: 15px; font-weight: 500; gap: 10px; align-items: flex-start; }
.form-alert.is-on { display: flex; }
.form-alert .i { margin-top: 2px; }
.success { display: none; text-align: left; gap: 16px; }
.success.is-on { display: grid; }
.success__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.success__ico .i { width: 28px; height: 28px; stroke-width: 2.2; }
.success h2 { font-size: 26px; }
.aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside__card { border-radius: 20px; padding: 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; }
.aside__card--dark { background: var(--slate); border-color: var(--slate); color: var(--on-d); position: relative; overflow: hidden; }
.aside__card h3 { font-size: 18px; }
.aside__card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.aside__card--dark p { color: var(--on-d-2); }
.aside__phone { min-height: 44px; font-family: var(--mono); font-size: 26px; letter-spacing: -0.02em; font-weight: 500; color: var(--on-d); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.aside__phone .i { width: 22px; height: 22px; color: var(--deco-d); }
.hours { display: grid; gap: 6px; font-size: 14.5px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line-d); color: var(--on-d-2); }
.hours li b { color: var(--on-d); font-weight: 500; font-family: var(--mono); font-size: 13.5px; }
.aside__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.aside__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
@media (max-width: 1024px) { .book { grid-template-columns: 1fr; } .aside { position: static; grid-template-columns: 1fr 1fr; } .aside__photo { display: none; } }
@media (max-width: 720px) {
  .form-card { padding: 22px 18px; border-radius: 18px; }
  .form-card__head h2 { font-size: 23px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .aside { grid-template-columns: 1fr; }
}

.promise3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); margin-top: 8px; }
.promise3 li { padding: 22px 24px 0 0; display: grid; gap: 6px; align-content: start; }
.promise3 li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }
.promise3 b { font-family: var(--mono); font-size: 13px; color: var(--deco-d); font-weight: 500; }
.promise3 strong { font-size: 16.5px; color: var(--on-d); }
.promise3 span { font-size: 15px; color: var(--on-d-2); line-height: 1.5; }
@media (max-width: 900px) { .promise3 { grid-template-columns: 1fr; } .promise3 li, .promise3 li + li { padding: 16px 0; border-left: 0; } .promise3 li + li { border-top: 1px solid var(--line-d); } }

/* ---------- phone tap targets ---------- */
@media (max-width: 720px) {
  .brand { min-height: 44px; align-items: center; }
  .btn--sm { --h: 44px; }
  .menu-btn { width: 44px; height: 44px; }
  .crumbs a, .crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { gap: 0 8px; }
  .link { min-height: 44px; }
  .footer__list { gap: 0; }
  .footer__list a, .footer__phone { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__list li:not(:has(a)) { padding: 4px 0; }
  .footer__bottom ul { gap: 0 20px; }
  .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .range { height: 44px; }
  .seg button { min-height: 44px; }
  .signin__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs a, .footer__bottom a { min-width: 44px; justify-content: center; }
  .jump__chips a, .chip { min-height: 44px; }
  .filter button { min-height: 44px; }
  .hero__meta a { min-height: 44px; }
  .jump__toggle { min-height: 44px; }
}

/* ---------- reveal (subtle, optional) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rv.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Polish pass (26 Sep)
   ========================================================= */
.dots { display: none; }
/* Smart-home band: light, so dark is kept for the hero, the Builder teaser and the footer */
.sec--smart { background: var(--white); border-top: 1px solid var(--line); }
.sec--smart .smart__chips li { border-color: var(--line); background: var(--paper); color: var(--ink); }
.sec--smart .facts-d { border-top-color: var(--line); }
.sec--smart .facts-d li { border-bottom-color: var(--line); }
.sec--smart .facts-d .ico { background: var(--deco-soft); color: var(--deco); }
.sec--smart .facts-d div > span { color: var(--ink-2); }
.sec--smart .voice { background: var(--paper); border-color: var(--line); color: var(--ink); }
/* Closing call-to-action: light */
.cta { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.cta .lede { color: var(--ink-2); }
.cta__meta { color: var(--ink-2); }
.cta .btn--ghost-d { background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.cta .btn--ghost-d:hover { border-color: var(--ink); }
/* Rooms row */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.room { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); text-decoration: none; color: var(--ink); transition: box-shadow .2s var(--ease), border-color .2s; }
.room:hover { border-color: var(--iris-line); box-shadow: var(--shadow-2); }
.room__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.room__media img { width: 100%; height: 100%; object-fit: cover; }
.room__body { display: grid; gap: 6px; align-content: start; padding: 18px 20px 20px; }
.room__body strong { font-size: 18px; letter-spacing: -.01em; }
.room__body > span:not(.room__more) { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.room__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--iris); }
.room__more .i { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .rooms { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); }
  .room { scroll-snap-align: start; }
}
/* Phone hero: the photo right under the headline; the "Try it" card after the buttons */
@media (max-width: 720px) {
  .hero__grid { display: flex; flex-direction: column; gap: 0; padding: 24px 0 40px; }
  .hero__copy, .stage { display: contents; }
  .hero__copy .eyebrow { order: 1; margin-bottom: 12px; }
  .hero__copy .h1 { order: 2; }
  .stage__photo { order: 3; margin-top: 20px; aspect-ratio: 16 / 10; }
  .hero__copy .lede { order: 4; margin-top: 18px; }
  .hero__copy .actions { order: 5; margin-top: 20px; }
  .hero__copy .hero__meta { order: 6; margin-top: 18px; }
  .stage .stage__device { order: 7; margin: 28px 0 0; }
}
/* Builder page: no Call / Book bar (the step bar has Next) */
body.page-builder .mbar { display: none; }
/* Client sign-in, folded */
details.signin { display: block; padding: 0; }
details.signin > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; list-style: none; cursor: pointer; font-weight: 600; font-size: 16px; }
details.signin > summary::-webkit-details-marker { display: none; }
details.signin > summary .i { width: 18px; height: 18px; color: var(--ink-2); }
details.signin > summary .i:last-child { margin-left: auto; transition: transform .2s var(--ease); }
details.signin[open] > summary .i:last-child { transform: rotate(180deg); }
details.signin form { display: grid; gap: 12px; padding: 0 18px 18px; }
/* Privacy & accessibility */
.legal .wrap { max-width: 1040px; }
.legal__h1 { margin: 14px 0 16px; }
.legal__draft { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 15px; color: var(--ink-2); }
.legal__draft .i { width: 18px; height: 18px; }
.legal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.legal__cols > div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; align-content: start; }
.legal__cols p { color: var(--ink-2); }
.legal__cols a { color: var(--iris); }
@media (max-width: 720px) { .legal__cols { grid-template-columns: 1fr; gap: 32px; } }

/* Hero headline: three or four lines, not five */
.hero__copy .h1 { max-width: 16ch; font-size: clamp(40px, 4.3vw, 60px); }
/* Phone Home: first six products, the rest behind "View all products" or a filter */
@media (max-width: 720px) { .hide-sm { display: none; } }
.crumbs span[aria-hidden] { color: var(--on-d-2); }
@media (max-width: 720px) { .hero__copy .h1 { font-size: 36px; max-width: none; } }
@media (max-width: 720px) { .hero__copy .eyebrow, .hero__copy .actions, .hero__copy .hero__meta { align-self: stretch; justify-content: flex-start; } .hero__copy .eyebrow { align-self: flex-start; } }


/* =========================================================
   d12 "Owner's Mix" (26 Sep 2026)
   Base: Quiet Motion (d9) in Clean White, plus Gallery White (d1) areas and last Builder step,
   Heritage Loden (d10) showroom block, Stone Linen (d2) image-first heroes, room chips and phone Builder,
   Tailored Navy (d3) call box, Daylight Studio (d4) compare cards.
   ========================================================= */

/* ---------- no dots at the start of sections ---------- */
.eyebrow { display: block; }
.eyebrow::before, .badge::before, .yes::before { content: none !important; display: none !important; }
.badge { gap: 0; }
.yes { color: var(--ink); gap: 0; }
/* blue is for actions only: motor tags read in ink */
html:not([data-palette="original"]) .badge--motor, html:not([data-palette="original"]) .pcard__media .badge--motor { color: var(--ink); }
.lede__strong { color: var(--ink); font-weight: 600; }

/* ---------- header: white with a hairline, ink logo ---------- */
.header { background: rgba(var(--night-rgb), .96); border-bottom: 1px solid var(--line-d); }
.tool { justify-content: center; }
/* every header control is at least 44 px tall (tap targets) */
.tool, .nav__link { height: 44px; }
.nav__link[aria-current="page"]::after { bottom: -14px; }
.header__book { --h: 44px; }
.menu-btn { height: 44px; }
/* 1141–1360: the phone number becomes an icon; "Sign in" keeps its words down to 1220 */
@media (min-width: 1141px) and (max-width: 1360px) {
  .tool--phone span { display: none; }
  .tool--phone { width: 44px; height: 44px; padding: 0; }
}
@media (min-width: 1220px) { .tool--signin span { display: inline; } }
@media (min-width: 1141px) and (max-width: 1219px) {
  .tool--signin span { display: none; }
  .tool--signin { width: 44px; height: 44px; padding: 0; }
}
@media (max-width: 1140px) {
  .tool--signin { display: none; }
  .tool--phone span { display: none; }
  .tool--phone { width: 44px; height: 44px; padding: 0; }
}
@media (max-width: 720px) {
  .tool--phone { display: inline-flex; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1px solid var(--line-d2); background: rgba(var(--d-rgb), .05); color: var(--on-d); }
  .header__tools { gap: 8px; }
}

/* ---------- phone action bar: Call + the full booking text ---------- */
@media (max-width: 720px) {
  .mbar { grid-template-columns: auto 1fr; gap: 8px; background: rgba(var(--night-rgb), .96); border-top: 1px solid var(--line-d); }
  .mbar a { font-size: 15px; }
  .mbar__call { padding: 0 14px; }
  .mbar__book { padding: 0 10px; white-space: nowrap; letter-spacing: -0.01em; }
}
@media (max-width: 359px) { .mbar__book { font-size: 14px; } }

/* ---------- wrapping filter chips (Home range, Products "Show me") ---------- */
.filter--wrap { display: inline-flex; flex-wrap: wrap; max-width: 100%; margin-bottom: 32px; }
@media (max-width: 720px) {
  .filter--wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; width: auto; gap: 8px; padding: 0; background: none; border: 0; box-shadow: none; margin-bottom: 24px; }
  .filter--wrap button { min-height: 48px; padding: 6px 12px 6px 14px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; font-size: 15px; line-height: 1.25; text-align: left; justify-content: space-between; white-space: normal; }
  .filter--wrap button[aria-pressed="true"] { border-color: var(--ink); }
  .filter--wrap button .count { padding: 1px 6px; }
}
@media (max-width: 389px) { .filter--wrap button { font-size: 14px; padding: 6px 10px 6px 12px; gap: 6px; } }
@media (max-width: 1340px) { .stage .stage__routine { right: 12px; } }

/* no coloured glow under buttons in the light options */
html:not([data-palette="original"]) .btn--primary { box-shadow: none; }
.ctrl__media--photo .ctrl__num { color: var(--ink); background: rgba(var(--white-rgb), .9); }
@media (max-width: 720px) { .stage .stage__device { align-self: stretch; width: auto; } }

/* Home range grid: every card shows (the chips do the narrowing) */
#home-grid .pcard:nth-child(n+7) { display: flex; }
@media (max-width: 720px) { #home-grid .pcard:nth-child(n+7) { display: grid; } #home-grid .pcard[hidden] { display: none; } .sec__foot .btn { width: 100%; } }

/* ---------- A showroom, at home (d10 content, d9 look) ---------- */
.showroom__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.showroom__text { display: grid; gap: 16px; justify-items: start; }
.showroom__text .actions { margin-top: 12px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.swatch { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.swatch__img { aspect-ratio: 3 / 5; overflow: hidden; border-radius: var(--r); background: var(--mist); }
.swatch:nth-child(even) .swatch__img { aspect-ratio: 3 / 4.2; }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; }
.swatch figcaption { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.swatch figcaption span { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; color: var(--ink-3); }
@media (max-width: 1024px) { .showroom__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .swatch__img, .swatch:nth-child(even) .swatch__img { aspect-ratio: 4 / 5; }
  .swatch:nth-child(5) { grid-column: 1 / -1; }
  .swatch:nth-child(5) .swatch__img { aspect-ratio: 16 / 7; }
  .showroom__grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .showroom__text { display: contents; }
  .showroom__text > * + * { margin-top: -12px; }
  .showroom__text .actions { order: 3; margin-top: 0; width: 100%; }
  .showroom__text .btn { width: 100%; }
}

/* ---------- Control: motor and by hand in one section ---------- */
.subhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 48px; margin: 48px 0 24px; }
.subhead > div { display: grid; gap: 6px; max-width: 640px; }
.subhead__h { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
@media (max-width: 720px) { .subhead { margin: 40px 0 16px; } }

/* ---------- Where we work (Gallery White regions) ---------- */
.areas5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.area5 { border-top: 2px solid var(--ink); padding-top: 16px; }
.area5 summary { list-style: none; display: block; cursor: default; }
.area5 summary::-webkit-details-marker { display: none; }
.area5 summary .i { display: none; }
.area5 h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
.area5 p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.areas5__note { margin-top: 32px; }
@media (max-width: 1024px) { .areas5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 720px) {
  .areas5 { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .area5 { border-top: 0; border-bottom: 1px solid var(--line); padding: 0; }
  .area5 summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; }
  .area5 summary .i { display: block; color: var(--ink-3); transition: transform .2s var(--ease); }
  .area5[open] summary .i { transform: rotate(180deg); }
  .area5 h3 { font-size: 18px; }
  .area5 p { margin: 0 0 16px; }
  .areas5__note { margin-top: 20px; }
}

/* ---------- "Prefer to call?" (Tailored Navy call box) ---------- */
.callbox { display: grid; gap: 8px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; color: var(--ink); }
.callbox h3 { font-size: 18px; line-height: 26px; letter-spacing: -0.01em; }
.callbox__sub { font-size: 15px; line-height: 22px; color: var(--ink-2); margin-top: -6px; }
.callbox__big { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.callbox__big .i { width: 28px; height: 28px; color: var(--ink); }
.callbox__big:hover, .callbox__big:hover .i { color: var(--iris); }
.callbox__hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.callbox__hours dt { font-weight: 600; color: var(--ink); }
.callbox__hours dd { margin: 0; }
.callbox__help { font-size: 14px; line-height: 20px; color: var(--ink-3); }
@media (max-width: 720px) { .callbox { padding: 20px; } .callbox__big { font-size: 24px; } }

/* =========================================================
   Products page
   ========================================================= */
.fsel, .fsel__back { display: none; }
.ccards, .ccards__more, .ccards__note { display: none; }
@media (max-width: 720px) {
  .jump { display: none; }
  .families { padding-top: 40px !important; }
  .fsel { display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 12px); }
  .fsel .filter--wrap { margin: 0; }
  .fsel__label { font-size: 15px; font-weight: 600; }
  .fsel__toggle { padding: 0; justify-self: start; }
  .fsel__status { font-size: 14px; color: var(--ink-3); }
  .family, .family + .family { margin-top: 56px; }
  .fsel__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--iris); text-decoration: none; }
  .fsel__back .i { width: 16px; height: 16px; }

  /* At a glance: Daylight Studio compare cards */
  .table-wrap { display: none; }
  .ccards { display: grid; gap: 10px; }
  .ccards:not(.is-all) .ccard:nth-child(n+7) { display: none; }
  .ccard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
  .ccard:focus { outline: none; }
  .ccard:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; }
  .ccard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .ccard h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; padding-top: 2px; }
  .ccard > p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .ccard__best { font-weight: 600; color: var(--ink); }
  .ccard dl { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ccard dl div { display: grid; gap: 6px; align-content: start; }
  .ccard dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
  .ccard dd { margin: 0; font-size: 14px; }
  .ccard .lvl { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ccard .lvl i b { width: 14px; }
  .ccards__more { display: flex; margin-top: 12px; }
  .ccards__more[hidden] { display: none; }
  .ccards__note { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-3); }
}
.tag { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* =========================================================
   Roller + product: image-first heroes (Stone Linen)
   ========================================================= */
.pimg { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; padding: 56px 0 72px; }
.pimg__copy { display: grid; gap: 22px; justify-items: start; }
.pimg__copy .h1 { font-size: clamp(38px, 4.4vw, 58px); max-width: 15ch; }
.pimg__media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; background: var(--mist); }
.pimg__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .pimg { gap: 40px; padding: 48px 0 56px; } }
@media (max-width: 900px) {
  .pimg { grid-template-columns: 1fr; gap: 24px; padding: 0 0 48px; }
  .pimg__media { order: -1; margin: 0 calc(-1 * var(--gut)); border-radius: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .phero--img .crumbs > *:not(.crumbs__parent) { display: none; }
  .phero--img .crumbs__parent::before { content: "\2190"; margin-right: 8px; }
  .phero--img .crumbs { margin-bottom: -8px; }
  .pimg { padding-bottom: 40px; }
  .pimg__copy { gap: 16px; }
  .pimg__copy .h1 { font-size: 36px; max-width: none; }
  .pimg__copy .actions { width: 100%; }
  .pimg__copy .actions .btn { flex: 1 1 100%; }
}

/* Rooms a roller suits: Stone Linen swatch chips */
.needs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.needs__label { font-size: 16px; font-weight: 600; margin-right: 8px; }
.chip--fab { min-height: 48px; padding: 0 18px 0 12px; gap: 10px; border-radius: var(--r-s); font-size: 16px; font-weight: 500; }
.chip--fab:hover { border-color: var(--ink); }
.fsw { width: 22px; height: 22px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgba(28, 27, 24, .12); }
.fabric { background-color: #CFC8BA; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 4px); }
.fabric-moss { background-color: #6E7A4E; }
.fabric-char { background-color: #3B3A36; }
.fabric-sand { background-color: #D9CDB6; }
.fabric-stone { background-color: #B7B1A5; }
.fabric-linen { background-color: #EAE4D8; }
.fabric-white { background-color: #F4F2EC; }
.fabric-grey { background-color: #8F8D88; }
:root { --fab-op-1: #F4F2EC; --fab-op-2: #D9D3C6; --fab-op-3: #8D887C; --fab-op-4: #2E2D29; }
@media (max-width: 720px) {
  .needs { gap: 8px; margin-top: 24px; }
  .needs__label { width: 100%; margin: 0 0 4px; }
  .needs .chip--fab { flex: 1 1 calc(50% - 4px); min-height: 52px; padding-right: 12px; font-size: 15px; }
}

/* Product: gallery left, copy right; a swipe gallery on phones */
.pd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; padding: 40px 0 72px; }
.pd__copy { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; justify-items: start; padding-top: 8px; }
.pd__copy .h1 { font-size: clamp(36px, 3.8vw, 52px); }
.facts { display: grid; width: 100%; border-top: 1px solid var(--line-d); }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 16px; line-height: 1.4; color: var(--on-d); }
.facts .i { color: var(--deco-d); }
.pd__note { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--on-d-3); }
.pd__note .i { width: 16px; height: 16px; }
.pgal__main { position: relative; aspect-ratio: 16 / 12; border-radius: var(--r-l); overflow: hidden; background: var(--mist); }
.pgal__track { position: absolute; inset: 0; }
.pgal__fig { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); }
.pgal__fig.is-on { opacity: 1; }
.pgal__fig img { width: 100%; height: 100%; object-fit: cover; }
.pgal__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; font-family: var(--mono); font-size: 13px; color: var(--ink); background: rgba(var(--white-rgb), .92); border-radius: 999px; padding: 3px 10px; }
.pgal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pgal__thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.pgal__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .2s; }
.pgal__thumbs button:hover img, .pgal__thumbs button[aria-pressed="true"] img { opacity: 1; }
.pgal__thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pgal__dots { display: none; }
.pgal__track:focus-visible { outline-offset: -3px; }
@media (max-width: 1024px) { .pd { grid-template-columns: 1fr; gap: 32px; } .pd__copy { position: static; } }
@media (max-width: 720px) {
  .pd { padding: 0 0 40px; gap: 16px; }
  .pgal { margin: 0 calc(-1 * var(--gut)); }
  .pgal__main { border-radius: 0; aspect-ratio: 4 / 3; }
  .pgal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pgal__track::-webkit-scrollbar { display: none; }
  .pgal__fig { position: relative; inset: auto; flex: 0 0 100%; opacity: 1; scroll-snap-align: start; }
  .pgal__thumbs, .pgal__count { display: none; }
  .pgal__dots { display: flex; justify-content: center; }
  .pgal__dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
  .pgal__dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--line-strong); transition: width .2s var(--ease); }
  .pgal__dot[aria-current="true"]::before { width: 24px; background: var(--iris); }
  .pd__copy { gap: 16px; }
  .pd__copy .h1 { font-size: 34px; }
  .pd__copy .actions { width: 100%; }
  .pd__copy .actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   Builder: one engine, d9 shell on desktop, d2 app on phones
   ========================================================= */
.bhero__crumbs, .howm, .bprog, .plan-phone { display: none; }
.bopts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bopts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bopt__ico, .bchk__ico { display: none; }
.bchk__txt { grid-column: 2; display: grid; gap: 2px; }
.bchk__txt > span { font-size: 14px; color: var(--ink-2); }
.bbody { grid-template-rows: auto 1fr; }
.bmain { grid-row: 1 / span 2; }
.bside { grid-column: 2; grid-row: 1; padding-bottom: 8px; }
.bextra { grid-column: 2; grid-row: 2; display: grid; gap: 16px; align-content: start; padding: 12px 24px 28px; border-left: 1px solid var(--line); background: var(--tint-3); }
.bextra .callbox { padding: 22px; }
.bextra .callbox__big { font-size: 24px; }
.bextra .callbox__big .i { width: 24px; height: 24px; }
.bside__note { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.preview__head strong { font-size: 15px; }
.bsub { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 28px 0 12px; }
.bpanel .bhelp + .bsub { margin-top: 0; }
.bcards { display: grid; gap: 12px; }
.bcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 44px 16px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); text-align: left; transition: border-color .15s, box-shadow .15s; }
.bcard:hover { border-color: var(--line-h3); }
.bcard[aria-checked="true"] { border-color: var(--iris); box-shadow: 0 0 0 4px rgba(var(--iris-rgb), .14); }
.bcard .radio { position: absolute; top: 14px; right: 14px; }
.bcard__fab { display: block; width: 100%; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); margin-bottom: 8px; }
.bcard strong { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.bcard > span:not(.radio):not(.bcard__fab) { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.bcols { display: flex; flex-wrap: wrap; gap: 12px; }
.bcol { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 4px 0; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--ink); border-radius: 12px; }
.bcol i { display: block; width: 56px; height: 56px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: box-shadow .15s; }
.bcol:hover i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px var(--white), 0 0 0 3px var(--line-h3); }
.bcol[aria-checked="true"] i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px var(--white), 0 0 0 4px var(--iris); }
.bcol[aria-checked="true"] { font-weight: 600; }
.btype[hidden] { display: none; }
.plan { display: grid; margin: 0 0 24px; font-size: 15px; max-width: 560px; border-top: 1px solid var(--line); }
.plan div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plan dt { color: var(--ink-3); }
.plan dd { margin: 0; font-weight: 600; text-align: right; }
.plan dd.is-empty { font-weight: 400; color: var(--ink-3); }
.bsend { max-width: 560px; }
.bsend__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bsend__btn { margin-top: 20px; }
.bsend__note { margin-top: 12px; }
.bsent { display: flex; gap: 10px; align-items: flex-start; max-width: 560px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 15px; font-weight: 500; }
.bsent[hidden] { display: none; }
.bsent .i { margin-top: 2px; }
.bsent:focus { outline: none; }

@media (max-width: 1140px) {
  .bmain, .bside, .bextra { grid-column: 1; grid-row: auto; }
  .bside { padding-bottom: 20px; }
  .bextra { border-left: 0; grid-template-columns: 1fr 1fr; padding: 0 24px 28px; }
  .bopts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .bcards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 720px) {
  .bhero { padding: 16px 0 24px; }
  .bhero__crumbs { display: flex; }
  .bhero__crumbs > *:not(.crumbs__parent) { display: none; }
  .bhero__crumbs .crumbs__parent::before { content: "\2190"; margin-right: 8px; }
  .bhero__copy { gap: 12px; }
  .bhero__copy .h1 { font-size: 34px; }
  .bhero__how { display: none; }
  .howm { display: block; margin-top: 16px; }
  .howm__toggle .i { transition: transform .2s var(--ease); }
  .howm__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
  .howm__list { display: none; margin-top: 16px; counter-reset: hw; }
  .howm.is-open .howm__list { display: grid; gap: 12px; }
  .howm__list li { counter-increment: hw; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .howm__list li::before { content: counter(hw); width: 28px; height: 28px; border-radius: 50%; background: var(--deco-soft); color: var(--deco); font-family: var(--mono); font-size: 13px; font-weight: 500; display: grid; place-items: center; }
  .howm__list strong { display: block; color: var(--ink); font-weight: 600; }

  .builder { margin-top: 0; }
  .builder > .wrap { padding: 0; }
  .bshell { margin: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: visible; }
  .bshell__top, .bsteps { display: none; }
  .bbody { display: flex; flex-direction: column; min-height: 0; }
  .bside { order: -1; flex-direction: row; align-items: center; gap: 16px; padding: 14px var(--gut); border: 0; border-bottom: 1px solid var(--line); background: var(--tint-3); display: flex; }
  .preview { width: 96px; flex: none; padding: 0; background: none; border-radius: 0; }
  .preview__head, .picks, .bside__note { display: none; }
  .preview__stage { aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
  .preview__stage .ph { padding: 0; }
  .preview__stage .ph span { display: none; }
  .preview__stage .ph .i { width: 28px; height: 28px; }
  .plan-phone { display: block; min-width: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .plan-phone strong { display: block; font-size: 16px; color: var(--ink); }
  .bmain { padding: 0; min-height: 0; }
  .bprog { display: block; padding: 16px var(--gut) 0; }
  .bprog p { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }
  .bprog strong { color: var(--ink); font-weight: 600; }
  .bprog__bar { height: 4px; border-radius: 2px; background: var(--mist); overflow: hidden; }
  .bprog__bar span { display: block; height: 100%; background: var(--iris); transition: width .25s var(--ease); }
  .bpanel { padding: 20px var(--gut) 28px; }
  .bq h2 { font-size: 23px; }
  .bq__meta { display: none; }
  .bhelp { font-size: 15.5px; margin-bottom: 16px; }

  /* step 1 keeps Quiet Motion's photo rows */
  .bopts--3 { grid-template-columns: 1fr; gap: 8px; }
  .bopts--3 .bopt { grid-template-rows: none; grid-template-columns: 76px 1fr; align-items: stretch; min-height: 84px; }
  .bopts--3 .bopt__media { aspect-ratio: auto; width: 76px; height: 100%; min-height: 84px; }
  .bopts--3 .bopt__body { padding: 12px 14px; align-self: center; }
  .bopts--3 .bopt__body strong { font-size: 15.5px; }
  .bopts--3 .bopt__body > span:not(.radio) { font-size: 14px; }

  /* steps 2 to 5: Stone Linen's compact tiles with a tick */
  .bprio { grid-template-columns: 1fr; gap: 8px; }
  .bchk { grid-template-columns: 24px 1fr 22px; gap: 0 12px; align-items: center; padding: 12px; border-width: 1px; border-radius: 12px; }
  .bchk > span.bchk__ico { display: block; grid-column: 1; grid-row: 1; color: var(--deco); line-height: 0; }
  .bchk__ico .i { width: 24px; height: 24px; stroke-width: 1.5; }
  .bchk > span.bchk__txt { grid-column: 2; grid-row: 1; color: var(--ink); }
  .bchk__txt strong { font-size: 15px; }
  .bchk__txt > span { font-size: 13.5px; }
  .bchk .box { grid-column: 3; grid-row: 1; margin: 0; }
  .btypes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .btype { position: relative; grid-template-columns: none; grid-template-rows: auto 1fr; align-items: stretch; min-height: 0; border-width: 1px; border-radius: 12px; }
  .btype__media { width: auto; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .btype__media img { width: 78%; height: 78%; }
  .btype__media .badge { display: none; }
  .btype .bopt__body { display: block; padding: 10px 12px 12px; }
  .btype .bopt__body strong { display: block; font-size: 15px; line-height: 1.3; }
  .btype .bopt__body > span:not(.radio) { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; }
  .bcards--4, .bcards--3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bcard { padding: 12px 40px 12px 12px; border-width: 1px; border-radius: 12px; }
  .bcard__fab { height: 22px; }
  .bcard strong { font-size: 15px; }
  .bcard > span:not(.radio):not(.bcard__fab) { font-size: 13px; }
  .bcols { gap: 8px 4px; }
  .bcol { width: calc((100% - 20px) / 6); min-width: 48px; font-size: 13px; }
  .bcol i { width: 44px; height: 44px; }
  .bopts--4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bopt--ctl { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 2px; grid-template-rows: none; grid-template-columns: none; min-height: 0; padding: 12px 40px 12px 12px; border-width: 1px; border-radius: 12px; }
  .bopt--ctl .bopt__media { display: none; }
  .bopt--ctl .bopt__ico { display: block; color: var(--deco); line-height: 0; margin-bottom: 6px; }
  .bopt--ctl .bopt__ico .i { width: 24px; height: 24px; stroke-width: 1.5; }
  .bopt--ctl .bopt__body { display: block; padding: 0; }
  .bopt--ctl .bopt__body strong { display: block; font-size: 15px; }
  .bopt--ctl .bopt__body > span:not(.radio) { display: block; font-size: 13px; }
  /* the tick: a filled circle with a check when chosen */
  .bchk .box, .btype .radio, .bcard .radio, .bopt--ctl .radio { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); }
  .bchk { position: relative; }
  .bchk .box { top: 50%; margin-top: -11px; right: 12px; }
  .bchk[aria-checked="true"] .box, .btype[aria-checked="true"] .radio, .bcard[aria-checked="true"] .radio, .bopt--ctl[aria-checked="true"] .radio { background: var(--iris) var(--ico-check) center / 14px no-repeat; border-color: var(--iris); }
  .btype[aria-checked="true"] .radio::after, .bcard[aria-checked="true"] .radio::after, .bopt--ctl[aria-checked="true"] .radio::after { content: none; }
  .bchk[aria-checked="true"], .btype[aria-checked="true"], .bcard[aria-checked="true"], .bopt--ctl[aria-checked="true"] { border-color: var(--iris); box-shadow: inset 0 0 0 1px var(--iris); background-color: var(--iris-soft); }

  .plan { margin-bottom: 20px; }
  .bsend__fields { grid-template-columns: 1fr; }
  .bsend__btn { width: 100%; white-space: normal; text-align: center; justify-content: center; padding: 12px 18px; line-height: 1.3; }

  .bnav { position: sticky; bottom: 0; z-index: 30; margin: 0; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); gap: 8px; background: var(--white); border-top: 1px solid var(--line); flex-wrap: nowrap; }
  .bnav .btn { flex: 1; }
  .bnav__next { margin-left: 0; }
  .bnav__msg { position: absolute; left: 0; right: 0; bottom: 100%; order: 0; padding: 10px var(--gut); background: var(--err-soft); border-top: 1px solid var(--line); }
  .bnav__msg[hidden] { display: none; }
  .bextra { order: 2; padding: 24px var(--gut) 8px; border: 0; background: none; grid-template-columns: 1fr; }
  .page-builder #how { display: none; }
  .page-builder .footer { padding-bottom: 32px; }
}

/* ---------- contact ---------- */
.promise3__h { margin-bottom: 6px; }
.aside .callbox { border-radius: 20px; }

/* ---------- polish pass 2 ---------- */
/* two grey bands in a row (Product: "Not every window" then the motor section in the light palettes): read as one band */
html:not([data-palette="original"]) .sec:not(.sec--white):not(.sec--dark):not(.sec--smart) + .sec--dark { padding-top: 0; }
/* routine card day pills: neutral, blue stays for actions */
html:not([data-palette="original"]) .routine__days span.on { background: var(--line); color: var(--ink); }
/* inline phone links in running text: a 44px tall hit area without moving the text */
.note a[href^="tel:"], .muted a[href^="tel:"], .legal a[href^="tel:"], .faq__head a[href^="tel:"] { display: inline-block; padding: 11px 0; margin: -11px 0; }
/* phones: the "Try it" card sits under the photo instead of covering it */
@media (max-width: 720px) {
  .split__media { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
  .split__media > img { aspect-ratio: 4 / 3; height: auto; border-radius: 18px; display: block; }
  .split__media .split__float { position: relative; left: auto; right: auto; bottom: auto; margin: -56px 12px 0; max-width: none; }
}

/* =========================================================
   Fixes after the 26 Sep review
   ========================================================= */
/* header: at 1141–1320 px the five links + phone + sign-in + button need a little less room */
@media (min-width: 1141px) and (max-width: 1320px) {
  .header__row { gap: 20px; }
  .nav__link { padding: 0 9px; }
  .nav__link[aria-current="page"]::after { left: 9px; right: 9px; }
}
/* hero: the routine card stays inside the content edge */
@media (min-width: 1141px) { .stage .stage__routine { right: 16px; } }
/* control cards: the 01 badge sits above its photo like 02–04 */
.ctrl__num { z-index: 1; }
/* "Cord-free by hand": smaller photos than the four main control cards */
@media (min-width: 901px) { .mcard__media { aspect-ratio: 21 / 9; } }
/* smart home: one accent only (the blue for actions); timeline line and icons in neutral ink */
html:not([data-palette="original"]) .day__list::before { background: var(--line); opacity: 1; }
html:not([data-palette="original"]) .day__ico--sun, html:not([data-palette="original"]) .day__title .i { color: var(--ink); }
html:not([data-palette="original"]) .routine__days span { color: var(--ink-2); }
/* roller "Choose how you raise it": the motorized card is a white card with a hairline in the light colour options */
html:not([data-palette="original"]) .c6--motor { background: var(--white); border-color: var(--line); color: var(--ink); }
html:not([data-palette="original"]) .c6--motor .ico { background: var(--ink); color: var(--white); }
html:not([data-palette="original"]) .c6--motor p { color: var(--ink-2); }
/* light lab: the photo takes the panel's height, so no empty band inside the panel */
@media (min-width: 1025px) {
  .lightlab__view { aspect-ratio: auto; min-height: 440px; }
}
/* contact: call box and "Already have an idea?" card share one inner edge */
.aside .callbox { padding: 24px; }
/* builder */
.bopt__body { align-content: start; }
.bq h2:focus { outline: none; }
html[data-palette="original"] .bhero .eyebrow { color: var(--on-d-3); }
html[data-palette="original"] .bhero .lede { color: var(--on-d-2); }
html[data-palette="original"] .bhero .link { color: var(--iris-d); }
@media (min-width: 1141px) {
  /* call box + sign-in move to a row under the plan, so the question column is not stretched */
  .bbody { grid-template-rows: auto auto; }
  .bmain, .bside { grid-row: 1; }
  .bextra { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; border-left: 0; border-top: 1px solid var(--line); padding: 24px 28px 28px; }
}
@media (min-width: 721px) {
  /* Next is always in view while the builder is on screen */
  .bnav { position: sticky; bottom: 0; z-index: 5; margin: auto -28px -28px; padding: 16px 28px; background: var(--white); box-shadow: 0 -8px 16px -12px rgba(var(--shadow-rgb), .25); border-radius: 0 0 0 var(--r); }
}
/* phones */
@media (max-width: 900px) {
  .rooms { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; margin: 0; padding: 0; gap: 12px; }
  .room { grid-template-rows: none; grid-template-columns: 120px minmax(0, 1fr); }
  .room__media { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .room__body { padding: 14px 16px; }
  .room__body strong { font-size: 17px; }
  .room__body > span:not(.room__more) { font-size: 15px; }
}
@media (max-width: 720px) {
  .hero__meta a { min-height: 44px; }
  .note a[href^="tel:"], .muted a[href^="tel:"], .legal a[href^="tel:"], .faq__head a[href^="tel:"] { padding: 12px 0; margin: -12px 0; }
  .mbar { padding-left: var(--gut); padding-right: var(--gut); transition: transform .25s var(--ease), visibility 0s linear 0s; }
  .mbar.is-away { transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; }
}
a[href^="tel:"] { white-space: nowrap; }
/* clip (not hidden) so the sticky Next bar can stick to the screen */
.bshell { overflow: clip; }

/* =========================================================
   Round 1b (26 Sep 2026): header sign-in row, client bar, My account
   Every colour is a palette token, so the four colour options carry over.
   The header row keeps --row-h; signed in, --header-h grows by the client bar,
   so sticky bars and anchor jumps still land under the whole header.
   ========================================================= */
:root { --row-h: 72px; --cbar-h: 48px; --err-h: var(--err); --ok-h: var(--ok); }
@media (max-width: 720px) { :root { --row-h: 64px; --cbar-h: 44px; } }
html.is-signedin { --header-h: calc(var(--row-h) + var(--cbar-h)); }
html[data-palette="original"] { --err-h: #FF9C94; --ok-h: #6EE0AE; }
html.no-anchor, html.no-anchor body { overflow-anchor: none; }

/* signed-in / signed-out pieces */
html.is-signedin .so-only, html:not(.is-signedin) .si-only { display: none !important; }

/* ---------- header tools ---------- */
button.tool { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.tool--signin[aria-expanded="true"] { color: var(--on-d); background: rgba(var(--d-rgb), .07); }
.tool--signin, .tool--acct { height: 44px; }
.tool--acct { gap: 8px; padding: 0 10px 0 4px; color: var(--on-d); }
.tool--acct[aria-current="page"] { background: rgba(var(--d-rgb), .06); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--on-d); color: var(--night); font-size: 12px; font-weight: 600; letter-spacing: .02em;
}

@media (min-width: 1141px) and (max-width: 1360px) {
  .tool--acct { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .tool--acct__name { display: none; }
}
@media (max-width: 1140px) {
  .tool--signin { display: inline-flex; width: 44px; height: 44px; padding: 0; }
  .tool--signin span { display: none; }
  .tool--acct { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .tool--acct__name { display: none; }
}
@media (max-width: 720px) {
  .header .tool--signin { display: inline-flex; border-radius: 10px; border: 1px solid var(--line-d2); background: rgba(var(--d-rgb), .05); color: var(--on-d); }
  .header .tool--signin[aria-expanded="true"] { border-color: var(--on-d); background: rgba(var(--d-rgb), .1); }
  .tool--acct { display: inline-flex; border-radius: 10px; border: 1px solid var(--line-d2); background: rgba(var(--d-rgb), .05); }
  .tool--acct .avatar { width: 28px; height: 28px; font-size: 11px; }
}

/* ---------- sign-in row: slides open under the header, over the page (nothing below moves) ---------- */
.srow {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 3;
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease);
  pointer-events: none;
}
.srow.is-open { grid-template-rows: 1fr; pointer-events: auto; }
.srow__clip {
  min-height: 0; overflow: hidden; background: var(--night); color: var(--on-d);
  box-shadow: inset 0 1px 0 var(--line-d), 0 1px 0 var(--line-d), 0 18px 32px -26px rgba(var(--shadow-rgb), calc(.5 + .5 * var(--deep-k)));
}
.srow__in { padding-top: 10px; padding-bottom: 10px; opacity: 0; transform: translateY(-6px); transition: opacity .18s linear, transform .34s var(--ease); }
.srow.is-open .srow__in { opacity: 1; transform: none; transition: opacity .24s linear .06s, transform .34s var(--ease); }
.srow__form { display: flex; align-items: center; gap: 12px; }
.srow__form[data-mode="signin"] .m-reset, .srow__form[data-mode="reset"] .m-signin { display: none !important; }
.srow__head { flex: 1; min-width: 0; display: grid; gap: 1px; }
.srow__title { font-size: 15px; font-weight: 600; color: var(--on-d); line-height: 1.3; }
.srow__msg { font-size: 14px; color: var(--on-d-3); line-height: 1.35; }
.srow__msg.has-dyn > span:not([data-srow-dyn]) { display: none; }
.srow__msg.is-err { color: var(--err-h); font-weight: 500; }
.srow__msg.is-ok { color: var(--ok-h); font-weight: 500; }
.sfield { position: relative; width: 250px; flex: none; }
.sfield + .sfield { width: 210px; }
.sfield label { position: absolute; left: 14px; top: 6px; font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--on-d-3); pointer-events: none; }
.sfield__in {
  display: block; width: 100%; height: 50px; padding: 20px 14px 5px; border-radius: 10px;
  border: 1.5px solid var(--field-line); background: var(--panel); color: var(--on-d); font-size: 16px; line-height: 1.2;
  transition: border-color .15s, box-shadow .15s;
}
.sfield__in:hover { border-color: var(--on-d-2); }
.sfield__in:focus { outline: none; border-color: var(--iris-d); box-shadow: 0 0 0 3px rgba(var(--iris-d-rgb), .22); }
.sfield__in[aria-invalid="true"] { border-color: var(--err-h); }
.srow__go { --h: 50px; flex: none; min-width: 104px; }
.srow__go.is-busy { opacity: .75; cursor: progress; }
.srow__alt {
  flex: none; min-height: 44px; padding: 0 6px; border: 0; background: none; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--iris-d); white-space: nowrap; cursor: pointer;
}
.srow__alt:hover { text-decoration: underline; text-underline-offset: 3px; }
.srow__x {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px;
  border: 0; border-radius: 10px; background: none; color: var(--on-d-2); cursor: pointer;
}
.srow__x:hover { color: var(--on-d); background: rgba(var(--d-rgb), .06); }
/* two close buttons, one shown: at the end of the line on wide screens, in the title row where the form stacks,
   so the Tab order always follows what you see */
.srow__x--top { display: none; }
@media (max-width: 899px) { .srow__x--top { display: grid; } .srow__x--end { display: none; } }
@media (min-width: 721px) and (max-width: 1140px) {
  .srow__title { display: none; }
  .sfield { width: 210px; }
  .sfield + .sfield { width: 170px; }
}
@media (min-width: 721px) and (max-width: 899px) {
  .srow__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto; grid-template-areas: "head head head x" "email pw go alt"; gap: 8px 10px; }
  .srow__head { grid-area: head; }
  .srow__title { display: block; }
  .sfield { grid-area: email; width: auto; }
  .sfield + .sfield { grid-area: pw; width: auto; }
  .srow__go { grid-area: go; }
  .srow__alt { grid-area: alt; }
  .srow__x { grid-area: x; margin-top: -6px; }
}
@media (max-width: 720px) {
  .srow__in { padding-top: 10px; padding-bottom: 14px; }
  .srow__form { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-areas: "head head x" "email email email" "pw pw pw" "go alt alt"; gap: 10px 8px; }
  .srow__head { grid-area: head; align-self: center; }
  .srow__title { font-size: 17px; }
  .sfield { grid-area: email; width: auto; }
  .sfield + .sfield { grid-area: pw; width: auto; }
  .sfield__in { height: 54px; padding-top: 22px; }
  .sfield label { top: 7px; font-size: 13px; }
  .srow__go { grid-area: go; --h: 50px; width: 100%; }
  .srow__alt { grid-area: alt; justify-self: end; margin-right: -6px; }
  .srow__x { grid-area: x; margin: -4px -10px 0 0; }
}

/* ---------- client bar (signed in) ---------- */
.cbar { display: none; }
html.is-signedin .cbar { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--ease); }
.cbar.is-float { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; }
html.is-signedin .cbar.is-closed { grid-template-rows: 0fr; }
.cbar__clip { min-height: 0; overflow: hidden; background: var(--slate); color: var(--on-d); box-shadow: inset 0 1px 0 var(--line-d); }
.cbar:not(.is-anim) .cbar__clip { overflow: visible; }
.cbar.is-float .cbar__clip { box-shadow: inset 0 1px 0 var(--line-d), 0 1px 0 var(--line-d); }
.cbar__in { display: flex; align-items: center; gap: 2px; height: var(--cbar-h); }
.cbar__next {
  display: inline-flex; align-items: center; gap: 10px; flex: none; height: 44px; margin-right: 14px; padding: 0 13px 0 15px;
  border-radius: 999px; color: var(--on-d); text-decoration: none; white-space: nowrap;
  position: relative; isolation: isolate;
}
.cbar__next::before { content: ""; position: absolute; inset: 4px 0; z-index: -1; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-d2); transition: border-color .15s; }
.cbar__next:hover::before { border-color: var(--on-d-3); }
.cbar__next-s { display: none; }
.cbar__next-k { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--on-d-3); }
.cbar__next-v { font-size: 15px; font-weight: 600; }
.cbar__next .i { width: 16px; height: 16px; color: var(--iris-d); transition: transform .2s var(--ease); }
.cbar__next:hover .i { transform: translateX(2px); }
.nb-b { display: none !important; }
html.demo-booked .nb-a { display: none !important; }
html.demo-booked .nb-b { display: inline !important; }
html.demo-booked .btn.nb-b { display: inline-flex !important; }
html.demo-booked .need__txt.nb-b { display: grid !important; }
.cbar__list { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.cbar__link, .cbar__out, .cbar__more {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 10px; border-radius: 8px;
  border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--on-d-2); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.cbar__link .i, .cbar__out .i { width: 18px; height: 18px; }
.cbar__link:hover, .cbar__out:hover, .cbar__more:hover, .cbar__more[aria-expanded="true"] { color: var(--on-d); background: rgba(var(--d-rgb), .05); }
.cbar__link[aria-current="true"] { color: var(--on-d); }
.cbar__link[aria-current="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--on-d); }
.cbar__n {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--on-d); color: var(--night); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1;
}
.cbar__n--q { background: rgba(var(--d-rgb), .08); color: var(--on-d-2); }
.cbar__out { margin-left: auto; margin-right: -10px; }
.cbar__morewrap { position: relative; display: none; margin-left: auto; }
.cbar__more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cbar__more[aria-expanded="true"] .i { transform: rotate(180deg); }
.cbar__menu {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 6; min-width: 250px; padding: 6px;
  background: var(--drop-bg); border: 1px solid var(--line-d); border-radius: 14px; box-shadow: var(--shadow-2);
}
.cbar__menu a, .cbar__menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px; border: 0; border-radius: 10px; background: none;
  font: inherit; font-size: 16px; font-weight: 500; color: var(--on-d); text-decoration: none; text-align: left; cursor: pointer;
}
.cbar__menu a:hover, .cbar__menu button:hover { background: rgba(var(--d-rgb), .05); }
.cbar__menu .i { width: 18px; height: 18px; color: var(--on-d-2); }
.cbar__menu .cbar__n { margin-left: auto; }
.cbar__menu li.cm-p3:last-child { border-top: 1px solid var(--line-d); margin-top: 4px; padding-top: 4px; }
.cbar__menu .cm-p2 { display: none; }
@media (max-width: 1380px) { .cbar__list .cbar__link .i, .cbar__out .i { display: none; } .cbar__link, .cbar__out { padding: 0 9px; } .cbar__out { margin-right: -9px; } }
@media (max-width: 1140px) {
  .cbar__list .cb-p3, .cbar__out { display: none; }
  .cbar__morewrap { display: block; }
  .cbar__list .cbar__link .i { display: block; }
}
@media (max-width: 1023px) {
  .cbar__list .cb-p2 { display: none; }
  .cbar__menu .cm-p2 { display: block; }
}
@media (max-width: 720px) {
  .cbar__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; position: relative; }
  .cbar__list { display: contents; }
  /* What's next keeps its one task on phones: a small label over a short "Pick a time" (the full sentence is still read out) */
  .cbar__next { flex-direction: column; justify-content: center; gap: 1px; height: 44px; margin: 0; padding: 0 2px; border-radius: 8px; line-height: 1.15; }
  .cbar__next::before { content: none; }
  .cbar__next > .i { display: none; }
  .cbar__next-v { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cbar__next-k { font-size: 10.5px; letter-spacing: .05em; color: var(--on-d-2); }
  .cbar__next-s { display: block; font-size: 14px; font-weight: 600; color: var(--on-d); letter-spacing: -0.01em; }
  .cbar__next:hover { background: rgba(var(--d-rgb), .05); }
  .cbar__list .cbar__link .i { display: none; }
  .cbar__link, .cbar__more { justify-content: center; padding: 0 2px; font-size: 14px; gap: 5px; width: 100%; }
  .cbar__n { min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }
  .cbar__morewrap { position: static; margin: 0; }
  .cbar__menu { left: 12px; right: 12px; min-width: 0; }
  .cbar__link[aria-current="true"]::after { left: 14px; right: 14px; bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .srow, .srow__in, .srow.is-open .srow__in, html.is-signedin .cbar { transition: none; }
}

/* phone bar ("Call / Free consultation"): a signed-in client has had the consultation, so it goes away */
html.is-signedin .mbar { display: none; }
@media (max-width: 720px) { html.is-signedin .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); } }

/* builder: signed in, the side sign-in turns into a note */
.signin-done { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.signin-done strong { color: var(--ink); }
.signin-done .i { color: var(--ok); margin-top: 2px; }
.signin-done a { color: var(--iris-text); font-weight: 600; }

/* =========================================================
   My account (account.html)
   ========================================================= */
.page-account main { background: var(--paper); }

/* signed out: the prompt */
.gate { padding: calc(var(--sec) * .8) 0 var(--sec); }
.gate__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.gate__copy { display: grid; gap: 20px; justify-items: start; }
.gate__copy h1:focus { outline: none; }
.gate__list { display: grid; gap: 14px; }
.gate__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.gate__list strong { display: block; font-size: 17px; color: var(--ink); }
.gate__list span span, .gate__list li > span:last-child { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.gate__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--ink); }

/* signed in: the dashboard */
.acct { padding: 44px 0 calc(var(--sec) * .8); }
.acct__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.acct__hi { margin-top: 10px; font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
.acct__hi:focus { outline: none; }
.acct__sub { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.acct__tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.xchip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
.xchip .i { width: 15px; height: 15px; }
.acct__top, .acct__cols { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; }
.acct__top { margin-bottom: 24px; }
.acct__cols { align-items: start; }
.acct__main, .acct__side { display: grid; gap: 24px; min-width: 0; }

/* small buttons on this page are 44 px tall too */
:where(.page-account) .btn--sm { --h: 44px; }

.acard {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-1); scroll-margin-top: calc(var(--header-h) + 20px); min-width: 0;
}
.acard--need { border: 1.5px solid var(--ink); }
.acard--quiet { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--line-strong); }
.acard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.acard__head h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.acard__head p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.5; max-width: 40em; }
.acard__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: -10px; font-size: 15px; font-weight: 600; color: var(--iris-text); text-decoration: none; white-space: nowrap; }
.acard__link .i { width: 16px; height: 16px; }
.acard__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.acard__meta { font-size: 14px; color: var(--ink-2); white-space: nowrap; padding-top: 4px; }
.acard__p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.atag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; flex: none;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.atag--ok { border-color: var(--ok); color: var(--ok); }
.atag--quiet { border-color: var(--line-strong); color: var(--ink-2); }

/* what we need from you */
.need__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.need__row:last-child { padding-bottom: 0; }
.need__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--ink); }
html.demo-booked .need__row--book .need__ico { background: var(--ok-soft); color: var(--ok); }
.need__txt { display: grid; gap: 2px; min-width: 0; }
.need__t { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.need__s { font-size: 15px; color: var(--ink-2); }
.acard--need { display: flex; flex-direction: column; }
.need__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.need__foot a { color: var(--iris-text); font-weight: 600; text-decoration: none; }
.need__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.need { margin-bottom: 16px; }
.need__est-btn { background: var(--white); color: var(--ink); border-color: var(--ink); }
.need__est-btn:hover { background: var(--mist); }

/* next visit */
.visit { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; }
.date { width: 76px; padding: 10px 0 12px; border-radius: 14px; background: var(--mist); display: grid; justify-items: center; line-height: 1.1; color: var(--ink); }
.date small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.date b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 3px 0 2px; }
.visit__txt p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.visit__txt .visit__t { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.visit__where { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.visit__where .i { width: 16px; height: 16px; }
.visit__note { margin-top: 16px; font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.visit__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.visit__then { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.visit__then strong { color: var(--ink); font-weight: 600; }

/* order progress */
.osteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 6px; }
.ostep { position: relative; display: grid; gap: 10px; padding-right: 12px; }
.ostep:not(:last-child)::before { content: ""; position: absolute; top: 13px; left: 36px; right: 8px; height: 2px; border-radius: 2px; background: var(--line); }
.ostep.is-done:not(:last-child)::before { background: var(--ink); }
.ostep__dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); display: grid; place-items: center; color: var(--white); }
.ostep__dot .i { width: 16px; height: 16px; stroke-width: 2.4; }
.ostep:not(.is-done) .ostep__dot .i { display: none; }
.ostep.is-done .ostep__dot { background: var(--ink); border-color: var(--ink); }
.ostep.is-now .ostep__dot { border-color: var(--ink); }
.ostep.is-now .ostep__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ostep__txt { display: grid; gap: 2px; }
.ostep__txt strong { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ostep__txt span { font-size: 14px; color: var(--ink-2); }
.ostep:not(.is-done):not(.is-now) .ostep__txt strong { color: var(--ink-2); font-weight: 500; }
.ofacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.ofacts dt { font-size: 14px; color: var(--ink-2); }
.ofacts dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ofacts dd small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.odet { margin-top: 20px; border-top: 1px solid var(--line); }
.odet summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); }
.odet summary::-webkit-details-marker { display: none; }
.odet summary .i { width: 18px; height: 18px; color: var(--ink-2); transition: transform .2s var(--ease); }
.odet[open] summary .i { transform: rotate(180deg); }
.odet__list { display: grid; gap: 10px; padding-bottom: 4px; }
.odet__list li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.odet__list strong { font-size: 15px; color: var(--ink); }
.odet__list span { font-size: 14px; color: var(--ink-2); }

/* book installation */
.abook__set { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.abook__lab { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.abook__days { display: flex; flex-wrap: wrap; gap: 10px; }
.dayc, .time { position: relative; }
.dayc input, .time input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.dayc__box {
  display: grid; justify-items: center; width: 74px; padding: 9px 0 10px; border-radius: 14px; line-height: 1.15;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .15s, background-color .15s;
}
.dayc__box small { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.dayc__box b { font-size: 22px; font-weight: 600; margin: 2px 0 1px; }
.dayc:hover .dayc__box, .time:hover .time__box { border-color: var(--line-strong); }
.dayc input:checked + .dayc__box, .time input:checked + .time__box { border-color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ink); }
.dayc input:focus-visible + .dayc__box, .time input:focus-visible + .time__box { outline: 2px solid var(--iris); outline-offset: 3px; }
.abook__times { display: flex; flex-wrap: wrap; gap: 10px; min-height: 50px; align-items: center; }
.abook__ph { font-size: 15px; color: var(--ink-3); }
.time__box {
  display: inline-flex; align-items: center; height: 50px; padding: 0 20px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white); font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
}
.abook__go { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.abook__msg { flex: 1; min-width: 220px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.abook__msg.is-err { color: var(--err); font-weight: 500; }
.abook__done { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--ok-soft); }
.abook__done:focus { outline: none; }
.abook__done > span:nth-child(2) { display: grid; gap: 2px; font-size: 16px; color: var(--ink); }
.abook__done strong { font-size: 17px; }
.abook__done small { font-size: 14px; color: var(--ink-2); }
.abook__ok { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: var(--white); }
.abook__ok .i { stroke-width: 2.4; }

/* estimates */
.est__item { border-top: 1px solid var(--line); padding: 16px 0; }
.est__item:last-child { padding-bottom: 20px; }
.est__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; }
.est__t { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.est__s { font-size: 15px; color: var(--ink-2); }
.est__amt { font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.est__btn { min-width: 84px; }
.est__btn .t-close, .est__btn[aria-expanded="true"] .t-open { display: none; }
.est__btn[aria-expanded="true"] .t-close { display: inline; }
.est__more { margin-top: 14px; padding: 6px 20px 20px; border-radius: 14px; background: var(--paper); }
.lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.lines td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.lines td:last-child { text-align: right; padding-left: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines td strong { display: block; font-weight: 600; }
.lines td span { display: block; font-size: 14px; color: var(--ink-2); }
.lines tfoot td { padding: 8px 0; color: var(--ink-2); border-bottom: 0; }
.lines tfoot tr:first-child td { padding-top: 14px; }
.lines .lines__total td { font-size: 17px; font-weight: 600; color: var(--ink); }
.est__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.est__acts .est__thanks { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.est__acts .est__thanks .i { color: var(--ok); }
.est__more-link { margin-top: 2px; }

/* saved */
.saved { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sv { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
/* every picture is the same square, whatever the image inside */
.sv__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--media-l2); }
.sv__img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.sv__img--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv__b { display: grid; gap: 2px; padding: 12px 14px 14px; }
.sv__t { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.sv__s { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.sv__heart {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: none; color: var(--ink); cursor: pointer;
}
.sv__heart::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.sv__heart .i { position: relative; width: 18px; height: 18px; }
.sv__heart[aria-pressed="true"] .i { fill: currentColor; }

/* messages */
.thread { display: grid; gap: 10px; }
.thread__earlier { display: block; margin: -4px auto 10px; min-height: 44px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--iris-text); cursor: pointer; }
.thread__earlier:hover { text-decoration: underline; text-underline-offset: 3px; }
.msg { max-width: 88%; padding: 11px 14px 10px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg--them { justify-self: start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 6px; }
.msg--me { justify-self: end; background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; }
.msg__t { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 13px; color: var(--ink-2); }
.msg--me .msg__t { color: inherit; opacity: .8; justify-content: flex-end; }
.msg--new { box-shadow: inset 0 0 0 1.5px var(--ink); }
.msg .atag { height: 20px; font-size: 10.5px; padding: 0 6px; }
.reply { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 16px; }
.reply__in { min-height: 52px; height: 52px; padding: 14px 16px; resize: none; line-height: 1.4; }
.reply__in[aria-invalid="true"] { border-color: var(--err); }
.reply__go { --h: 52px; padding: 0 18px; }
.reply__note { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.reply__note.is-err { color: var(--err); font-weight: 500; }

/* installer */
.acard--inst { display: grid; gap: 12px; }
.inst { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; }
.inst__av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink); font-weight: 600; font-size: 18px; }
.inst__t { font-size: 18px; letter-spacing: -0.01em; }
.inst__s { font-size: 14px; color: var(--ink-2); }
.inst__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; justify-self: start; }
.inst__phone .i { width: 18px; height: 18px; }
.inst__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.inst__hours { margin-top: -8px; font-size: 14px; color: var(--ink-2); }

/* account details */
.dl div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.dl dt { font-size: 14px; color: var(--ink-2); }
.dl dd { margin: 0; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.aedit { display: grid; gap: 14px; padding-top: 8px; }
.aedit__acts, .acc__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.acc__acts { margin-top: 18px; }

/* tablet: one column below 1024 */
@media (max-width: 1100px) {
  .acct__top, .acct__cols { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 960px) {
  .acct__top, .acct__cols { grid-template-columns: minmax(0, 1fr); }
  .gate__in { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- phones: a layout of its own ---------- */
@media (max-width: 720px) {
  .gate { padding: 40px 0 56px; }
  .gate__copy .actions { display: grid; width: 100%; }
  .gate__copy .actions .btn { width: 100%; }
  .gate__list li { padding: 14px 16px; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .gate__ico { width: 44px; height: 44px; }

  .acct { padding: 24px 0 48px; }
  .acct__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .acct__hi { font-size: 34px; margin-top: 6px; }
  .acct__sub { font-size: 16px; margin-top: 6px; }
  .acct__ask { display: none; }
  .acct__top { margin-bottom: 14px; }
  .acct__top, .acct__cols, .acct__main, .acct__side { gap: 14px; }
  .acard { padding: 20px; border-radius: 18px; }
  .acard__head { margin-bottom: 14px; flex-wrap: wrap; row-gap: 10px; }
  .acard__head > div { flex: 1 1 200px; }
  .acard__head h2 { font-size: 20px; }

  .need__row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; padding: 14px 0; }
  .need__ico { width: 40px; height: 40px; }
  .need__row .btn { grid-column: 1 / -1; width: 100%; --h: 48px; }
  .need__t { font-size: 16px; }

  .visit { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .date { width: 64px; }
  .date b { font-size: 26px; }
  .visit__acts { display: grid; grid-template-columns: 1fr 1fr; }
  .visit__acts .btn { width: 100%; padding: 0 10px; --h: 48px; }

  /* order progress reads top to bottom */
  .osteps { grid-template-columns: 1fr; }
  .ostep { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 0 0 18px; }
  .ostep:last-child { padding-bottom: 0; }
  .ostep:not(:last-child)::before { top: 32px; bottom: 4px; left: 13px; right: auto; width: 2px; height: auto; }
  .ostep__txt strong, .ostep__txt span { line-height: 22px; }
  .ostep__txt { padding-top: 3px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; }
  .ofacts { grid-template-columns: 1fr; gap: 0; margin-top: 18px; padding-top: 4px; }
  .ofacts div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ofacts div:last-child { border-bottom: 0; }
  .ofacts dd { margin: 0; text-align: right; font-size: 16px; }
  .odet { margin-top: 8px; }

  /* days scroll sideways, times sit two by two */
  .abook__days { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 3px 20px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .abook__days::-webkit-scrollbar { display: none; }
  .dayc { scroll-snap-align: start; flex: none; }
  .dayc__box { width: 64px; }
  .abook__times { display: grid; grid-template-columns: 1fr 1fr; }
  .abook__times .abook__ph { grid-column: 1 / -1; }
  .time__box { width: 100%; justify-content: center; }
  .abook__go .btn { width: 100%; }
  .abook__msg { min-width: 0; }
  .abook__done { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
  .abook__ok { width: 40px; height: 40px; }
  .abook__done .btn { grid-column: 1 / -1; width: 100%; }

  .est__row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .est__btn { grid-column: 1 / -1; width: 100%; --h: 46px; }
  .est__more { padding: 4px 16px 16px; }
  .est__acts .btn { width: 100%; }

  /* saved: a row you swipe */
  .saved { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .saved::-webkit-scrollbar { display: none; }
  .sv { scroll-snap-align: start; }

  .msg { max-width: 92%; }
  .reply { grid-template-columns: minmax(0, 1fr) 52px; }
  .reply__go { width: 52px; padding: 0; }
  .reply__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  .acc__acts { display: grid; grid-template-columns: 1fr 1fr; }
  .acc__acts .btn { width: 100%; padding: 0 10px; }
}
/* inline links in short notes: a 44px tall hit area without moving the text */
.need__foot a, .signin-done a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* =========================================================
   Round 2 (26 Sep 2026, afternoon): owner's notes on d12
   ========================================================= */

/* no breadcrumbs anywhere (2.7) */
.crumbs, .bhero__crumbs { display: none !important; }

/* ---------- 2.1 phone Home hero: Gallery White (d1) photo on top, all-samples caption, no demo card ---------- */
.hero__tag { display: none; }
@media (max-width: 720px) {
  .hero__grid { padding: 0 0 36px; }
  .stage__photo { order: 0; align-self: stretch; width: auto; max-width: none; margin: 0 calc(-1 * var(--gut)) 24px; border-radius: 0; aspect-ratio: 390 / 300; box-shadow: none; }
  .hero__grid { align-items: stretch; }
  .stage__photo::after { content: none; }
  .hero__tag { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0;
    padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: #1F2023; font-size: 14.5px; line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
  .hero__tag .i { flex: none; width: 20px; height: 20px; color: #1F2023; }
  .hero__copy .eyebrow { order: 1; }
  .stage .stage__device, .stage .stage__routine { display: none; }
  .hero__copy .actions { flex-direction: column; align-items: stretch; }
  .hero__copy .actions .btn { width: 100%; flex: none; }
}

/* ---------- 2.2 / 2.6 product lists: chips on desktop, a drop-down on phones ---------- */
.pfilter { margin-bottom: 32px; }
.pfilter .filter--wrap { margin-bottom: 0; }
.fdrop { display: none; }
.fdrop__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.fdrop__box { position: relative; display: block; }
.fdrop__sel { -webkit-appearance: none; appearance: none; width: 100%; min-height: 52px; padding: 0 48px 0 16px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.fdrop__sel:hover { border-color: var(--ink); }
.fdrop__sel:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; }
.fdrop__box .i { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; pointer-events: none; color: var(--ink-2); }
@media (max-width: 720px) {
  .pfilter { margin-bottom: 20px; }
  .pfilter__chips { display: none !important; }
  .fdrop { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
}
/* every card shows on phones; the filter narrows */
@media (max-width: 720px) { #home-grid .pcard:nth-child(n+7) { display: grid; } #home-grid .pcard[hidden], .allgrid .pcard[hidden] { display: none; } }

/* ---------- 2.5 showroom: fabric products only, four on phones ---------- */
@media (max-width: 720px) {
  .swatch:nth-child(5) { display: none; }
  .swatch__img, .swatch:nth-child(even) .swatch__img { aspect-ratio: 4 / 4.4; }
}

/* ---------- 2.3 Control: exactly four cards ---------- */
.ctrl-grid--4 .ctrl__media--photo img { object-fit: cover; }
@media (max-width: 720px) {
  .ctrl-grid--4 .ctrl { grid-template-columns: 104px 1fr; }
  .ctrl-grid--4 .ctrl__body { padding: 14px 16px; }
  .ctrl-grid--4 .ctrl__good { padding-top: 8px; }
}

/* ---------- 2.3 Smart home: the motorized controls, explained ---------- */
.smart__somfy { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.smart__somfy .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-2); }
.ways { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.ways__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 32px; margin-bottom: 24px; }
.ways__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: way; }
.way { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.way__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(180deg, var(--media-l1), var(--mist)); }
.way__media { overflow: hidden; }
.way__media img { height: 104px; width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(var(--shadow-rgb), .2)); }
.way__media--ico .i { width: 44px; height: 44px; stroke-width: 1.4; color: var(--ink); }
.way > div { display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px; }
.way__step { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.way h4 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.way p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1140px) { .ways__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ways { margin-top: 48px; padding-top: 32px; }
  .ways__list { grid-template-columns: 1fr; gap: 10px; }
  .way { grid-template-rows: none; grid-template-columns: 88px minmax(0, 1fr); }
  .way__media { aspect-ratio: auto; min-height: 100%; }
  .way__media img { height: 60px; max-width: 64px; }
  .way__media--ico .i { width: 32px; height: 32px; }
  .way > div { padding: 14px 16px; gap: 4px; }
  .way h4 { font-size: 16.5px; }
  .way p { font-size: 14.5px; }
  /* phone order: the words, how you control it, then the example day */
  #smart > .wrap { display: flex; flex-direction: column; }
  #smart .smart { display: contents; }
  #smart .smart__copy { order: 1; }
  #smart .ways { order: 2; }
  #smart .smart__visual { order: 3; margin-top: 40px; }
  /* the example day: one line per event, time on the right */
  #smart .day__item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; }
  #smart .day__time { grid-column: 3; grid-row: 1; order: 0; font-size: 13.5px; align-self: center; }
  #smart .day__item > div { grid-column: 2; grid-row: 1; }
  #smart .smart__chips li { height: 34px; font-size: 14px; }
}

/* ---------- 2.4 Where we work: Ink Ember (d6) on desktop, compact Gallery White (d1) on phones ---------- */
.shead6 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.shead6__t { display: grid; gap: 14px; }
.shead6__t .h2 { max-width: 14ch; }
.shead6__r { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.areas6 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--ink); padding-top: 32px; }
.area6 summary { list-style: none; display: block; cursor: default; }
.area6 summary::-webkit-details-marker { display: none; }
.area6 summary .i { display: none; }
.area6 h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
.area6__rest { display: none; }
.area6__k { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.area6 p { margin-top: 16px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.areas6__note { margin-top: 40px; font-size: 16px; }
@media (max-width: 1024px) { .areas6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } .shead6 { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .shead6 { margin-bottom: 24px; gap: 14px; }
  .shead6__r { font-size: 16px; }
  .areas6 { grid-template-columns: 1fr; gap: 0; padding-top: 0; border-top: 1px solid var(--line); }
  .area6 { border-bottom: 1px solid var(--line); }
  .area6 summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; }
  .area6 summary .i { display: block; flex: none; color: var(--ink-3); transition: transform .2s var(--ease); }
  .area6[open] summary .i { transform: rotate(180deg); }
  .area6 h3 { font-size: 17px; font-weight: 600; }
  .area6__rest { display: inline; }
  .area6__k { display: none; }
  .area6 p { margin: 0 0 14px; font-size: 15px; }
  .areas6__note { margin-top: 18px; font-size: 15px; }
}

/* =========================================================
   2.9 Products page: Claude's Pick (d13) layout, one list, Opera + Outdoor highlights
   ========================================================= */
.next { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.next .i { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--ink-2); }
html[data-palette="original"] .phero .next { color: var(--on-d-3); }
/* 2.7 "Start with the light": its own white band, clearly apart from the hero */
.routes-sec .sec__head { max-width: none; margin-bottom: 40px; }
.routes-sec .sec__head .h2 { max-width: none; }
@media (min-width: 1141px) { .allgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.routes-sec .sec__head .lede { max-width: 36em; }
.allprod .family__head { margin-bottom: 28px; }
.allprod__note { margin-top: 16px; }
.highlights { display: grid; gap: 24px; margin-top: 72px; }
.feature__copy .h2 { font-size: clamp(28px, 2.6vw, 36px); }
.feature__copy .ticks li { font-size: 16px; }
.feature__copy .actions { margin-top: 4px; }
@media (min-width: 901px) {
  .feature--flip .feature__media { order: 2; }
}
.page-products .family + .family, .highlights + .family { margin-top: 88px; }
@media (max-width: 900px) { .highlights + .family { margin-top: 64px; } }
@media (max-width: 720px) {
  .phero .next { font-size: 14px; }
  .highlights { margin-top: 48px; gap: 16px; }
  .feature__copy .h2 { font-size: 26px; }
  .feature__copy .ticks { gap: 8px; }
  .feature__copy .ticks li { font-size: 15px; }
  .feature__copy .actions, .feature__copy .actions .btn { width: 100%; }
  .page-products .family, .page-products .family + .family, .highlights + .family { margin-top: 56px; }
  .allgrid .pcard__tag-m { display: none; }
}
/* the old family chips, jump bar and "Change what's shown" links are gone */
.page-products .fsel, .page-products .jump { display: none !important; }

/* =========================================================
   2.10 Roller page
   ========================================================= */
/* light levels: a compact four-step selector on phones */
.lopt__short { display: none; }
@media (max-width: 720px) {
  .lightlab { gap: 12px; }
  .lightlab__view { aspect-ratio: 16 / 10.5; }
  .lightlab__panel { padding: 0; gap: 10px; background: none; border: 0; box-shadow: none; }
  .lightlab__panel .scale { position: relative; padding: 0 2px; font-size: 12px; }
  .lightlab__panel .scale::after { content: ""; position: absolute; left: 96px; right: 104px; top: 50%; height: 1px; background: var(--line-d2); }
  .lightlab__opts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .lopt { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-height: 64px; padding: 6px; border-radius: 12px; text-align: center; }
  .lopt__sw { width: 100%; height: 26px; border-radius: 7px; }
  .lopt div > strong, .lopt div > span:not(.lopt__short) { display: none; }
  .lopt__short { display: block; font-style: normal; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--on-d); }
  .lopt__radio { display: none; }
  .lightlab__desc { margin-top: 2px; padding-top: 0; border-top: 0; font-size: 15px; min-height: 4.9em; }
  .lightlab__desc strong { display: inline; margin: 0 6px 0 0; }
  .lightlab__desc span { display: inline; }
}

/* every roller option: one row each, from basic to outdoor */
.ropts { display: grid; border-top: 1px solid var(--line); }
.ropt { display: grid; grid-template-columns: 300px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.ropt__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.ropt__media img { width: 100%; height: 100%; object-fit: cover; }
.ropt__main { display: grid; gap: 8px; }
.ropt__num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.ropt__main h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.ropt__main p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.ropt__ticks { display: grid; gap: 8px; }
.ropt__ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ropt__ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--deco-soft) var(--ico-tick) center / 12px no-repeat; }
.ropt__end { display: grid; gap: 12px; justify-items: end; align-self: center; }
.ropt__end .link { white-space: nowrap; }
.ropts__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.rmore { display: grid; grid-template-columns: 96px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; scroll-margin-top: calc(var(--header-h) + 16px); }
.rmore:hover { border-color: var(--line-h2); box-shadow: var(--shadow-2); }
.rmore__media { display: grid; place-items: center; background: var(--mist); min-height: 96px; }
.rmore__media img { width: 100%; height: 100%; object-fit: cover; }
.rmore__media--ico .i { width: 28px; height: 28px; color: var(--ink-2); }
.rmore__body { display: grid; gap: 4px; align-content: center; padding: 14px 16px; }
.rmore__body strong { font-size: 16px; }
.rmore__body span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1140px) {
  .ropt { grid-template-columns: 240px minmax(0, 1fr) minmax(0, .9fr); }
  .ropt__end { grid-column: 2 / -1; grid-auto-flow: column; justify-content: start; justify-items: start; align-items: center; gap: 20px; }
}
@media (max-width: 900px) {
  .ropt { grid-template-columns: 200px minmax(0, 1fr); gap: 16px 24px; }
  .ropt__media { grid-row: span 3; align-self: start; }
  .ropt__ticks, .ropt__end { grid-column: 2; }
  .ropts__more { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
  .ropt { grid-template-columns: 104px minmax(0, 1fr); gap: 10px 14px; padding: 18px 0; align-items: start; }
  .ropt__media { grid-row: auto; aspect-ratio: 1 / 1; border-radius: 12px; }
  .ropt__main { gap: 4px; }
  .ropt__main h3 { font-size: 17.5px; }
  .ropt__main p { font-size: 14.5px; line-height: 1.5; }
  .ropt__ticks { grid-column: 1 / -1; gap: 6px; }
  .ropt__ticks li { font-size: 14.5px; }
  .ropt__end { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .ropt__end .link { min-height: 44px; display: inline-flex; align-items: center; }
  .rmore { grid-template-columns: 84px minmax(0, 1fr); }
  .rmore__media { min-height: 84px; }
}

/* =========================================================
   2.12 Builder "How it works": Claude's Pick (d13)
   ========================================================= */
.howto--d13 li { grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; }
.howto--d13 li::before { content: counter(how); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); }
.howto--d13 strong { padding-top: 3px; }
@media (max-width: 720px) {
  /* phones: the builder itself follows; the step list lives behind "How it works" in the header */
  .page-builder .howm__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .page-builder .howm__list li::before { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 600; }
  .page-builder .howm__list li > div { min-width: 0; }
  .page-builder .howm__list strong { display: block; color: var(--ink); font-weight: 600; }
  .howm__toggle { background: var(--white); }
  .bhero__copy .eyebrow { margin-bottom: 0; }
}

/* =========================================================
   2.13 Book page: Claude's Pick (d13), phone and desktop
   ========================================================= */
.promise-card { padding: 28px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.promise-card h2 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 12px; }
.promise3--card { grid-template-columns: 1fr; margin-top: 0; border-top: 1px solid var(--line); }
.promise3--card li, .promise3--card li + li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); }
.promise3--card b { grid-row: span 2; width: 28px; height: 28px; margin-top: 0; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink); }
.promise3--card strong { font-size: 16.5px; line-height: 28px; color: var(--ink); }
.promise3--card span { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.page-contact .form-foot { display: grid; justify-items: start; gap: 12px; }
.page-contact .form-foot .next { min-width: 0; font-size: 14px; }
.page-contact .form-foot .next span { color: var(--ink-3); }
@media (max-width: 720px) {
  .promise-card { padding: 20px; }
  .promise3--card li, .promise3--card li + li { align-items: center; padding: 12px 0; }
  .promise3--card span { display: none; }
  .promise3--card b { grid-row: auto; }
  .page-contact .form-foot { justify-items: stretch; }
}
.note a.link-inline { display: inline-block; padding: 13px 0; margin: -13px 0; color: var(--iris); }
html[data-palette="original"] .sec--dark .note a.link-inline { color: var(--iris-d); }

/* Round 2 QA: white remotes, switches and hubs on a pale tile were almost invisible */
.ctrl__media:not(.ctrl__media--photo), .way__media { background: linear-gradient(180deg, color-mix(in srgb, var(--mist) 88%, var(--ink) 12%), color-mix(in srgb, var(--mist) 78%, var(--ink) 22%)); }
.ctrl__media:not(.ctrl__media--photo) img, .way__media:not(.way__media--ico) img { filter: drop-shadow(0 0 .6px rgba(0, 0, 0, .55)) drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); }

/* Round 2 QA: 44 px tap targets on desktop too (they were already 44 px on phones) */
.brand { min-height: 44px; align-items: center; }
.link { min-height: 44px; }
.filter button { min-height: 44px; }
.seg button { min-height: 44px; }
.footer__list { gap: 0; }
.footer__list a, .footer__phone { display: inline-flex; align-items: center; min-height: 44px; }
.footer__list li:not(:has(a)) { padding: 4px 0; }
.footer__bottom ul { gap: 0 20px; }
.footer__bottom a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.footer__bottom { align-items: center; }
.signin__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* =========================================================
   Round 3 (26 Sep 2026): hero without the demo card (1), Account details on My account (4),
   the invitation sign-up with the simplified consent (5), and the Terms + Privacy page
   ========================================================= */

/* ---------- shared form bits: errors, password show/hide, consent ticks, address boxes ---------- */
.field.has-error .input, .field.has-error .select { border-color: var(--err); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
.field__error .i { flex: none; width: 16px; height: 16px; }

.pw { position: relative; }
.pw .pw__in { padding-right: 84px; }
.pw__show {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%); min-width: 72px; height: 44px; padding: 0 12px;
  border: 0; border-radius: 9px; background: transparent; color: var(--iris-text); font-size: 15px; font-weight: 600; cursor: pointer;
}
.pw__show:hover { background: var(--mist); }
.pw__show:focus-visible { outline: 2px solid var(--iris); outline-offset: -2px; }
.pw__t-hide, .pw__show[aria-pressed="true"] .pw__t-show { display: none; }
.pw__show[aria-pressed="true"] .pw__t-hide { display: inline; }

.consent { display: grid; gap: 4px; }
.achk { gap: 4px; }
.achk .achk__row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; justify-content: stretch; min-height: 44px; padding: 10px 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--ink); cursor: pointer; }
.achk__in { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--iris); cursor: pointer; }
.achk__in:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; }
.achk__t a { white-space: nowrap; color: var(--iris-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 12px 0; }   /* 44 px tall tap area; inline padding does not move the line */
.achk__t small { display: inline; font-size: 14px; color: var(--ink-3); }
.achk.has-error .achk__in { outline: 2px solid var(--err); outline-offset: 2px; }
.achk .field__error { padding-left: 36px; }

.saddr { container-type: inline-size; display: grid; gap: 16px; }
.saddr__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@container (min-width: 440px) { .saddr__row--street { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@container (min-width: 260px) {
  .saddr__row--place { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .saddr__row--place > .saddr__city { grid-column: 1 / -1; }
}
@container (min-width: 600px) {
  .saddr__row--place { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, .8fr); }
  .saddr__row--place > .saddr__city { grid-column: auto; }
}
.saddr__city { position: relative; }
.saddr__note { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.sa-list {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 4px); max-height: 268px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 4px 0; list-style: none; background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-1), 0 16px 32px -16px rgba(0, 0, 0, .25);
}
.sa-list[hidden] { display: none; }
.sa-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 14px; font-size: 16px; color: var(--ink); cursor: pointer; }
.sa-opt:hover { background: var(--mist); }
.sa-opt.is-active { background: var(--mist); box-shadow: inset 3px 0 0 var(--iris); }
.sa-opt__in { flex: none; font-size: 14px; color: var(--ink-2); white-space: nowrap; }

/* ---------- 5. the invitation sign-up (?invite=...) ---------- */
html:not(.is-invite) .inv-only { display: none !important; }
html.is-invite .gate { display: none !important; }
.reg--acct { padding: calc(var(--sec) * .6) 0 var(--sec); }
/* on the builder the card takes the builder's place over the dark hero; the builder follows below it */
.reg--builder { position: relative; z-index: 2; margin-top: -96px; padding: 0 0 32px; }
html.is-invite .builder { margin-top: 0; }
@media (max-width: 599px) { .reg--builder { margin-top: -84px; } }
.reg__card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start;
  padding: 40px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.reg__intro { display: grid; gap: 16px; justify-items: start; position: sticky; top: calc(var(--header-h) + 24px); }
.reg__h { font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1.08; }
.reg__h:focus { outline: none; }
.reg__lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.reg__list { display: grid; gap: 10px; margin-top: 8px; }
.reg__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); }
.reg__list .i { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--mist); color: var(--ink); }
.reg__form { display: grid; gap: 28px; min-width: 0; }
.reg__set { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.reg__leg { float: left; width: 100%; margin: 0 0 4px; padding: 0 0 10px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); }
.reg__leg + * { clear: both; }
.reg__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.reg__grid > [data-f="name"] { grid-column: 1 / -1; }
.reg__go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.reg__msg { font-size: 15px; color: var(--ink-2); }
.reg__msg.is-err { color: var(--err); font-weight: 500; }
.reg__done { grid-column: 2; display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 16px; background: var(--mist); }
.reg__done:focus { outline: none; }
.reg__ok { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ok); color: #fff; }
.reg__ok .i { width: 22px; height: 22px; }
.reg__done-t { font-size: 18px; font-weight: 600; color: var(--ink); }
.reg__done-s { margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.reg__done-s a { color: var(--iris-text); font-weight: 600; }
.gate__note .link, .signin__inv a { color: var(--iris-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; margin: -12px 0; }
.signin__inv { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

@media (max-width: 1100px) { .reg__card { gap: 40px; padding: 32px; } }
@media (max-width: 960px) {
  .reg__card { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reg__intro { position: static; }
  .reg__done { grid-column: 1; }
}
@media (max-width: 720px) {
  .reg--acct { padding: 24px 0 48px; }
  .reg--builder { margin-top: 0; padding: 20px 0; }
  .reg__card { padding: 20px; border-radius: 18px; gap: 24px; }
  .reg__h { font-size: 30px; }
  .reg__lede { font-size: 16px; }
  .reg__list { display: none; }
  .reg__grid { grid-template-columns: minmax(0, 1fr); }
  .reg__form { gap: 24px; }
  .reg__go { display: grid; gap: 12px; }
  .reg__go .btn { width: 100%; }
  .reg__done { padding: 18px; }
}

/* the finished sign-up: one calm card (the form heading and list go with the form) */
.reg.is-done .reg__card { grid-template-columns: minmax(0, 1fr); padding: 28px 32px; }
.reg.is-done .reg__intro { display: none; }
.reg.is-done .reg__done { grid-column: 1; padding: 0; background: transparent; align-items: center; }
@media (max-width: 720px) { .reg.is-done .reg__card { padding: 20px; } .reg.is-done .reg__done { align-items: flex-start; } }
/* a long first name never pushes the header tools around */
@media (min-width: 1361px) { .tool--acct__name { display: inline-block; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- 4. Account details: four panels, each edited in place ---------- */
.adet { margin-top: 24px; }
.adet .acard__head { align-items: center; }
.adet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.apanel { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 16px; }
.apanel.is-editing { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.apanel__head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.apanel__t { flex: 1 1 auto; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.apanel__ok { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ok); }
.apanel__ok[hidden] { display: none; }
.apanel__ok .i { width: 18px; height: 18px; }
.apanel__edit { flex: none; }
.apanel.is-editing .apanel__edit, .apanel.is-editing .apanel__ok { display: none; }
.apanel .dl { margin: 0; }
.apanel .dl div:first-child { border-top: 0; padding-top: 0; }
.apanel .dl div:last-child { padding-bottom: 0; }
.apanel__pend { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.apanel__pend[hidden] { display: none; }
.apanel__addr { font-size: 16px; line-height: 1.55; color: var(--ink); }
.apanel__s { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.apanel__s--line { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.apanel__dots { letter-spacing: .12em; }
.apanel__form { display: grid; gap: 16px; }
.apanel__form[hidden] { display: none; }
.apanel__acts { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.apanel__msg { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.apanel__msg:empty { display: none; }
.apanel__msg.is-ok { color: var(--ok); font-weight: 500; }

.aswitch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; cursor: pointer; }
.aswitch__txt { display: grid; gap: 2px; }
.aswitch__t { font-size: 16px; font-weight: 600; color: var(--ink); }
.aswitch__s { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.aswitch__in { position: absolute; right: 0; top: 50%; width: 52px; height: 44px; margin: -22px 0 0; opacity: 0; cursor: pointer; z-index: 1; }
.aswitch__ui { position: relative; flex: none; width: 52px; height: 32px; border-radius: 99px; background: var(--ink-3); transition: background .2s; }
.aswitch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.aswitch__in:checked + .aswitch__ui { background: var(--iris); }
.aswitch__in:checked + .aswitch__ui::after { transform: translateX(20px); }
.aswitch__in:focus-visible + .aswitch__ui { outline: 2px solid var(--iris); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .aswitch__ui, .aswitch__ui::after { transition: none; } }

@media (max-width: 960px) { .adet__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .adet { margin-top: 14px; }
  .adet .acard__head { align-items: flex-start; }
  .adet__grid { gap: 12px; }
  .apanel { padding: 16px; }
  .apanel__acts { display: grid; grid-template-columns: 1fr 1fr; }
  .apanel__acts .btn { width: 100%; padding: 0 10px; }
}

/* ---------- Terms + Privacy page ---------- */
.legal__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legal__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.legal__nav a:hover { border-color: var(--line-strong); }
.legal__doc { display: grid; gap: 48px; max-width: 760px; margin-top: 40px; }
.legal__sec { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal__sec h2 { margin-bottom: 4px; }
.legal__sec h3 { margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--ink); }
.legal__sec p { color: var(--ink-2); line-height: 1.6; }
.legal__sec a { color: var(--iris-text); }
@media (max-width: 720px) { .legal__doc { gap: 36px; margin-top: 28px; } .legal__nav { margin-top: 20px; } }

/* ==== PALETTES:start ==== */
/* d12 colour options. The markup starts on data-palette="clean"; script.js reads ?palette= and the options page message.
   "original" = Quiet Motion night (the d9 colours at the top of this file), "alt-a" = Warm Linen, "alt-b" = Stone Moss, "clean" = Clean White (default). */
/* tokens added for the colour options; these values are the original look */
:root {
  --on-accent: #FFFFFF;
  --on-accent-rgb: 255, 255, 255;
  --white-rgb: 255, 255, 255;
  --d-rgb: 255, 255, 255;
  --night-rgb: 8, 12, 18;
  --scrim-rgb: 8, 12, 18;
  --deep-rgb: 0, 0, 0;
  --deep-k: 1;
  --shadow-rgb: 13, 19, 28;
  --paper-rgb: 243, 245, 248;
  --line-rgb: 221, 227, 235;
  --iris-rgb: 79, 85, 227;
  --iris-d-rgb: 165, 171, 255;
  --iris-text: #3A40C4;
  --grad-a: #7B83FF;
  --grad-b: #5CD6F5;
  --grad-a-rgb: 123, 131, 255;
  --on-grad: #0B1020;
  --glow-1: radial-gradient(closest-side, rgba(107, 116, 255, .30), rgba(107, 116, 255, 0));
  --glow-2: radial-gradient(closest-side, rgba(92, 214, 245, .14), rgba(92, 214, 245, 0));
  --ok-d-rgb: 110, 224, 174;
  --stage-fade: linear-gradient(180deg, rgba(8, 12, 18, 0) 55%, rgba(8, 12, 18, .55));
  --card-d1-rgb: 30, 40, 56;
  --card-d2-rgb: 17, 24, 35;
  --on-d-ink: #0D131C;
  --btn-light-hover: #FFFFFF;
  --line-d3: #4A5A76;
  --drop-bg: #111823;
  --media-l1: #F6F8FB;
  --media-l2: #F4F6FA;
  --media-l3: #E4E9F1;
  --media-l4: #E6EBF2;
  --media-d1: #26324A;
  --media-d2: #111823;
  --media-d3: #141C28;
  --line-h1: #CBD3DE;
  --line-h2: #C3CBD8;
  --line-h3: #B9C2CF;
  --day-end: #3B4A6B;
  --day-ico: #1F2A3B;
  --appbar: #F1F3F7;
  --appdot: #D5DAE2;
  --review-line: #BCC5D2;
  --switch-off: #C5CCD7;
  --tint-1: #F7F9FB;
  --tint-2: #FAFBFD;
  --tint-3: #F8F9FB;
  --sun-soft: #FFF4E2;
  --sun-deep: #5C3D00;
  --motor-wash: #F4F5FF;
  --field-line: #7C8798;
  --control-line: #7C8798;
  --field-line-hover: #465163;
  --err: #B42318;
  --err-soft: #FEF3F2;
  --err-deep: #912018;
  --ok: #12744A;
  --ok-soft: #E7F8EF;
  --knob: #FFFFFF;
  --theme-color: #0B1018;
  --track-off: rgba(var(--d-rgb), .40);
  --knob-ring: transparent;
  --deco: var(--iris);
  --deco-d: var(--iris-d);
  --deco-rgb: var(--iris-rgb);
  --deco-d-rgb: var(--iris-d-rgb);
  --deco-soft: var(--iris-soft);
  --art-glint-rgb: 255, 255, 255;
  --art-sky-1: #3B5A86;
  --art-sky-2: #7FA7C9;
  --art-sky-3: #C7D9E4;
  --art-shade-1: #E7E2D8;
  --art-shade-2: #DDD7CB;
  --art-shade-bar: #9C958A;
  --art-cassette: #CFC9BD;
  --art-dark-1: #3A3F48;
  --art-dark-2: #30353D;
  --art-dark-cassette: #2A2E35;
  --sw-1a: #E9E6DF;
  --sw-1b: #D9D5CC;
  --sw-2a: #BDB8AE;
  --sw-2b: #A7A298;
  --sw-3a: #7E7A73;
  --sw-3b: #67635D;
  --sw-4a: #3A3835;
  --sw-4b: #252422;
  --ico-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F55E3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-tick-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5ABFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D131C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23465163' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E");
  --ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23465163' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
/* Clean White (default): every option except "original" starts here */
html:not([data-palette="original"]) {
  --night: #FFFFFF;
  --slate: #F5F5F7;
  --panel: #FFFFFF;
  --panel-2: #FAFAFC;
  --line-d: #E5E5EA;
  --line-d2: #D2D2D7;
  --line-d3: #AEAEB2;
  --on-d: #1D1D1F;
  --on-d-2: #424245;
  --on-d-3: #636366;
  --paper: #F5F5F7;
  --white: #FFFFFF;
  --mist: #EDEDF0;
  --line: #E5E5EA;
  --line-strong: #86868B;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --ink-3: #636366;
  --iris: #0066CC;
  --iris-h: #0055AA;
  --iris-soft: #EEF4FB;
  --iris-line: #C6DCF2;
  --iris-d: #0066CC;
  --iris-text: #0055AA;
  --cyan: #1D1D1F;
  --grad-a: #1D1D1F;
  --grad-b: #1D1D1F;
  --on-grad: #FFFFFF;
  --ok-d: #1D7A46;
  --ok-d-rgb: 29, 122, 70;
  --d-rgb: 0, 0, 0;
  --night-rgb: 255, 255, 255;
  --scrim-rgb: 0, 0, 0;
  --deep-k: .25;
  --glow-1: none;
  --glow-2: none;
  --stage-fade: none;
  --card-d1-rgb: 255, 255, 255;
  --card-d2-rgb: 250, 250, 252;
  --on-d-ink: #FFFFFF;
  --btn-light-hover: #3A3A3C;
  --drop-bg: #FFFFFF;
  --media-d1: #F7F7F9;
  --media-d2: #E3E3E8;
  --media-d3: #E3E3E8;
  --day-end: #D2D2D7;
  --day-ico: #F5F5F7;
  --media-l1: #FAFAFC;
  --media-l2: #F7F7F9;
  --media-l3: #EDEDF0;
  --media-l4: #EDEDF0;
  --line-h1: #D2D2D7;
  --line-h2: #C7C7CC;
  --line-h3: #C7C7CC;
  --appbar: #F5F5F7;
  --appdot: #D2D2D7;
  --review-line: #C7C7CC;
  --switch-off: #D2D2D7;
  --tint-1: #FAFAFC;
  --tint-2: #FBFBFD;
  --tint-3: #FAFAFC;
  --motor-wash: #F5F8FC;
  --field-line: #86868B;
  --control-line: #86868B;
  --field-line-hover: #424245;
  --track-off: #86868B;
  --knob-ring: #6E6E73;
  --deco: #1D1D1F;
  --deco-d: #1D1D1F;
  --deco-rgb: 29, 29, 31;
  --deco-d-rgb: 29, 29, 31;
  --deco-soft: #F0F0F2;
  --theme-color: #FFFFFF;
  --paper-rgb: 245, 245, 247;
  --line-rgb: 229, 229, 234;
  --iris-rgb: 0, 102, 204;
  --iris-d-rgb: 0, 102, 204;
  --grad-a-rgb: 29, 29, 31;
  --shadow-rgb: 29, 29, 31;
  --ico-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-tick-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23424245' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E");
  --ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23424245' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
/* Gallery White: warm white paper, graphite text, deep teal for actions (the d1 colours) */
html[data-palette="alt-a"] {
  --night: #FFFFFF;
  --slate: #F6F4EF;
  --panel: #FFFFFF;
  --panel-2: #FAF9F6;
  --line-d: #DFE3E8;
  --line-d2: #CDD2D8;
  --line-d3: #A9B0B8;
  --on-d: #161A1F;
  --on-d-2: #474E58;
  --on-d-3: #5E6671;
  --paper: #F6F4EF;
  --white: #FFFFFF;
  --mist: #ECE9E2;
  --line: #DFE3E8;
  --line-strong: #848C97;
  --ink: #161A1F;
  --ink-2: #474E58;
  --ink-3: #5E6671;
  --iris: #0E5C63;
  --iris-h: #0A4A50;
  --iris-soft: #E2EFEF;
  --iris-line: #B7D5D7;
  --iris-d: #0E5C63;
  --iris-text: #0A4A50;
  --cyan: #161A1F;
  --grad-a: #161A1F;
  --grad-b: #161A1F;
  --deco: #0E5C63;
  --deco-d: #0E5C63;
  --deco-rgb: 14, 92, 99;
  --deco-d-rgb: 14, 92, 99;
  --deco-soft: #E2EFEF;
  --media-d1: #FAF9F6;
  --media-d2: #E4E0D8;
  --media-d3: #E4E0D8;
  --day-end: #CDD2D8;
  --day-ico: #F6F4EF;
  --media-l1: #FAF9F6;
  --media-l2: #FAF9F6;
  --media-l3: #ECE9E2;
  --media-l4: #ECE9E2;
  --line-h1: #CDD2D8;
  --line-h2: #C2C8CF;
  --line-h3: #C2C8CF;
  --appbar: #F6F4EF;
  --appdot: #CDD2D8;
  --review-line: #C2C8CF;
  --switch-off: #CDD2D8;
  --tint-1: #FAF9F6;
  --tint-2: #FAF9F6;
  --tint-3: #FAF9F6;
  --motor-wash: #E2EFEF;
  --field-line: #848C97;
  --control-line: #848C97;
  --field-line-hover: #474E58;
  --track-off: #848C97;
  --knob-ring: #5E6671;
  --theme-color: #FFFFFF;
  --paper-rgb: 246, 244, 239;
  --line-rgb: 223, 227, 232;
  --iris-rgb: 14, 92, 99;
  --iris-d-rgb: 14, 92, 99;
  --grad-a-rgb: 22, 26, 31;
  --shadow-rgb: 22, 26, 31;
  --ok-d: #1D7A46;
  --ok-d-rgb: 29, 122, 70;
  --ico-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5C63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-tick-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5C63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161A1F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  --ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23474E58' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E");
  --ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23474E58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
/* Stone Moss: soft stone paper, warm near-black text, moss green for actions (calm, from Stone Linen) */
html[data-palette="alt-b"] {
  --night: #FFFFFF;
  --slate: #F6F5F2;
  --panel: #FFFFFF;
  --panel-2: #FAF9F7;
  --line-d: #E2DFD9;
  --line-d2: #D2CEC6;
  --line-d3: #ADA89E;
  --on-d: #1C1B18;
  --on-d-2: #4C4943;
  --on-d-3: #65615A;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --mist: #EDEBE7;
  --line: #E2DFD9;
  --line-strong: #8B877D;
  --ink: #1C1B18;
  --ink-2: #4C4943;
  --ink-3: #65615A;
  --iris: #4B5A2C;
  --iris-h: #3C4823;
  --iris-soft: #ECEFE2;
  --iris-line: #C9D1B2;
  --iris-d: #4B5A2C;
  --iris-text: #3C4823;
  --cyan: #1C1B18;
  --grad-a: #1C1B18;
  --grad-b: #1C1B18;
  --deco: #4B5A2C;
  --deco-d: #4B5A2C;
  --deco-rgb: 75, 90, 44;
  --deco-d-rgb: 75, 90, 44;
  --deco-soft: #ECEFE2;
  --media-d1: #FAF9F7;
  --media-d2: #E3E0DA;
  --media-d3: #E3E0DA;
  --day-end: #D2CEC6;
  --day-ico: #F6F5F2;
  --media-l1: #FAF9F7;
  --media-l2: #FAF9F7;
  --media-l3: #EDEBE7;
  --media-l4: #EDEBE7;
  --line-h1: #D2CEC6;
  --line-h2: #C6C1B8;
  --line-h3: #C6C1B8;
  --appbar: #F6F5F2;
  --appdot: #D2CEC6;
  --review-line: #C6C1B8;
  --switch-off: #D2CEC6;
  --tint-1: #FAF9F7;
  --tint-2: #FAF9F7;
  --tint-3: #FAF9F7;
  --motor-wash: #ECEFE2;
  --field-line: #8B877D;
  --control-line: #8B877D;
  --field-line-hover: #4C4943;
  --track-off: #8B877D;
  --knob-ring: #65615A;
  --theme-color: #FFFFFF;
  --paper-rgb: 246, 245, 242;
  --line-rgb: 226, 223, 217;
  --iris-rgb: 75, 90, 44;
  --iris-d-rgb: 75, 90, 44;
  --grad-a-rgb: 28, 27, 24;
  --shadow-rgb: 28, 27, 24;
  --ok-d: #1D7A46;
  --ok-d-rgb: 29, 122, 70;
  --ico-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5A2C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-tick-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5A2C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B18' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  --ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C4943' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E");
  --ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C4943' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
/* The dark "original" header and footer need the light logo */
html[data-palette="original"] .brand img { content: url("img/logo-on-dark-360.png"); }
/* ==== PALETTES:end ==== */
