/* Piper Moss tool skin: clean, square, green and white (matches pm-tools-skin.css). */
:root {
  --ink: #2c3639;
  --ink-80: rgba(44, 54, 57, .8);
  --ink-60: rgba(44, 54, 57, .6);
  --ink-15: rgba(44, 54, 57, .15);
  --ink-08: rgba(44, 54, 57, .08);
  --muted: #5f6f6a;
  --green: #33554f;
  --green-mid: #3f665c;
  --green-deep: #25403b;
  --sage: #bdcac2;
  --wash: #f4f6f5;
  --tint: #f2f6f4;
  --line: #c9d5d1;
  --line-soft: #e4eae8;
  --font: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --panel: 420px;
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html, body { height: 100%; margin: 0; }
body {
  font: 15px/1.5 var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, .opt:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--panel);
  grid-template-rows: var(--bar) minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
}

/* ---------- bar ---------- */
.bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 5;
}
.brand img { display: block; height: 44px; width: auto; }
.bar-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding-left: 18px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.bar-tel { margin-left: auto; padding: 8px 4px; font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bar-tel:hover { color: var(--green); }
.bar-brief {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green);
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.bar-brief::after { content: '\2192'; }
.bar-brief:hover { background: var(--green); color: #fff; }
.bar-tel + .bar-brief { margin-left: 8px; }
.bar-brief .short { display: none; }
.count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
}
.bar-brief:hover .count { background: #fff; color: var(--green); }
.count[hidden] { display: none; }
.veil a { color: var(--green); font-weight: 500; }
.noscript { max-width: 560px; margin: 0 auto; padding: 48px 20px; }
.noscript a { color: var(--green); font-weight: 500; }

/* ---------- stage ---------- */
.stage { position: relative; overflow: hidden; background: var(--wash); min-height: 0; }
#scene { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
#scene:active { cursor: grabbing; }

.glass {
  background: #fff;
  border: 1px solid var(--line);
}
.controls {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.seg { display: inline-flex; }
.seg button {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s;
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button:hover { background: var(--tint); }
.seg button[aria-pressed="true"] { background: var(--green); color: #fff; }
.hint, .caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity .5s var(--ease);
}
.hint { top: 18px; }
.hint.gone { opacity: 0; pointer-events: none; }
.caption { top: 18px; }
.caption[hidden], .hint[hidden] { display: none; }
.legal {
  position: absolute;
  right: 16px;
  bottom: 14px;
  margin: 0;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .88);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tip {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  padding: 7px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tip b { font-weight: 600; }
.veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: var(--wash);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: opacity .9s var(--ease);
}
.veil i { width: 120px; height: 2px; background: var(--line); overflow: hidden; position: relative; }
.veil i::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--green);
  animation: veil 1.2s var(--ease) infinite;
}
@keyframes veil { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.veil.gone { opacity: 0; pointer-events: none; }

/* ---------- panel ---------- */
.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--line);
  background: #fff;
}
.steps {
  display: flex;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.steps button {
  flex: none;
  border: 0;
  background: transparent;
  padding: 15px 9px 13px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .2s, box-shadow .2s;
}
.steps button:hover { color: var(--ink); }
.steps button[aria-current="step"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }

.view {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 26px 28px 28px;
}
.view.enter > * { animation: rise .5s var(--ease) both; }
.view.enter > *:nth-child(2) { animation-delay: .03s; }
.view.enter > *:nth-child(3) { animation-delay: .06s; }
.view.enter > *:nth-child(4) { animation-delay: .09s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
}
h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -.018em;
  font-weight: 500;
}
h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.1; letter-spacing: -.015em; font-weight: 500; }
h1 em, h2 em {
  font-style: italic;
  color: var(--green);
  background: linear-gradient(transparent 68%, rgba(189, 202, 194, .6) 68%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lede { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.k {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* swatches */
.sw, .chip, .pal-sw {
  display: block;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.sw { width: 52px; height: 52px; }
.sw.flat, .chip.flat, .pal-sw.flat {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .12));
}

/* looks */
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.look {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 0 14px;
  transition: border-color .2s, background .2s, color .2s;
}
.look:hover { border-color: var(--green); background: var(--tint); }
.look[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.look[aria-pressed="true"] .look-line { color: rgba(255, 255, 255, .8); }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; height: 72px; margin-bottom: 10px; }
.chip { height: 100%; box-shadow: none; }
.look-name { font-weight: 500; font-size: 15.5px; padding: 0 12px; }
.look-line { font-size: 12.5px; color: var(--muted); line-height: 1.4; padding: 0 12px; }
.textlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 18px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  padding: 0 0 2px;
  color: var(--green);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: gap .3s var(--ease), color .2s;
}
.textlink::after { content: '\2192'; }
.textlink:hover { gap: .8rem; }
.links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin: 18px 0 0; }
.links .textlink { margin-top: 0; }
.textlink.plain { color: var(--muted); border-bottom-color: transparent; }
.textlink.plain::after { content: none; }
.textlink.plain:hover { color: var(--ink); }

/* the way into the enquiry, on every step before the brief */
.ask {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  font-size: 14px;
  color: var(--ink-80);
}
.ask .textlink { margin-top: 0; }

/* options */
.opts { display: grid; gap: 10px; }
.opt {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.opt:hover { border-color: var(--green); background: var(--tint); }
.opt[aria-checked="true"] { border-color: var(--green); background: #fff; box-shadow: inset 3px 0 0 var(--green), 0 0 0 1px var(--green); cursor: default; }
.opt-text { display: grid; gap: 2px; min-width: 0; }
.opt-name { font-weight: 500; font-size: 15px; letter-spacing: -.005em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pick {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 2px 5px 1px;
}
.opt-line { font-size: 13px; color: var(--muted); line-height: 1.4; }
.opt-meta { display: grid; justify-items: end; gap: 4px; }
.cost { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.cost i { font-style: normal; color: var(--line); }
.tier { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tier-signature { color: var(--green); }

.detail {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
  padding-top: 14px;
  display: grid;
  gap: 14px;
  animation: rise .45s var(--ease) both;
}
.colours { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.colours .k { margin-right: 2px; }
.colours .v { font-size: 13px; font-weight: 500; margin-right: auto; }
.dots { display: flex; gap: 8px; }
.dot {
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  transition: box-shadow .2s;
}
.dot[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #fff, 0 0 0 3.5px var(--green); }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-80); }
.facts .hi dt { color: var(--green); }
.facts .hi dd { color: var(--ink); }
.pin {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px 8px 12px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
}
.pin::before { content: '+'; font-size: 15px; line-height: 1; }
.pin:hover { border-color: var(--green); }
.pin[aria-pressed="true"] { background: var(--tint); border-color: var(--green); color: var(--green-deep); }
.pin[aria-pressed="true"]::before { content: '\2713'; font-size: 12px; }

.nudge {
  padding: 16px;
  background: var(--tint);
  border-left: 3px solid var(--green);
}
.nudge.up { margin: -4px 0 18px; }
.detail .nudge { padding: 12px 14px; }
.detail .nudge p { margin: 3px 0 8px; font-size: 13.5px; }
.nudge p { margin: 4px 0 10px; font-size: 14px; color: var(--ink-80); }
.nudge .k { color: var(--green-deep); }
.nudge-btn { border: 0; border-bottom: 1px solid currentColor; background: none; padding: 0 0 2px; color: var(--green); font-weight: 500; font-size: 14px; }
.nudge-btn::after { content: ' \2192'; }

/* brief */
.brief { list-style: none; margin: 0 0 18px; padding: 0; display: grid; border-top: 1px solid var(--line-soft); }
.brief li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 2px 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.brief .sw { width: 40px; height: 40px; grid-row: span 2; }
.brief .b-v { font-weight: 500; font-size: 14px; }
.brief .b-c { font-weight: 400; color: var(--muted); }
.brief .tier { grid-row: span 2; align-self: center; }
.level, .also, .involves { margin: 0 0 18px; }
.level b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.015em; margin: 2px 0 6px; }
.level p, .also p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.involves ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-80); font-size: 13.5px; display: grid; gap: 4px; }
.meter { display: inline-flex; gap: 3px; vertical-align: middle; }
.meter i { width: 22px; height: 4px; background: var(--line); transition: background .4s var(--ease); }
.meter[data-level="0"] i:nth-child(1),
.meter[data-level="1"] i:nth-child(-n+2),
.meter[data-level="2"] i { background: var(--green); }

/* the enquiry */
.gate, .result {
  margin: 8px 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  display: grid;
  gap: 14px;
}
.gate p { margin: 0; font-size: 14px; color: var(--muted); }
.gate label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-80); }
.gate input:not([type]), .gate input[type="email"], .gate input[type="tel"], .gate select, .gate textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 11px 12px;
  background: #fff;
  width: 100%;
  appearance: none;
}
.gate textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.gate textarea::placeholder { color: rgba(95, 111, 106, .8); }
.gate select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.gate input:focus, .gate select:focus, .gate textarea:focus { outline: none; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.gate [aria-invalid="true"] { border-color: #b4553f; }
/* The alert region stays rendered while empty, so screen readers announce the first error. */
.gate .err { margin: 10px 0 0; font-size: 13px; color: #b4553f; }
.gate .err:empty { margin: 0; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segf { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.segf legend { font-size: 12.5px; font-weight: 500; color: var(--ink-80); padding: 0; margin-bottom: 6px; }
.seg2 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.seg2 label { display: grid; position: relative; }
.seg2 label + label { border-left: 1px solid var(--line); }
.seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.seg2 span {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 9px 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.seg2 label:hover span { background: var(--tint); }
.seg2 input:checked + span { background: var(--green); color: #fff; }
.seg2 input:focus-visible + span { outline: 2px solid var(--green); outline-offset: -2px; }
.seg2 input:checked:focus-visible + span { outline-color: #fff; }
.gate .check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-80); }
.gate .check input { width: 18px; height: 18px; accent-color: var(--green); }

.result { background: var(--green); color: #fff; border: 0; }
.result .k { color: rgba(255, 255, 255, .72); }
.result .ok { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: #fff; }
.result .big { margin: 0; font-size: 32px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.result .big span { font-weight: 400; color: rgba(255, 255, 255, .6); }
.result .sub { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.result a.cta { text-decoration: none; background: #fff; border-color: #fff; color: var(--ink); }
.result a.cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.result .textlink { margin-top: 2px; justify-self: start; color: #fff; }
.result :focus-visible { outline-color: #fff; }
.fine { margin: 0; font-size: 12px; color: var(--muted); }
.fine + .fine { margin-top: 6px; }
.shift { margin: -4px 0 10px !important; font-size: 13.5px !important; color: var(--ink) !important; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* look rationale */
.why { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid var(--green); background: #fff; }
.why p { margin: 4px 0 0; font-size: 14px; color: var(--ink-80); }
.why .best { margin-top: 8px; font-size: 13px; color: var(--muted); }
.why .best b { font-weight: 500; color: var(--ink); margin-right: 6px; }
.brief-why { margin: 0 0 18px; }

/* your home and site */
.about { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }
.about-row { display: grid; gap: 6px; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.pills button {
  border: 0;
  background: transparent;
  padding: 9px 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.pills button + button { border-left: 1px solid var(--line); }
.pills button:hover { background: var(--tint); }
.pills button[aria-checked="true"] { background: var(--green); color: #fff; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.tog {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px 8px 11px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
}
.tog::before {
  content: '';
  width: 12px;
  height: 12px;
  box-shadow: inset 0 0 0 1.5px var(--muted);
  transition: box-shadow .2s, background .2s;
}
.tog:hover { border-color: var(--green); }
.tog[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.tog[aria-pressed="true"]::before { background: #fff; box-shadow: none; }

/* site badges and builder's notes */
.opt-site { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .04em; color: var(--green-deep); }
.notes { display: grid; gap: 10px; }
.notes-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  font-weight: 500;
  font-size: 14px;
}
.notes-btn::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.notes-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.notes-body { display: grid; gap: 10px; padding: 12px 14px; background: var(--tint); border-left: 3px solid var(--green); animation: rise .35s var(--ease) both; }

/* ---------- foot ---------- */
.foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.pal { display: flex; gap: 2px; flex: none; }
.pal-sw { width: 12px; height: 30px; }
.pal-label { display: grid; gap: 2px; min-width: 0; }
.pal-label .v { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; white-space: nowrap; }
.pal-label .meter i { width: 16px; }
.cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  padding: 13px 20px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.cta::after { content: '\2192'; }
.cta:hover { background: var(--ink); border-color: var(--ink); }
.cta:disabled { opacity: .75; cursor: default; }
.cta.wide { margin: 4px 0 0; width: 100%; padding: 15px 20px; font-size: 15px; }
.cta[hidden] { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  :root { --bar: 56px; }
  .app { display: block; height: auto; }
  .bar { position: sticky; top: 0; height: var(--bar); padding: 0 14px; gap: 10px; }
  .brand img { height: 36px; }
  .bar-title { display: none; }
  .stage { position: sticky; top: var(--bar); height: 46vh; height: 46svh; z-index: 3; }
  .panel { border-left: 0; min-height: calc(54svh - var(--bar)); }
  .view { overflow: visible; padding: 22px 18px 24px; }
  .steps { padding: 0 8px; }
  .foot { position: sticky; bottom: 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 4; }
  .controls { left: 10px; bottom: 10px; gap: 6px; }
  .seg button { padding: 6px 10px; font-size: 12px; }
  .hint { display: none; }
  .caption { top: 10px; width: calc(100% - 20px); white-space: normal; text-align: center; font-size: 12px; }
  .legal { display: none; }
  h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .bar-tel { font-size: 13px; }
  .bar-brief { padding: 9px 12px; font-size: 13px; }
  .bar-brief .long { display: none; }
  .bar-brief .short { display: inline; }
}
@media (max-width: 420px) {
  .looks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .f2 { grid-template-columns: 1fr; }
  .pal-label .k { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
