:root {
  --olive: #606c38;
  --olive-dark: #283618;
  --cream: #fefae0;
  --sand: #dda15e;
  --orange: #bc6c25;
  --blue: #38b6f2;
  --blue-dark: #168dca;
  --ink: #17200f;
  --muted: #66704a;
  --line: rgba(40, 54, 24, 0.16);
  --surface: rgba(254, 250, 224, 0.9);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(96, 108, 56, 0.18), rgba(254, 250, 224, 0.82) 42%, rgba(221, 161, 94, 0.28)),
    var(--cream);
}

.login-screen {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(420px, 100%);
  padding: 30px;
  display: grid;
  gap: 10px;
  background: rgba(254, 250, 224, 0.92);
  border: 1px solid rgba(40, 54, 24, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(40, 54, 24, 0.22);
}

.login-brand {
  margin-bottom: 2px;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.login-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.login-card .login-eyebrow {
  margin: 28px 0 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-card h1 {
  margin: 0 0 2px;
  color: var(--olive-dark);
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 0;
}

.login-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.login-card label {
  margin-top: 4px;
  margin-bottom: -4px;
  color: var(--olive-dark);
  font-size: 14px;
  font-weight: 800;
}

.login-card input {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-card input:focus {
  outline: 3px solid rgba(56, 182, 242, 0.36);
  border-color: var(--blue-dark);
}

.login-error {
  min-height: 22px;
  color: #8a2f10;
  font-weight: 700;
}

.login-button,
.logout-button {
  min-height: 46px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.login-button,
.logout-button {
  color: var(--cream);
  background: var(--olive-dark);
  border: 0;
}

.login-button:hover,
.logout-button:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.app-shell[hidden],
.login-screen[hidden] {
  display: none;
}

.site-header {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 12px;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.site-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  justify-items: center;
}

.site-header h1 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--olive);
  font-size: 18px;
  line-height: 1.45;
}

.header-actions {
  position: absolute;
  right: max(16px, calc((100vw - 980px) / 2));
  top: 38px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(23, 32, 15, 0.42);
}

.feedback-modal[hidden] {
  display: none;
}

.feedback-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 26px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(40, 54, 24, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(40, 54, 24, 0.34);
}

.feedback-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 36px;
  height: 36px;
  color: var(--olive-dark);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.feedback-eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-dialog h2 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 28px;
  line-height: 1.12;
}

.feedback-dialog p:not(.feedback-eyebrow) {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.feedback-primary {
  min-height: 46px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-weight: 850;
  text-decoration: none;
  background: var(--olive-dark);
  border-radius: 8px;
}

.feedback-primary:hover {
  background: var(--orange);
}

.container {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.quiz-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px;
  background: linear-gradient(145deg, var(--olive-dark), var(--olive));
  border: 1px solid rgba(254, 250, 224, 0.38);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(40, 54, 24, 0.24);
}

.progress-track {
  position: relative;
  height: 12px;
  margin: 4px 4px 18px;
  overflow: hidden;
  background: rgba(254, 250, 224, 0.34);
  border-radius: 999px;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sand), var(--orange));
  border-radius: inherit;
  transition: width 220ms ease;
}

#progressText {
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 800;
}

.quiz-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid rgba(254, 250, 224, 0.78);
  border-radius: 8px;
}

.question-count {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quiz-card h2 {
  min-height: 78px;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--olive-dark);
  font-size: 32px;
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: 0;
}

.answer-panel {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.answer-option {
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.answer-option:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: rgba(96, 108, 56, 0.4);
  box-shadow: 0 10px 22px rgba(40, 54, 24, 0.1);
}

.answer-option:focus-visible,
.nav-button:focus-visible,
.accessory-link:focus-visible,
.amazon-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.answer-dot {
  width: 24px;
  height: 24px;
  display: inline-block;
  background: var(--cream);
  border: 2px solid rgba(96, 108, 56, 0.42);
  border-radius: 50%;
}

.answer-option.selected {
  color: var(--olive-dark);
  background: rgba(56, 182, 242, 0.2);
  border-color: var(--blue-dark);
  box-shadow: inset 4px 0 0 var(--blue), 0 12px 26px rgba(22, 141, 202, 0.12);
}

.answer-option.selected .answer-dot {
  background: radial-gradient(circle at center, var(--blue-dark) 0 42%, var(--cream) 45% 100%);
  border-color: var(--blue-dark);
}

.selection-hint {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.quiz-navigation {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 12px;
  align-items: center;
}

.nav-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--olive-dark);
  border: 1px solid rgba(254, 250, 224, 0.22);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, opacity 150ms ease;
}

.nav-button span {
  font-size: 32px;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-button:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.nav-button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
  transform: none;
}

.results {
  display: none;
  margin-top: 38px;
}

