:root {
  color-scheme: dark;
  --bg: #0f0f0e;
  --panel: #181816;
  --panel-soft: #20201d;
  --panel-deep: #11110f;
  --text: #f4f1ea;
  --muted: #b9b2a5;
  --line: #34312b;
  --accent: #d7b46a;
  --accent-strong: #f0c86c;
  --steel: #9aa7ad;
  --success: #94d3a2;
  --danger: #ff8b7d;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 200, 108, 0.48);
  outline-offset: 2px;
}

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

.is-hidden {
  display: none !important;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 241, 234, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% 26%, rgba(215, 180, 106, 0.1), transparent 28%),
    linear-gradient(180deg, #11110f 0%, #161511 54%, #0f0f0e 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 14, 0.82), rgba(15, 15, 14, 0.58) 48%, rgba(15, 15, 14, 0.42)),
    linear-gradient(180deg, rgba(15, 15, 14, 0.42), rgba(15, 15, 14, 0.72)),
    url("assets/mymoto-hero-bg.png") center / cover no-repeat;
  opacity: 0.86;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(0px, calc((100vw - 1120px) / 2));
  width: min(760px, 76vw);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 15, 14, 0.66), rgba(15, 15, 14, 0.36) 72%, transparent);
  filter: blur(18px);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 14px 0 18px;
  text-align: left;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(1080px, 100%);
  max-width: 1080px;
}

.hero__logo-frame {
  width: min(250px, 58vw);
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  padding: 8px 13px;
  overflow: hidden;
  border: 1px solid #f5f5f0;
  border-radius: 16px;
  background: #f5f5f0;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(245, 245, 240, 0.18);
}

