/* Interiors Reworked waitlist. Full boldness: 3px outlines, hard shadows, colour-block bands. */

:root {
  --surface: #F6F7FB;
  --surface-raised: #FFFFFF;
  --line: #DCD9E6;
  --outline: #1B1726;
  --shadow-ink: #1B1726;
  --ink: #2B2340;
  --ink-muted: #615A75;
  --coral: #F2664A;
  --coral-ink: #C2412A;
  --coral-shadow: #C2412A;
  --sky: #4FB3E8;
  --sky-shadow: #2A86B8;
  --sky-tint: rgba(79, 179, 232, 0.18);
  --butter: #FFD15C;
  --butter-shadow: #C99A1E;
  --butter-tint: #FFF3CF;
  --mint: #6FD3A8;
  --mint-shadow: #3A9E73;
  --on-colour: #2B2340;
  --focus: #1F6FB0;
  --dot: rgba(27, 23, 38, 0.16);
  --dot-on-colour: rgba(27, 23, 38, 0.2);   /* dots on the coloured bands */
  --dot-ink: rgba(27, 23, 38, 0.55);         /* the ink spotlight's darker dots */
  --dot-ink-on-colour: rgba(27, 23, 38, 0.6);
  --tape: rgba(255, 209, 92, 0.85);          /* butter tape pinning the demo window */
  --tape-edge: rgba(27, 23, 38, 0.25);

  --display: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --pixel: "Pixelify Sans", ui-monospace, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --edge: 3px solid var(--outline);
  --wrap: 1120px;
  --gutter: 16px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

.pixelated { image-rendering: pixelated; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: var(--coral-ink); font-weight: 700; }

/* The focus blue is too close to the band colours, so on a coloured band the ring uses the
   band's text colour instead (4.7:1 or more on every band). Anything sitting on a white card
   inside a band goes back to the focus blue. */
:focus-visible {
  outline: 2px solid var(--ring, var(--focus));
  outline-offset: 2px;
}

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--surface-raised);
  color: var(--ink);
  border: var(--edge);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.skip:focus { top: 16px; }

/* Drafting-paper dot grid */
.dots {
  background-color: var(--surface);
  background-image: radial-gradient(var(--dot) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
}

/* Ink spotlight (site.js): a darker copy of the dot grid sits under each dotted section's
   content, on exactly the same grid, and shows only through a soft circle around the mouse. */
.dots, .band { position: relative; }
.dots > :not(.dot-ink), .band > :not(.dot-ink) { position: relative; z-index: 1; }
.dot-ink {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-image: radial-gradient(var(--dot-ink) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle 140px at var(--ink-x, -999px) var(--ink-y, -999px), #000, transparent);
  mask-image: radial-gradient(circle 140px at var(--ink-x, -999px) var(--ink-y, -999px), #000, transparent);
}
.band > .dot-ink { background-image: radial-gradient(var(--dot-ink-on-colour) 1.5px, transparent 1.6px); }
.ink-near > .dot-ink { opacity: 1; }

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

.site-header {
  border-bottom: var(--edge);
  background: var(--surface-raised);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
}
/* In the header the logo is the 64px bitmap (an exact size, so it stays crisp) */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: var(--edge);
  border-radius: var(--radius-md);
  background: var(--coral);
  color: var(--on-colour);
  box-shadow: 4px 4px 0 var(--shadow-ink);
  font: 600 18px/1.2 var(--display);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--spring);
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shadow-ink); transition-duration: 0.05s; }
.button.small { min-height: 40px; padding: 6px 14px; font-size: 16px; }
.button.light { background: var(--surface-raised); color: var(--ink); }

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

.hero { padding: 40px 0; border-bottom: var(--edge); overflow-x: clip; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

/* The screen's one tilted sticker. It beats like a heart (two quick pulses, then a rest) three
   times when the page opens, under five seconds, then holds still. site.js replays it on hover. */
.sticker {
  display: inline-block;
  background: var(--butter);
  color: var(--on-colour);
  border: var(--edge);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--shadow-ink);
  padding: 4px 12px;
  font: 400 16px/1.4 var(--pixel);
  letter-spacing: 0.04em;
  transform: rotate(-4deg);
  margin-bottom: 20px;
}
.sticker.beat { animation: heartbeat 1.6s ease-in-out 3; }
@keyframes heartbeat {
  0%, 40%, 100% { transform: rotate(-4deg) scale(1); }
  10% { transform: rotate(-4deg) scale(1.12); }
  20% { transform: rotate(-4deg) scale(1.02); }
  30% { transform: rotate(-4deg) scale(1.09); }
}

