/* cards-home.css · home page and payment window (owner 2026-10-18: "great direction", hero objects option C,
   "C, then put it live"; built from mockups/light-home). Sits on top of cards.css + cards-v4.css; page body has class "lh".
   Fewer words, full brand energy: blue bands, the phone among German objects, gold accent. No gradients (rejected 2026-10-12). */

.lh { --hero: #2E7CB4; --hero-deep: #1F5A86; --gold: #F2C75C; --gold-deep: #C99A2E; }
[data-theme="dark"] .lh { --hero: #1F5A86; --hero-deep: #0A1C30; }
.lh main { padding-bottom: 0; }
.lh .wrap { max-width: 560px; }
.lh .site-header { background: var(--hero); border-bottom: 0; }
.lh .site-header .brand-name, .lh .site-header .site-language-switch { color: #fff; }

/* 1. hero band */
.lh-hero { position: relative; padding: 18px 0 72px; text-align: center; color: #fff; background: var(--hero);
  border-radius: 0 0 50% 50% / 0 0 44px 44px; overflow: hidden; }
.lh-hero h1 { color: #fff; font-size: clamp(38px, 10vw, 60px); }
.lh-hero mark { color: var(--hero-deep); background: var(--gold); padding: 0 .14em; border-radius: 12px; box-shadow: 0 4px 0 var(--gold-deep);
  display: inline-block; transform: rotate(-2deg); }
[data-theme="dark"] .lh-hero mark { color: #0F2742; }
.lh-lede { margin: 12px auto 0; max-width: 30ch; font-size: 17px; line-height: 1.4; color: #E7F2FA; }

.lh-stage { position: relative; margin: 18px auto 0; width: min(100%, 360px); }
.lh .stage { padding: 0; }
.lh .stage-note, .lh .taste-tabs-bar, .lh .anki-topbar { display: none; }
.lh .phone-frame { width: 236px; margin: 0 auto; padding: 9px; border-radius: 38px; box-shadow: 0 10px 0 var(--hero-deep); }
.lh .phone-notch { width: 70px; height: 16px; margin: 0 auto 6px; }
.lh .phone-screen, [data-theme="dark"] .lh .phone-screen { height: 316px; padding: 10px; border-radius: 30px; }
.lh .anki-card { padding: 12px 10px; }
.lh .anki-show { min-height: 44px; background: transparent; color: var(--action); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); }

/* German objects round the phone: they settle in once, then stay still (owner 2026-10-18 picked option C) */
@keyframes lh-settle { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
.lh-float { position: absolute; z-index: 2; display: grid; justify-items: center; gap: 4px; width: 64px;
  animation: lh-settle 700ms cubic-bezier(.2,.8,.2,1) both; }
.lh-float img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; background: #fff; object-fit: cover; box-shadow: 0 4px 0 var(--hero-deep); }
.lh-float span { padding: 2px 7px; border-radius: 8px; background: #fff; color: #153357; font: 800 11px/1.3 var(--font-display); white-space: nowrap; box-shadow: 0 2px 0 var(--hero-deep); }
.lh-float.f1 { inset-inline-start: -8px; top: 26px; animation-delay: 0ms; }
.lh-float.f2 { inset-inline-end: -8px; top: 120px; animation-delay: 120ms; }
.lh-float.f3 { inset-inline-start: -4px; top: 224px; animation-delay: 240ms; }
.lh-float.f4 { inset-inline-end: -4px; top: 268px; animation-delay: 360ms; }
@media (prefers-reduced-motion: reduce) { .lh-float { animation: none; } }

.lh-buy { display: grid; gap: 4px; margin-top: 26px; }
.lh-hero .btn-primary { width: 100%; font-size: 18px; background: #fff; color: var(--hero-deep); box-shadow: 0 5px 0 var(--hero-deep); }
[data-theme="dark"] .lh-hero .btn-primary { background: #F3F7FB; color: #0F2742; box-shadow: 0 5px 0 #0A1C30; }
.lh-free { min-height: 48px; background: none; border: 0; color: #fff; font: 700 17px/1 var(--font-display); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lh-trust { margin-top: 2px; font-size: 15px; color: #E7F2FA; }

/* sections */
.lh-section { padding: 48px 0; }
.lh-section h2 { font-size: clamp(30px, 7vw, 40px); margin-bottom: 20px; }

/* 2. calculator, lifted into the hero band */
.lh-howlong { padding-top: 0; margin-top: -44px; position: relative; z-index: 2; }

.lh-goal { padding: 20px; box-shadow: 0 6px 0 var(--line); }
.lh-goal-title { margin-bottom: 14px; font: 800 24px/1.1 var(--font-display); color: var(--ink); }
.lh-goal-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.lh-goal [data-goal-sub] { display: none !important; }
.lh-goal [data-goal-main] { font-size: 24px; color: var(--action); }
.lh-hint { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* proof */
.lh-proof figure { position: relative; margin: 0 0 14px; padding: 22px 18px 16px 18px; border: 2px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 4px 0 var(--line); }
.lh-proof figure::before { content: "\201C"; position: absolute; top: -18px; inset-inline-start: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: #153357; font: 800 34px/52px var(--font-display); text-align: center; box-shadow: 0 3px 0 var(--gold-deep); }
.lh-proof figure:nth-of-type(2) { transform: rotate(-1deg); }
.lh-proof blockquote { margin: 0; font-size: 18px; line-height: 1.4; color: var(--ink); font-weight: 600; }
.lh-proof figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.lh-count { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: var(--select); font-size: 16px; font-weight: 700; color: var(--action); }

/* road: every level, filling up in brand blue */
.lh-road { position: relative; display: grid; gap: 12px; padding: 0; margin: 0; }
.lh-road::before { content: ""; position: absolute; inset-inline-start: 25px; top: 26px; bottom: 26px; width: 4px; border-radius: 2px; background: var(--line); }
.lh-road li { position: relative; list-style: none; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; font-size: 17px; font-weight: 600; color: var(--ink); }
.lh-road b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font: 800 16px/1 var(--font-display); box-shadow: 0 4px 0 var(--hero-deep); }
.lh-road li:nth-child(1) b { background: #8CC8EE; color: #153357; }
.lh-road li:nth-child(2) b { background: #5AAEE0; color: #153357; }
.lh-road li:nth-child(3) b { background: #2E7CB4; }
.lh-road li:nth-child(4) b { background: #1F5A86; }
.lh-road li:nth-child(5) b { background: var(--gold); color: #153357; box-shadow: 0 4px 0 var(--gold-deep); }
.lh-road-note { margin-top: 18px; font-size: 16px; color: var(--muted); }

/* 3. steps for this device */
.lh-steps { display: grid; gap: 12px; padding: 0; margin: 0; counter-reset: lh; }
.lh-steps li { list-style: none; counter-increment: lh; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start;
  padding: 16px; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 4px 0 var(--line); font-size: 17px; line-height: 1.4; color: var(--muted); }
.lh-steps li::before { content: counter(lh); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--action); color: #fff; font: 800 18px/1 var(--font-display); box-shadow: 0 3px 0 var(--action-deep); }
.lh-steps strong { color: var(--ink); }
.lh-guide { margin-top: 18px; }
.lh-guide summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font: 700 17px/1 var(--font-display); color: var(--action); }
.lh-guide .tutorial-steps-grid { margin-top: 12px; }
.lh .platform-tabs-bar { display: none; }
.lh-other { margin-top: 16px; font-size: 15px; color: var(--muted); }
.lh-device { min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--action); font: 700 15px/1 var(--font-display); text-decoration: underline; cursor: pointer; }

/* 4. price: blue band with a curved top, like the live price band */
.lh-price { margin-top: 24px; padding: 64px 0 56px; background: var(--hero); color: #fff; border-radius: 50% 50% 0 0 / 44px 44px 0 0; text-align: center; }
.lh-price h2 { color: #fff; }
.lh-facts { display: grid; gap: 10px; width: fit-content; padding: 0; margin: 0 auto 26px; text-align: start; }
.lh-facts li { list-style: none; padding-inline-start: 34px; position: relative; font-size: 18px; color: #fff; }
.lh-facts li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #153357; font-size: 14px; font-weight: 800; }
.lh-price .btn-primary { font-size: 18px; background: #fff; color: var(--hero-deep); box-shadow: 0 5px 0 var(--hero-deep); }
[data-theme="dark"] .lh-price .btn-primary { background: #F3F7FB; color: #0F2742; box-shadow: 0 5px 0 #0A1C30; }

/* 5. questions */
.lh #faq { background: var(--paper); }
.lh #faq h2 { margin-bottom: 12px; }

/* payment window: price on top, three short choices, one button */
.lh-pay { width: min(460px, 100%); padding: 0 0 20px; overflow-x: hidden; }
.lh-pay .modal-close-btn { background: rgba(255,255,255,.18); color: #fff; }
.lh-pay-head { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; padding: 18px 64px 18px 18px; background: var(--hero); color: #fff; }
[dir="rtl"] .lh-pay-head { padding: 18px 18px 18px 64px; }
.lh-pay-head img { width: 44px; height: 44px; border-radius: 12px; border: 2px solid #fff; }
.lh-pay-name { font: 800 18px/1.1 var(--font-display); color: #fff; }
.lh-pay-sub { margin-top: 2px; font-size: 13px; color: #E7F2FA; }
.lh-pay-price { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.lh-pay-price span { font: 800 30px/1 var(--font-display); color: #fff; white-space: nowrap; }
.lh-pay-price small { font-size: 13px; font-weight: 600; color: #E7F2FA; }
.lh-pay-form { display: grid; gap: 14px; padding: 16px 18px 0; }
.lh-pay-inline { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.lh-pay-inline legend { float: left; margin: 0; }
[dir="rtl"] .lh-pay-inline legend { float: right; }
.lh-pay-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lh-pay-field legend, .lh-pay-field > label { padding: 0; font: 800 15px/1.2 var(--font-display); color: var(--ink); }
.lh-pay-field legend { margin-bottom: 8px; }
.lh-pay .form-input { min-height: 50px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); font-size: 16px; }
.lh-pay-note { font-size: 13px; color: var(--muted); }

.lh-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--select); }
.lh-seg input { position: absolute; opacity: 0; pointer-events: none; }
.lh-seg span { display: grid; place-items: center; min-height: 44px; border-radius: 12px; font: 800 16px/1 var(--font-display); color: var(--muted); cursor: pointer; }
.lh-seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 3px 0 var(--line); }
.lh-seg input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }

.lh-methods { display: grid; gap: 10px; }
.lh .lh-methods .payment-method-btn { display: flex; justify-content: space-between; gap: 10px; align-items: center; width: 100%; padding: 12px 14px; border-radius: 16px;
  border: 2px solid var(--line); background: var(--surface); box-shadow: 0 3px 0 var(--line); text-align: start; color: var(--ink); cursor: pointer; }
.lh .lh-methods .payment-method-btn.active { border-color: var(--action); background: var(--select); box-shadow: 0 3px 0 var(--action); }
.lh-m-text { display: grid; gap: 3px; min-width: 0; }
.lh-m-text b { font: 800 16px/1.2 var(--font-display); }
.lh-m-text span { font-size: 13px; color: var(--muted); }
.lh-m-side { display: grid; justify-items: end; gap: 6px; flex: none; }
.lh-m-side em { font: 800 16px/1 var(--font-display); font-style: normal; color: var(--action); white-space: nowrap; }
.lh-m-marks { display: flex; gap: 4px; }
.lh-m-marks img { height: 20px; width: auto; border-radius: 4px; background: #fff; padding: 1px 3px; }

.lh-pay-btn { width: 100%; min-height: 58px; font-size: 19px; }
.lh-pay-safe { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lh-pay-safe a { color: var(--action); font-weight: 700; }

/* maker result, moved from the hero sticker into the proof section (owner: "maybe remove this bit") */
.lh-maker-line { margin: -6px 0 22px; font-size: 17px; color: var(--muted); }
.lh-maker-line b { color: var(--ink); }

