/* untrod.app use-case pages (MKT-32). Loaded after compare.css (FAQ rows) and alternatives.css (.btn).
   Design: web/design-src/"Use-case Landing Pages.spec.md", desktop 1440, phone 390. */

.uc-wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 5.5vw, 96px); padding-right: clamp(20px, 5.5vw, 96px); }
.uc-sec { padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.uc .h2 { font: 600 clamp(32px, 3.4vw, 48px)/1.1 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }

/* IconCircle (design system): --s is the size */
.circ { flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--s); height: var(--s); border-radius: 50%; }
.circ.t-blue { background: var(--tone-blue-wash); color: var(--blue-600, var(--tone-blue)); }
.circ.t-green { background: var(--tone-green-wash); color: var(--green-600); }
.circ.t-orange { background: var(--tone-orange-wash); color: var(--orange-600); }
.circ.t-pink { background: var(--tone-pink-wash); color: var(--pink-600); }
.circ.t-purple { background: var(--tone-purple-wash); color: var(--purple-600); }
.circ.t-yellow { background: var(--tone-yellow-wash); color: var(--yellow-700, #9A6B00); }
.circ.t-pink.solid { background: var(--tone-pink); color: #fff; }

/* Buttons: alternatives.css .btn is the large primary */
.uc .btn { gap: 10px; cursor: pointer; border: 0; }
.uc .btn-dark, .wl .btn-dark { background: var(--surface-inverse); color: var(--text-on-inverse) !important; box-shadow: 0 4px 0 #000; }

/* 1. Hero */
.uc-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px 64px; padding-top: clamp(24px, 4.5vw, 64px); padding-bottom: clamp(56px, 7vw, 112px); }
.hero-t { flex: 1 1 420px; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.uc .eyebrow { font: 700 12px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-accent); }
.uc h1 { font: 600 clamp(42px, 5.4vw, 80px)/1.02 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.uc h1 .acc { color: var(--walked); }
.uc .sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text-secondary); max-width: 540px; text-wrap: pretty; }

.phone { flex: none; width: 304px; height: 640px; box-sizing: border-box; padding: 10px; margin: 0 auto; border-radius: 52px; background: var(--paper-900); box-shadow: 0 0 0 1.5px var(--line-subtle), 0 4px 0 var(--line-subtle), 0 24px 48px rgba(22, 22, 34, .16); }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--map-land); }
.screen > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.status { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font: 600 15px/1 var(--font-display); color: var(--paper-900); }
.status .notch { position: absolute; left: 50%; top: 10px; width: 90px; height: 26px; margin-left: -45px; border-radius: 999px; background: var(--paper-900); }
.status .batt { position: relative; width: 24px; height: 12px; box-sizing: border-box; border: 1.5px solid var(--paper-900); border-radius: 4px; padding: 1.5px; }
.status .batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: var(--paper-900); }
.status .batt i { display: block; height: 100%; width: 70%; border-radius: 1.5px; background: var(--paper-900); }
.chip { position: absolute; left: 14px; top: 54px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-float); font: 600 14px/1 var(--font-display); color: var(--paper-900); }
.chip svg { color: var(--wander-500); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 10px 18px 22px; border-radius: 28px 28px 0 0; background: #fff; box-shadow: var(--shadow-sheet); color: var(--paper-900); }
.sheet .grab { align-self: center; width: 36px; height: 5px; margin-bottom: 4px; border-radius: 3px; background: var(--paper-200, #DCDBE6); }
.sheet .k { font: 700 11px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--wander-600); }
.sheet .t { font: 600 21px/26px var(--font-display); letter-spacing: -0.01em; }
.sheet .meta { display: flex; align-items: center; gap: 12px; }
.sheet .meta > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sheet .meta b { font: 600 15px/19px var(--font-display); }
.sheet .meta span span { font-size: 13px; line-height: 17px; color: var(--paper-500); }
.sheet .meta .lg { font-size: 14px !important; line-height: 19px !important; color: var(--paper-700) !important; }
.sheet .pbtn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: 4px; border-radius: 999px; background: var(--accent); box-shadow: 0 3px 0 var(--lip-accent); font: 600 16px/1 var(--font-display); color: #fff; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet .pct { display: flex; flex-direction: column; gap: 4px; }
.sheet .pct b { font: 700 40px/1 var(--font-numeral); letter-spacing: -0.02em; }
.sheet .pct small { font-size: 20px; color: var(--paper-500); margin-left: 1px; }
.sheet .pct span { font-size: 13px; line-height: 17px; color: var(--paper-500); }
.sheet hr { width: 100%; height: 1px; margin: 4px 0; border: 0; background: var(--line-hairline); }
.sheet .seals { display: flex; gap: 14px; padding: 4px 0; }
.sheet .note { font-size: 13px; line-height: 17px; color: var(--paper-500); }

/* Stamp seals */
.seal { position: relative; flex: none; width: 64px; height: 64px; transform: rotate(-8deg); filter: drop-shadow(0 4px 8px rgba(18, 21, 27, .14)); }
.seal svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal > svg:last-child { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; color: #fff; }
.seal.todo { filter: none; transform: none; }
.seal.todo > svg:last-child { color: var(--paper-400); }
.seal.big { width: 124px; height: 124px; }
.seal.big > svg:last-child { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

/* 2. Benefit cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.uc .card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 28px; border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-card); }
.uc .card .circ { margin-bottom: 20px; }
.uc .card .tag { margin-bottom: 8px; font: 700 11px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-accent); }
.uc .card h3 { font: 600 24px/1.2 var(--font-display); letter-spacing: -0.01em; }
.uc .card p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }

/* 3. How it works */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.step-card { display: flex; flex-direction: column; border-radius: var(--radius-l); background: var(--surface-card); box-shadow: var(--shadow-card); overflow: hidden; }
.step-card .art { position: relative; height: 180px; margin: 8px 8px 0; border-radius: var(--radius-m); overflow: hidden; background: var(--map-land); display: flex; align-items: center; justify-content: center; }
.step-card .art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-card .art.t-purple-wash { background: var(--tone-purple-wash); }
.step-card .txt { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 28px; }
.step-card .n { font: 700 11px/1 var(--font-display); letter-spacing: .08em; color: var(--text-accent); }
.step-card h3 { font: 600 24px/1.2 var(--font-display); letter-spacing: -0.01em; }
.step-card p { font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.uc .health { display: flex; align-items: center; gap: 16px; font-size: 17px; line-height: 1.5; color: var(--text-secondary); }
.uc .health b { font-weight: 600; color: var(--text-primary); }

/* 4. Quote (hidden until there are approved tester quotes) */
.uc-quote blockquote { margin: 0; padding: 40px; border-radius: var(--radius-l); background: var(--surface-card); box-shadow: var(--shadow-card); font: 600 28px/1.3 var(--font-display); }
.uc-quote footer { margin-top: 16px; font: 400 16px/1.4 var(--font-body); color: var(--text-secondary); }

/* 5. Find your city */
.city { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(32px, 4.5vw, 64px); border-radius: var(--radius-l); background: var(--surface-card); box-shadow: var(--shadow-card); text-align: center; }
.city > p { font-size: 18px; line-height: 1.5; color: var(--text-secondary); }
.uc-search { position: relative; width: 100%; max-width: 620px; margin-top: 12px; text-align: left; }
.uc-search .row { display: flex; gap: 12px; }
.uc-search .sbox { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px 0 20px; box-sizing: border-box; border-radius: 999px; background: var(--surface-sunken); box-shadow: inset 0 0 0 1.5px var(--line-hairline); cursor: text; color: var(--paper-500); }
.uc-search .sbox:focus-within { box-shadow: inset 0 0 0 2px var(--wander-500); }
.uc-search .sbox input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 18px/1 var(--font-body); color: var(--text-primary); -webkit-appearance: none; appearance: none; }
.uc-search .sbox input::placeholder { color: var(--paper-400); }
.uc-search .sbox input::-webkit-search-cancel-button { display: none; }
.uc-search .sclear { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--paper-500); cursor: pointer; }
.uc-search .sclear[hidden] { display: none; }
.uc-search .go { flex: none; align-self: auto; }
.uc-search .hint { margin-top: 12px; padding-left: 20px; font-size: 14px; line-height: 20px; color: var(--text-tertiary); overflow-wrap: anywhere; }
.uc-search .results { position: absolute; left: 0; right: 0; top: 64px; z-index: 5; margin: 0; padding: 8px; list-style: none; border-radius: var(--radius-m); background: var(--surface-card); box-shadow: var(--shadow-float); }
.uc-search .results[hidden] { display: none; }
.uc-search .results a { display: flex; align-items: center; padding: 12px 16px; border-radius: 14px; color: var(--text-primary); text-decoration: none; }
.uc-search .results a[aria-selected=true], .uc-search .results a:hover { background: var(--paper-50); }
.uc-search .results .nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uc-search .results .nm span:first-child { font: 400 18px/24px var(--font-body); }
.uc-search .results .nm b { font-weight: 650; }
.uc-search .results .nm span:last-child { font-size: 14px; line-height: 19px; color: var(--paper-500); }
.uc-search .results .d { display: none; }
.uc-search .nf { margin-top: 14px; padding: 20px; border-radius: var(--radius-m); background: var(--surface-sunken); }
.uc-search .nf[hidden], .uc-search .nf-ask[hidden], .uc-search .nf-done[hidden] { display: none; }
.uc-search .nf p { font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.uc-search .nf b { color: var(--text-primary); }
.uc-search .nf-form { display: flex; gap: 10px; margin-top: 12px; }
.uc-search .nf-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; box-sizing: border-box; border: 0; border-radius: 14px; background: var(--surface-card); box-shadow: inset 0 0 0 1.5px var(--line-subtle); font: 400 16px var(--font-body); color: var(--text-primary); }
.uc-search .nf-err { margin-top: 8px; color: var(--text-danger, #C0392B) !important; font-size: 14px !important; }
.uc-search .nf-err:empty { display: none; }

/* 6. FAQ (rows from compare.css) */
.uc .faq-card { max-width: 820px; border-radius: var(--radius-l); }
.uc summary { font-size: 18px; line-height: 24px; }

/* 7. Orange band, full bleed */
.uc-band { background: var(--orange-500); color: #fff; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.band-t { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 640px; }
.uc-band h2 { font: 600 clamp(36px, 4.2vw, 60px)/1.05 var(--font-display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.uc-band p { font: 600 16px/1.45 var(--font-display); color: #fff; }
.band-art { flex: none; display: flex; align-items: center; justify-content: center; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.band-art img { width: auto; height: 230px; }


/* 8. Waitlist modal */
dialog.wl { box-sizing: border-box; width: 440px; max-width: calc(100% - 40px); padding: 32px; border: 0; border-radius: var(--radius-l); background: var(--surface-card); box-shadow: var(--shadow-float); color: var(--text-primary); font-family: var(--font-body); }
dialog.wl::backdrop { background: var(--surface-overlay); }
dialog.wl .x { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--paper-600); cursor: pointer; }
dialog.wl .x:hover { background: var(--paper-50); }
.wl-form, .wl-done { display: flex; flex-direction: column; gap: 12px; }
.wl-form[hidden], .wl-done[hidden] { display: none; }
dialog.wl h2 { margin: 0; padding-right: 36px; font: 600 28px/1.15 var(--font-display); letter-spacing: -0.015em; }
dialog.wl p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
dialog.wl strong { color: var(--text-primary); overflow-wrap: anywhere; }
dialog.wl label { margin-top: 8px; font: 600 15px/1 var(--font-display); }
dialog.wl input { height: 52px; padding: 0 16px; box-sizing: border-box; border: 0; border-radius: 14px; background: var(--surface-sunken); box-shadow: inset 0 0 0 1.5px var(--line-hairline); font: 400 17px var(--font-body); color: var(--text-primary); }
dialog.wl input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--wander-500); }
dialog.wl input[aria-invalid=true] { box-shadow: inset 0 0 0 2px var(--text-danger, #C0392B); }
dialog.wl .err { font-size: 14px; color: var(--text-danger, #C0392B); }
dialog.wl .err[hidden] { display: none; }
dialog.wl .btn { align-self: stretch; margin-top: 8px; border: 0; cursor: pointer; }
dialog.wl .btn:disabled { opacity: .6; cursor: default; }
.wl-done { align-items: flex-start; }

/* Phone (design: 390) */
@media (max-width: 820px) {
  .uc-hero { gap: 40px; }
  .hero-t { flex-basis: 100%; }
  .uc .h2 { font-size: 32px; }
  .uc-sec { padding-bottom: 64px; gap: 22px; }
  .cards, .how { grid-template-columns: 1fr; }
  .uc .card { padding: 24px; }
  .uc .health { align-items: flex-start; font-size: 16px; }
  .uc-search .row { gap: 8px; }
  .city { padding: 32px 20px; }
  .uc-search .sbox { padding: 0 8px 0 16px; gap: 8px; }
  .uc-search .sbox input { font-size: 17px; }
  .uc-search .go { padding: 0 18px; gap: 6px; }
  .uc-search .hint { padding-left: 16px; }
  .uc-search .nf-form { flex-direction: column; }
  .band-in { flex-direction: column-reverse; align-items: flex-start; gap: 28px; padding-top: 48px; padding-bottom: 56px; }
  .band-art { width: 200px; height: 200px; align-self: center; }
  .band-art img { height: 156px; }
  dialog.wl { padding: 28px 24px; }
}
