﻿:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #65717e;
  --line: #dedbd3;
  --panel: #ffffff;
  --page: #f7f5ef;
  --accent: #26735f;
  --accent-dark: #195644;
  --warm: #a16207;
  --danger: #b42318;
  --ok: #13795b;
  --soft: #edf3f2;
  --shadow: 0 18px 45px rgba(30, 41, 59, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 18px 0 34px;
  min-height: 520px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 820px;
}

.lead {
  max-width: 710px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.supporting {
  margin: 10px auto 0;
  max-width: 680px;
  color: #4d575f;
  font-size: 17px;
  line-height: 1.5;
}

.promise-panel {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  padding: 18px 22px;
  background: #edf7f1;
  color: #164734;
  border: 1px solid #bddfce;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(28, 68, 52, 0.08);
}

.promise-panel strong {
  font-size: 17px;
}

.promise-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  color: #245d48;
  font-size: 14px;
  line-height: 1.3;
}

.promise-panel li::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 900;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(56, 46, 32, 0.07);
}

.input-panel,
.results-panel,
.recommendation-panel {
  padding: 22px;
}

.input-panel {
  width: min(760px, 100%);
  justify-self: center;
  border-color: #cfc6b5;
  box-shadow: 0 18px 48px rgba(56, 46, 32, 0.1);
}

.results-panel,
.recommendation-panel,
.feedback-panel {
  width: min(980px, 100%);
  justify-self: center;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(56, 46, 32, 0.05);
}

.recommendation-panel,
.feedback-panel {
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}

.body-panel {
  width: min(980px, 100%);
  justify-self: center;
  margin: 18px auto 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.body-explainer {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #d7e5dc;
  border-radius: 8px;
  background: #f3faf6;
  color: #1f4c3b;
  margin-bottom: 16px;
}

.body-explainer p {
  margin: 0;
  color: #41514a;
  line-height: 1.45;
}

.body-explainer.compact {
  margin: 18px 0 16px;
  background: #f5faf7;
}

.body-measure-guide {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  margin: 18px 0 0;
  border: 1px solid #e2ded6;
  border-radius: 8px;
  background: #fffdfa;
}

.body-outline {
  position: relative;
  width: 92px;
  height: 142px;
  margin: 0 auto;
}

.body-head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  border: 2px solid #64726d;
  border-radius: 50%;
  background: #f7f5ef;
}

.body-torso {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 54px;
  height: 98px;
  transform: translateX(-50%);
  border: 2px solid #64726d;
  border-radius: 24px 24px 18px 18px;
  background: #f8fbf9;
}

.body-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 999px;
}

.body-chest {
  top: 58px;
  background: #26735f;
}

.body-waist {
  top: 88px;
  background: #a16207;
}

.body-hips {
  top: 116px;
  background: #2f6ea6;
}

.body-guide-legend {
  display: grid;
  gap: 9px;
  color: #46524e;
  font-size: 14px;
  line-height: 1.35;
}

.body-chest-line {
  background: #26735f;
}

.body-waist-line {
  background: #a16207;
}

.body-hips-line {
  background: #2f6ea6;
}

.body-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.inline-body-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.body-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.section-title span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.section-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.step-kicker {
  margin: 0 0 8px !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.garment-form {
  display: grid;
  gap: 16px;
}

.wizard-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-weight: 800;
}

.wizard-progress > div {
  height: 7px;
  background: #e6e0d4;
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 180ms ease;
}

.step-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.step-map li {
  position: relative;
  padding: 9px 8px;
  border: 1px solid #dedbd3;
  border-radius: 8px;
  color: var(--muted);
  background: #fffdfa;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.step-map li.is-current {
  color: #164734;
  border-color: #76b59f;
  background: #edf7f1;
}

.body-quick-edit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid #e2ded6;
  border-radius: 8px;
  background: #fffdfa;
  color: #58615c;
  font-size: 13px;
  line-height: 1.3;
}

.body-quick-edit span {
  min-width: 0;
}

.step-map li.is-done {
  color: #456154;
  background: #f4faf6;
}

.wizard-step {
  display: none;
  min-height: 300px;
  align-content: start;
  gap: 16px;
}

.wizard-step.active {
  display: grid;
}

.wizard-step h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.12;
}

.step-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.conversation-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #ddd7cb;
  border-radius: 8px;
  background: #fffdfa;
  color: #3b4650;
}

.conversation-card strong {
  font-size: 18px;
  color: var(--ink);
}

.wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wizard-actions .primary.hidden {
  display: none;
}

.demo-link {
  justify-self: start;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.reason-picker {
  display: grid;
  gap: 10px;
}

.reason-picker p {
  margin: 0;
  color: #344054;
  font-weight: 800;
}

.reason-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.reason-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.reason-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reason-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #ddd7cb;
  border-radius: 999px;
  background: #fffdfa;
  color: #344054;
  font-weight: 750;
  cursor: pointer;
}

