:root {
  --bg: oklch(97.5% 0.005 80);
  --ink: oklch(20% 0.11 270);
  --accent: oklch(70% 0.17 55);
  --accent2: oklch(60% 0.20 30);
  --muted: oklch(55% 0.04 270);
  --line: oklch(90% 0.012 270);
  --soft: oklch(96% 0.012 270);
  --font-head: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: 20px;
  --radius: 4px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ------- TOPBAR ------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand__logo {
  height: 26px;
  width: auto;
  display: block;
}
.brand__divider {
  width: 1px;
  height: 18px;
  background: var(--line);
  display: inline-block;
}
.brand__doctype {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
/* legacy fallback so leftover refs don't break */
.brand__mark { width: 0; height: 0; }
.brand__text, .brand__eyebrow, .brand__name { display: none; }
.topbar__actions { display: flex; gap: 8px; }
.btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--soft); }
.btn--solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--lg { padding: 12px 20px; font-size: 14px; }

.progress {
  height: 2px;
  background: var(--soft);
}
.progress__bar {
  height: 100%;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}

/* ------- LAYOUT ------- */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 0 32px;
}
.side { padding-top: 96px; }
.side__sticky {
  position: sticky;
  top: 88px;
}
.side__title {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}
.side__nav {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--line);
}
.side__nav li { border-bottom: 1px solid var(--line); }
.navitem {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  background: transparent;
  border: none;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  transition: color .15s ease;
}
.navitem:hover { color: var(--accent); }
.navitem--on { color: var(--accent); }
.navitem--on .navitem__num { color: var(--accent); }
.navitem__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.navitem__count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  padding: 2px 7px;
  min-width: 22px;
  text-align: center;
}
.side__note {
  margin-top: 28px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.side__note p { margin: 0; }

/* ------- HERO ------- */
.main { padding: 96px 0 80px; min-width: 0; }
.hero { margin-bottom: 80px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
}
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  font-weight: 500;
  text-wrap: balance;
}
.hero__lede {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--ink) 80%, transparent);
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta > div { padding-right: 16px; }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* ------- SECTION ------- */
.section {
  padding-top: 80px;
  border-top: 1px solid var(--line);
  margin-top: 72px;
}
.section__head { margin-bottom: 40px; }
.section__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 3px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 500;
  text-wrap: balance;
}
.section__intro {
  font-size: 16px;
  color: color-mix(in oklab, var(--ink) 75%, transparent);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}
.section__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ------- GRID ------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ------- FIELDS ------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.field__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.field__opt {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.field__hint {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
}
.input {
  display: block;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .15s ease, background .15s ease;
}
.input:hover { border-color: color-mix(in oklab, var(--ink) 25%, var(--line)); }
.input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
.input--area {
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-body);
}
.input::placeholder, .input--area::placeholder { color: color-mix(in oklab, var(--muted) 80%, transparent); }

/* ------- CHIPS ------- */
.checkgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkgrid--col { flex-direction: column; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 11px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  transition: all .15s ease;
}
.chip:hover { border-color: color-mix(in oklab, var(--ink) 25%, var(--line)); }
.chip__box {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: transparent;
  background: var(--bg);
  transition: all .15s ease;
}
.chip--on {
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
  border-color: var(--accent);
  color: var(--ink);
}
.chip--on .chip__box {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ------- RADIO ROW ------- */
.radiorow {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: flex-start;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border: none;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  transition: background .15s ease;
}
.radio:last-child { border-right: none; }
.radio:hover { background: var(--soft); }
.radio__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all .15s ease;
}
.radio--on {
  background: var(--ink);
  color: var(--bg);
}
.radio--on .radio__dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--ink);
}

/* ------- ASSET SLOT ------- */
.asset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--soft);
  transition: border-color .15s ease, background .15s ease;
}
.asset--has { background: var(--bg); border-color: var(--accent); }
.asset__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.asset__label {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 4px;
}
.asset__hint {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 50ch;
}
.asset__btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: all .15s ease;
}
.asset__btn:hover { background: var(--accent); border-color: var(--accent); }
.asset__drop {
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.asset__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.asset__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--soft);
  border-radius: var(--radius);
  font-size: 13px;
}
.asset__name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asset__rm {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
}
.asset__rm:hover { color: var(--ink); background: var(--bg); }