/* Always two lines: "Revit that speaks", then the boxed "interiors." The box is an
   inline-block, so its border and padding take up room and never overlap the lines around it. */
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.04; }
.hero h1 .line { display: block; }
@media (max-width: 359px) { .hero h1 { font-size: 32px; } }   /* keeps the first line whole on small phones */
.hero h1 .mark {
  display: inline-block;
  margin-top: 0.14em;
  padding: 0.02em 0.18em 0.08em;
  background: var(--coral);
  color: var(--on-colour);
  border: var(--edge);
  border-radius: var(--radius-sm);
  line-height: 1.04;
}
.lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 34em;
}

.peek-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 2px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid var(--coral);
}
.peek-link svg { width: 14px; height: 16px; shape-rendering: crispEdges; }
.peek-link:hover svg { animation: hop 0.5s steps(1) 1; }

/* The sign-up card sits in the hero's right column */
.hero-form { position: relative; }

/* ---------- Sign-up card ---------- */

.card {
  background: var(--surface-raised);
  border: var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--shadow-ink);
}

.signup { padding: 24px; max-width: 520px; }
.signup h2 { font-size: 24px; }
.signup .hint { margin-top: 4px; color: var(--ink-muted); font-size: 15px; }

.field { margin-top: 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.field label .optional { font-weight: 400; color: var(--ink-muted); }
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: var(--edge);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font: 400 17px/1.3 var(--sans);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input::placeholder { color: var(--ink-muted); opacity: 1; }
.field input[aria-invalid="true"] { border-color: var(--coral-ink); }

.signup .button { width: 100%; margin-top: 20px; }
.signup .fine {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.form-error {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--coral-ink);
}
.form-error:empty { display: none; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done {
  background: var(--mint);
  color: var(--on-colour);
  border: var(--edge);
  border-radius: var(--radius-md);
  padding: 16px;
}
.done h3 { font-size: 22px; }
.done p { margin-top: 4px; }

/* ---------- Colour bands ---------- */

/* Every band carries the same drafting-paper dot grid as the plain sections, in the dark
   band-text colour so it reads on all four fills */
.band {
  border-bottom: var(--edge);
  padding: 72px 0;
  --ring: var(--on-colour);
  background-image: radial-gradient(var(--dot-on-colour) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
}
.band .tile, .band .fe { --ring: var(--focus); }
.band.coral { background-color: var(--coral); color: var(--on-colour); --band-shadow: var(--coral-shadow); }
.band.butter { background-color: var(--butter); color: var(--on-colour); --band-shadow: var(--butter-shadow); }
.band.sky { background-color: var(--sky); color: var(--on-colour); --band-shadow: var(--sky-shadow); }
.band.mint { background-color: var(--mint); color: var(--on-colour); --band-shadow: var(--mint-shadow); }

.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section-head p { margin-top: 12px; font-size: 19px; }

/* Cards on a coloured band: shadow in a darker tone of that colour. They don't lift on hover,
   because they aren't links; only the icon hops. */
.band .tile {
  background: var(--surface-raised);
  color: var(--ink);
  border: var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--band-shadow, var(--shadow-ink));
  padding: 24px;
}

.icon-tile {
  display: inline-flex;
  padding: 8px;
  background: var(--surface);
  border: var(--edge);
  border-radius: var(--radius-md);
}
/* The icon hops a few whole pixels when its card is hovered, so the pixel art stays crisp */
.tile.hop:hover .icon-tile img { animation: hop 0.5s steps(1) 1; }
@keyframes hop {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  50% { transform: translateY(-8px); }
  75% { transform: translateY(-4px); }
}

/* ---------- Finish engine demo ---------- */

/* Tighter top than other bands, so the window's top edge shows on a laptop's first screen.
   The window itself doesn't fade in on scroll, for the same reason. */
#demo { padding-top: 32px; overflow-x: clip; }
#demo .section-head { margin-bottom: 20px; max-width: none; }

/* The window is a concept preview, so it's pinned to the page like a print on a mood board:
   tilted, two strips of tape at the top, and a slow float while the demo plays. It's sized so
   the whole window fits on a laptop screen at 100% zoom. */
.fe-pin {
  position: relative;
  max-width: 880px;
  margin: 12px auto 0;
  rotate: -1.5deg;
  animation: drift 6s ease-in-out infinite;
}
.fe-pin.paused { animation-play-state: paused; }
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
.tape {
  position: absolute;
  top: -14px;
  z-index: 2;
  width: 110px;
  height: 28px;
  background: var(--tape);
  border: 1.5px solid var(--tape-edge);
  pointer-events: none;
}
.tape.left { left: 48px; rotate: -7deg; }
.tape.right { right: 48px; rotate: 6deg; }
.demo-note { margin-top: 12px; font-size: 15px; }
.demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  text-align: center;
}

/* A picture of the tool, not the tool: nothing in it can be clicked. The mock cursor below
   shows how it's used. */
.fe {
  background: var(--surface);
  color: var(--ink);
  border: var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--band-shadow);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.3;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.fe-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 10px 16px;
  background: var(--surface-raised);
  border-bottom: 2px solid var(--outline);
}
.fe-icon { padding: 4px; border: 2px solid var(--outline); border-radius: var(--radius-sm); background: var(--surface-raised); }
.fe-title { font: 600 20px/1.1 var(--display); }
.fe-file { font-size: 12px; color: var(--ink-muted); }
.fe-head .chip { margin-left: auto; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--outline);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-colour);
  background: var(--surface-raised);
  white-space: nowrap;
}
.chip.butter { background: var(--butter); }
.chip.mint { background: var(--mint); }
.chip.sky { background: var(--sky); }
.chip.pop { animation: pop 0.45s var(--spring); }
@keyframes pop {
  0% { transform: scale(0.6); }
  100% { transform: scale(1); }
}