.hero__logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 940px;
  font-size: clamp(2.45rem, 6.4vw, 6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.hero__copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero__copy p {
  margin: 0 0 14px;
}

.hero__actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__note {
  color: var(--text);
  font-size: 0.95rem;
  font-style: italic;
}

.hero__guides {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero__guides a {
  color: var(--accent);
  text-decoration: none;
}

.hero__guides a:hover {
  text-decoration: underline;
}

.hero__warning {
  color: var(--text);
  font-weight: 900;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.trust-card {
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(215, 180, 106, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.035), rgba(244, 241, 234, 0.01)),
    #11110f;
  color: #ded6c8;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.trust-card__icon {
  display: inline-flex;
  color: #cfc5b2;
}

.trust-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero__cta .button {
  min-height: 72px;
  min-width: min(430px, 100%);
  padding: 0 38px;
  border-radius: 10px;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(215, 180, 106, 0.24);
}

@media (min-width: 1000px) {
  .hero__content {
    padding-top: 14px;
  }

  .trust-bar {
    margin-top: 18px;
  }

  .trust-card {
    min-height: 56px;
    padding: 11px 14px;
    font-size: 0.68rem;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button--primary {
  background: var(--accent);
  color: #18140d;
}

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

.button--secondary {
  background: transparent;
  border-color: var(--line);
}

.questionnaire {
  min-height: 100svh;
  padding: 32px 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(215, 180, 106, 0.1), transparent 30%),
    linear-gradient(180deg, #11110f 0%, #0f0f0e 100%);
}

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

.progress-panel,
.form-panel,
.confirmation__content {
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.035), rgba(244, 241, 234, 0)),
    rgba(24, 24, 22, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.progress-panel {
  position: sticky;
  top: 24px;
  padding: 26px;
}

.progress-panel p {
  color: var(--muted);
}

.progress-panel h2 {
  margin-top: 8px;
}

.progress {
  height: 10px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2824;
  border: 1px solid rgba(215, 180, 106, 0.12);
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 180ms ease;
}

.progress__meta {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-panel {
  padding: 28px;
}

.form-status {
  min-height: 24px;
  margin: 0 0 8px;
  color: var(--danger);
  font-weight: 800;
}

.question {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.question:first-child {
  border-top: 0;
  padding-top: 0;
}

.question__label,
.question legend {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.question fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.required-dot {
  color: var(--accent);
}

.question__help {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid rgba(215, 180, 106, 0.18);
  border-radius: 8px;
  background: rgba(17, 17, 15, 0.86);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(244, 241, 234, 0.03);
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 180, 106, 0.16);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"],
.choice-grid[aria-invalid="true"],
.percentage-grid[aria-invalid="true"] {
  border-color: var(--danger);
}

.choice-grid {
  display: grid;
  gap: 9px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 18, 0.88);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.choice input {
  accent-color: var(--accent);
}

.choice:hover {
  border-color: rgba(215, 180, 106, 0.34);
  background: rgba(32, 32, 29, 0.9);
}

.choice:has(input:checked) {
  border-color: rgba(215, 180, 106, 0.72);
  background: rgba(215, 180, 106, 0.11);
  box-shadow: inset 3px 0 0 var(--accent);
}

.choice:has(input:checked) span {
  color: var(--text);
  font-weight: 800;
}

.other-detail {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid rgba(215, 180, 106, 0.24);
  border-radius: 8px;
  background: rgba(215, 180, 106, 0.07);
}

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

.field-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.privacy-note {
  margin: 18px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(154, 167, 173, 0.22);
  border-radius: 8px;
  background: rgba(154, 167, 173, 0.07);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.confirmation {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 32px 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(215, 180, 106, 0.1), transparent 30%),
    linear-gradient(180deg, #11110f 0%, #0f0f0e 100%);
}

.confirmation__content {
  min-width: 0;
  max-width: min(1040px, calc(100% - 32px));
  padding: 34px;
}

.confirmation__content p {
  color: var(--muted);
}

.storage-status {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.summary {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.summary dl,
.preview-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 14px;
  margin: 0;
}

.summary dt {
  color: var(--muted);
}

.summary dd {
  margin: 0;
}

.report-preview {
  min-width: 0;
  margin-top: 22px;
  border: 1px solid rgba(215, 180, 106, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.025), rgba(244, 241, 234, 0)),
    var(--panel-deep);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.feedback-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(215, 180, 106, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.08), rgba(154, 167, 173, 0.05)),
    rgba(32, 32, 29, 0.84);
}

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

.feedback-panel legend,
.feedback-panel__comments {
  flex-basis: 100%;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feedback-panel label:not(.feedback-panel__comments) {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(215, 180, 106, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(20, 20, 18, 0.76);
}

.feedback-panel textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(14, 14, 13, 0.78);
}

.feedback-panel__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.feedback-status {
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.feedback-status.is-error {
  color: var(--danger);
}

.report-preview__header {
  padding: 24px;
  border-bottom: 1px solid rgba(215, 180, 106, 0.18);
  background:
    radial-gradient(circle at 82% 0%, rgba(215, 180, 106, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(215, 180, 106, 0.13), rgba(154, 167, 173, 0.06));
}

.report-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-preview__header h3 {
  max-width: 740px;
  font-size: clamp(1.85rem, 4.4vw, 3.2rem);
  line-height: 0.98;
}

.report-preview__header p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.report-preview__body {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.preview-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.026), rgba(244, 241, 234, 0)),
    rgba(32, 32, 29, 0.76);
}

.preview-panel h4 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-panel p {
  margin: 0;
  color: var(--muted);
}

.situation-panel {
  grid-column: 1 / -1;
  border-color: rgba(154, 167, 173, 0.24);
  background:
    linear-gradient(135deg, rgba(154, 167, 173, 0.09), rgba(215, 180, 106, 0.045)),
    rgba(32, 32, 29, 0.78);
}

.situation-panel p {
  max-width: 980px;
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.verdict-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-color: rgba(215, 180, 106, 0.52);
  background:
    radial-gradient(circle at 92% 22%, rgba(215, 180, 106, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(215, 180, 106, 0.16), rgba(32, 32, 29, 0.92));
}

.verdict-panel h5 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.75rem, 4.8vw, 3.25rem);
  line-height: 1;
}

.verdict-panel__personal {
  max-width: 840px;
  margin-top: 14px !important;
  color: var(--text) !important;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.58;
}

.fit-score {
  min-width: 120px;
  min-height: 120px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(215, 180, 106, 0.5);
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.78);
  box-shadow: inset 0 0 28px rgba(215, 180, 106, 0.12);
}

.fit-score strong {
  color: var(--accent-strong);
  font-size: 2.2rem;
  line-height: 1;
}

.fit-score span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.preview-list li {
  padding: 14px;
  border: 1px solid rgba(215, 180, 106, 0.16);
  border-radius: 8px;
  background: rgba(20, 20, 18, 0.92);
}

.match-situation {
  margin: 8px 0 !important;
  color: var(--text);
}

.match-research-note {
  margin: 10px 0 0 !important;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 245, 240, 0.08);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.match-source-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.gear-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.gear-list li:first-of-type {
  border-top: 0;
}

.gear-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.gear-row em {
  font-style: normal;
  color: var(--text);
  white-space: nowrap;
}

.gear-item-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.gear-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.gear-link,
.listing-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.gear-link:hover,
.gear-link:focus-visible,
.listing-link:hover,
.listing-link:focus-visible {
  text-decoration: underline;
}

/* Second retailer link (specialist moto shop) sits beside the Amazon one;
   marketplace links sit in a row the same way. */
.gear-link + .gear-link,
.listing-link + .listing-link {
  margin-left: 16px;
}

.gear-disclosure {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 245, 240, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.kb-panel {
  border-color: rgba(215, 180, 106, 0.34);
}

.kb-bike {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.kb-bike:first-of-type {
  padding-top: 4px;
  border-top: 0;
}

.kb-bike h5 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kb-bike p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.55;
}

.kb-label {
  color: var(--accent);
  font-weight: 700;
}

.kb-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a160f;
  background: var(--accent);
  border-radius: 5px;
  padding: 2px 7px;
}

.specs-scroll-wrap {
  position: relative;
}

.specs-scroll {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

/* On narrow screens the specs table scrolls sideways but mobile hides the
   scrollbar, so add a right-edge fade to signal there's more to swipe to. */
@media (max-width: 600px) {
  .specs-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(15, 15, 14, 0), var(--panel));
  }
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.specs-table th,
.specs-table td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  color: var(--text);
  vertical-align: top;
}

.specs-table thead th {
  background: var(--panel-soft);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.specs-table tbody th {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.specs-note {
  margin: 10px 0 0 !important;
  color: var(--muted);
  font-size: 0.8rem;
}

.match-source-link:hover,
.match-source-link:focus-visible {
  text-decoration: underline;
}

.preview-list strong {
  display: block;
  color: var(--text);
}

.preview-list small {
  display: block;
  margin: 2px 0 8px;
  color: var(--steel);
  font-size: 0.82rem;
}

.preview-list span,
.preview-grid dt {
  color: var(--muted);
}

.match-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.match-row em {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 900;
}

.preview-grid dd {
  margin: 0;
  color: var(--text);
}

.preview-warning {
  border-color: rgba(255, 139, 125, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 139, 125, 0.1), rgba(255, 139, 125, 0.045)),
    rgba(32, 32, 29, 0.74);
}

.preview-success {
  border-color: rgba(148, 211, 162, 0.36);
  background:
    linear-gradient(180deg, rgba(148, 211, 162, 0.1), rgba(148, 211, 162, 0.04)),
    rgba(32, 32, 29, 0.74);
}

.report-note {
  grid-column: 1 / -1;
}

.owner-submissions {
  min-height: 100vh;
  padding: 42px 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 14, 0.94), rgba(15, 15, 14, 0.98)),
    var(--charcoal);
}

.owner-submissions__content {
  max-width: 1040px;
}

.owner-submissions__content > h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.owner-submissions__content > p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
}

.owner-submission-list {
  display: grid;
  gap: 16px;
}

.owner-submission,
.owner-empty {
  padding: 18px;
  border: 1px solid rgba(215, 180, 106, 0.22);
  border-radius: 10px;
  background: rgba(20, 20, 18, 0.86);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.owner-submission__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.owner-submission h3,
.owner-empty h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.owner-submission__header span,
.owner-empty p {
  color: var(--muted);
}

.owner-submission__quick,
.owner-submission__answers {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) 1fr;
  gap: 10px 16px;
  margin: 0;
}

.owner-submission dt {
  color: var(--steel);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.owner-submission dd {
  margin: 0;
  color: var(--text);
}

.owner-submission details {
  margin-top: 16px;
  color: var(--muted);
}

.owner-submission summary {
  cursor: pointer;
  color: var(--accent-strong);
  font-weight: 900;
  text-transform: uppercase;
}

.owner-submission__answers {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(215, 180, 106, 0.14);
}

@media (max-width: 820px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(15, 15, 14, 0.74), rgba(15, 15, 14, 0.52)),
      linear-gradient(180deg, rgba(15, 15, 14, 0.42), rgba(15, 15, 14, 0.7)),
      url("assets/mymoto-hero-bg.png") 23% center / cover no-repeat;
    opacity: 0.92;
  }

  .hero::after {
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 14, 0.62), rgba(15, 15, 14, 0.24) 72%, transparent);
    filter: blur(14px);
  }

  .hero__content {
    min-height: auto;
    padding: 8px 0 18px;
  }

  .hero__logo-frame {
    width: min(208px, 64vw);
    padding: 7px 12px;
    margin-bottom: 22px;
  }

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

  .hero__cta .button {
    width: 100%;
    min-height: 68px;
  }

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

  .progress-panel {
    position: static;
  }

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

  .form-panel,
  .progress-panel,
  .confirmation__content {
    padding: 18px;
  }

  .report-preview__header,
  .report-preview__body {
    padding: 14px;
  }

  .report-preview__body,
  .verdict-panel {
    grid-template-columns: 1fr;
  }

  .fit-score {
    width: 104px;
    min-width: 104px;
    min-height: 104px;
    justify-self: start;
  }

  .summary dl,
  .preview-grid,
  .owner-submission__quick,
  .owner-submission__answers {
    grid-template-columns: 1fr;
  }

  .owner-submission__header {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== MyMoto design refresh v2 ===================== */
/* Layout + perceived-value pass. Visual only; no copy changes. */

:root {
  --r: 12px;
  --r-lg: 18px;
  --hair: rgba(244, 241, 234, 0.1);
  --glass: linear-gradient(180deg, rgba(36, 35, 31, 0.78), rgba(20, 20, 18, 0.82));
}

.button {
  border-radius: var(--r);
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 200ms ease, background 160ms ease, border-color 160ms ease;
}

.button--primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #18140d;
  box-shadow: 0 10px 26px rgba(215, 180, 106, 0.22);
}

.button--primary:hover:not(:disabled) {
  box-shadow: 0 16px 36px rgba(215, 180, 106, 0.32);
}

.button--secondary {
  background: rgba(244, 241, 234, 0.02);
  border-color: var(--hair);
}

.button--secondary:hover:not(:disabled) {
  border-color: rgba(215, 180, 106, 0.4);
  background: rgba(244, 241, 234, 0.05);
}

.button:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

/* Hero: focus the message on a premium glass panel for trust + legibility */
.hero__content {
  padding: clamp(40px, 8vh, 84px) 0;
  justify-items: stretch;
}

.hero__intro {
  position: relative;
  isolation: isolate;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero__intro::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.hero__copy {
  margin-top: 16px;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.6;
}

.trust-bar {
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}

.trust-card {
  border-radius: var(--r);
  border-color: var(--hair);
  background: rgba(244, 241, 234, 0.025);
  box-shadow: none;
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(215, 180, 106, 0.12);
  color: var(--accent);
}

.trust-card__icon svg {
  width: 17px;
  height: 17px;
}

/* Panels: unify radius and soften borders for a calmer, premium surface */
.progress-panel,
.form-panel,
.confirmation__content,
.preview-panel,
.summary,
.report-preview,
.feedback-panel,
.owner-submission {
  border-radius: var(--r-lg);
  border-color: var(--hair);
}

/* Questionnaire: clearer guided flow */
.questionnaire__layout {
  gap: 32px;
}

.progress-panel {
  top: 20px;
  border-top: 2px solid rgba(215, 180, 106, 0.5);
}

.progress {
  height: 12px;
}

.progress__bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 16px rgba(240, 200, 108, 0.4);
}

.progress__meta {
  color: var(--accent);
  letter-spacing: 0.04em;
}

.input,
.select,
.textarea {
  border-radius: var(--r);
  padding: 14px 15px;
}

.choice {
  position: relative;
  border-radius: var(--r);
  min-height: 52px;
  padding: 13px 38px 13px 14px;
}

.choice:has(input:checked) {
  box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px rgba(215, 180, 106, 0.5);
}

.choice:has(input:checked)::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: translateY(-65%) rotate(45deg);
}

