/* =========================================================
   Briefing — sistema para restaurante
   Preto e branco · formulário web
   ========================================================= */

@font-face {
  font-family: 'Fraunces';
  src: url('./assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('./assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/inter.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ink-soft: #3e3e3a;
  --muted: #6b6b64;
  --muted-light: #8f8f87;
  --line: #d8d7cf;
  --line-soft: #e7e6df;
  --paper: #ffffff;
  --page: #f2f1ec;
  --field: #f7f7f3;
  --field-line: #b5b4aa;
  --black: #111111;
  --white: #ffffff;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #111; color: #fff; }

.wrap {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 3px solid var(--ink);
  margin-top: 26px;
  padding-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-head b { color: var(--ink); font-weight: 600; }
.head-links { display: flex; align-items: baseline; gap: 22px; white-space: nowrap; }
.head-links a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  color: var(--ink);
}
.head-links a:hover { opacity: .6; }

/* ---------- Intro ---------- */
.intro {
  padding: 62px 0 44px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.intro h1 {
  margin: 14px 0 0;
  max-width: 820px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.1vw, 62px);
  line-height: 1.01;
  letter-spacing: -.035em;
}
.intro h1 em { font-weight: 300; }
.intro-deck {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-size: 11px;
  color: var(--muted);
}
.intro-meta span { display: inline-flex; align-items: center; gap: 8px; }
.intro-meta span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
}
.intro-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 650px;
}

/* ---------- Shell ---------- */
.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
  padding: 34px 0 72px;
}
body.is-started .intro { display: none; }
body.is-started .shell { padding-top: 30px; }