.fe-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  padding: 14px 16px;
}
.fe-card {
  background: var(--surface-raised);
  border: 2px solid var(--outline);
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 var(--shadow-ink);
}

.fe-rooms-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 2px solid var(--outline);
}
.fe-rooms-head h4 { margin: 0; font: 600 16px/1.2 var(--display); }
.fe-link { color: var(--coral-ink); font-size: 12px; font-weight: 700; text-decoration: underline; border-radius: 4px; }

/* Search and level filter above the room list */
.fe-filter { position: relative; display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }

/* The level dropdown the mock cursor opens */
.fe-menu {
  position: absolute;
  right: 12px;
  top: calc(100% - 6px);
  z-index: 2;
  display: grid;
  min-width: 120px;
  padding: 4px 0;
  background: var(--surface-raised);
  border: 1.5px solid var(--outline);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--shadow-ink);
  font-size: 12px;
  animation: menu-in 0.15s ease-out;
}
.fe-menu[hidden] { display: none; }
.fe-menu span { padding: 4px 10px; }
.fe-menu .current { font-weight: 800; }
.fe-menu .hover { background: var(--sky-tint); }
@keyframes menu-in {
  from { opacity: 0; translate: 0 -4px; }
  to { opacity: 1; translate: 0 0; }
}
.fe-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 2px 8px;
  border: 1.5px solid var(--outline);
  border-radius: 4px;
  color: var(--ink-muted);
  font-size: 12px;
}
.fe-search svg { width: 11px; height: 11px; flex: none; }
.fe-filter .fe-field { min-width: 0; font-size: 12px; }

.fe-rooms { list-style: none; margin: 0; padding: 0; }
.fe-rooms li {
  display: grid;
  grid-template-columns: 14px 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid var(--line);
}
.fe-rooms li:last-child { border-bottom: 0; }
.fe-rooms li.selected { background: var(--sky-tint); font-weight: 800; }
.fe-rooms li.filtered { display: none; }
.fe-no { font: 400 13px/1 var(--pixel); color: var(--ink-muted); }
.fe-name small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-muted); }

/* What each room already has: F floor, W walls, C ceiling, S skirting. A placed finish is a
   filled box; a missing one is an empty dashed box, so the state shows in shape, not only colour. */
.fe-marks { display: flex; gap: 3px; }
.fe-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px dashed var(--ink-muted);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--ink-muted);
  font: 400 11px/1 var(--pixel);
}
.fe-mark.on { border: 1.5px solid var(--outline); background: var(--mint); color: var(--on-colour); }
.fe-mark.pop { animation: pop 0.45s var(--spring); }
.fe-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 7px 12px 8px;
  border-top: 2px solid var(--outline);
  font-size: 11px;
  color: var(--ink-muted);
}
.fe-key .fe-mark { width: 14px; height: 14px; font-size: 9px; }