/* Sticky action bar so Back / Next are always reachable */
.form-panel .form-actions {
  position: sticky;
  bottom: 0;
  margin-top: 22px;
  padding: 16px 0 4px;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(24, 24, 22, 0), rgba(24, 24, 22, 0.96) 34%);
}

.form-panel .form-actions .button--primary {
  min-width: 160px;
}

/* Report: stronger verdict hero, calmer specs table */
.verdict-panel {
  border-color: rgba(148, 211, 162, 0.45);
  background:
    linear-gradient(180deg, rgba(148, 211, 162, 0.1), rgba(148, 211, 162, 0.02)),
    rgba(20, 20, 18, 0.9);
}

.fit-score {
  border: 1px solid rgba(148, 211, 162, 0.42);
  border-radius: 14px;
  padding: 12px 18px;
  background: rgba(148, 211, 162, 0.06);
}

.specs-table tbody tr:nth-child(even) td,
.specs-table tbody tr:nth-child(even) th {
  background: rgba(244, 241, 234, 0.02);
}

.kb-panel {
  border-left: 3px solid var(--accent);
}

@media (max-width: 820px) {
  .hero__content {
    padding: 26px 0;
  }

  .hero__intro {
    padding: 22px 18px;
  }

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

  .progress-panel {
    position: static;
  }

  .form-panel .form-actions {
    position: static;
    background: none;
  }
}