/* ------- CLOSING + FOOT ------- */
.closing {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.closing__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 20px;
}
.closing__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  font-weight: 500;
}
.closing__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.closing__sent {
  margin-top: 16px;
  padding: 12px 20px;
  background: oklch(92% 0.08 145);
  color: oklch(30% 0.08 145);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.closing__signoff {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: -0.015em;
  color: color-mix(in oklab, var(--ink) 75%, transparent);
  font-style: italic;
}
.foot {
  margin-top: 80px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ------- GUIDED MODE ------- */
.page--guided {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Guided header */
.ghead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.ghead__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.ghead__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.ghead__step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ghead__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ghead__actions { display: flex; justify-content: flex-end; gap: 8px; }
.btn--sm { padding: 6px 12px; font-size: 12px; }

/* Step bar */
.stepbar {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px 0;
  width: 100%;
}
.stepbar__seg {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 10px 12px 14px;
  cursor: pointer;
  text-align: left;
  border-top: 2px solid var(--line);
  transition: border-color .2s ease, opacity .2s ease;
  opacity: 0.55;
}
.stepbar__seg:hover { opacity: 0.85; }
.stepbar__seg.is-touched { opacity: 0.85; border-top-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.stepbar__seg.is-on { opacity: 1; border-top-color: var(--accent); }
.stepbar__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.stepbar__seg.is-on .stepbar__num { color: var(--accent); }
.stepbar__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Stage (the slide area) */
.stage {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 32px 32px 140px;
}
.stage__inner {
  width: 100%;
  max-width: 720px;
  animation: stageIn .35s cubic-bezier(.2,.7,.2,1) both;
}
.stage__inner--dir-fwd { animation-name: stageInFwd; }
.stage__inner--dir-back { animation-name: stageInBack; }
@keyframes stageInFwd {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes stageInBack {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Override section chrome when inside guided stage */
.stage__section .section,
.stage__inner > .section,
.stage__inner .section {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
.stage__inner .section__head { margin-bottom: 36px; }
.stage__inner .section__title { font-size: clamp(32px, 4vw, 44px); }
.stage__inner .section__intro { font-size: 16.5px; }

/* Cover screen */
.cover { padding: 24px 0 60px; }

.cover__brandblock {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}
.cover__logo {
  height: 56px;
  width: auto;
  display: block;
}
.cover__pixels {
  display: grid;
  grid-template-columns: repeat(6, 6px);
  grid-template-rows: repeat(2, 6px);
  gap: 4px;
  flex-shrink: 0;
  opacity: 0.55;
}
.cover__pixels span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 1px;
}
.cover__pixels span:nth-child(3n) { background: var(--accent); }
.cover__pixels span:nth-child(5n) { opacity: 0.4; }
.cover__pixels span:nth-child(7n) { opacity: 0.15; }

.cover__title-accent {
  background: linear-gradient(95deg, var(--accent2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cover__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
}
.cover__title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 24px;
  text-wrap: balance;
}
.cover__lede {
  font-size: 17px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--ink) 78%, transparent);
  margin: 0 0 40px;
  max-width: 58ch;
  text-wrap: pretty;
}
.cover__list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  border-top: 1px solid var(--line);
}
.cover__list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.cover__list-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cover__list-label {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.cover__list-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.cover__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cover__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Review */
.review { padding: 40px 0 60px; }
.review__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.review__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
}
.review__card:hover { background: var(--bg); border-color: var(--accent); }
.review__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review__card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.review__card-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
.review__card-label {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.review__card-bar {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.review__card-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width .3s ease;
}

/* Sticky navbar */
.navbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.navbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.navbar__center { display: flex; justify-content: center; }
.navbar__progress {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 4px;
  background: var(--soft);
  border-radius: 2px;
  overflow: hidden;
}
.navbar__progress-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}

/* Reduce closing margin inside review */
.stage__inner .closing {
  margin-top: 40px;
  padding-top: 0;
  border-top: none;
}
.stage__inner .closing__num { display: none; }
.stage__inner .closing__title { display: none; }

/* Contact strip */
.contact {
  margin-top: 72px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.contact--closing { margin-top: 56px; }
.contact__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.contact__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}
.contact__by {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--bg);
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.contact__item:hover {
  background: var(--soft);
  color: var(--accent2);
}
.contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.contact__item:hover .contact__label { color: var(--accent2); }
.contact__value {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ------- PALETTE PICKER (inside tweaks panel) ------- */
.palette-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0;
}
.palette-picker__label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
}
.palette-picker__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.palette-swatch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s ease;
}
.palette-swatch:hover { background: rgba(255,255,255,0.08); }
.palette-swatch--on {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}
.palette-swatch__cols {
  display: flex;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
}
.palette-swatch__cols span { flex: 1; }
.palette-swatch__name {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-align: left;
}

/* ------- RESPONSIVE ------- */
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding: 0 24px; }
  .side { display: none; }
  .main { padding-top: 60px; }
  .topbar__inner { padding: 12px 24px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .hero__title { font-size: clamp(34px, 9vw, 48px); }
  .radiorow { flex-direction: column; align-self: stretch; }
  .radio { border-right: none; border-bottom: 1px solid var(--line); }
  .radio:last-child { border-bottom: none; }

  /* Guided */
  .ghead { grid-template-columns: 1fr auto; padding: 12px 18px; }
  .ghead__center { display: none; }
  .stepbar { padding: 10px 18px 0; overflow-x: auto; scrollbar-width: none; }
  .stepbar::-webkit-scrollbar { display: none; }
  .stepbar__seg { flex: 0 0 auto; min-width: 90px; }
  .stepbar__label { font-size: 11px; }
  .stage { padding: 24px 18px 110px; }
  .review__grid { grid-template-columns: 1fr; }
  .navbar__inner { padding: 12px 18px; gap: 12px; }
  .navbar__center { display: none; }
  .navbar__inner { grid-template-columns: auto auto; justify-content: space-between; }

  /* Brand & contact */
  .brand__logo { height: 22px; }
  .brand__doctype { font-size: 9.5px; letter-spacing: 0.1em; }
  .cover__brandblock { gap: 16px; margin-bottom: 36px; }
  .cover__logo { height: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ------- PRINT ------- */
@media print {
  .topbar, .side, .btn, [class*="tweaks"], .closing__actions,
  .ghead, .stepbar, .navbar { display: none !important; }
  .layout { grid-template-columns: 1fr; padding: 0; max-width: 100%; }
  .main { padding: 0; }
  body { background: white; color: black; font-size: 11pt; }
  .section { page-break-inside: avoid; break-inside: avoid; }
  .hero__title, .section__title, .closing__title { color: black; }
  .input, .input--area {
    border: 1px solid #ccc !important;
    background: white !important;
    min-height: 30px;
  }
  .asset { background: white !important; }
}