.fe-check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 2px solid var(--outline);
  border-radius: 3px;
  background: var(--surface-raised);
}
.fe-check.on { background: var(--outline); }
.fe-check.on::after {
  content: "";
  width: 3px;
  height: 7px;
  margin-top: -2px;
  border: solid var(--surface-raised);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fe-main { display: grid; gap: 12px; align-content: start; }
.fe-room-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.fe-room-title strong { font: 600 18px/1.2 var(--display); }
.fe-room-title span { font-size: 12px; color: var(--ink-muted); }

.fe-finishes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fe-finish {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  transition: background-color 0.3s ease;
}
.fe-finish-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;   /* room for a two-line name, so the window doesn't jump during the demo */
}
.fe-finish.missing { border-style: dashed; background: var(--butter-tint); }
.fe-swatch { flex: none; width: 32px; height: 32px; border: 2px solid var(--outline); border-radius: var(--radius-sm); }
.fe-finish-text { min-width: 0; }
.fe-label { display: block; font-size: 11px; font-weight: 700; color: var(--ink-muted); }
.fe-value { display: block; font-weight: 800; }

.fe-btn {
  display: inline-block;
  flex: none;
  margin-left: auto;
  padding: 3px 10px;
  border: 2px solid var(--outline);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-ink);
  font: 600 13px/1.2 var(--display);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.fe-btn.butter { background: var(--butter); color: var(--on-colour); }
.fe-btn.primary { background: var(--coral); color: var(--on-colour); font-size: 15px; padding: 6px 14px; box-shadow: 3px 3px 0 var(--shadow-ink); }
.fe-btn.big { font-size: 15px; padding: 6px 14px; box-shadow: 3px 3px 0 var(--shadow-ink); }
/* What the mock cursor's click does to whatever it lands on */
.fe-btn.pressing { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--shadow-ink); }
.fe-link.pressing, .fe-field.pressing { background: var(--sky-tint); }

/* Placement settings: a label and a field on one row, like the real dialog */
.fe-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-muted);
}
.fe-field {
  flex: none;
  min-width: 76px;
  padding: 2px 8px;
  border: 1.5px solid var(--outline);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.fe-field.fe-select { text-align: left; padding-right: 22px; position: relative; }
.fe-field.fe-select::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border: solid var(--ink);
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
}

.fe-place { display: grid; gap: 8px; padding: 10px 14px; }
.fe-place .fe-setting { padding-top: 0; border-top: 0; }
.fe-check-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 2px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.fe-check-row .fe-check { margin-top: 1px; }
.fe-check-row strong { display: block; }
.fe-check-row small { display: block; font-size: 12px; color: var(--ink-muted); }
.fe-note { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-muted); }

.fe-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface-raised);
  border-top: 2px solid var(--outline);
}
.fe-tip { display: flex; align-items: center; gap: 8px; margin-right: auto; font-size: 12px; color: var(--ink-muted); }
.pixel-tag {
  font: 400 12px/1 var(--pixel);
  letter-spacing: 0.04em;
  background: var(--sky);
  color: var(--on-colour);
  border: 1.5px solid var(--outline);
  border-radius: 4px;
  padding: 4px 6px;
}
.pixel-tag.butter { background: var(--butter); }

/* The mock cursor that plays through the demo. site.js moves it with transform. */
.fe-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 18px;
  height: 25px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s ease;
}
.fe-cursor.shown { opacity: 1; }
.fe-cursor svg { display: block; width: 100%; height: 100%; transform-origin: top left; transition: scale 0.12s ease; }
.fe-cursor.clicking svg { scale: 0.82; }
.fe-cursor::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -10px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--outline);
  border-radius: 50%;
  opacity: 0;
}
.fe-cursor.clicking::before { animation: ring 0.45s ease-out; }
@keyframes ring {
  from { opacity: 0.8; scale: 0.4; }
  to { opacity: 0; scale: 1.6; }
}

/* ---------- Why it matters for interiors ----------
   Plain dotted ground between the mint demo and the coral tools. Two matching numbered lists:
   step n by hand on the left, the same step with Interiors Reworked on the right. */

.why { padding: 72px 0; border-bottom: var(--edge); }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.compare-card {
  padding: 24px;
  background: var(--surface-raised);
  border: var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--shadow-ink);
}
.compare-card.fast { background: var(--mint); color: var(--on-colour); box-shadow: 8px 8px 0 var(--mint-shadow); }
.compare-card h3 { font-size: 24px; margin-bottom: 16px; }
.compare-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.compare-card li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.compare-card li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  height: 24px;
  border: 1.5px solid var(--outline);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--ink);
  font: 800 13px/1 var(--sans);   /* the pixel font's 2 and 5 read as 8 and S at this size */
}
.compare-card.slow li { color: var(--ink-muted); }
.why-close { margin-top: 36px; max-width: 34em; font: 600 24px/1.3 var(--display); }