/* Range slider for 0-10 questions (confidence, appearance, sound) */
.range-field {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.range-input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 8px;
  margin: 6px 0;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  border: 1px solid rgba(215, 180, 106, 0.18);
  background: linear-gradient(90deg, var(--accent-strong) 0%, var(--accent) var(--p, 50%), #2a2824 var(--p, 50%), #2a2824 100%);
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #18140d;
  background: linear-gradient(180deg, #fff6e2, var(--accent-strong));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #18140d;
  background: var(--accent-strong);
  cursor: pointer;
}

.range-input::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #2a2824;
}

.range-input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.range-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(215, 180, 106, 0.22);
}

.range-value {
  min-width: 56px;
  padding: 8px 10px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(215, 180, 106, 0.4);
  background: rgba(215, 180, 106, 0.12);
  color: var(--accent-strong);
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Chat advisor (conversational questionnaire) - appended layer        */
/* ------------------------------------------------------------------ */

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.button--ghost {
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--muted);
}

.button--ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--text);
}

.hero__alt-cta {
  font-size: 0.85rem;
  padding: 10px 18px;
}

.chat-advisor {
  padding: 48px 0 72px;
}

.chat-advisor__layout {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 26px 26px 20px;
  box-shadow: 0 24px 60px var(--shadow);
}