/* ---------- Rail ---------- */
.rail {
  position: sticky;
  top: 24px;
  align-self: start;
}
.rail-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.rail-top b { color: var(--ink); font-weight: 600; }
.progress {
  height: 3px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 24px;
}
.progress span {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--ink);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.rail-nav { display: grid; gap: 1px; }
.rail-item {
  appearance: none;
  display: flex;
  align-items: baseline;
  gap: 11px;
  width: 100%;
  padding: 9px 10px 9px 12px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.rail-item:hover { background: #eae9e2; color: var(--ink); }
.rail-num {
  flex: none;
  width: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted-light);
  font-variant-numeric: tabular-nums;
}
.rail-item.is-active {
  border-left-color: var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
.rail-item.is-active .rail-num { color: var(--ink); }
.rail-item.is-done .rail-num { color: var(--ink); }
.rail-item.is-done .rail-num::after {
  content: " ·";
  color: var(--ink);
}
.rail-note {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
}
.rail-note b { color: var(--ink); font-weight: 600; }
.rail-actions { display: grid; gap: 8px; margin-top: 16px; }
.rail-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rail-link:hover { color: var(--ink); }

/* ---------- Panel ---------- */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 44px 0;
}
.mobile-progress { display: none; }

.step-head {
  border-top: 2px solid var(--ink);
  padding-top: 13px;
  margin-bottom: 28px;
}
.step-kicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-kicker b { color: var(--ink); font-weight: 600; }
.step-head h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.step-head h2:focus { outline: none; }
.step-head p {
  margin: 10px 0 0;
  max-width: 650px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Questions ---------- */
.q-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 26px;
}
.q { min-width: 0; margin: 0; padding: 0; border: 0; }
.q.full { grid-column: 1 / -1; }
.q-label {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.q-num {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted-light);
  margin-right: 5px;
}
.optional {
  font-weight: 400;
  font-size: 10.5px;
  color: var(--muted-light);
  margin-left: 4px;
}
.req { color: var(--ink); }
.q-hint {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.q-hint strong { color: var(--ink); font-weight: 600; }

.input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d9d8cf;
  border-bottom-color: var(--field-line);
  border-radius: 2px;
  background: var(--field);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.input:hover { border-color: #b9b8ae; }
.input:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink);
}
.input::placeholder { color: #9d9c93; }
textarea.input {
  min-height: 112px;
  resize: vertical;
}
textarea.input.short { min-height: 78px; }
input[type="date"].input { min-height: 46px; }

.q.has-error .input {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  background: #fff;
}
.error-msg {
  display: none;
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.q.has-error .error-msg { display: block; }

/* ---------- Options ---------- */
.opts {
  display: grid;
  gap: 5px 12px;
  margin-top: 2px;
}
.opts.cols-2 { grid-template-columns: 1fr 1fr; }
.opts.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opts.cols-4 { grid-template-columns: repeat(4, 1fr); }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .13s ease, border-color .13s ease;
}
.opt:hover { background: #f6f6f2; border-color: var(--line-soft); }
.opt:has(input:checked) { background: #f2f2ed; border-color: #deddd4; color: var(--ink); }
.opt input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  padding: 0;
  border: 1.5px solid #5c5c55;
  border-radius: 2px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.opt input[type="radio"] { border-radius: 50%; }
.opt input[type="checkbox"]::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.opt input[type="radio"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
}
.opt input[type="checkbox"]:checked,
.opt input[type="radio"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.opt input[type="checkbox"]:checked::after,
.opt input[type="radio"]:checked::after { opacity: 1; }
.opt input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.opt b { font-weight: 600; }
.opt .opt-note {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 400;
}

.inline-field { margin-top: 9px; max-width: 440px; }

/* ---------- Notes ---------- */
.note {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--ink);
  background: #f5f5f0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.note b { color: var(--ink); font-weight: 600; }

/* ---------- Feature groups ---------- */
.feature-group {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0 4px;
}
.feature-group:first-of-type { border-top: 0; padding-top: 0; }
.feature-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 8px;
}
.feature-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  min-width: 14px;
}
.feature-head h3 {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.feature-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
}
.feature-opts .opt { font-size: 12.2px; padding: 6px 8px; }

/* ---------- Device table ---------- */
.device-table { margin-top: 4px; }
.device-head {
  display: grid;
  grid-template-columns: 1.25fr .5fr 1.1fr;
  gap: 12px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.device-row {
  display: grid;
  grid-template-columns: 1.25fr .5fr 1.1fr;
  gap: 12px;
  align-items: end;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.device-row .q { margin: 0; }
.device-row .q-label {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 5px;
}
.device-row .input { min-height: 38px; padding: 8px 10px; font-size: 13px; }

/* ---------- Form nav ---------- */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 22px 0 24px;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.step-count {
  margin: 0 auto 0 0;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover { color: var(--ink); }
.btn .spinner {
  width: 13px; height: 13px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Review ---------- */
.review-intro {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.review-section {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0;
}
.review-section:first-of-type { border-top: 0; }
.review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}
.review-head h3 {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.review-edit {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 10.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-edit:hover { color: var(--ink); }
.review-rows { display: grid; gap: 7px; }
.review-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  font-size: 12px;
  line-height: 1.5;
}
.review-row dt { color: var(--muted); margin: 0; }
.review-row dd { margin: 0; color: var(--ink); white-space: pre-wrap; }
.review-empty { font-size: 12px; color: var(--muted); font-style: italic; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 14px;
  padding: 14px;
  background: #f5f5f0;
  border: 1px solid var(--line-soft);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  border: 1.5px solid #5c5c55;
  border-radius: 2px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.consent input::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.consent input:checked { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after { opacity: 1; }
.consent b { color: var(--ink); font-weight: 600; }
.consent-error { margin-top: 8px; }

/* ---------- Feedback / Success ---------- */
.submit-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--ink);
  background: #f5f5f0;
  font-size: 12px;
  line-height: 1.55;
}
.submit-error b { font-weight: 600; }
.submit-error a { text-decoration: underline; text-underline-offset: 2px; }

.success {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.success h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 39px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.success-lead {
  max-width: 560px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}
.success .btn { border-color: var(--ink); }
.success .btn-ghost { background: transparent; color: var(--ink); }
.success .btn-ghost:hover { background: var(--ink); color: #fff; }
.success-note {
  margin: 18px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
}
.success details {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.success summary {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.success pre {
  margin: 16px 0 0;
  max-height: 420px;
  overflow: auto;
  padding: 16px;
  background: #f5f5f0;
  border: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--ink-soft);
}
.preview-note {
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed var(--field-line);
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: 320px;
  padding: 12px 15px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.site-foot b { color: var(--ink); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .shell { grid-template-columns: 210px minmax(0, 1fr); gap: 34px; }
  .panel { padding: 32px 30px 0; }
  .opts.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .feature-opts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .wrap { width: calc(100% - 32px); }
  .site-head { margin-top: 16px; }
  .shell { display: block; padding: 0 0 54px; }
  .rail { display: none; }
  .panel { padding: 26px 22px 0; border-left: 0; border-right: 0; }
  body.is-started .shell { padding-top: 0; }
  .mobile-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .mobile-progress .bar {
    flex: 1;
    height: 2px;
    background: var(--line);
    overflow: hidden;
  }
  .mobile-progress .bar span {
    display: block;
    height: 100%;
    background: var(--ink);
    transition: width .35s ease;
  }
  .intro { padding: 38px 0 30px; }
  .intro h1 { font-size: clamp(34px, 8vw, 48px); }
  .q-grid { gap: 22px 18px; }
  .opts.cols-3, .opts.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .device-head { display: none; }
  .device-row { grid-template-columns: 1fr 1fr; }
  .device-row .q:last-child { grid-column: 1 / -1; }
  .review-row { grid-template-columns: 1fr; gap: 2px; }
  .form-nav {
    margin: 28px -22px 0;
    padding: 14px 22px;
  }
  .step-count { display: none; }
  .site-head { font-size: 8.5px; }
  .head-links span { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 24px); }
  .site-head { gap: 12px; letter-spacing: .1em; }
  .head-links { gap: 12px; }
  .intro { padding-top: 30px; }
  .intro-deck { font-size: 14px; }
  .intro-meta { gap: 8px 16px; font-size: 10px; }
  .panel { padding: 22px 16px 0; }
  .step-head h2 { font-size: 27px; }
  .q-grid { grid-template-columns: 1fr; gap: 20px; }
  .q.full { grid-column: auto; }
  .opts.cols-2, .opts.cols-3, .opts.cols-4 { grid-template-columns: 1fr; }
  .feature-opts { grid-template-columns: 1fr; }
  .opt { padding: 8px 10px; font-size: 13px; }
  .input { font-size: 16px; }
  .device-row { grid-template-columns: 1fr; }
  .device-row .q:last-child { grid-column: auto; }
  .form-nav { margin-left: -16px; margin-right: -16px; padding: 12px 16px; }
  .btn { padding: 10px 16px; font-size: 10.5px; }
  .success-actions { display: grid; }
  .success-actions .btn { width: 100%; }
  .success { padding-top: 10px; }
  .success h2 { font-size: 32px; }
  .review-head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  body { background: #fff; }
  .site-head, .intro, .rail, .form-nav, .toast, .success-actions, .site-foot { display: none !important; }
  .shell { display: block; padding: 0; }
  .panel { border: 0; padding: 0; }
  .step { display: block !important; break-inside: avoid; }
  .step + .step { margin-top: 28px; border-top: 1px solid #ddd; padding-top: 20px; }
  .q-grid { gap: 16px; }
  .input { background: #fff; }
  .opts { break-inside: avoid; }
}

/* ---------- Small additions ---------- */
.q-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-head {
  width: 100%;
  padding: 0;
}
.feature-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.consent-error { display: block; }
.success { padding-bottom: 42px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95em;
}
@media (max-width: 880px) {
  .q-grid.three { grid-template-columns: 1fr; }
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
legend { padding: 0; }