/* ---------- Tools ---------- */

/* Eleven tools in four types (finishes; materials; drawings and sheets; FF&E and families), each
   under its own heading: three across, and two for FF&E and families. On medium screens the
   icon sits above the name so three still fit; one per row on phones. */
.tool-types { display: grid; gap: 64px; }
.type-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 24px; }
.type-head h3 { font-size: clamp(26px, 3.2vw, 34px); }
.type-head p { font-size: 17px; }
.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.launch-grid.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 901px) and (max-width: 1100px) {
  .launch-grid { gap: 20px; }
  .launch-grid:not(.pair) .tool-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.tool-head { display: flex; align-items: center; gap: 16px; }
.tool-head h4 { margin: 0; font: 600 26px/1.1 var(--display); letter-spacing: -0.01em; }
.tile > p { margin-top: 14px; color: var(--ink-muted); }

.includes { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.includes li {
  border: 2px solid var(--outline);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--surface);
}


/* ---------- Questions ---------- */

/* Heading on the left (it stays in view while you scroll), answers open on the right */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 48px;
  align-items: start;
}
.faq-layout .section-head { position: sticky; top: 32px; margin-bottom: 0; }
.faq { display: grid; gap: 20px; }
.faq .tile h3 { font-size: 21px; line-height: 1.3; }
.faq .tile > p { margin-top: 8px; }

/* ---------- Final call ---------- */

.final { text-align: center; }
.final .section-head { margin: 0 auto 28px; }
.final .button { box-shadow: 6px 6px 0 var(--band-shadow); }
.final .button:hover { box-shadow: 8px 8px 0 var(--band-shadow); }

/* ---------- Footer ---------- */

.site-footer { padding: 32px 0 40px; font-size: 15px; color: var(--ink-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer .brand { font-size: 18px; margin-right: 0; }

/* ---------- Thank-you page ---------- */

.thanks { min-height: calc(100vh - 99px); display: grid; place-items: center; padding: 48px 0; }
.thanks .card { padding: 32px; max-width: 560px; margin: 0 auto; text-align: center; }
.thanks h1 { font-size: clamp(32px, 5vw, 44px); }
.thanks p { margin-top: 12px; color: var(--ink-muted); }
.thanks .button { margin-top: 24px; }
.thanks .sticker { background: var(--mint); }

/* ---------- Scroll reveals ----------
   Only when the script runs (html.js), so nothing stays hidden without it. They use the
   translate and scale properties, leaving transform free for the hover lift. */

.js [data-reveal] { opacity: 0; translate: 0 28px; scale: 0.96; }
.js [data-reveal].in { opacity: 1; translate: 0 0; scale: 1; }
.js [data-reveal] {
  transition:
    translate 0.7s var(--spring) var(--delay, 0ms),
    scale 0.7s var(--spring) var(--delay, 0ms),
    opacity 0.4s ease var(--delay, 0ms);
}

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .peek-link { display: none; }
  .launch-grid, .launch-grid.pair { grid-template-columns: 1fr; gap: 24px; }
  .tool-types { gap: 48px; }
  .compare { grid-template-columns: 1fr; gap: 24px; }
  .why { padding: 56px 0; }
  .why-close { font-size: 20px; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq-layout .section-head { position: static; margin-bottom: 28px; }
  .band { padding: 56px 0; }
}

/* No Finish engine demo on phones and small tablets (the founder's decision): stacked into one
   column it's taller than the screen, so the cursor's clicks happen out of sight. The same goes
   for phones turned sideways. */
@media (max-width: 900px), (max-height: 500px) {
  #demo { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header .button { display: none; }
  .site-header .wrap { min-height: 88px; }
  .brand { white-space: nowrap; font-size: 22px; gap: 12px; }
  .signup { padding: 20px; box-shadow: 6px 6px 0 var(--shadow-ink); }
  .lede, .section-head p { font-size: 17px; }
  .band .tile { box-shadow: 6px 6px 0 var(--band-shadow, var(--shadow-ink)); padding: 20px; }
}

/* ---------- Reduced motion: everything holds still ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; scale: none; }
}
