:root {
  --feedback-ink: #16342b;
  --feedback-forest: #214c40;
  --feedback-teal: #0f8177;
  --feedback-lime: #d8ebad;
  --feedback-copper: #a65c3b;
  --feedback-paper: #fffef9;
  --feedback-soft: #f1f5ef;
  --feedback-line: #d8e1da;
  --feedback-muted: #65756e;
  --feedback-shadow: 0 28px 80px rgba(22, 52, 43, .09);
}

.feedback-page { color: var(--feedback-ink); background: #f7f6f1; }
.feedback-page main { overflow: clip; }
.feedback-shell { width: min(calc(100% - 72px), 1280px); margin-inline: auto; }
.feedback-hero { position: relative; padding: clamp(94px, 10vw, 148px) 0 88px; border-bottom: 1px solid var(--feedback-line); background: radial-gradient(circle at 82% 14%, rgba(216, 235, 173, .64), transparent 29%), linear-gradient(135deg, #fbfaf5 0%, #eff5ef 100%); }
.feedback-hero::after { position: absolute; right: -120px; bottom: -260px; width: 610px; height: 610px; border: 1px solid rgba(15, 129, 119, .12); border-radius: 50%; content: ""; box-shadow: 0 0 0 80px rgba(15, 129, 119, .025), 0 0 0 160px rgba(15, 129, 119, .018); pointer-events: none; }
.feedback-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .62fr); gap: clamp(52px, 8vw, 112px); align-items: end; }
.feedback-eyebrow { margin: 0 0 22px; color: var(--feedback-teal); font-size: 13px; font-weight: 720; letter-spacing: .08em; }
.feedback-eyebrow span { margin-right: 14px; font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.feedback-hero-copy h1 { max-width: 850px; margin: 0; font-size: clamp(50px, 6.2vw, 82px); font-weight: 610; letter-spacing: -.065em; line-height: 1.04; }
.feedback-hero-copy h1 em { color: var(--feedback-teal); font-style: normal; font-weight: 520; }
.feedback-hero-copy > p:not(.feedback-eyebrow) { max-width: 780px; margin: 30px 0 0; color: var(--feedback-muted); font-size: 17px; line-height: 1.85; }
.feedback-service-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 0; border-top: 1px solid rgba(22, 52, 43, .2); }
.feedback-service-facts div { padding: 18px 18px 0 0; }
.feedback-service-facts dt { color: var(--feedback-muted); font-size: 11px; }
.feedback-service-facts dd { margin: 7px 0 0; font-size: 13px; font-weight: 650; line-height: 1.5; }
.feedback-routing { overflow: hidden; border: 1px solid rgba(22, 52, 43, .18); border-radius: 24px; background: rgba(255, 254, 249, .9); box-shadow: var(--feedback-shadow); backdrop-filter: blur(18px); }
.feedback-routing header { display: grid; gap: 6px; padding: 24px 26px 20px; border-bottom: 1px solid var(--feedback-line); }
.feedback-routing header span { color: var(--feedback-teal); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.feedback-routing header strong { font-size: 23px; }
.feedback-routing ol { margin: 0; padding: 8px 14px 14px; list-style: none; }
.feedback-routing li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 15px 12px; border-bottom: 1px solid var(--feedback-line); }
.feedback-routing li:last-child { border-bottom: 0; }
.feedback-routing li > span { color: var(--feedback-copper); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feedback-routing li div { display: grid; gap: 5px; }
.feedback-routing li strong { font-size: 15px; }
.feedback-routing li small { color: var(--feedback-muted); font-size: 12px; line-height: 1.55; }

.feedback-template-section { padding: 92px 0 102px; background: var(--feedback-paper); }
.feedback-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr); gap: 60px; align-items: end; margin-bottom: 36px; }
.feedback-section-head p { margin: 0; color: var(--feedback-muted); font-size: 14px; line-height: 1.75; }
.feedback-section-head > div > p { margin-bottom: 9px; color: var(--feedback-teal); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.feedback-section-head h2 { margin: 0; font-size: clamp(36px, 4.5vw, 58px); font-weight: 590; letter-spacing: -.055em; }
.feedback-template-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--feedback-line); border-left: 1px solid var(--feedback-line); }
.feedback-template-grid button { display: grid; min-height: 242px; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 28px; border: 0; border-right: 1px solid var(--feedback-line); border-bottom: 1px solid var(--feedback-line); color: var(--feedback-ink); background: #fff; cursor: pointer; text-align: left; transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease; }
.feedback-template-grid button:hover, .feedback-template-grid button:focus-visible, .feedback-template-grid button.is-selected { position: relative; z-index: 1; background: #f4f8f2; box-shadow: inset 0 0 0 2px var(--feedback-teal); transform: translateY(-3px); }
.feedback-template-grid button > span { color: var(--feedback-teal); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.feedback-template-grid button strong { max-width: 310px; font-size: 22px; font-weight: 650; line-height: 1.35; }
.feedback-template-grid button p { margin: 0; color: var(--feedback-muted); font-size: 14px; line-height: 1.72; }
.feedback-template-grid button i { color: var(--feedback-copper); font-size: 12px; font-style: normal; font-weight: 700; }

.feedback-workspace { padding: 104px 0 124px; background: #eef3ee; scroll-margin-top: 90px; }
.feedback-form { overflow: hidden; border: 1px solid var(--feedback-line); border-radius: 26px; background: #fff; box-shadow: var(--feedback-shadow); }
.feedback-step-rail { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 74px; border-bottom: 1px solid var(--feedback-line); background: #f8faf7; }
.feedback-step-rail span { display: flex; align-items: center; gap: 12px; padding: 0 25px; border-right: 1px solid var(--feedback-line); color: var(--feedback-muted); font-size: 13px; font-weight: 650; }
.feedback-step-rail span:last-child { border-right: 0; }
.feedback-step-rail b { color: var(--feedback-teal); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feedback-step-rail .is-current { color: var(--feedback-ink); background: #fff; }
.feedback-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; }
.feedback-fields { padding: 6px 42px 48px; }
.feedback-fields fieldset { margin: 0; padding: 40px 0; border: 0; border-bottom: 1px solid var(--feedback-line); }
.feedback-fields fieldset:last-child { border-bottom: 0; }
.feedback-fields legend { display: grid; width: 100%; grid-template-columns: 42px 1fr; gap: 12px; margin-bottom: 28px; }
.feedback-fields legend > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--feedback-forest); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feedback-fields legend div { display: grid; gap: 5px; }
.feedback-fields legend strong { font-size: 20px; }
.feedback-fields legend small { color: var(--feedback-muted); font-size: 13px; line-height: 1.55; }
.feedback-fields label { display: grid; gap: 9px; margin-top: 22px; color: var(--feedback-ink); font-size: 14px; font-weight: 650; }
.feedback-fields label > span b { color: var(--feedback-copper); }
.feedback-fields label > small { color: var(--feedback-muted); font-size: 12px; font-weight: 450; line-height: 1.5; }
.feedback-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feedback-fields :is(input, select, textarea) { width: 100%; box-sizing: border-box; border: 1px solid #cbd7cf; border-radius: 12px; outline: 0; color: var(--feedback-ink); background: #fbfcfa; font: inherit; font-weight: 480; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.feedback-fields :is(input, select) { min-height: 52px; padding: 0 15px; }
.feedback-fields textarea { min-height: 118px; padding: 14px 15px; resize: vertical; line-height: 1.7; }
.feedback-fields :is(input, select, textarea):focus { border-color: var(--feedback-teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 129, 119, .1); }
.feedback-fields :is(input, select, textarea):invalid:not(:placeholder-shown) { border-color: rgba(166, 92, 59, .62); }
.feedback-consent { grid-template-columns: 20px 1fr; align-items: start; margin-top: 28px !important; padding: 18px; border: 1px solid var(--feedback-line); border-radius: 12px; background: var(--feedback-soft); }
.feedback-consent input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--feedback-teal); }
.feedback-consent > span { color: var(--feedback-muted); font-size: 13px; font-weight: 480; line-height: 1.65; }
.feedback-review { border-left: 1px solid var(--feedback-line); background: #f7f9f6; }
.feedback-review-sticky { position: sticky; top: 94px; padding: 38px 30px; }
.feedback-review-sticky > p:first-child { margin: 0 0 7px; color: var(--feedback-teal); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.feedback-review h3 { margin: 0; font-size: 26px; }
.feedback-review dl { margin: 30px 0 0; }
.feedback-review dl div { padding: 16px 0; border-bottom: 1px solid var(--feedback-line); }
.feedback-review dt { color: var(--feedback-muted); font-size: 11px; }
.feedback-review dd { margin: 7px 0 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; line-height: 1.55; }
.feedback-review dd strong { color: var(--feedback-teal); font-size: 22px; }
.feedback-progress { height: 4px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: #dbe4dd; }
.feedback-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--feedback-teal), #6fad74); transition: width 260ms ease; }
.feedback-submit-note { margin: 22px 0 0; color: var(--feedback-muted); font-size: 12px; line-height: 1.65; }
.feedback-submit { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 0 18px; border: 0; border-radius: 12px; color: #fff; background: var(--feedback-forest); cursor: pointer; font-size: 14px; font-weight: 700; transition: transform 180ms ease, background 180ms ease; }
.feedback-submit:hover { background: var(--feedback-teal); transform: translateY(-2px); }
.feedback-submit:disabled { cursor: wait; opacity: .66; transform: none; }
.feedback-form-status { min-height: 42px; margin: 15px 0 0; color: var(--feedback-muted); font-size: 12px; line-height: 1.55; }
.feedback-form-status[data-state="error"] { color: #a04437; }
.feedback-form-status[data-state="ready"] { color: var(--feedback-teal); }
.feedback-receipt { padding: clamp(42px, 7vw, 88px); border: 1px solid rgba(15, 129, 119, .35); border-radius: 26px; outline: 0; background: radial-gradient(circle at 90% 0, rgba(216,235,173,.7), transparent 35%), #fff; box-shadow: var(--feedback-shadow); }
.feedback-receipt > span { color: var(--feedback-teal); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.feedback-receipt h2 { margin: 12px 0; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.05em; }
.feedback-receipt p { color: var(--feedback-muted); font-size: 16px; }
.feedback-receipt dl { display: grid; grid-template-columns: 1.3fr 1fr .6fr; margin: 38px 0; border-top: 1px solid var(--feedback-line); border-bottom: 1px solid var(--feedback-line); }
.feedback-receipt dl div { padding: 22px 20px 22px 0; }
.feedback-receipt dt { color: var(--feedback-muted); font-size: 11px; }
.feedback-receipt dd { margin: 7px 0 0; font-size: 16px; font-weight: 700; }
.feedback-receipt button { min-height: 48px; padding: 0 18px; border: 1px solid var(--feedback-forest); border-radius: 10px; color: var(--feedback-forest); background: transparent; cursor: pointer; font-weight: 700; }

html[data-theme="dark"] .feedback-page { --feedback-ink: #edf5ef; --feedback-paper: #111a16; --feedback-soft: #1b2922; --feedback-line: #304139; --feedback-muted: #a6b5ad; background: #0d1511; }
html[data-theme="dark"] .feedback-hero { background: radial-gradient(circle at 82% 14%, rgba(75, 111, 68, .35), transparent 29%), #111b16; }
html[data-theme="dark"] .feedback-routing, html[data-theme="dark"] .feedback-template-grid button, html[data-theme="dark"] .feedback-form, html[data-theme="dark"] .feedback-receipt { background-color: #142019; }
html[data-theme="dark"] .feedback-template-grid button:hover, html[data-theme="dark"] .feedback-template-grid button.is-selected { background: #1b2b23; }
html[data-theme="dark"] .feedback-workspace { background: #0d1511; }
html[data-theme="dark"] .feedback-step-rail, html[data-theme="dark"] .feedback-review { background: #111b16; }
html[data-theme="dark"] .feedback-step-rail .is-current { background: #142019; }
html[data-theme="dark"] .feedback-fields :is(input, select, textarea) { border-color: #34483e; color: var(--feedback-ink); background: #111b16; }

@media (max-width: 980px) {
  .feedback-shell { width: min(calc(100% - 40px), 1280px); }
  .feedback-hero-grid, .feedback-section-head, .feedback-form-grid { grid-template-columns: 1fr; }
  .feedback-routing { max-width: 680px; }
  .feedback-template-grid { grid-template-columns: repeat(2, 1fr); }
  .feedback-review { border-top: 1px solid var(--feedback-line); border-left: 0; }
  .feedback-review-sticky { position: static; }
}

@media (max-width: 640px) {
  .feedback-shell { width: min(calc(100% - 28px), 1280px); }
  .feedback-hero { padding-top: 88px; }
  .feedback-hero-copy h1 { font-size: 42px; }
  .feedback-hero-copy > p:not(.feedback-eyebrow) { font-size: 15px; }
  .feedback-service-facts { grid-template-columns: 1fr; }
  .feedback-service-facts div { padding-block: 14px; border-bottom: 1px solid var(--feedback-line); }
  .feedback-template-section, .feedback-workspace { padding-block: 70px; }
  .feedback-template-grid { grid-template-columns: 1fr; }
  .feedback-template-grid button { min-height: 220px; }
  .feedback-step-rail { grid-template-columns: 1fr; }
  .feedback-step-rail span { min-height: 50px; border-right: 0; border-bottom: 1px solid var(--feedback-line); }
  .feedback-fields { padding: 0 20px 28px; }
  .feedback-field-row { grid-template-columns: 1fr; gap: 0; }
  .feedback-fields legend { grid-template-columns: 34px 1fr; }
  .feedback-receipt dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-template-grid button, .feedback-submit, .feedback-progress i { transition: none; }
}