.chat-advisor__header h2 {
  margin: 4px 0 14px;
}

.chat-progress {
  height: 7px;
  border-radius: 999px;
  background: var(--panel-deep);
  overflow: hidden;
  border: 1px solid var(--line);
}

.chat-progress__bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 14px rgba(215, 180, 106, 0.45);
  transition: width 400ms ease;
}

.chat-progress__meta {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 52vh;
  overflow-y: auto;
  padding: 6px 4px;
  scroll-behavior: smooth;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  line-height: 1.55;
  font-size: 0.98rem;
  word-break: break-word;
}

.chat-bubble p {
  margin: 0 0 10px;
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-bubble--assistant {
  align-self: flex-start;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  color: var(--text);
}

.chat-bubble--user {
  align-self: flex-end;
  background: linear-gradient(180deg, rgba(240, 200, 108, 0.18), rgba(215, 180, 106, 0.12));
  border: 1px solid rgba(215, 180, 106, 0.35);
  border-bottom-right-radius: 6px;
  color: var(--text);
}

.chat-bubble--error {
  border-color: var(--danger);
}

.chat-bubble--typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 16px 18px;
}

.chat-bubble--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: chat-typing 1.2s infinite ease-in-out;
}

.chat-bubble--typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-bubble--typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}

.chat-chip {
  border: 1px solid rgba(215, 180, 106, 0.45);
  background: transparent;
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 120ms ease;
}

.chat-chip:hover {
  background: rgba(215, 180, 106, 0.16);
  transform: translateY(-1px);
}

.chat-composer {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  resize: none;
  background: var(--panel-deep);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  padding: 12px 14px;
  min-height: 52px;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 180, 106, 0.18);
}

.chat-input:disabled {
  opacity: 0.6;
}

.chat-send {
  padding: 13px 22px;
  white-space: nowrap;
}

.chat-handoff {
  align-self: center;
  padding: 8px 0;
}