.reason-chip input:checked + span {
  border-color: #76b59f;
  background: #edf7f1;
  color: #164734;
}

.fit-detail-prompt {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #fbf6ea;
  border: 1px solid #e4d7bd;
}

.fit-detail-prompt.hidden {
  display: none;
}

.fit-detail-prompt p {
  margin: 0;
  color: #5a4630;
  font-weight: 800;
}

.measure-guide {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
}

.mini-shirt {
  position: relative;
  width: 86px;
  height: 102px;
  margin: 0 auto;
  border: 2px solid #d9d4cb;
  border-radius: 16px 16px 12px 12px;
  background: #fbfaf6;
}

.mini-shirt::before,
.mini-shirt::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 24px;
  height: 28px;
  border: 2px solid #d9d4cb;
  background: #fbfaf6;
}

.mini-shirt::before {
  left: -20px;
  border-radius: 16px 0 0 18px;
  border-right: 0;
}

.mini-shirt::after {
  right: -20px;
  border-radius: 0 16px 18px 0;
  border-left: 0;
}

.guide-line {
  position: absolute;
  display: block;
}

.guide-chest {
  left: -14px;
  right: -14px;
  top: 37px;
  border-top: 2px dashed #2d7d65;
}

.guide-length {
  left: 42px;
  top: 7px;
  height: 87px;
  border-left: 2px dashed #2b6cb0;
}

.guide-hem {
  left: -8px;
  right: -8px;
  bottom: 8px;
  border-top: 2px dashed #a46217;
}

.guide-dot {
  position: absolute;
  top: 34px;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d7d65;
}

.guide-dot-left {
  left: -17px;
}

.guide-dot-right {
  right: -17px;
}

.guide-legend {
  display: grid;
  gap: 10px;
  color: #42505b;
  line-height: 1.35;
}

.guide-legend div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-line {
  width: 30px;
  border-top: 2px solid;
  flex: 0 0 30px;
}

.legend-line.chest {
  border-color: #2d7d65;
}

.legend-line.length {
  border-color: #2b6cb0;
}

.legend-line.hem {
  border-color: #a46217;
}

small {
  color: var(--muted);
  font-weight: 500;
}

.measure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.measure-grid label:first-child {
  grid-column: 1 / -1;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--accent-dark);
}

.ghost {
  background: #e8eef4;
  color: #253240;
}

.ghost.subtle {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid #cfd8e3;
}

.text-button {
  background: transparent;
  color: var(--accent-dark);
  padding: 0;
  min-height: 0;
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  color: var(--muted);
}

.measure-visual {
  width: 220px;
  height: 210px;
  display: grid;
  place-items: center;
  background: #f2f5f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shirt {
  position: relative;
  width: 124px;
  height: 150px;
  background: #dbe8e4;
  border: 2px solid #79a59b;
  clip-path: polygon(24% 0, 40% 0, 45% 10%, 55% 10%, 60% 0, 76% 0, 100% 28%, 83% 42%, 75% 30%, 75% 100%, 25% 100%, 25% 30%, 17% 42%, 0 28%);
}

.line {
  position: absolute;
  background: var(--accent-dark);
}

.length-line {
  width: 3px;
  height: 116px;
  left: 62px;
  top: 22px;
}

.chest-line {
  height: 3px;
  width: 86px;
  left: 19px;
  top: 72px;
}

.hem-line {
  height: 3px;
  width: 62px;
  left: 31px;
  bottom: 14px;
}

.hidden {
  display: none;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.summary-cards > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfd;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.summary-cards strong {
  display: block;
  font-size: 18px;
}

.range-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.range-strip > div {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid #cfe0dc;
}

.range-strip span {
  display: block;
  color: #38504b;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.range-strip strong {
  font-size: 18px;
}

.insight-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.insight-block h3,
.garment-list-wrap h3 {
  margin: 0 0 10px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: #344054;
  line-height: 1.55;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.learning-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fbfcfd;
}

.learning-grid h4 {
  margin: 0 0 9px;
  font-size: 15px;
}

.human-insights {
  display: grid;
  gap: 12px;
  color: #344054;
  line-height: 1.6;
}

.human-insights p {
  margin: 0;
  font-size: 16px;
}

.human-insights strong {
  color: var(--ink);
}

#profileText {
  margin: 0;
  color: #344054;
  line-height: 1.6;
}

.next-step-hint {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #edf7f1;
  border: 1px solid #c7e3d5;
  color: #245d48;
  line-height: 1.45;
  font-weight: 700;
}

.next-step-hint:empty {
  display: none;
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.garment-list {
  display: grid;
  gap: 10px;
}

.garment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fffdfa;
}

.garment-item strong {
  display: block;
  margin-bottom: 5px;
}