.results h1 {
  margin: 0 0 18px;
  color: var(--olive-dark);
  font-size: 32px;
}

.result-notice {
  margin: -6px 0 18px;
  padding: 12px 14px;
  color: var(--olive-dark);
  line-height: 1.45;
  background: rgba(221, 161, 94, 0.18);
  border: 1px solid rgba(188, 108, 37, 0.24);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
}

.result-notice[hidden] {
  display: none;
}

.result-notice strong {
  margin-right: 4px;
}

#phoneResults {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.phone-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(40, 54, 24, 0.12);
}

.phone-card h2 {
  margin: 12px 0 8px;
  color: var(--olive-dark);
  font-size: 22px;
  letter-spacing: 0;
}

.phone-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.phone-specs {
  margin: 12px 0;
  padding-left: 18px;
  line-height: 1.55;
}

.accessory-box {
  margin: 16px 0;
  padding: 14px;
  background: rgba(254, 250, 224, 0.66);
  border: 1px solid rgba(96, 108, 56, 0.18);
  border-radius: 8px;
}

.accessory-box h3 {
  margin: 0 0 12px;
  color: var(--olive-dark);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.accessory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.accessory-link {
  min-height: 50px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 12px;
  color: var(--olive-dark);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.accessory-link::after {
  content: "→";
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.accessory-link:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: rgba(188, 108, 37, 0.44);
  box-shadow: 0 8px 18px rgba(40, 54, 24, 0.08);
}

.accessory-link span {
  font-size: 14px;
  font-weight: 850;
}

.accessory-link small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.amazon-link {
  min-height: 44px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
  background: var(--orange);
  border-radius: 8px;
}

.amazon-link:hover {
  background: var(--olive-dark);
}

.restart-button {
  min-height: 48px;
  padding: 12px 18px;
  justify-self: center;
  color: var(--cream);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  background: var(--olive-dark);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.restart-button[hidden] {
  display: none;
}

.restart-button:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.restart-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.quiz-view[hidden],
.landing-page[hidden],
.legal-modal[hidden] {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  text-align: left;
  background: rgba(254, 250, 224, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(40, 54, 24, 0.06);
}

.header-brand {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--olive-dark);
  font: inherit;
  font-size: 21px;
  font-weight: 850;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.menu-toggle {
  display: none;
}

.site-menu button,
.statistics-link,
.site-footer button {
  padding: 8px 10px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-menu button:hover,
.statistics-link:hover,
.site-footer button:hover {
  color: var(--orange);
}

.header-actions {
  position: static;
  display: flex;
  align-items: center;
}

.logout-button {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 14px;
}

.landing-page {
  overflow: hidden;
}

.landing-hero {
  width: min(1120px, calc(100% - 40px));
  min-height: min(680px, calc(100vh - 72px));
  margin: 0 auto;
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 92px;
  line-height: 0.9;
  letter-spacing: 0;
}

.landing-hero-copy > p:not(.section-eyebrow) {
  max-width: 570px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.primary-cta,
.secondary-cta {
  min-height: 50px;
  padding: 13px 20px;
  color: var(--cream);
  font: inherit;
  font-weight: 850;
  background: var(--olive-dark);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.primary-cta:hover,
.secondary-cta:hover {
  background: var(--orange);
}

.data-note {
  max-width: 500px;
  margin-top: 14px;
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-phones {
  position: relative;
  min-height: 500px;
}

.hero-phones img {
  position: absolute;
  width: min(67%, 390px);
  height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(40, 54, 24, 0.18));
}

.hero-phones img:nth-child(1) {
  z-index: 3;
  left: 29%;
  top: 5px;
}

.hero-phones img:nth-child(2) {
  z-index: 2;
  left: 2%;
  top: 52px;
  transform: rotate(-5deg);
}

.hero-phones img:nth-child(3) {
  z-index: 1;
  right: -5%;
  top: 66px;
  transform: rotate(5deg);
}

.landing-section {
  scroll-margin-top: 88px;
  padding: 82px max(20px, calc((100vw - 1120px) / 2));
}

.landing-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(40, 54, 24, 0.08);
  border-bottom: 1px solid rgba(40, 54, 24, 0.08);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: 0;
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.about-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.benefit-list article {
  padding-top: 18px;
  border-top: 3px solid var(--olive);
}

.benefit-list article > span {
  color: var(--orange);
  font-weight: 850;
}

.benefit-list h3 {
  margin: 18px 0 10px;
  color: var(--olive-dark);
  font-size: 22px;
}

.benefit-list p,
.process-list span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-section {
  text-align: center;
}

.process-section .section-heading {
  margin-right: auto;
  margin-left: auto;
}

.process-list {
  width: min(760px, 100%);
  margin: 0 auto 32px;
  padding: 0;
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--line);
}

.process-list li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.3fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.process-list strong {
  color: var(--olive-dark);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-list article {
  padding: 18px 0;
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
}

.team-list strong {
  color: var(--olive-dark);
  font-size: 22px;
}

.team-list span {
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-grid article {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(254, 250, 224, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(40, 54, 24, 0.09);
}

.review-grid p {
  margin: 0;
  color: var(--olive-dark);
  font-size: 18px;
  line-height: 1.55;
}

.review-grid span {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.quiz-view {
  padding-top: 30px;
}

.site-footer {
  padding: 38px max(20px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 30px;
  color: var(--cream);
  background: var(--olive-dark);
}

.site-footer strong {
  font-size: 22px;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(254, 250, 224, 0.75);
}

.site-footer nav {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.site-footer button {
  color: var(--cream);
}

.site-footer small {
  grid-column: 1 / -1;
  color: rgba(254, 250, 224, 0.58);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(23, 32, 15, 0.55);
}

.legal-dialog {
  position: relative;
  width: min(660px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  padding: 30px;
  overflow-y: auto;
  color: var(--ink);
  background: var(--cream);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 15, 0.34);
}

.legal-dialog h2 {
  margin: 0 42px 20px 0;
  color: var(--olive-dark);
  font-size: 32px;
}

.legal-dialog p {
  color: var(--muted);
  line-height: 1.6;
}

.legal-dialog mark {
  color: #7c2d12;
  background: rgba(221, 161, 94, 0.22);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  color: var(--olive-dark);
  font: inherit;
  font-size: 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

@media (max-width: 640px) {
  .login-card {
    padding: 24px;
  }

  .login-brand {
    gap: 4px;
  }

  .login-logo {
    width: 82px;
    height: 82px;
  }

  .login-card h1 {
    font-size: 34px;
  }

  .site-header {
    width: 100%;
    min-height: auto;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    justify-content: stretch;
    justify-items: stretch;
    gap: 8px 12px;
  }

  .header-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    font-size: 19px;
  }

  .site-logo {
    width: 40px;
    height: 40px;
  }

  .site-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    padding: 8px;
    background: rgba(254, 250, 224, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(40, 54, 24, 0.12);
  }

  .site-menu.is-open {
    display: grid;
    gap: 2px;
  }

  .site-menu button {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--olive-dark);
    font-size: 14px;
    text-align: left;
    border-radius: 6px;
  }

  .statistics-link {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--olive-dark);
    font-size: 14px;
    text-align: left;
    border-radius: 6px;
  }

  .site-menu button:hover,
  .statistics-link:hover {
    color: var(--olive-dark);
    background: rgba(221, 161, 94, 0.18);
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 40px;
    padding: 10px 9px;
    display: grid;
    align-content: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--olive-dark);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header > .logout-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: fit-content;
    min-height: 36px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .feedback-dialog {
    padding: 24px 18px 18px;
  }

  .feedback-dialog h2 {
    font-size: 24px;
  }

  .landing-hero {
    width: min(100% - 28px, 560px);
    min-height: auto;
    padding: 52px 0 34px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .landing-hero h1 {
    font-size: 58px;
  }

  .landing-hero-copy > p:not(.section-eyebrow) {
    margin: 20px 0 24px;
    font-size: 17px;
    line-height: 1.55;
  }

  .landing-hero-copy {
    text-align: center;
  }

  .landing-hero-copy .section-eyebrow {
    text-align: center;
  }

  .landing-hero-copy .primary-cta {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }

  .data-note {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-phones {
    min-height: 330px;
  }

  .hero-phones img {
    width: 58%;
    height: 310px;
  }

  .hero-phones img:nth-child(1) {
    left: 24%;
  }

  .hero-phones img:nth-child(2) {
    left: -3%;
    top: 34px;
  }

  .hero-phones img:nth-child(3) {
    right: -3%;
    top: 42px;
  }

  .landing-section {
    padding: 58px 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .about-section,
  .benefit-list,
  .team-list,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 6px;
  }

  .benefit-list {
    gap: 26px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .review-grid article {
    min-height: 180px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .site-footer small {
    grid-column: auto;
  }

  .legal-dialog {
    padding: 24px 18px;
  }

  .legal-dialog h2 {
    font-size: 27px;
  }

  .container {
    padding: 16px 10px 44px;
  }

  .quiz-shell {
    padding: 12px;
  }

  #progressText {
    top: 16px;
    font-size: 13px;
  }

  .quiz-card {
    padding: 22px 16px 16px;
  }

  .quiz-card h2 {
    min-height: 86px;
    font-size: 25px;
  }

  .answer-option {
    min-height: 64px;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    font-size: 18px;
  }

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

  .nav-button {
    width: 50px;
    height: 50px;
  }
}