.chat-advisor__fallback {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-strong);
  font: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.link-button:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .chat-advisor {
    padding: 18px 0 40px;
  }

  .chat-advisor__layout {
    padding: 18px 14px 14px;
    border-radius: var(--r);
  }

  .chat-log {
    max-height: 48vh;
    min-height: 220px;
  }

  .chat-bubble {
    max-width: 92%;
  }

  .chat-composer {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-send {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* Minimal redesign (2026-07-07): flat, spacious, ChatGPT/Apple feel.  */
/* No background photo, no glass, no glow. Calm type, pill buttons,    */
/* one accent. Mobile-first responsive.                                */
/* ------------------------------------------------------------------ */

:root {
  --bg: #0c0c0b;
  --surface: #151513;
  --surface-2: #1c1c19;
  --hair: rgba(244, 241, 234, 0.09);
}

body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Buttons: quiet pills, sentence case, one accent --- */

.button {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.button--primary {
  background: var(--accent-strong);
  color: #171308;
  box-shadow: none;
}

.button--primary:hover:not(:disabled) {
  background: #f6d585;
  box-shadow: none;
  transform: none;
}

.button--secondary,
.button--ghost {
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--muted);
}

.button--secondary:hover:not(:disabled),
.button--ghost:hover:not(:disabled) {
  background: rgba(244, 241, 234, 0.05);
  color: var(--text);
  border-color: rgba(244, 241, 234, 0.2);
}

/* --- Hero: photo gone, flat canvas, centered column --- */

.hero {
  background: var(--bg);
}

.hero::before,
.hero::after {
  display: none;
}

.hero__content {
  padding: clamp(48px, 10vh, 110px) 0 clamp(40px, 7vh, 80px);
}

.hero__intro {
  width: min(720px, 100%);
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-align: center;
}

.hero__intro::before {
  display: none;
}

.hero__logo-frame {
  width: min(150px, 40vw);
  margin: 0 auto 34px;
  padding: 6px 10px;
  border: none;
  border-radius: 18px;
  box-shadow: none;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.07;
  text-transform: none;
}

.hero__copy {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  line-height: 1.65;
}

.hero__copy p {
  margin: 0 0 12px;
}

.hero__warning {
  font-weight: 600;
  color: var(--text);
}

.hero__note {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__cta {
  margin-top: 30px;
  gap: 14px;
}

.hero__cta .button {
  min-height: 56px;
  min-width: 0;
  padding: 0 34px;
  font-size: 1.05rem;
  border-radius: 999px;
}

.hero__cta .hero__alt-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.86rem;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Trust bar: boxes gone, a quiet centered row */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--hair);
}

.trust-card {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.trust-card__icon {
  width: 22px;
  height: 22px;
  background: none;
  color: var(--accent);
}

.trust-card__icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.hero__guides {
  max-width: 680px;
  margin: 30px auto 0;
  font-size: 0.76rem;
  line-height: 2;
  color: rgba(185, 178, 165, 0.75);
}

.hero__guides a {
  color: rgba(215, 180, 106, 0.85);
}

/* --- Chat: clean centered column, ChatGPT-style composer --- */

.chat-advisor {
  padding: clamp(20px, 4vh, 48px) 0 clamp(28px, 5vh, 64px);
}

.chat-advisor__layout {
  max-width: 760px;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--hair);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: none;
}

.chat-advisor__header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.chat-progress {
  height: 5px;
  border: none;
  background: var(--surface-2);
}

.chat-progress__bar {
  box-shadow: none;
}

.chat-bubble {
  border-radius: 20px;
  font-size: 0.97rem;
  line-height: 1.6;
}

.chat-bubble--assistant {
  background: var(--surface-2);
  border: none;
  border-bottom-left-radius: 8px;
}

.chat-bubble--user {
  background: rgba(215, 180, 106, 0.16);
  border: none;
  border-bottom-right-radius: 8px;
}

.chat-chip {
  border-color: rgba(215, 180, 106, 0.3);
}

.chat-input {
  min-height: 54px;
  border-radius: 18px;
  background: var(--surface-2);
  border-color: transparent;
  padding: 15px 16px;
}

.chat-input:focus {
  border-color: rgba(215, 180, 106, 0.55);
  box-shadow: none;
}

.chat-send {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
}

/* --- Questionnaire, report, and panels: flat surfaces --- */

.progress-panel,
.form-panel,
.confirmation__content,
.preview-panel,
.summary,
.report-preview,
.feedback-panel,
.owner-submission {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 20px;
  box-shadow: none;
}

.progress-panel {
  border-top: 1px solid var(--hair);
}

.progress {
  height: 8px;
}

.progress__bar {
  box-shadow: none;
}

.progress__meta {
  color: var(--muted);
  letter-spacing: 0;
}

.input,
.select,
.textarea {
  background: var(--surface-2);
  border-color: transparent;
  border-radius: 14px;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(215, 180, 106, 0.55);
  box-shadow: none;
  outline: none;
}

.choice {
  background: var(--surface-2);
  border-color: transparent;
  border-radius: 14px;
}

/* --- Mobile: full-bleed chat, stacked hero, comfy touch targets --- */

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 28px);
  }

  .hero__content {
    padding: 36px 0 44px;
  }

  .hero__logo-frame {
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.4rem);
  }

  .hero__copy {
    font-size: 0.98rem;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__cta .button {
    width: 100%;
  }

  .trust-bar {
    gap: 10px 18px;
  }

  .trust-card {
    font-size: 0.74rem;
  }

  .hero__guides {
    font-size: 0.72rem;
  }

  .chat-advisor {
    padding: 0 0 12px;
  }

  .chat-advisor .shell {
    width: 100%;
  }

  .chat-advisor__layout {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 16px 14px 14px;
    min-height: calc(100vh - 24px);
    min-height: calc(100dvh - 24px);
  }

  .chat-log {
    max-height: none;
    flex: 1;
  }

  .questionnaire__layout {
    gap: 18px;
  }
}

