:root {
  --ink: #111318;
  --ink-soft: #20242c;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d5;
  --white: #fffdfa;
  --accent: #ff6a2a;
  --accent-soft: #ffd5c3;
  --green: #0f6b47;
  --green-bright: #21c47b;
  --muted: #535966;
  --muted-dark: #aeb5c0;
  --line: #d4ccbd;
  --danger: #9f270e;
  --danger-bg: #fff0eb;
  --focus: #146fd1;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px -44px rgba(17, 19, 24, .55);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(245, 241, 232, .94); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: var(--accent); font-family: var(--mono); font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }

.hero { padding-block: 48px 34px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: end; }
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow.light { color: #c5ccd5; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; max-width: 800px; font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
h1 span { color: var(--green); }
.hero-sub { max-width: 720px; margin-bottom: 20px; color: #343943; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hero-points li { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); padding: 7px 11px; color: #363b45; font-size: 13px; font-weight: 700; }
.hero-points li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 900; }
.hero-note { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border-top: 2px solid var(--ink); padding-top: 15px; }
.note-number { color: var(--danger); font-size: 44px; font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.hero-note strong { font-size: 15px; }
.hero-note p { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }

.workspace-section { padding-bottom: 72px; }
.tool-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; border-radius: 18px 18px 0 0; background: #dcd4c6; }
.tool-tab { min-height: 72px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 12px; padding: 10px 15px; background: transparent; text-align: left; cursor: pointer; }
.tool-tab:hover { background: rgba(255,255,255,.5); }
.tool-tab[aria-selected="true"] { background: var(--white); box-shadow: 0 5px 16px -12px rgba(17,19,24,.8); }
.tab-index { color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 800; }
.tool-tab[aria-selected="true"] .tab-index { color: var(--danger); }
.tool-tab > span:last-child { font-size: 15px; font-weight: 850; line-height: 1.15; }
.tool-tab small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }

.tool-panel { border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--ink); color: var(--white); padding: 32px; box-shadow: var(--shadow); }
.tool-panel:focus { outline: none; }
.tool-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 26px; }
.tool-heading h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(25px, 3vw, 39px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.heading-note { max-width: 370px; margin: 0; color: #c5cad2; font-size: 14px; }
.mini-steps { display: flex; gap: 22px; margin: 0; padding: 0; color: #929ba7; font-family: var(--mono); font-size: 11px; list-style-position: inside; text-transform: uppercase; }
.mini-steps li.active { color: var(--accent); }

.response-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: 22px; align-items: start; }
.editor-card, .profile-card, .copilot-output, .rx-form, .rx-empty, .rx-results { border-radius: var(--radius); background: var(--white); color: var(--ink); }
.editor-card { padding: 24px; }
.form-section { margin: 0; padding: 0 0 20px; border: 0; }
.form-section + .form-section { padding-top: 20px; border-top: 1px solid var(--line); }
.form-section:last-child { padding-bottom: 0; }
.form-section legend { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 13px; padding: 0; font-size: 16px; font-weight: 850; }
.form-section legend span, .section-title > span { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--mono); font-size: 11px; }
.field-label, .field label, .plain-fieldset legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 750; }
.field-label span, .field label span { color: var(--muted); font-size: 11px; font-weight: 600; }
.field-help { margin: -5px 0 12px; color: var(--muted); font-size: 13px; }

