/* A focused mobile journey; the desktop landing page keeps its existing layout. */
.mobile-chrome,.mobile-welcome,.mobile-footer {display:none;}

@media (max-width:800px) {
  body.mobile-flow {--paper:#f6f5ee; --ink:#143e32; --mobile-chrome-height:88px; --mobile-footer-height:56px; background:var(--paper);}
  .mobile-flow .site-header,.mobile-flow .hero,.mobile-flow .site-footer {display:none;}
  .mobile-flow #main {max-width:520px; margin-inline:auto;}
  .mobile-flow .mobile-chrome {display:block; height:var(--mobile-chrome-height); max-width:520px; margin:auto; padding:12px 20px 8px;}
  .mobile-progress {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:5px;}
  .mobile-progress span {height:4px; border-radius:4px; background:#d9ddd4;}
  .mobile-progress span[data-complete=true] {background:var(--ink);}
  .mobile-toolbar {display:grid; grid-template-columns:1fr auto 1fr; align-items:center; height:64px; gap:10px;}
  .mobile-back {min-height:44px; justify-self:start; background:none; border:0; padding:8px 4px 8px 0; font-size:16px; white-space:nowrap;}
  .mobile-back span {font-size:14px;}
  .mobile-brand {font-size:10px; line-height:1.55; letter-spacing:1.2px; text-align:center; padding:6px;}
  .mobile-brand strong {font-size:11px;}
  .mobile-step {justify-self:end; font-size:12px; color:#68746c; letter-spacing:1px;}
  .mobile-flow .mobile-welcome {display:none;}
  .mobile-flow[data-mobile-view=welcome] .mobile-welcome {display:flex; flex-direction:column; min-height:calc(100svh - var(--mobile-chrome-height) - var(--mobile-footer-height)); padding:0 20px 10px; gap:18px; text-align:center;}
  .mobile-cover-stage {flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:12px 0 6px; background:radial-gradient(ellipse at 50% 44%,#d7e4d5 0,#e8ede0 42%,transparent 72%);}
  .mobile-cover-stage img {width:auto; height:min(33svh,280px); min-height:155px; max-width:75%; object-fit:contain; border-radius:3px; box-shadow:0 12px 24px #0f332325; transform:rotate(-3deg);}
  .mobile-cover-stage p {font-size:12px; color:#657567; letter-spacing:.4px;}
  .mobile-cover-stage p span {margin:0 6px;}
  .mobile-flow .mobile-welcome h1 {font-family:var(--sans); font-size:clamp(1.75rem,7.5vw,2.25rem); font-style:italic; font-weight:800; letter-spacing:-.04em; text-transform:uppercase; line-height:1.08;}
  .mobile-welcome-copy>p {font-size:1rem; line-height:1.45; max-width:340px; margin:12px auto 0; color:#55645b;}
  .mobile-welcome-actions .button {width:100%; min-height:56px; justify-content:center; gap:16px; border-radius:14px; font-size:1rem; font-weight:600;}
  .mobile-welcome-actions>p {font-size:12px; color:#647168; margin:10px 0 0;}
  .mobile-welcome-actions>.text-link {font-size:14px; justify-content:center; margin-top:2px; min-height:44px; text-decoration:underline; text-underline-offset:4px;}
  .mobile-flow .inside,.mobile-flow .start-section {display:none;}
  .mobile-flow[data-mobile-view=details] .inside {display:block; padding-top:16px; padding-bottom:24px;}
  .mobile-flow[data-mobile-view=quiz] .start-section,
  .mobile-flow[data-mobile-view=result] .start-section,
  .mobile-flow[data-mobile-view=offer] .start-section {display:block; padding:0; background:transparent; border:0;}
  .mobile-flow .start-section>.wrap {width:100%; max-width:none;}
  .mobile-flow .start-section .section-top,.mobile-flow .quiz-aside,.mobile-flow .quiz-progress-line,.mobile-flow .progress-track {display:none;}
  .mobile-flow .quiz-shell,.mobile-flow .offer,.mobile-flow .faq {display:none;}
  .mobile-flow[data-mobile-view=quiz] .quiz-shell,.mobile-flow[data-mobile-view=result] .quiz-shell {display:block; border:0; border-radius:0; background:transparent; overflow:visible;}
  .mobile-flow .quiz-content {padding:20px 20px 8px; min-height:calc(100svh - var(--mobile-chrome-height) - var(--mobile-footer-height)); display:flex; flex-direction:column;}
  .mobile-flow .quiz-content h3 {font-family:var(--sans); font-weight:800; font-style:italic; text-transform:uppercase; font-size:28px; letter-spacing:-.035em; line-height:1.12;}
  .mobile-flow .quiz-description {font-size:1rem; line-height:1.5; color:#627064;}
  .mobile-flow .quiz-options {gap:12px; margin:24px 0;}
  .mobile-flow .quiz-option {background:#fffefa; border:2px solid #e0e3d9; border-radius:12px; min-height:94px; padding:16px 44px 16px 16px;}
  .mobile-flow .quiz-option strong {font-weight:600;}
  .mobile-flow .quiz-option small {font-size:14px; line-height:1.45;}
  .mobile-flow .quiz-option[aria-pressed=true] {border:2px solid var(--ink); background:#e6eddf; padding:16px 44px 16px 16px;}
  .mobile-flow .quiz-option[aria-pressed=true] .option-radio {border-color:var(--ink);}
  .mobile-flow .quiz-controls {margin-top:auto; padding-top:14px; display:flex; flex-direction:column; align-items:stretch; gap:8px; position:sticky; bottom:0; background:var(--paper); padding-bottom:max(12px,env(safe-area-inset-bottom)); z-index:2;}
  .mobile-flow .quiz-helper {flex-basis:auto; font-size:12px; text-align:center;}
  .mobile-flow .quiz-back {display:none;}
  .mobile-flow .quiz-controls .button {min-height:56px; width:100%; flex:auto; border-radius:14px; justify-content:center; font-weight:600;}
  .mobile-flow .quiz-controls .button:disabled {opacity:1; background:#dce2d8; border-color:#dce2d8; color:#526457;}
  .mobile-flow .result-tag {font-size:12px; margin-bottom:12px;}
  .mobile-flow .result-item {background:#fffefa; border-radius:12px; border-color:#e0e3d9;}
  .mobile-flow .result-count {font-family:var(--sans); font-size:14px; font-style:normal; font-weight:700; color:var(--ink); padding-top:3px;}
  .mobile-flow .first-step {border-radius:12px; background:#e3eadb;}
  .mobile-flow .result-controls {gap:0 18px;}
  .mobile-flow .quiz-content .result-offer {position:sticky; bottom:max(8px,env(safe-area-inset-bottom)); border-radius:14px; min-height:56px; font-weight:600; justify-content:center; box-shadow:0 0 0 8px var(--paper);}
  .mobile-flow[data-mobile-view=offer] .offer {display:flex; flex-direction:column; align-items:stretch; margin:0; padding:16px 20px 0; border:0; gap:24px;}
  .mobile-flow .offer-copy h2,.mobile-flow .inside h2 {font-family:var(--sans); font-size:30px; font-style:italic; font-weight:800; text-transform:uppercase; line-height:1.13; letter-spacing:-.035em;}
  .mobile-flow .offer-copy h2 em,.mobile-flow .inside h2 em {font-weight:800; color:var(--ink);}
  .mobile-flow .offer-copy .eyebrow {font-size:11px; letter-spacing:.8px; margin-bottom:14px;}
  .mobile-flow .offer-copy>p:not(.eyebrow) {margin-top:16px;}
  .mobile-flow .offer-card {background:#fffefa; border:1px solid #dce2d6; border-radius:18px; padding:24px;}
  .mobile-flow .price>span {font-family:var(--sans); font-weight:750; letter-spacing:-4px; font-size:64px;}
  .mobile-flow .offer-card .button {border-radius:14px; min-height:56px; font-weight:600;}
  .mobile-flow[data-mobile-view=offer] .faq {display:block; margin:32px 20px 24px; padding-top:24px;}
  .mobile-flow .faq>h3 {font-family:var(--sans); font-size:24px; font-weight:700;}
  .mobile-flow .worksheet-feature {border-radius:16px;}
  .mobile-flow .scope-note {border-radius:12px;}
  .mobile-flow .mobile-footer {display:flex; min-height:var(--mobile-footer-height); max-width:520px; margin:auto; padding:4px 20px max(8px,env(safe-area-inset-bottom)); gap:14px; align-items:center; justify-content:center; flex-wrap:wrap;}
  .mobile-footer>span {font-size:11px; color:#6c776e;}
  .mobile-footer .text-link {font-size:12px; min-height:44px; text-decoration:underline; text-underline-offset:3px;}
  .mobile-flow .dialog-inner h2 {font-family:var(--sans); font-size:30px; font-weight:800; font-style:italic; letter-spacing:-.03em; line-height:1.15;}
  .mobile-flow #confirm-interest {border-radius:12px;}
}

@media (max-width:360px) {
  .mobile-flow .mobile-chrome {padding-inline:16px;}
  .mobile-flow[data-mobile-view=welcome] .mobile-welcome {padding-inline:16px; gap:14px;}
  .mobile-flow .quiz-content {padding-inline:16px;}
  .mobile-flow .quiz-content h3 {font-size:26px;}
  .mobile-flow .mobile-footer {padding-inline:12px; gap:10px;}
  .mobile-flow .mobile-footer>span {font-size:10px;}
}