/* Specificity catch-up: the base .hero__cta .button rule sets uppercase */
.hero__cta .button,
.form-actions .button,
.chat-send {
  text-transform: none;
  letter-spacing: 0;
}

/* ------------------------------------------------------------------ */
/* Accent reduction + ChatGPT composer + voice (2026-07-08).          */
/* Gold steps back to a small accent (progress bars, trust icons,     */
/* selected choices); buttons and chat surfaces go neutral. The       */
/* composer becomes a single pill with round icon buttons inside.     */
/* ------------------------------------------------------------------ */

.button--primary {
  background: #f4f1ea;
  color: #101010;
}

.button--primary:hover:not(:disabled) {
  background: #ffffff;
}

.eyebrow {
  color: var(--muted);
}

.hero__guides a {
  color: var(--muted);
}

.link-button {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-button:hover {
  color: var(--text);
}

.chat-bubble--user {
  background: rgba(244, 241, 234, 0.1);
}

.chat-chip {
  border-color: var(--hair);
  color: var(--muted);
}

.chat-chip:hover {
  background: rgba(244, 241, 234, 0.07);
  border-color: rgba(244, 241, 234, 0.25);
  color: var(--text);
  transform: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(244, 241, 234, 0.28);
}

/* --- Composer: one rounded pill, textarea + mic + round send inside --- */

.chat-composer {
  display: block;
}

.chat-composer__box {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 7px 7px 7px 16px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 26px;
}

.chat-composer__box:focus-within {
  border-color: rgba(244, 241, 234, 0.22);
}

.chat-input,
.chat-input:focus {
  flex: 1;
  min-height: 0;
  max-height: 160px;
  padding: 9px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.chat-mic,
.chat-send {
  flex: none;
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.chat-mic {
  background: transparent;
  border: none;
  color: var(--muted);
}

.chat-mic:hover:not(:disabled) {
  background: rgba(244, 241, 234, 0.08);
  color: var(--text);
}

.chat-mic.is-listening {
  background: rgba(255, 99, 105, 0.14);
  color: #ff6369;
  animation: mic-pulse 1.6s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 99, 105, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(255, 99, 105, 0); }
}

.chat-mic svg {
  width: 19px;
  height: 19px;
}

.chat-send {
  background: #f4f1ea;
  border: none;
  color: #0c0c0b;
}

.chat-send:hover:not(:disabled) {
  background: #ffffff;
}

.chat-send:disabled {
  opacity: 0.35;
  cursor: default;
}

.chat-send svg {
  width: 17px;
  height: 17px;
}

/* --- Mobile: ChatGPT-minimal chat header, composer stays one row --- */

@media (max-width: 640px) {
  .chat-composer {
    flex-direction: row;
  }

  .chat-send {
    width: 38px;
  }

  /* Keep the title for screen readers but drop the visual header bulk. */
  .chat-advisor__header h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .chat-advisor__header {
    position: relative;
  }

  .chat-advisor__header .eyebrow {
    margin-bottom: 10px;
  }
}

/* ------------------------------------------------------------------ */
/* Mobile keyboard fix + post-report email capture (2026-07-09).      */
/* The chat column is now exactly viewport height so the message log  */
/* scrolls internally; with interactive-widget=resizes-content the    */
/* keyboard shrinks the viewport instead of shoving the page around.  */
/* ------------------------------------------------------------------ */

@media (max-width: 640px) {
  .chat-advisor {
    padding: 0;
  }

  .chat-advisor__layout {
    box-sizing: border-box;
    min-height: 0;
    height: 100vh;
    height: 100dvh;
  }

  .chat-log {
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
}

.email-capture {
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--surface-2);
  margin: 14px 0;
}

.email-capture__title {
  margin: 0 0 4px;
  font-weight: 700;
}

.email-capture__hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.email-capture__form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.email-capture__input {
  flex: 1;
  min-width: 200px;
}

.email-capture__status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ */
/* Always-visible slim progress header (2026-07-09): the header       */
/* sticks to the top of the screen while the conversation scrolls,    */
/* compacted to a label + percent row over a thin bar.                */
/* ------------------------------------------------------------------ */

.chat-advisor__header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface);
  padding: 4px 0 10px;
}

