/* Settled — settled.business
   ---------------------------------------------------------------------------
   Colour comes straight from the logo: forest green, clay orange, cream.
   Type is Bricolage Grotesque (self-hosted), one family throughout.
   Glass is kept for the floating nav only; everything else sits flat on
   paper so it reads as printed matter rather than a stack of cards.
   Both themes come from one set of tokens via light-dark().
   --------------------------------------------------------------------------- */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --paper:      light-dark(#FAF4EA, #0F1A14);
  --paper-2:    light-dark(#F3E9D9, #15231B);
  --ink:        light-dark(#15261C, #F1EADC);
  --ink-2:      light-dark(#4D5A50, #B9B4A6);
  --ink-3:      light-dark(#858C82, #7E8479);
  --line:       light-dark(#E3D8C4, #25362B);
  --line-2:     light-dark(#D3C5AC, #33473A);
  --forest:     light-dark(#1B4632, #183E2C);
  --forest-ink: #F4EBDC;
  --clay:       light-dark(#D5754A, #E2875C);
  --clay-press: light-dark(#BC6038, #C9704A);
  --clay-ink:   #FFF8F1;

  --glass:        light-dark(rgba(250, 244, 234, 0.62), rgba(18, 30, 23, 0.58));
  --glass-strong: light-dark(rgba(250, 244, 234, 0.84), rgba(18, 30, 23, 0.82));
  --glass-edge:   light-dark(#E3D8C4, rgba(255, 255, 255, 0.09));

  --shadow-tint: light-dark(20, 38, 28, 0);
  --shadow-1: 0 1px 2px rgba(20, 38, 28, 0.06), 0 2px 8px rgba(20, 38, 28, 0.05);
  --shadow-2: 0 12px 40px -12px rgba(20, 38, 28, 0.28);

  --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* One easing for everything that moves: a long, soft deceleration. */
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --fast: 180ms;
  --med: 420ms;
  --slow: 900ms;

  --page: min(1120px, 100% - 48px);
  --nav-h: 68px;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

/* Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 40px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--clay) 28%, transparent); }

h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 680; letter-spacing: -0.015em; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform var(--fast) var(--ease);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

/* Theme-specific images (logo has a dark-mode version with cream ink). */
.theme-dark-only { display: none !important; }
:root[data-theme="dark"] .theme-dark-only { display: block !important; }
:root[data-theme="dark"] .theme-light-only { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-dark-only { display: block !important; }
  :root:not([data-theme]) .theme-light-only { display: none !important; }
}

/* A faint grain over everything so flat colour doesn't look screen-flat. */
:root[data-theme="dark"] :root[data-theme="dark"] .grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
:root[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: 0.03; filter: invert(1); }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 620; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform var(--fast) var(--ease), background-color var(--fast) var(--ease), box-shadow var(--med) var(--ease), color var(--fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-clay { background: var(--clay); color: var(--clay-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 18px -8px color-mix(in srgb, var(--clay) 80%, transparent); }
.btn-clay:hover { background: var(--clay-press); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 24px -10px color-mix(in srgb, var(--clay) 90%, transparent); }
.btn-forest { background: var(--forest); color: var(--forest-ink); }
.btn-forest:hover { background: color-mix(in srgb, var(--forest) 86%, #000); }
.btn-quiet { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--med) var(--ease);
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
#themeToggle:hover { transform: rotate(-18deg); }

/* Nav: a floating frosted strip ---------------------------------------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1120px, 100% - 28px); height: var(--nav-h);
  display: flex; align-items: center; gap: 12px; padding: 0 12px 0 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  transition: background-color var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease);
}
.nav.is-scrolled { background: var(--glass-strong); box-shadow: var(--shadow-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; }
.brand-sm { font-size: 17px; gap: 8px; }
.brand-sm img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 2px; margin-left: 22px; flex: 1; }
.nav-links a {
  position: relative; padding: 8px 13px; border-radius: 10px; font-size: 15px; font-weight: 520; color: var(--ink-2);
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-links a.is-current { color: var(--ink); }
.nav-links a.is-current::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--clay);
}
.nav-end { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu-btn { display: none; }
.mobile-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: grid; padding: 8px; border-radius: 18px;
  background: var(--glass-strong); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: var(--shadow-2);
  transform-origin: top center;
  animation: menuIn var(--med) var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 14px; border-radius: 12px; font-size: 18px; font-weight: 600; }
.mobile-menu a:active { background: color-mix(in srgb, var(--ink) 7%, transparent); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }

/* Hero ---------------------------------------------------------------- */
main { width: var(--page); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; gap: 48px;
  min-height: min(860px, 100svh); padding: calc(var(--nav-h) + 72px) 0 72px;
}
.hero-title {
  font-size: clamp(72px, 11.6vw, 160px); line-height: 0.92; font-weight: 740; letter-spacing: -0.032em;
  margin: 0 0 32px -0.04em;
}
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; }
.settled-word { position: relative; }
.scribble {
  position: absolute; left: -1%; width: 102%; bottom: -0.07em; height: 0.2em; overflow: visible;
}
.scribble path { fill: none; stroke: var(--clay); stroke-width: 5.5; stroke-linecap: round; }
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); max-width: 46ch; }
.hero-mark { justify-self: end; width: 100%; max-width: 360px; }
.hero-mark img { width: 100%; }

/* The one orchestrated entrance: words rise, the underline draws itself,
   then the rest settles in beneath. */
@keyframes rise { from { opacity: 0; transform: translateY(0.32em); } to { opacity: 1; transform: none; } }
@keyframes riseSm { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes markIn { from { opacity: 0; transform: translateY(18px) scale(0.96) rotate(-2deg); } to { opacity: 1; transform: none; } }
.hero-title .word { animation: rise 1s var(--ease) both; }
.hero-title .word:nth-child(1) { animation-delay: 0.08s; }
.hero-title .word:nth-child(2) { animation-delay: 0.18s; }
.hero-title .word:nth-child(3) { animation-delay: 0.3s; }
.scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.75s forwards; }
.hero-lede    { animation: riseSm 0.9s var(--ease) 0.45s both; }
.hero-actions { animation: riseSm 0.9s var(--ease) 0.55s both; }
.hero-note    { animation: riseSm 0.9s var(--ease) 0.65s both; }
.hero-mark    { animation: markIn 1.2s var(--ease) 0.25s both; }

/* Scroll reveal: gentle, once, and only when JS is there to undo it. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Problem ------------------------------------------------------------- */
.problem { max-width: 820px; padding: 40px 0 120px; }
.problem p { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.38; letter-spacing: -0.015em; color: var(--ink-2); font-weight: 420; }
.problem strong { color: var(--ink); font-weight: 680; }
.problem-turn { margin-top: 22px; color: var(--ink) !important; font-weight: 680 !important; }

/* Look around: the blueprint ------------------------------------------- */
.look { padding-bottom: 140px; }
.look-panel {
  --panel: var(--forest);
  --line-c: rgba(244, 235, 220, 0.86);
  background: var(--panel);
  color: var(--forest-ink);
  border-radius: 32px;
  padding: clamp(28px, 4.4vw, 56px);
  position: relative; overflow: hidden;
  /* faint drafting grid, like squared paper */
  background-image:
    linear-gradient(rgba(244,235,220,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,235,220,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}
.look-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.look-head p { color: rgba(244, 235, 220, 0.72); font-size: 17px; max-width: 34ch; }
.look-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

.plan-wrap { position: relative; }
.plan { position: relative; aspect-ratio: 240 / 190; }
.plan-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.plan-lines path, .plan-lines rect { fill: none; stroke: var(--line-c); vector-effect: non-scaling-stroke; }
.plan-lines .wall-outer { stroke-width: 3.5; stroke-linejoin: miter; }
.plan-lines .wall-inner { stroke-width: 1.6; }
.plan-lines .doors path { stroke-width: 1; stroke: rgba(244, 235, 220, 0.6); }
.plan-lines .fence { stroke-width: 1.2; stroke-dasharray: 5 4; stroke: rgba(244, 235, 220, 0.55); }

.room {
  position: absolute; display: grid; place-items: center; text-align: center;
  padding: 4px; border-radius: 2px;
  color: rgba(244, 235, 220, 0.82); font-size: clamp(11px, 1.15vw, 14px); font-weight: 560; letter-spacing: 0.005em; line-height: 1.15;
  transition: background-color var(--med) var(--ease), color var(--fast) var(--ease);
}
.room span { transition: transform var(--med) var(--ease); }
.room:hover { background: rgba(244, 235, 220, 0.06); color: #fff; }
.room:hover span { transform: translateY(-1px); }
.room[aria-pressed="true"] { background: rgba(244, 235, 220, 0.13); box-shadow: inset 0 0 0 2px var(--accent); color: #fff; font-weight: 680; }
.room[aria-pressed="true"]::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,235,220,0.9); top: 10px; right: 10px;
}
.room:focus-visible { outline-color: var(--forest-ink); outline-offset: -4px; }

.plan-caption { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: rgba(244, 235, 220, 0.56); }
.compass { width: 26px; height: 26px; flex: none; }
.compass circle { fill: none; stroke: rgba(244, 235, 220, 0.5); stroke-width: 1; }
.compass path { fill: rgba(244, 235, 220, 0.8); }
.compass text { display: none; }

.readout {
  min-height: 100%;
  padding: 28px 28px 26px; border-radius: 22px;
  background: rgba(244, 235, 220, 0.07);
  box-shadow: inset 0 0 0 1px rgba(244, 235, 220, 0.14);
}
.readout-inner { transition: opacity 200ms var(--ease), transform 320ms var(--ease); }
.readout-inner.is-leaving { opacity: 0; transform: translateY(8px); }
.readout-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(244, 235, 220, 0.62); margin-bottom: 10px; }
.readout-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.readout h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; margin-bottom: 8px; }
.readout-blurb { color: rgba(244, 235, 220, 0.72); font-size: 16px; margin-bottom: 22px; }
.readout-tips { display: grid; gap: 14px; margin-bottom: 24px; }
.readout-tips li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: rgba(244, 235, 220, 0.92); }
.readout-tips li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; border-radius: 2px; background: var(--clay); }
.readout-tips b { font-weight: 680; color: #fff; }
.readout-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(244, 235, 220, 0.14); font-size: 14px; color: rgba(244, 235, 220, 0.62); }
.readout-link { color: #fff; font-weight: 620; text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-underline-offset var(--fast) var(--ease); }
.readout-link:hover { text-underline-offset: 6px; }

/* Install ------------------------------------------------------------- */
.install { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; padding-bottom: 150px; }
.install h2 { margin-bottom: 22px; }
.install-lede { font-size: 19px; color: var(--ink-2); max-width: 44ch; margin-bottom: 36px; }
.install-steps { display: grid; gap: 0; margin-bottom: 36px; border-top: 1px solid var(--line); }
.install-steps > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.install-steps dt { font-weight: 680; }
.install-steps dd { color: var(--ink-2); }
.install-steps b { color: var(--ink); font-weight: 640; }

.phone {
  justify-self: center; width: min(310px, 100%); aspect-ratio: 390 / 844;
  padding: 11px; border-radius: 52px; background: #111A15;
  box-shadow: 0 0 0 1.5px #2A3530 inset, 0 40px 80px -30px rgba(20, 38, 28, 0.55), 0 10px 30px -14px rgba(20, 38, 28, 0.35);
  position: relative; rotate: 2.5deg;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #111A15; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #F1DDCB; padding-top: 40px; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Pricing ------------------------------------------------------------- */
.pricing { padding-bottom: 150px; }
.pricing h2 { margin-bottom: 40px; }
.price-table { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.tier { padding: clamp(28px, 3.6vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.tier + .tier { border-left: 1px solid var(--line-2); }
.tier-premium { background: color-mix(in srgb, var(--forest) 7%, transparent); }
.price { font-size: 48px; font-weight: 740; letter-spacing: -0.04em; line-height: 1; }
.price span { display: block; margin-top: 8px; font-size: 15px; font-weight: 450; letter-spacing: 0; color: var(--ink-2); }
.tier ul { display: grid; gap: 10px; flex: 1; margin-bottom: 8px; }
.tier li { position: relative; padding-left: 26px; color: var(--ink-2); }
.tier li::before {
  content: ""; position: absolute; left: 1px; top: 0.42em; width: 13px; height: 7px;
  border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); rotate: -45deg;
}
:root[data-theme="dark"] .tier li::before { border-color: #7FC29C; }
.tier .btn { align-self: flex-start; }

/* FAQ ----------------------------------------------------------------- */
.faq { padding-bottom: 150px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left; font-size: 19px; font-weight: 620; letter-spacing: -0.01em;
}
.faq-q .plus { position: relative; width: 16px; height: 16px; flex: none; transition: transform var(--med) var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--ink-2); }
.faq-q .plus::after { rotate: 90deg; transition: rotate var(--med) var(--ease); }
.faq-item.is-open .plus { transform: rotate(180deg); }
.faq-item.is-open .plus::after { rotate: 0deg; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--med) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 40px 24px 0; color: var(--ink-2); opacity: 0; transform: translateY(-4px); transition: opacity var(--med) var(--ease), transform var(--med) var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; }

/* Closing ------------------------------------------------------------- */
.closing { text-align: center; padding: 40px 0 150px; }
.closing-title { font-size: clamp(60px, 9.5vw, 128px); line-height: 0.95; font-weight: 740; letter-spacing: -0.032em; margin-bottom: 20px; }
.closing .u { text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; }
.closing-sub { font-size: 19px; color: var(--ink-2); margin: 0 auto 32px; max-width: 36ch; }

/* Footer -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner { width: var(--page); margin: 0 auto; padding: 32px 0 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1; font-size: 15px; color: var(--ink-2); }
.footer-links a { transition: color var(--fast) var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 14px; color: var(--ink-3); }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .look-body { grid-template-columns: 1fr; }
  .install { grid-template-columns: 1fr; gap: 56px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav .btn-sm { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 56px); gap: 40px; }
  .hero-mark { order: -1; justify-self: start; max-width: 170px; }
  .price-table { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  :root { --page: calc(100% - 36px); --nav-h: 60px; }
  body { font-size: 16px; }
  .nav { top: 10px; width: calc(100% - 20px); padding: 0 6px 0 14px; border-radius: 18px; }
  .brand { font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .hero-actions .btn { width: 100%; }
  .look-panel { border-radius: 24px; margin: 0 -8px; }
  .readout { padding: 22px 20px; }
  .install-steps > div { grid-template-columns: 1fr; gap: 4px; }
  .faq-q { font-size: 17px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* Reduced motion: no entrances, no drawing, no smooth scrolling. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .scribble path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 ----------------------------------------------------------------- */
.notfound { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 22px; padding: 48px 0; }
.notfound h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; font-weight: 740; letter-spacing: -0.045em; max-width: 14ch; }
.notfound p { color: var(--ink-2); font-size: 19px; max-width: 40ch; margin-bottom: 10px; }