.garment-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.remove {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  background: #f1f3f5;
  color: #54606c;
}

.recommendations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.data-note {
  margin: -4px 0 18px;
  padding: 12px 14px;
  border: 1px solid #d7d2c4;
  border-radius: 8px;
  background: #fffaf0;
  color: #51422b;
  line-height: 1.45;
}

.brand-filter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-filter strong {
  display: block;
  margin-bottom: 2px;
}

.brand-filter span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.brand-filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 620px;
}

.brand-filter-options label {
  position: relative;
}

.brand-filter-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.brand-filter-options span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #ddd7cb;
  border-radius: 999px;
  background: #fffdfa;
  color: var(--ink);
  cursor: pointer;
}

.brand-filter-options input:checked + span {
  border-color: #76b59f;
  background: #edf7f1;
  color: #164734;
}

.recommendation-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.recommendation-group {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.recommendation-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-height: 86px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2ded6;
}

.recommendation-group-head .text-button {
  align-self: start;
  white-space: normal;
  max-width: 82px;
  text-align: right;
  line-height: 1.2;
}

.recommendation-group-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.recommendation-group-head p,
.group-empty {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.recommendation-stack {
  display: grid;
  gap: 12px;
}

.other-results {
  margin-top: 18px;
  border-top: 1px solid #e2ded6;
  padding-top: 14px;
}

.other-results summary {
  cursor: pointer;
  color: #3f4a45;
  font-weight: 800;
  margin-bottom: 12px;
}

.recommendation-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: #fff;
}

.recommendation-card:not(.best) {
  opacity: 0.94;
}

.recommendation-card.best {
  border-color: #4f8f2f;
  box-shadow: 0 0 0 1px rgba(79, 143, 47, 0.16);
  background: #fbfef8;
}

.recommendation-card.compact {
  padding: 14px;
  gap: 10px;
}

.recommendation-card.compact .recommendation-copy {
  gap: 0;
}

.recommendation-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.recommendation-card h3 {
  display: inline;
  margin-right: 8px;
}

.recommendation-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.suggested-size {
  margin: 4px 0 0;
  color: #5f665e;
  font-size: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2f6;
  color: #344054;
  font-weight: 800;
  font-size: 13px;
}

.tag.ok {
  background: #dff6ec;
  color: var(--ok);
}

.tag.warn {
  background: #fff2cc;
  color: var(--warm);
}

.tag.bad {
  background: #fde8e7;
  color: var(--danger);
}

.tag.body {
  background: #e7f0fb;
  color: #285a8f;
}

.tag.demo {
  background: #f1e8ff;
  color: #6941c6;
}

.recommendation-card p {
  margin: 0;
  color: #344054;
  line-height: 1.5;
  max-width: 840px;
}

.recommendation-copy {
  display: grid;
  gap: 10px;
}

.recommendation-copy dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.recommendation-copy dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}

.recommendation-copy dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.recommendation-copy dd {
  margin: 0;
  color: #344054;
  line-height: 1.4;
}

.link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.buy-link {
  background: #8a6407;
  color: #fff7d8;
}

.maker-link {
  color: #4d534c;
}

.link-row a.disabled {
  opacity: 0.38;
  pointer-events: none;
}

.muted-link {
  color: var(--muted);
  font-weight: 700;
}

.feedback-panel {
  padding: 22px;
  background: #fffefa;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

.feedback-form fieldset {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  border: 0;
}

.feedback-form legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.feedback-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d8d2c5;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 750;
}

.feedback-choice input {
  width: auto;
}

.feedback-form textarea,
.feedback-form input[type="email"] {
  margin-top: 6px;
}

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feedback-status {
  min-height: 22px;
  margin: 0;
  color: var(--ok);
  font-weight: 750;
}

.seo-note {
  width: min(980px, 100%);
  margin: 28px auto 0;
  padding: 8px 2px 0;
  color: #46535b;
}

.seo-note h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.seo-note p {
  max-width: 860px;
  margin: 0 0 10px;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .summary-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommendation-columns {
    grid-template-columns: 1fr;
  }

  .recommendation-group-head {
    min-height: 0;
  }

  .brand-filter {
    display: grid;
  }

  .brand-filter-options {
    justify-content: flex-start;
    max-width: none;
  }

  .body-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  h1 {
    font-size: 43px;
  }

  .intro {
    min-height: auto;
    padding-bottom: 26px;
  }

  .promise-panel {
    border-radius: 8px;
    text-align: left;
  }

  .promise-panel ul {
    display: grid;
    justify-content: stretch;
  }

  .step-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .measure-guide {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .measure-grid,
  .body-form,
  .summary-cards,
  .range-strip,
  .learning-grid {
    grid-template-columns: 1fr;
  }

  .input-panel,
  .results-panel,
  .recommendation-panel,
  .feedback-panel {
    padding: 16px;
  }

  .feedback-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