@media (max-width: 640px) {
  .chat-advisor__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 0 10px;
    border-bottom: 1px solid var(--hair);
  }

  .chat-advisor__header .eyebrow {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .chat-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 4px;
    margin: 0;
  }

  .chat-progress__meta {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 0.72rem;
    text-align: right;
  }
}

/* ------------------------------------------------------------------ */
/* Site footer (2026-07-10): quiet legal/contact line on every page.  */
/* ------------------------------------------------------------------ */

.site-footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--hair);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Independence + affiliate statement under the contact line. Deliberately
   quieter than the contact row, but readable: affiliate networks check for
   visible contact details and a clear disclosure before approving a site. */
.site-footer__note {
  max-width: 640px;
  margin: 10px auto 0 !important;
  opacity: 0.72;
  line-height: 1.5;
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--text);
}

/* ------------------------------------------------------------------ */
/* Mobile hero overflow fix (2026-07-10): the Explore block's          */
/* intrinsic width inflated the hero grid track past the viewport,     */
/* clipping the right side of the whole landing page on phones         */
/* (.hero has overflow:hidden, so it cut instead of scrolling).        */
/* Cap the track at the container and let the items shrink.            */
/* ------------------------------------------------------------------ */

.hero__content {
  grid-template-columns: minmax(0, 1fr);
}

.hero__intro {
  min-width: 0;
  max-width: 100%;
}

.explore {
  min-width: 0;
}

/* Landing "Explore" tabs: bike profiles / guides / head-to-head / India */
.explore {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 18px);
  background: var(--panel-soft, rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.explore__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}

.explore__tabs::-webkit-scrollbar {
  display: none;
}

.explore__tab {
  appearance: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  padding: 9px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.explore__tab:hover {
  color: var(--text);
}

.explore__tab.is-active {
  color: var(--accent-strong);
  border-color: var(--line);
  background: var(--panel);
  font-weight: 700;
}

.explore__panel {
  padding: 14px 16px 18px;
}

.explore__panel.is-hidden {
  display: none;
}

.explore__lede {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.explore__lede a {
  color: var(--accent);
}

.explore__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.explore__links a {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.2;
}

.explore__links a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

@media (max-width: 640px) {
  .explore__panel {
    padding: 12px 12px 16px;
  }

  .explore__links a {
    font-size: 0.8rem;
  }

  /* All four Explore tabs fit a 375px phone without needing the swipe.
     Must stay AFTER the base .explore__tab rule above to win the cascade. */
  .explore__tab {
    padding: 8px 7px;
    font-size: 0.76rem;
  }

  .explore__tabs {
    gap: 2px;
    padding: 8px 8px 0;
  }
}

/* ---- Share-your-match modal (share.js) ---- */
.mm-share__overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 5, 0.84);
}
.mm-share__box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--panel, #181816);
  border: 1px solid var(--line, #34312b);
  border-radius: var(--r-lg, 18px);
  padding: 26px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.mm-share__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted, #b9b2a5);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.mm-share__close:hover { color: var(--text, #f4f1ea); background: rgba(255, 255, 255, 0.06); }
.mm-share__title { margin: 0 26px 4px 0; font-size: 1.3rem; color: var(--text, #f4f1ea); }
.mm-share__sub { margin: 0 0 16px; color: var(--muted, #b9b2a5); font-size: 0.92rem; }
.mm-share__card {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line, #34312b);
  margin: 0 0 18px;
}
.mm-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}
.mm-share__btn {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 11px 14px;
  border: 1px solid var(--line, #34312b);
  border-radius: 10px;
  background: transparent;
  color: var(--text, #f4f1ea);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.mm-share__btn:hover { border-color: var(--accent, #d7b46a); color: var(--accent-strong, #f0c86c); }
.mm-share__btn--primary {
  background: var(--accent, #d7b46a);
  border-color: var(--accent, #d7b46a);
  color: #1b1a17;
}
.mm-share__btn--primary:hover { background: var(--accent-strong, #f0c86c); color: #1b1a17; }
.mm-share__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mm-share__chip {
  padding: 7px 14px;
  border: 1px solid var(--line, #34312b);
  border-radius: 999px;
  color: var(--accent, #d7b46a);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}
.mm-share__chip:hover { border-color: var(--accent, #d7b46a); background: rgba(215, 180, 106, 0.08); }

/* A share button that sits inside report / bike panels. */
.mm-share-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 18px;
  border: 1px solid var(--accent, #d7b46a);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-strong, #f0c86c);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.mm-share-cta:hover { background: rgba(215, 180, 106, 0.1); }
