:root {
  color-scheme: light;
  --purple: #5f259f;
  --purple-dark: #46177d;
  --purple-soft: #f3eafa;
  --purple-pale: #faf7fd;
  --green: #1fa463;
  --green-dark: #14794a;
  --green-soft: #e9f7f0;
  --red: #c63843;
  --red-soft: #fff0f1;
  --amber: #a65d00;
  --amber-soft: #fff5df;
  --ink: #28232d;
  --muted: #77717d;
  --line: #e7e2e9;
  --paper: #f6f4f7;
  --white: #fff;
  font-family: Inter, Aptos, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #f4a327; outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { font-family: Inter, Aptos, 'Segoe UI', system-ui, sans-serif; }

.app-shell { min-height: 100vh; }
.top-nav { height: 68px; max-width: 1260px; margin: auto; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 550; letter-spacing: .025em; }
.brand-shield { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--purple); color: white; }
.nav-actions { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.nav-actions button { min-height: 38px; border: 0; border-radius: 8px; padding: 0 13px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.nav-actions button.active { background: var(--purple); color: white; }

.demo-stage { min-height: 850px; display: grid; grid-template-columns: 414px minmax(390px, 550px); align-items: start; justify-content: center; gap: clamp(45px, 7vw, 100px); padding: 22px 30px 70px; background: #efedf1; }
.phone-frame { width: 414px; height: 806px; overflow: auto; position: relative; border: 7px solid #201d22; border-radius: 35px; background: white; box-shadow: 0 22px 55px rgba(43,25,55,.16); scrollbar-width: none; }
.phone-frame::-webkit-scrollbar { display: none; }
.phone-status { height: 27px; padding: 7px 19px 0; display: flex; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: var(--purple); color: white; font-size: 10px; font-weight: 700; }
.phone-status i { margin-left: 4px; }
.home-indicator { display: none; }
.screen { width: 100%; min-height: 765px; background: white; }
.phonepe-screen button { cursor: pointer; }

.phonepe-appbar { height: 66px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: var(--purple); color: white; }
.phonepe-wordmark { display: flex; align-items: center; gap: 9px; }
.app-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--purple); font-size: 21px; }
.phonepe-wordmark strong { font-size: 20px; line-height: 1; font-weight: 650; }
.appbar-actions { display: flex; gap: 3px; }
.appbar-actions button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; }
.history-body { padding: 13px 10px 76px; background: #f5ecfb; }
.filter-row { padding: 0 3px 13px; display: flex; justify-content: space-between; gap: 8px; }
.filter-row button { min-height: 39px; padding: 0 15px; border: 1px solid #8e8791; border-radius: 999px; background: white; font-size: 13px; }
.phonepe-history-list { overflow: hidden; border-radius: 12px; background: white; }
.phonepe-history-row { width: 100%; min-height: 115px; padding: 17px 15px; display: grid; grid-template-columns: 50px 1fr auto; align-items: start; gap: 13px; border: 0; border-bottom: 1px solid #ece9ee; background: white; text-align: left; }
.phonepe-history-row:last-child { border-bottom: 0; }
.phonepe-history-row:hover { background: #fbf8fd; }
.history-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--purple); color: white; font-size: 25px; }
.history-icon.incoming { background: #7a3db6; }
.history-copy { min-width: 0; display: flex; flex-direction: column; }
.history-copy strong { overflow: hidden; font-size: 15px; line-height: 1.35; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.history-copy small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.history-amount { display: flex; flex-direction: column; align-items: flex-end; color: var(--ink); font-size: 16px; font-weight: 650; }
.history-amount.credit { color: var(--green-dark); }
.history-amount small { margin-top: 18px; color: var(--muted); font-size: 10px; font-weight: 400; }
.phone-bottom-nav { width: 100%; height: 69px; padding: 7px 8px 4px; display: grid; grid-template-columns: repeat(5, 1fr); position: sticky; bottom: 0; z-index: 15; border-top: 1px solid var(--line); background: white; }
.phone-bottom-nav button { border: 0; background: none; color: #79727e; font-size: 18px; }
.phone-bottom-nav button span { display: block; margin-top: 3px; font-size: 10px; }
.phone-bottom-nav button.active { color: var(--purple); }

.success-appbar, .phonepe-subbar, .case-appbar { height: 72px; padding: 0 15px; display: flex; align-items: center; gap: 12px; color: white; }
.success-appbar { background: var(--green); }
.phonepe-subbar { background: var(--purple); }
.case-appbar { background: var(--green); }
.success-appbar button, .phonepe-subbar button, .case-appbar button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: white; font-size: 24px; }
.success-appbar h1, .phonepe-subbar h1, .case-appbar h1 { margin: 0; font-size: 19px; font-weight: 500; }
.success-appbar small, .phonepe-subbar small, .case-appbar small { display: block; margin-top: 3px; color: rgba(255,255,255,.82); font-size: 12px; }
.header-spacer { width: 42px; }
.receipt-screen, .confirmation-screen, .case-screen { background: var(--purple-soft); }
.receipt-body, .confirmation-body, .case-body { padding: 12px; }
.phonepe-card { border: 0; border-radius: 12px; background: white; box-shadow: 0 1px 2px rgba(43,27,51,.025); }
.payment-card { padding: 20px 18px 0; }
.card-label { color: #58515b; font-size: 14px; }
.payee-row { margin: 19px 0 22px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 13px; }
.payee-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #e6d5f2; color: var(--purple); font-size: 17px; font-weight: 650; }
.payee-row > div { min-width: 0; display: flex; flex-direction: column; }
.payee-row > div strong { overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.payee-row > div small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.payee-row > strong { font-size: 20px; font-weight: 550; }
.receipt-divider { height: 1px; background: var(--line); }
.payment-details summary { min-height: 58px; display: flex; align-items: center; gap: 11px; cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; }
.payment-details summary i:first-child { font-size: 22px; }
.payment-details summary i:last-child { margin-left: auto; }
.payment-details dl { margin: 0; }
.payment-details dl > div { margin-bottom: 17px; }
.payment-details dt { color: var(--muted); font-size: 12px; }
.payment-details dd { margin: 5px 0 0; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; overflow-wrap: anywhere; }
.payment-details dd button { width: 29px; height: 29px; flex: 0 0 auto; border: 0; background: transparent; color: var(--purple); font-size: 17px; }
.receipt-actions { min-height: 78px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.receipt-actions button { border: 0; background: transparent; color: var(--purple); font-size: 23px; font-weight: 500; }
.receipt-actions button span { display: block; margin-top: 4px; font-size: 12px; }
.rescue-row { width: 100%; min-height: 82px; margin-top: 12px; padding: 0 16px; display: grid; grid-template-columns: 43px 1fr 20px; align-items: center; gap: 12px; text-align: left; }
.rescue-entry-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #f3eafb; color: var(--purple); font-size: 22px; }
.rescue-row > span:nth-child(2) { display: flex; flex-direction: column; }
.rescue-row strong { font-size: 14px; font-weight: 550; }
.rescue-row small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.rescue-row > i { color: var(--purple); font-size: 21px; }
.support-row { width: 100%; min-height: 66px; margin-top: 12px; padding: 0 17px; display: grid; grid-template-columns: 32px 1fr 20px; align-items: center; gap: 9px; text-align: left; font-size: 14px; }
.support-row > i { color: var(--purple); font-size: 22px; }
.support-row.quiet { min-height: 56px; grid-template-columns: 32px 1fr; color: var(--muted); }

.scam-type-screen, .incident-screen, .incident-complete-screen { background: var(--purple-soft); }
.choice-body { padding: 18px 12px 30px; }
.choice-heading { padding: 15px 9px 21px; }
.choice-heading > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: white; font-size: 24px; }
.choice-heading h2 { margin: 16px 0 6px; font-size: 23px; }
.choice-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.incident-choice { width: 100%; min-height: 113px; margin-bottom: 11px; padding: 16px; display: grid; grid-template-columns: 43px 1fr 20px; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 12px; background: white; text-align: left; }
.incident-choice.recommended { border-color: #b597ca; box-shadow: 0 3px 13px rgba(95,37,159,.08); }
.incident-choice > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 22px; }
.incident-choice > div { display: flex; flex-direction: column; }
.incident-choice small { margin-bottom: 4px; color: var(--purple); font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.incident-choice strong { font-size: 14px; line-height: 1.35; font-weight: 600; }
.incident-choice p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.incident-choice b { margin-top: 7px; color: var(--purple); font-size: 10px; }
.incident-choice > i { color: var(--purple); font-size: 20px; }
.choice-footnote { margin: 16px 8px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.confirmation-body { padding-bottom: 86px; }
.fraud-transaction-card { padding: 15px; display: flex; align-items: center; gap: 12px; border-radius: 12px; background: white; }
.fraud-transaction-card > div { flex: 1; display: grid; grid-template-columns: 1fr auto; }
.fraud-transaction-card small, .fraud-transaction-card span { color: var(--muted); font-size: 11px; }
.fraud-transaction-card strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 18px; font-weight: 550; }
.confirmation-heading { padding: 29px 15px 22px; text-align: center; }
.big-shield { width: 54px; height: 54px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: white; font-size: 28px; }
.confirmation-heading h2 { margin-bottom: 8px; font-size: 22px; }
.confirmation-heading p { margin: 0 auto; max-width: 310px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.action-explainer { overflow: hidden; padding: 0 16px; border-radius: 12px; background: white; }
.action-explainer > div { min-height: 72px; display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.action-explainer > div:last-child { border-bottom: 0; }
.action-explainer > div > i { color: var(--purple); font-size: 22px; }
.action-explainer p { margin: 0; display: flex; flex-direction: column; }
.action-explainer strong { font-size: 14px; font-weight: 550; }
.action-explainer p span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.scope-note { margin-top: 12px; padding: 13px 15px; display: flex; gap: 10px; border-radius: 10px; background: var(--green-soft); color: #24553f; }
.scope-note > i { font-size: 20px; }
.scope-note p { margin: 0; font-size: 12px; line-height: 1.45; }
.terms-note { margin: 14px 8px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.phone-sticky-action { width: 100%; padding: 10px; position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.phonepe-primary { width: 100%; min-height: 52px; border: 0; border-radius: 9px; background: var(--purple); color: white; font-size: 14px; font-weight: 650; }
.phonepe-primary i { margin-right: 6px; font-size: 18px; }

.activating-screen { min-height: 765px; padding: 0 22px 24px; display: flex; flex-direction: column; background: linear-gradient(180deg, #f7f1ff 0%, #fff 52%); text-align: left; }
.recall-header { min-height: 92px; margin: 0 -22px; padding: 17px 22px; display: flex; align-items: center; gap: 13px; background: var(--purple); color: white; }
.recall-header > span { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: white; color: var(--purple); font-size: 24px; }
.recall-header > div { min-width: 0; }
.recall-header small { color: #e8d9f4; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.recall-header h1 { margin: 4px 0 0; font-size: 21px; line-height: 1.15; font-weight: 650; }
.protected-counter { padding: 23px 3px 17px; display: flex; flex-direction: column; }
.protected-counter small { margin-bottom: 6px; color: var(--green-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.protected-counter strong { display: block; color: var(--purple-dark); font-size: clamp(38px, 7vw, 52px); line-height: 1; letter-spacing: -.04em; font-weight: 850; }
.recovery-map { display: flex; flex-direction: column; }
.recovery-node { min-height: 64px; padding: 10px 12px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid #e8ddf2; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgb(74 29 105 / 8%); opacity: 1; translate: 0 0; transition: opacity .26s ease, translate .26s ease; }
.recovery-node.active { border-color: #6f2aa6; box-shadow: 0 0 0 3px rgb(111 42 166 / 10%); }
.recovery-node > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--purple-soft); color: var(--purple); font-size: 21px; }
.recovery-node > div { min-width: 0; display: flex; flex-direction: column; }
.recovery-node small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.recovery-node strong { margin-top: 3px; overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.recovery-node > b { color: var(--green-dark); font-size: 11px; line-height: 1.25; text-align: right; }
.trace-connector { height: 20px; display: grid; place-items: center; color: var(--purple); font-size: 17px; opacity: 1; translate: 0 0; transition: opacity .26s ease, translate .26s ease; }
.recovery-beat { margin-top: 19px; padding: 16px 3px 0; border-top: 1px solid #e6deeb; }
.recovery-beat small { color: var(--purple); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.recovery-beat h2 { margin: 5px 0 5px; font-size: 25px; line-height: 1.08; letter-spacing: -.025em; }
.recovery-beat p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.recovery-dots { margin-top: 15px; display: flex; gap: 5px; }
.recovery-dots span { width: 17px; height: 4px; border-radius: 999px; background: #ded5e4; }
.recovery-dots span.done { background: var(--purple); }
@starting-style {
  .recovery-node, .trace-connector { opacity: 0; translate: 0 -6px; }
}

.case-body { padding-bottom: 24px; }
.rescue-result { padding: 23px 20px 18px; color: var(--ink); text-align: center; }
.rescue-result > span { width: 54px; height: 54px; margin: auto; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 29px; }
.rescue-result h2 { margin: 13px 0 6px; font-size: 27px; }
.rescue-result p { margin: 0 auto 22px; max-width: 290px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.rescue-result.released > span { background: #eeeaf0; color: #756b7d; }
.rescue-result.restored > span { background: var(--green-soft); color: var(--green-dark); }
.protection-result { padding: 25px 20px 22px; box-shadow: 0 8px 22px rgb(74 29 105 / 8%); }
.protection-result > small { display: block; margin-top: 13px; color: var(--green-dark); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.protection-result h2 { margin: 7px auto 9px; color: var(--green-dark); font-size: clamp(31px, 8vw, 39px); line-height: 1.06; letter-spacing: -.04em; }
.protection-result p { margin-bottom: 0; font-size: 13px; line-height: 1.5; }
.remaining-protection { margin-top: 17px; padding-top: 15px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.remaining-protection strong { color: var(--purple); font-size: 14px; }
.remaining-protection small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.money-progress { height: 8px; overflow: hidden; border-radius: 999px; background: #e8e3ea; }
.money-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.money-progress-label { margin-top: 8px; display: flex; justify-content: space-between; font-size: 12px; }
.money-progress-label strong { color: var(--green-dark); }
.money-progress-label span { color: var(--muted); }
.trace-remaining { margin-top: 19px; padding-top: 16px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; border-top: 1px solid var(--line); text-align: left; }
.trace-remaining > i { color: var(--purple); font-size: 22px; }
.trace-remaining > span { display: flex; flex-direction: column; }
.trace-remaining strong { font-size: 13px; font-weight: 550; }
.trace-remaining small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.trace-remainder { min-height: 74px; margin-top: 12px; padding: 16px 17px; border-top: 0; }
.incident-action { margin-top: 12px; padding: 17px; display: grid; grid-template-columns: 37px 1fr; gap: 10px; }
.incident-action > span { color: var(--purple); font-size: 25px; }
.incident-action > div { display: flex; flex-direction: column; }
.incident-action small { color: var(--purple); font-size: 9px; font-weight: 750; letter-spacing: .07em; }
.incident-action strong { margin-top: 4px; font-size: 16px; }
.incident-action p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.incident-action button { min-height: 44px; grid-column: 1 / -1; margin-top: 6px; border: 0; border-radius: 8px; background: var(--purple); color: white; font-size: 13px; font-weight: 650; }
.case-status { margin-top: 12px; padding: 17px; }
.case-status h3 { margin-bottom: 8px; font-size: 15px; }
.case-status > div { min-height: 60px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.case-status > div:last-child { border-bottom: 0; }
.case-status > div > i { color: var(--purple); font-size: 20px; }
.case-status > div.done > i { color: var(--green); }
.case-status > div span { display: flex; flex-direction: column; }
.case-status strong { font-size: 13px; font-weight: 550; }
.case-status small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.case-help { width: 100%; min-height: 66px; margin-top: 12px; padding: 0 16px; display: grid; grid-template-columns: 31px 1fr 20px; align-items: center; gap: 9px; text-align: left; }
.case-help > i { color: var(--purple); font-size: 22px; }
.case-help > span { display: flex; flex-direction: column; }
.case-help strong { font-size: 13px; font-weight: 550; }
.case-help small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.incident-screen { display: flex; flex-direction: column; }
.incident-body { flex: 1; padding: 12px; }
.protection-active { padding: 14px; display: grid; grid-template-columns: 32px 1fr; gap: 9px; border-radius: 11px; background: var(--green-soft); color: var(--green-dark); }
.protection-active > i { font-size: 24px; }
.protection-active strong { font-size: 13px; }
.protection-active p { margin: 3px 0 0; font-size: 10px; color: #3e7159; }
.incident-body fieldset { margin: 12px 0 0; padding: 5px 15px; border: 0; border-radius: 12px; background: white; }
.incident-body legend { width: 100%; padding: 18px 0 10px; float: left; font-size: 14px; font-weight: 700; }
.incident-body legend + label { clear: both; }
.incident-body fieldset label { min-height: 60px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.incident-body input[type="radio"] { width: 17px; height: 17px; accent-color: var(--purple); }
.incident-body fieldset span { display: flex; flex-direction: column; }
.incident-body fieldset strong { font-size: 12px; font-weight: 550; }
.incident-body fieldset small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.evidence-upload { min-height: 70px; margin-top: 12px; padding: 0 15px; display: grid; grid-template-columns: 34px 1fr; align-items: center; border: 1px dashed #bbaac7; border-radius: 12px; background: white; color: var(--purple); cursor: pointer; }
.evidence-upload > i { font-size: 23px; }
.evidence-upload span { display: flex; flex-direction: column; }
.evidence-upload strong { color: var(--ink); font-size: 12px; }
.evidence-upload small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.evidence-upload input { position: absolute; opacity: 0; pointer-events: none; }
.incident-screen .phone-sticky-action { position: static; flex: 0 0 auto; }
.incident-complete-body { padding: 52px 20px 95px; text-align: center; }
.complete-mark { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 38px; }
.incident-complete-body h2 { margin-bottom: 8px; font-size: 23px; }
.incident-complete-body > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.incident-complete-body > section { margin-top: 25px; padding: 4px 15px; border-radius: 12px; background: white; text-align: left; }
.incident-complete-body section > div { min-height: 70px; display: grid; grid-template-columns: 31px 1fr; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.incident-complete-body section > div:last-child { border-bottom: 0; }
.incident-complete-body section i { color: var(--green); font-size: 21px; }
.incident-complete-body section span { display: flex; flex-direction: column; }
.incident-complete-body section strong { font-size: 12px; }
.incident-complete-body section small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.sidecar { padding-top: 65px; position: sticky; top: 0; }
.presenter-panel { max-width: 520px; }
.presenter-label, .policy-kicker { color: var(--purple); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.presenter-panel h2 { max-width: 500px; margin: 11px 0 15px; font-size: clamp(32px,4vw,50px); line-height: 1.02; letter-spacing: -.045em; }
.presenter-panel > p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.presenter-panel > p strong { color: var(--ink); }
.story-beat { padding: 13px 0; display: grid; grid-template-columns: 130px 95px 1fr; align-items: center; border-top: 1px solid #d5d0d8; }
.story-beat span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.story-beat strong { color: var(--purple); font-size: 18px; }
.story-beat small { color: var(--muted); font-size: 10px; }
.demo-state { margin-top: 22px; padding: 15px 17px; display: flex; flex-direction: column; border-left: 4px solid var(--green); background: white; }
.demo-state span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.demo-state strong { margin: 4px 0; font-size: 14px; text-transform: capitalize; }
.demo-state small { color: var(--muted); font-size: 10px; }
.presenter-controls { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.presenter-controls > span { width: 100%; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.presenter-controls button { min-height: 37px; padding: 0 11px; border: 1px solid #c9c1ce; border-radius: 8px; background: white; font-size: 9px; font-weight: 700; }
.brief-cta { width: 100%; min-height: 47px; margin-top: 20px; border: 0; border-radius: 10px; background: var(--purple); color: white; font-size: 11px; font-weight: 800; }

.policy-brief { max-width: 1160px; margin: auto; padding: 65px 30px 100px; }
.policy-hero { max-width: 1040px; }
.policy-hero h1 { margin: 17px 0 23px; font-size: clamp(45px,7vw,84px); line-height: .98; letter-spacing: -.065em; text-transform: lowercase; }
.policy-hero h1 em { color: var(--purple); font-style: normal; }
.policy-hero > p { max-width: 820px; color: var(--muted); font-size: clamp(16px,2vw,23px); line-height: 1.5; }
.hero-proof { margin-top: 36px; padding: 16px 19px; display: inline-flex; align-items: center; gap: 18px; border-left: 4px solid var(--green); background: white; }
.hero-proof span { color: var(--green-dark); font-size: 23px; font-weight: 900; }
.hero-proof strong { font-size: 11px; }
.policy-brief > section { margin-top: 85px; }
.brief-first-fold { margin-top: 0 !important; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "hero comparison" "principle protocol" "story protocol" "disclosure disclosure"; align-items: start; gap: 12px 26px; }
.brief-first-fold .policy-hero { grid-area: hero; max-width: none; }
.brief-first-fold .policy-hero h1 { margin: 12px 0 15px; font-size: clamp(48px, 4.4vw, 64px); line-height: .97; }
.brief-first-fold .policy-hero > p { margin-bottom: 0; max-width: 620px; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.42; }
.brief-principle { grid-area: principle; margin-top: 0; padding: 17px 18px; display: flex; align-items: flex-start; flex-direction: column; gap: 7px; border: 1px solid #e4dde8; border-left: 4px solid var(--green); border-radius: 15px; box-shadow: 0 8px 22px rgb(74 29 105 / 8%); }
.brief-principle strong { font-size: clamp(22px, 2.2vw, 29px); line-height: 1.08; letter-spacing: -.03em; }
.brief-principle span { color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 550; }
.family-story { grid-area: story; padding: 16px 18px; border: 1px solid #e4dde8; border-radius: 15px; background: white; box-shadow: 0 8px 22px rgb(74 29 105 / 8%); }
.family-story small { color: var(--purple); font-size: 8px; font-weight: 850; letter-spacing: .09em; }
.family-story strong { display: block; margin: 6px 0; font-size: 14px; line-height: 1.35; }
.family-story p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.brief-comparison { grid-area: comparison; grid-template-columns: 1fr; align-self: stretch; overflow: hidden; border-radius: 15px; box-shadow: 0 8px 22px rgb(74 29 105 / 8%); }
.process-compare.brief-comparison article { padding: 19px 20px; display: flex; flex-direction: column; justify-content: center; }
.brief-comparison article + article { border-top: 1px solid #d7d1da; }
.brief-comparison p { margin: 9px 0 0; font-size: 12px; line-height: 1.5; }
.story-steps.protocol-strip { grid-area: protocol; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; overflow: hidden; border-radius: 15px; box-shadow: 0 8px 22px rgb(74 29 105 / 8%); }
.story-steps.protocol-strip article { min-height: 102px; padding: 14px 15px; border-right: 1px solid #d7d1da; border-bottom: 1px solid #d7d1da; }
.story-steps.protocol-strip article:nth-child(2n) { border-right: 0; }
.story-steps.protocol-strip article:nth-last-child(-n+2) { border-bottom: 0; }
.story-steps.protocol-strip strong { margin: 12px 0 4px; font-size: 13px; }
.story-steps.protocol-strip p { margin: 0; font-size: 10px; line-height: 1.35; }
.disclosure-pill { grid-area: disclosure; margin: 1px 0 0; padding: 9px 12px; border-radius: 10px; background: #302437; color: #dfd5e4; font-size: 9px; }
.policy-section-title { margin-bottom: 25px; display: grid; grid-template-columns: 45px 1fr; gap: 12px; }
.policy-section-title > span { color: var(--purple); font-size: 10px; font-weight: 900; }
.policy-section-title h2 { margin-bottom: 6px; font-size: clamp(25px,3vw,38px); letter-spacing: -.035em; }
.policy-section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.story-steps { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #d7d1da; background: white; }
.story-steps article { min-height: 210px; padding: 24px; border-right: 1px solid #d7d1da; }
.story-steps article:last-child { border: 0; }
.story-steps article > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 10px; font-weight: 900; }
.story-steps strong { display: block; margin: 32px 0 9px; font-size: 15px; }
.story-steps p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.process-compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d7d1da; background: white; }
.process-compare article { padding: 31px; }
.process-compare .future { background: var(--purple); color: white; }
.process-compare small { color: var(--red); font-weight: 900; text-transform: uppercase; }
.process-compare .future small { color: #e0c6f3; }
.process-compare h3 { font-size: 23px; }
.process-compare ol { padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 2; }
.process-compare .future ol { color: #eadff2; }
.regulatory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.regulatory-grid article { padding: 29px; border: 1px solid #d7d1da; background: white; }
.reg-tag { padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.reg-tag.existing { background: var(--green-soft); color: var(--green-dark); }
.reg-tag.proposed { background: var(--purple-soft); color: var(--purple); }
.regulatory-grid h2 { margin: 17px 0; font-size: 25px; }
.regulatory-grid ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.regulatory-grid li { margin-bottom: 11px; }
.regulatory-grid li strong { color: var(--ink); }
.guardrail-list { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #d7d1da; background: white; }
.guardrail-list > div { min-height: 190px; padding: 23px; border-right: 1px solid #d7d1da; border-bottom: 1px solid #d7d1da; }
.guardrail-list > div:nth-child(3n) { border-right: 0; }
.guardrail-list > div:nth-last-child(-n+3) { border-bottom: 0; }
.guardrail-list i { display: block; margin-bottom: 27px; color: var(--purple); font-size: 25px; }
.guardrail-list strong { font-size: 14px; }
.guardrail-list p { color: var(--muted); font-size: 10px; line-height: 1.55; }
.owners > div:not(.policy-section-title) { padding: 15px 0; display: grid; grid-template-columns: 200px 1fr; gap: 20px; border-top: 1px solid #d7d1da; }
.owners > div:last-child { border-bottom: 1px solid #d7d1da; }
.owners strong { font-size: 13px; }
.owners p { margin: 0; color: var(--muted); font-size: 12px; }
.phase-two { padding: 38px; background: #251430; color: white; }
.phase-two .policy-kicker { color: #d8bde9; }
.phase-two h2 { margin: 10px 0 26px; font-size: 34px; }
.phase-two > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.phase-two article { padding-top: 15px; border-top: 2px solid #8d57b4; }
.phase-two article strong { font-size: 12px; }
.phase-two article p { color: #cfbfd7; font-size: 10px; line-height: 1.55; }
.precedent-strip { display: grid; grid-template-columns: 1.3fr repeat(4,1fr); border: 1px solid #d7d1da; background: white; }
.precedent-strip > div, .precedent-strip a { min-height: 200px; padding: 21px; border-right: 1px solid #d7d1da; }
.precedent-strip > div span { color: var(--purple); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.precedent-strip h2 { margin-top: 11px; font-size: 21px; }
.precedent-strip a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.precedent-strip a:last-child { border: 0; }
.precedent-strip a small { color: var(--purple); font-size: 8px; text-transform: uppercase; }
.precedent-strip a strong { margin: 9px 0 18px; font-size: 13px; }
.precedent-strip a span { color: var(--muted); font-size: 9px; line-height: 1.5; }
.truth-label { margin-top: 18px; color: var(--muted); font-size: 10px; }
.brazil-model { padding: 34px; border-radius: 18px; background: #271531; color: white; }
.brazil-model .policy-section-title > span { color: #d8bde9; }
.brazil-model .policy-section-title p { color: #cabbd1; }
.brazil-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 12px; background: #6e567b; }
.brazil-proof-grid article { padding: 27px; background: #fff; color: var(--ink); }
.brazil-proof-grid article:last-child { background: var(--purple); color: white; }
.brazil-proof-grid small { color: var(--purple); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.brazil-proof-grid article:last-child small { color: #dfc6ef; }
.brazil-proof-grid h3 { margin: 9px 0 16px; font-size: 23px; }
.brazil-proof-grid ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.brazil-proof-grid article:last-child ul { color: #eadff2; }
.brazil-proof-grid li { margin-bottom: 8px; }
.model-disclosure { margin: 16px 0 0; color: #d8cbdc; font-size: 10px; line-height: 1.5; }
footer { padding: 18px; color: var(--muted); text-align: center; font-size: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (min-width: 901px) and (max-height: 820px) {
  .demo-stage { min-height: 700px; padding-block: 12px; }
  .phone-frame { height: 676px; }
  .sidecar { padding-top: 29px; }
  .policy-brief { padding-top: 24px; }
}

@media (max-width: 900px) {
  .top-nav { min-height: 62px; height: auto; padding: 9px 13px; }
  .brand > span:not(.brand-shield), .brand small { display: none; }
  .nav-actions button { padding-inline: 9px; font-size: 10px; }
  .demo-stage { min-height: 0; display: block; padding: 0; }
  .phone-frame { width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
  .phone-status { display: none; }
  .sidecar { display: none; }
  .policy-brief { padding: 45px 17px 70px; }
  .policy-hero h1 { font-size: clamp(38px,12vw,65px); }
  .brief-first-fold { grid-template-columns: 1fr; grid-template-areas: "hero" "principle" "story" "comparison" "protocol" "disclosure"; gap: 12px; }
  .brief-first-fold .policy-hero h1 { font-size: clamp(38px, 10vw, 58px); }
  .brief-comparison { grid-template-columns: 1fr 1fr; }
  .story-steps { grid-template-columns: 1fr 1fr; }
  .story-steps article:nth-child(2) { border-right: 0; }
  .story-steps article:nth-child(-n+2) { border-bottom: 1px solid #d7d1da; }
  .guardrail-list { grid-template-columns: 1fr 1fr; }
  .guardrail-list > div:nth-child(3n) { border-right: 1px solid #d7d1da; }
  .guardrail-list > div:nth-child(2n) { border-right: 0; }
  .guardrail-list > div:nth-last-child(-n+3) { border-bottom: 1px solid #d7d1da; }
  .guardrail-list > div:nth-last-child(-n+2) { border-bottom: 0; }
  .phase-two > div { grid-template-columns: 1fr 1fr; }
  .precedent-strip { grid-template-columns: 1fr 1fr; }
  .precedent-strip > div, .precedent-strip a { border-bottom: 1px solid #d7d1da; }
  footer { display: none; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .demo-stage { min-height: 850px; display: grid; grid-template-columns: 414px; align-items: start; justify-content: center; padding: 22px 30px 70px; background: #efedf1; }
  .phone-frame { width: 414px; height: 806px; overflow: auto; border: 7px solid #201d22; border-radius: 35px; background: white; box-shadow: 0 22px 55px rgba(43,25,55,.16); }
}

@media (min-width: 701px) and (max-width: 900px) and (max-height: 820px) {
  .demo-stage { min-height: 700px; padding-block: 12px; }
  .phone-frame { height: 676px; }
}

@media (max-width: 700px) {
  html, body, .app-shell { max-width: 100%; overflow-x: clip; }
  body { background: white; }
  .top-nav, .sidecar, .phone-status, .home-indicator { display: none; }
  .app-shell, .demo-stage, .phone-frame { width: 100%; min-width: 0; min-height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .demo-stage { background: white; }
  .phone-frame { height: auto; overflow: visible; }
  .screen { min-height: 100dvh; }
  .history-screen { display: flex; flex-direction: column; }
  .history-body { flex: 1; }
  .phone-bottom-nav { flex: 0 0 auto; margin-top: auto; }
  .confirmation-screen { display: flex; flex-direction: column; }
  .confirmation-body { flex: 1; padding-bottom: 12px; }
  .phone-sticky-action { flex: 0 0 auto; margin-top: auto; }
  .activating-screen { min-height: 100dvh; }
  .recovery-map { flex: 1; justify-content: center; }
  .recovery-node { grid-template-columns: 38px minmax(0, 1fr); }
  .recovery-node > span { width: 38px; height: 38px; }
  .recovery-node > b { grid-column: 2; justify-self: start; text-align: left; }
  .recovery-beat { margin-top: 17px; }
}

@media (max-width: 540px) {
  .process-compare, .regulatory-grid, .brazil-proof-grid { grid-template-columns: 1fr; }
  .story-steps { grid-template-columns: 1fr; }
  .story-steps article { min-height: 160px; border-right: 0; border-bottom: 1px solid #d7d1da; }
  .story-steps article strong { margin-top: 20px; }
  .guardrail-list, .phase-two > div, .precedent-strip { grid-template-columns: 1fr; }
  .guardrail-list > div, .guardrail-list > div:nth-child(3n), .guardrail-list > div:nth-child(2n), .guardrail-list > div:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid #d7d1da; }
  .owners > div:not(.policy-section-title) { grid-template-columns: 110px 1fr; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 6px; }
}