.control, .field input, .field textarea, .input-prefix { width: 100%; border: 1.5px solid #bcb4a6; border-radius: var(--radius-sm); background: #faf8f3; color: var(--ink); }
.control:focus-within, .field input:focus, .field textarea:focus, .input-prefix:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(20,111,209,.15); outline: 0; }
.control select { width: 100%; border: 0; background: transparent; padding: 12px 38px 12px 13px; color: var(--ink); outline: 0; appearance: none; cursor: pointer; }
.select-control { position: relative; }
.select-control::after { content: "⌄"; position: absolute; right: 13px; top: 50%; transform: translateY(-55%); pointer-events: none; color: var(--muted); font-weight: 900; }
.field input, .field textarea { padding: 11px 12px; }
.field textarea { resize: vertical; }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.dynamic-fields, .field-grid { display: grid; gap: 12px; }
.dynamic-fields, .field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.optional-context { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.optional-context summary { min-height: 44px; display: flex; align-items: center; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.optional-context[open] summary { margin-bottom: 10px; color: var(--ink); }
.privacy-inline { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.privacy-inline::before { content: "●"; margin-right: 6px; color: var(--green); }

.choice-grid { display: grid; gap: 8px; }
.choice-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { min-height: 67px; display: flex; flex-direction: column; justify-content: center; border: 1.5px solid var(--line); border-radius: 10px; background: #f8f5ee; padding: 9px 11px; }
.choice strong { font-size: 13px; }
.choice small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choice input:checked + span small { color: #c8ced7; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.result-card { position: sticky; top: 16px; overflow: hidden; border: 1px solid #2b3540; border-radius: var(--radius); background: #0b141a; box-shadow: 0 28px 60px -40px rgba(0,0,0,.85); }
.phone-header { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 14px 18px; background: #202c33; }
.phone-header h3 { margin: 0; color: #f1f4f5; font-size: 15px; }
.phone-header p { margin: 2px 0 0; color: #aab6bd; font-size: 12px; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-deep); color: var(--ink); font-weight: 900; }
.fact-badge { margin-left: auto; border: 1px solid #52616a; border-radius: 999px; padding: 5px 8px; color: #cbd4d9; font-family: var(--mono); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.fact-badge.confirmed { border-color: var(--green-bright); color: #73e5af; }
.conversation { min-height: 214px; padding: 22px 18px 16px; background-color: #0b141a; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 16px 16px; }
.incoming, .outgoing { width: fit-content; max-width: 88%; margin-bottom: 11px; border-radius: 12px; padding: 10px 12px; color: #edf2f4; font-size: 15px; line-height: 1.47; white-space: pre-wrap; }
.incoming { background: #202c33; border-bottom-left-radius: 3px; }
.outgoing { margin-left: auto; background: #075e54; border-bottom-right-radius: 3px; }
.guidance { margin: 0 18px 14px; border-left: 3px solid var(--accent); padding: 1px 0 1px 12px; }
.guidance-kicker, .metric-label { color: #aab6bd; font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guidance h3 { margin: 3px 0; color: #fff; font-size: 14px; }
.guidance p { margin: 0; color: #bdc6cb; font-size: 13px; }
.checklist { margin: 0 18px 14px; border-top: 1px solid #2d3940; padding-top: 12px; color: #c5cdd2; font-size: 12px; }
.checklist summary { min-height: 36px; cursor: pointer; color: #f1f4f5; font-weight: 800; }
.checklist ul { margin: 6px 0 0; padding-left: 18px; }
.checklist li { margin-bottom: 5px; }
.primary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 18px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 11px; padding: 11px 15px; font-weight: 850; text-align: center; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--accent); color: var(--ink); }
.button.primary:hover { background: #ff824f; }
.button.secondary { background: #f0f3f4; color: #0b141a; }
.button.whatsapp { background: #16734b; color: #fff; }
.button:disabled { opacity: .6; cursor: wait; }
.button.full { width: 100%; }
.action-feedback { min-height: 22px; margin: 7px 18px 0; color: #73e5af; font-size: 12px; font-weight: 750; }
.share-button { width: calc(100% - 36px); min-height: 42px; margin: 2px 18px 15px; border: 0; border-top: 1px solid #2d3940; background: transparent; color: #bec8cd; font-size: 12px; text-decoration: underline; cursor: pointer; }
.validation-box { margin: 0 18px 14px; border: 1px solid #e37b5e; border-radius: 9px; background: #422016; padding: 10px 12px; color: #ffe8df; font-size: 13px; }
.validation-box ul { margin: 5px 0 0; padding-left: 18px; }

.copilot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 20px; align-items: start; }
.profile-card, .copilot-output { padding: 24px; }
.section-title { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.section-title h3 { margin: 1px 0 2px; font-size: 17px; }
.section-title p { margin: 0; color: var(--muted); font-size: 12px; }
.field { margin-bottom: 13px; }
.plain-fieldset { margin: 17px 0; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { min-height: 40px; display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #f8f5ee; padding: 7px 11px; font-size: 12px; font-weight: 750; }
.chips input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-grid.compact .choice > span { min-height: 62px; }
.profile-preferences { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 15px; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; cursor: pointer; }
.checkbox-line input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--ink); }
.text-button { min-height: 44px; border: 0; background: transparent; color: var(--danger); font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.profile-card .action-feedback, .copilot-output .action-feedback { margin-inline: 0; color: var(--green); }

.prompt-shell { position: relative; overflow: hidden; border-radius: 12px; background: var(--ink-soft); }
.prompt-shell pre { min-height: 440px; max-height: 540px; overflow: auto; margin: 0; padding: 18px; color: #d9dee5; font-family: var(--mono); font-size: 11px; line-height: 1.6; white-space: pre-wrap; }
.prompt-shell.is-locked pre { max-height: 330px; filter: blur(4px); user-select: none; }
.prompt-lock { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; background: linear-gradient(to bottom, rgba(32,36,44,.2), rgba(32,36,44,.96) 45%); padding: 35px; color: #fff; text-align: center; }
.prompt-lock strong { font-size: 20px; }
.prompt-lock p { max-width: 330px; margin: 6px 0 16px; color: #cbd1d9; font-size: 13px; }
.unlocked-tools { margin-top: 12px; }
.ai-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ai-links a { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 800; text-decoration: none; }
.ai-links a:hover { background: var(--paper); }
.use-steps { display: grid; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.use-steps li { display: grid; grid-template-columns: 25px 1fr; gap: 8px; align-items: start; }
.use-steps span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-deep); font-family: var(--mono); font-size: 10px; font-weight: 900; }
.use-steps p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.registration-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; margin-top: 20px; border: 1px solid #3a424d; border-radius: var(--radius); background: var(--ink-soft); padding: 28px; }
.registration-copy h3 { margin-bottom: 8px; font-size: 24px; letter-spacing: -.03em; }
.registration-copy .eyebrow { color: #c5ccd5; }
.registration-copy > p:not(.eyebrow) { color: #c8ced7; font-size: 14px; }
.registration-copy ul { margin: 18px 0 0; padding: 0; list-style: none; color: #d5dae0; font-size: 13px; }
.registration-copy li { margin-bottom: 7px; }
.registration-copy li::before { content: "✓"; margin-right: 8px; color: #73e5af; font-weight: 900; }
#registration-form { border-radius: 14px; background: var(--white); padding: 20px; color: var(--ink); }
.honeypot { position: absolute; left: -10000px; }
.consent { margin: 11px 0; color: #343942; line-height: 1.4; }
.consent a { font-weight: 800; }
.consent.optional { color: var(--muted); }
.field-error { min-height: 16px; color: var(--danger) !important; font-weight: 700; }
.consent-error { display: block; min-height: 16px; margin-top: -6px; }
.form-status { min-height: 23px; margin: 8px 0 0; color: var(--danger); font-size: 13px; font-weight: 750; }
.download-card { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 20px; border: 2px solid var(--green-bright); border-radius: var(--radius); background: #10271f; padding: 25px; }
.download-card h3 { margin: 0 0 5px; font-size: 22px; }
.download-card p { max-width: 620px; margin-bottom: 0; color: #c9d8d2; font-size: 13px; }
.success-icon { float: left; width: 34px; height: 34px; display: grid; place-items: center; margin-right: 12px; border-radius: 50%; background: var(--green-bright); color: var(--ink); font-weight: 900; }
.download-actions { min-width: 260px; display: grid; gap: 8px; }

.rx-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: 20px; align-items: start; }
.rx-form { padding: 24px; }
.rx-section + .rx-section { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 22px; }
.optional-values { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; }
.optional-values summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; cursor: pointer; font-size: 13px; font-weight: 850; }
.optional-values summary span { color: var(--muted); font-size: 11px; }
.optional-values[open] summary { border-bottom: 1px solid var(--line); }
.optional-values .field-grid { padding: 15px; }
.input-prefix { display: flex; align-items: center; }
.input-prefix span { padding: 0 0 0 11px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.input-prefix input { min-width: 0; border: 0; background: transparent; box-shadow: none; }
.input-prefix.suffix span { padding: 0 11px 0 0; }
.rx-submit-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.light-box { margin: 13px 0 0; background: var(--danger-bg); color: var(--danger); }
.rx-empty { min-height: 380px; display: grid; align-content: center; justify-items: center; padding: 35px; text-align: center; }
.empty-graphic { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--green); font-size: 34px; }
.rx-empty h3 { margin: 15px 0 5px; }
.rx-empty p { max-width: 320px; margin: 0; color: var(--muted); font-size: 13px; }
.rx-results { overflow: hidden; }
.metric-feature { background: var(--green); color: #fff; padding: 23px; }
.metric-feature > span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.metric-feature strong { display: block; margin: 4px 0; font-size: 58px; letter-spacing: -.06em; line-height: 1; }
.metric-feature p { margin: 0; color: #d7eee4; font-size: 12px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.metric-row > div { padding: 17px; }
.metric-row > div + div { border-left: 1px solid var(--line); }
.metric-row span { display: block; color: var(--muted); font-size: 11px; }
.metric-row strong { display: block; margin-top: 3px; font-size: 18px; }
.hypothesis-card, .action-plan { margin: 16px; border-radius: 12px; padding: 17px; }
.hypothesis-card { background: var(--paper); }
.hypothesis-card .metric-label, .action-plan .metric-label { color: var(--muted); }
.hypothesis-card h3 { margin: 4px 0 8px; font-size: 15px; }
.hypothesis-card select { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 3px; font-weight: 800; }
.hypothesis-card p { margin-bottom: 7px; font-size: 14px; }
.hypothesis-card small { color: var(--muted); font-size: 10px; }
.action-plan { border: 1px solid var(--line); }
.action-plan ol { margin: 9px 0 0; padding-left: 20px; font-size: 13px; }
.action-plan li { margin-bottom: 6px; }

.principles { padding-block: 72px; display: grid; grid-template-columns: .62fr 1.38fr; gap: 60px; }
.principles h2 { margin-bottom: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principle-grid article { border-top: 2px solid var(--ink); padding-top: 13px; }
.principle-grid span { color: var(--danger); font-family: var(--mono); font-size: 11px; font-weight: 900; }
.principle-grid h3 { margin: 8px 0 5px; font-size: 16px; }
.principle-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.sources { padding-bottom: 60px; }
.sources details { border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.45); padding: 15px 18px; }
.sources summary { min-height: 34px; font-weight: 850; cursor: pointer; }
.sources p, .sources li { color: var(--muted); font-size: 12px; }
.sources ul { margin-bottom: 0; }
.sources a { color: var(--ink); font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); padding-block: 30px 44px; }
.footer-grid { display: flex; justify-content: space-between; gap: 25px; }
.footer-grid p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.footer-grid > div:last-child { display: grid; justify-items: end; gap: 4px; color: var(--muted); font-size: 12px; }
.footer-grid a { font-weight: 800; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero-note { max-width: 500px; }
  .response-grid, .copilot-grid, .rx-grid { grid-template-columns: 1fr; }
  .result-card { position: static; }
  .registration-card { grid-template-columns: 1fr; gap: 22px; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .site-header { position: relative; }
  .header-inner { min-height: 52px; }
  .hero { padding-block: 14px 12px; }
  .hero .eyebrow { display: none; }
  .hero h1 { margin-bottom: 7px; font-size: clamp(29px, 8.6vw, 38px); line-height: 1; }
  .hero-sub { margin-bottom: 0; font-size: 13px; line-height: 1.35; }
  .hero-points { display: none; }
  .hero-note { display: none; }
  .tool-tabs { position: sticky; z-index: 20; top: 0; grid-template-columns: repeat(3, minmax(145px, 1fr)); overflow-x: auto; border-radius: 14px 14px 0 0; padding: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .tool-tab { min-height: 54px; scroll-snap-align: start; padding: 7px 9px; }
  .tool-tab > span:last-child { font-size: 13px; }
  .tool-tab small { display: none; }
  .tool-panel { margin-inline: -14px; border-radius: 0; padding: 16px 14px 32px; }
  .tool-heading { display: block; margin-bottom: 12px; }
  .tool-heading h2 { font-size: 23px; }
  .heading-note { margin-top: 10px; }
  #panel-resposta .tool-heading .eyebrow, #panel-resposta .mini-steps { display: none; }
  .mini-steps { margin-top: 12px; gap: 16px; }
  .editor-card, .profile-card, .copilot-output, .rx-form { padding: 15px; }
  .form-section { padding-bottom: 14px; }
  .form-section + .form-section { padding-top: 14px; }
  .form-section legend { margin-bottom: 9px; font-size: 14px; }
  .field-help { margin-bottom: 8px; font-size: 11px; }
  .choice-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid.three:not(.compact) .choice > span { min-height: 58px; padding: 7px; }
  .choice-grid.three:not(.compact) .choice small { display: none; }
  .choice-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid.compact .choice > span { min-height: 72px; padding: 7px; }
  .dynamic-fields, .field-grid.two, .field-grid.three { grid-template-columns: 1fr; }
  .result-card { display: flex; flex-direction: column; }
  .phone-header { order: 1; min-height: 64px; padding: 10px 14px; }
  .conversation { order: 2; min-height: 118px; padding: 14px; }
  .validation-box { order: 3; }
  .primary-actions { order: 4; }
  .action-feedback { order: 5; }
  .guidance { order: 6; margin-top: 10px; }
  .checklist { order: 7; }
  .share-button { order: 8; }
  .primary-actions { position: sticky; bottom: 0; z-index: 5; background: #0b141a; padding-block: 10px; }
  .profile-preferences { align-items: flex-start; flex-direction: column; }
  .prompt-shell pre { min-height: 360px; }
  .ai-links { grid-template-columns: 1fr; }
  .registration-card { margin-inline: -1px; padding: 18px; }
  .download-card { display: block; }
  .download-actions { min-width: 0; margin-top: 18px; }
  .rx-submit-row { align-items: stretch; flex-direction: column; }
  .metric-feature strong { font-size: 48px; }
  .principles { padding-block: 52px; }
  .principle-grid { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid > div:last-child { justify-items: start; }
}

@media (max-width: 390px) {
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .hero h1 { font-size: 34px; }
  .primary-actions { grid-template-columns: 1fr; }
  .choice-grid.compact { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row > div + div { border-top: 1px solid var(--line); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
