/* Lead-magnet pages (/get/*): one big idea per step, made to be followed on a phone. */

.get { max-width: 720px; margin: 0 auto; padding: 40px var(--pad-x) 24px; }
.get h1 { font-family: var(--f-display); font-size: clamp(38px, 8vw, 64px); line-height: 1.02; text-transform: uppercase; margin: 8px 0 18px; }
.get h2 { font-family: var(--f-display); font-size: 28px; text-transform: uppercase; margin: 44px 0 14px; }
.get h3 { font-family: var(--f-display); font-size: 26px; text-transform: uppercase; margin: 0 0 8px; line-height: 1.1; }
.get p, .get li { font-size: 18px; line-height: 1.55; color: var(--text); }
.get .hl { color: var(--red); }
.kicker { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-size: 14px; margin: 0; }
.lead { font-size: 20px !important; }
.note { font-size: 15px !important; color: var(--mute) !important; margin-top: 10px; }

.result { background: var(--card); border: 2px solid var(--red); border-radius: 16px; padding: 20px; margin: 28px 0; }
.result-title { font-weight: 700; margin: 0 0 12px; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat p { margin: 0; padding: 10px 14px; border-radius: 14px; max-width: 85%; font-size: 16px; }
.chat .me { align-self: flex-end; background: var(--red); color: #fff; }
.chat .bot { align-self: flex-start; background: var(--surface); }
[dir="rtl"] .chat .me { align-self: flex-start; }
[dir="rtl"] .chat .bot { align-self: flex-end; }
.dash .row { margin: 0 0 8px; padding: 10px 14px; border-radius: 10px; background: var(--surface); font-size: 16px; }
.dash .row.top { background: #e8eefc; }
.dash .row.red { background: #fde2e2; color: #a11; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--red); font-weight: 900; }
[dir="rtl"] .checklist li { padding: 10px 34px 10px 0; }
[dir="rtl"] .checklist li::before { left: auto; right: 4px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; }
.steps > li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 20px 18px 76px; margin-bottom: 18px; }
.steps > li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--f-display); font-size: 24px; display: flex; align-items: center; justify-content: center; }
[dir="rtl"] .steps > li { padding: 22px 76px 18px 20px; }
[dir="rtl"] .steps > li::before { left: auto; right: 18px; }
.steps p { margin: 0 0 10px; }

.prompt { position: relative; background: #1d1d1f; border-radius: 12px; margin: 12px 0; }
.prompt pre { margin: 0; padding: 18px 16px 16px; color: #f5f5f5; font-family: ui-monospace, Menlo, monospace; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.prompt .copy { position: absolute; top: 8px; right: 8px; background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 6px 14px; font-family: var(--f-label); text-transform: uppercase; font-size: 13px; cursor: pointer; }
.prompt .copy + pre { padding-top: 44px; }

.stuck { background: var(--surface); border-radius: 16px; padding: 20px; margin: 28px 0; }
.stuck-title { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; margin: 0 0 6px !important; }

.cta-block { background: var(--red); color: #fff; border-radius: 16px; padding: 24px; margin: 20px 0; }
.cta-block p { color: #fff; }
.cta-block .cta-title { font-family: var(--f-display); text-transform: uppercase; font-size: 26px; margin: 0 0 8px; }
.cta-block .btn-primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-block.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line-2); }
.cta-block.ghost p { color: var(--text); }

/* Done-for-you upsell (always after the Challenge block). */
.pro-block { background: #10162e; color: #fff; border-radius: 20px; padding: 28px 24px; margin: 20px 0; box-shadow: 0 18px 40px rgba(29,78,216,.25); }
.pro-block p, .pro-block li { color: #fff; }
.pro-kicker { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #9db5ff !important; margin: 0 0 8px; }
[lang="ar"] .pro-kicker { font-family: 'Cairo', var(--f-body); }
.pro-title { font-family: var(--f-display); text-transform: uppercase; font-size: 28px !important; line-height: 1.12 !important; margin: 0 0 16px; }
[lang="ar"] .pro-title { font-family: 'Cairo', var(--f-body); font-weight: 900; text-transform: none; }
.pro-block .hl { color: #7fa2ff; }
.pro-list { list-style: none; padding: 0; margin: 0 0 16px; }
.pro-list li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px !important; }
.pro-list li::before { content: "⚡"; position: absolute; left: 0; top: 9px; }
[dir="rtl"] .pro-list li { padding: 9px 30px 9px 0; }
[dir="rtl"] .pro-list li::before { left: auto; right: 0; }
.pro-line { font-size: 17px !important; opacity: .9; }
.btn-pro { display: block; text-align: center; background: var(--red); color: #fff; padding: 16px 20px; border-radius: 10px; font-family: var(--f-label); text-transform: uppercase; font-size: 18px; text-decoration: none; box-shadow: 0 0 0 4px rgba(29,78,216,.35); }
.btn-pro:hover { background: var(--red-dark); }

/* Language switch: both languages live in the page; one is shown. */
.lang-switch { display: flex; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; }
.lang-switch button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-family: var(--f-label); font-size: 14px; cursor: pointer; color: var(--text); }
.lang-switch button.on { background: var(--red); color: #fff; }
html[data-lang="en"] [data-lang="ar"], html[data-lang="ar"] [data-lang="en"] { display: none; }
html:not([data-lang]) [data-lang="ar"] { display: none; }
[lang="ar"], [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .kicker { font-family: 'Cairo', var(--f-body); }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { font-weight: 900; text-transform: none; }

@media (max-width: 480px) {
  .steps > li { padding: 70px 16px 16px; }
  [dir="rtl"] .steps > li { padding: 70px 16px 16px; }
}

/* Next-step label + done-for-you branch (old guide style). */
.next-label { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-size: 14px !important; margin: 40px 0 -8px !important; }
[lang="ar"] .next-label, [lang="ar"] .branch-label { font-family: 'Cairo', var(--f-body); font-weight: 700; }
.branch-block { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 24px; margin: 16px 0; }
.branch-label { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .06em; font-size: 13px !important; color: var(--mute) !important; margin: 0 0 6px; }

/* Quick answer: the page's question + a 2-sentence answer AI search can quote. */
.get .answer { border-left: 4px solid var(--red); padding: 4px 0 4px 16px; margin: 8px 0 24px; }
[dir="rtl"] .answer { border-left: 0; border-right: 4px solid var(--red); padding: 4px 16px 4px 0; }
.get .answer h2 { font-size: 22px; margin: 0 0 6px; line-height: 1.15; }
.get .answer p { font-size: 17px; margin: 0; }
