:root {
  --ink: #17191a;
  --ink-soft: #202426;
  --paper: #f4f1eb;
  --muted: #afafaa;
  --line: rgba(244, 241, 235, 0.18);
  --red: #e30202;
  --yellow: #f0c400;
  --green: #2fb569;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--paper);
  background: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }

.page-shell { max-width: 1120px; margin: 0 auto; padding: 0 24px 112px; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.brand-logo { display: block; width: 40px; height: 36px; object-fit: contain; }
.site-header p, .form-note, footer { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.whatsapp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.header-whatsapp { min-height: 40px; border: 1px solid var(--green); padding: 0 13px; color: var(--paper); }
.header-whatsapp span { color: var(--green); font-size: 1rem; }
.sticky-whatsapp-cta { position: fixed; z-index: 30; right: 24px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; min-width: 270px; min-height: 58px; padding: 0 22px; border: 2px solid #fff; border-radius: 999px; background: #25d366; color: #07170d; box-shadow: 0 8px 28px rgb(0 0 0 / 42%); font-size: .78rem; }
.sticky-whatsapp-cta span { font-size: 1.12rem; }
.sticky-whatsapp-cta.is-obscured { visibility: hidden; opacity: 0; pointer-events: none; }

.hero { padding: 50px 0 28px; max-width: 780px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 18px; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; background: var(--red); }
h1, h2, .guide-title, .guide-number { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .02em; }
h1 { margin: 0; font-size: clamp(3rem, 6.3vw, 5.2rem); line-height: .9; text-transform: uppercase; }
.hero-copy { color: #d8d6cf; max-width: 590px; font-size: .95rem; line-height: 1.6; margin: 18px 0 0; }
.step-label { margin: 32px 0 0; color: var(--red); font-family: Anton, Impact, sans-serif; font-size: 1.25rem; }
.step-label span { color: var(--paper); font: 700 .72rem "Montserrat", Arial, sans-serif; letter-spacing: .1em; margin-left: 8px; }

.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; gap: 10px 8px; align-items: start; min-height: 142px; padding: 16px; border: 1px solid var(--line); border-top: 2px solid var(--red); background: var(--ink-soft); color: var(--paper); text-align: left; transition: border-color .2s ease, background .2s ease; }
.guide-card:hover, .guide-card:focus-visible, .guide-card.is-selected { border-color: var(--red); background: #282b2c; outline: none; }
.guide-card.is-selected { box-shadow: inset 4px 0 0 var(--red); }
.guide-number { grid-column: 1; grid-row: 1; color: var(--red); font-size: 1.8rem; line-height: 1; }
.guide-meta { grid-column: 2; grid-row: 1; color: #d7d5ce; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-align: right; }
.guide-title { grid-column: 1 / -1; grid-row: 2; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: .98; text-transform: uppercase; }
.guide-description { grid-column: 1; grid-row: 3; align-self: end; color: #d7d5ce; font-size: .7rem; line-height: 1.4; }
.guide-action { grid-column: 2; grid-row: 3; align-self: end; color: var(--paper); font-size: .59rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.guide-action b { color: var(--red); font-size: 1.1rem; margin-left: 5px; }

.capture { display: grid; grid-template-columns: .72fr 1.28fr; gap: 46px; margin-top: 46px; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(2.35rem, 4.2vw, 3.65rem); line-height: .9; text-transform: uppercase; }
.capture-intro > p:not(.eyebrow):not(.selection-copy) { color: #d8d6cf; font-size: .94rem; line-height: 1.6; max-width: 390px; margin: 24px 0 0; }
.capture-whatsapp-link { display: inline-block; margin-top: 12px; color: #54dc85; font-size: .78rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.selection-copy { min-height: 44px; border-left: 3px solid var(--red); padding: 6px 0 6px 12px; color: var(--paper); font-size: .83rem; font-weight: 600; line-height: 1.4; margin: 29px 0 0; }

form { display: grid; gap: 10px; align-content: start; }
label { color: #d8d6cf; font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
input:not([type="checkbox"]) { min-height: 48px; width: 100%; border: 1px solid #626360; border-radius: 0; padding: 0 12px; background: transparent; color: var(--paper); outline: none; }
input:not([type="checkbox"]):focus { border-color: var(--red); }
.check-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 12px; color: #d8d6cf; font-size: .76rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.check-row input { margin-top: 1px; accent-color: var(--red); }
.submit-button { min-height: 54px; margin-top: 15px; border: 0; padding: 0 18px; background: var(--red); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-align: left; transition: background .2s ease; }
.submit-button:hover, .submit-button:focus-visible { background: #ff1d1d; outline: 2px solid #fff; outline-offset: 2px; }
.submit-button span { float: right; font-size: 1.15rem; }
.form-note { margin: 3px 0 0; line-height: 1.55; letter-spacing: .04em; text-transform: none; }
.field-help { margin: -3px 0 2px; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.form-status { display: none; margin: 8px 0 0; padding: 12px; border-left: 3px solid var(--yellow); background: #292a25; color: #f5edbd; font-size: .82rem; line-height: 1.45; }
.form-status.visible { display: block; }
.form-status.error { border-color: var(--red); background: #302020; color: #ffb5b5; }
.form-status a { color: inherit; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.status-check-button { margin-top: 10px; border: 1px solid var(--yellow); padding: 10px 12px; background: transparent; color: var(--yellow); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.status-check-button[hidden] { display: none; }
.status-check-button:disabled { cursor: wait; opacity: .65; }

footer { display: flex; justify-content: space-between; gap: 18px; padding-top: 30px; }
footer p { margin: 0; }
footer a { color: var(--paper); text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--red); }
.whatsapp-cta:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

@media (max-width: 740px) {
  .page-shell { padding: 0 16px 112px; }
  .site-header { min-height: 58px; }
  .brand-logo { width: 34px; height: 31px; }
  .site-header p { display: none; }
  .header-whatsapp { display: none; }
  .hero { padding: 24px 0 16px; }
  .eyebrow { gap: 7px; margin-bottom: 11px; font-size: .62rem; }
  h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); line-height: .94; }
  .hero-copy { margin-top: 12px; font-size: .82rem; line-height: 1.45; }
  .step-label { margin-top: 18px; font-size: 1rem; }
  .step-label span { font-size: .62rem; }
  .guides { gap: 7px; }
  .guide-card { gap: 8px 5px; min-height: 120px; padding: 10px; }
  .guide-number { font-size: 1.45rem; }
  .guide-meta { font-size: .48rem; letter-spacing: .08em; }
  .guide-title { font-size: clamp(.92rem, 4.3vw, 1.18rem); line-height: .98; }
  .guide-description { display: none; }
  .guide-action { font-size: .48rem; letter-spacing: .015em; }
  .guide-action b { margin-left: 1px; }
  .capture { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; margin-top: 24px; }
  h2 { font-size: clamp(1.9rem, 8vw, 2.55rem); }
  .capture-intro > p:not(.eyebrow):not(.selection-copy) { margin-top: 11px; font-size: .82rem; line-height: 1.45; }
  .capture-whatsapp-link { margin-top: 9px; font-size: .73rem; }
  .selection-copy { min-height: 0; margin-top: 15px; font-size: .76rem; }
  form { gap: 7px; }
  input:not([type="checkbox"]) { min-height: 44px; }
  .check-row { gap: 8px; margin-top: 6px; font-size: .72rem; }
  .submit-button { min-height: 48px; margin-top: 8px; }
  .form-note { font-size: .66rem; }
  footer { flex-direction: row; align-items: center; padding-top: 22px; font-size: .62rem; }
  .sticky-whatsapp-cta { right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 16px; width: min(100% - 32px, 520px); min-width: 0; min-height: 54px; margin: 0 auto; border-radius: 4px; }
}

@media (max-width: 360px) {
  .page-shell { padding-inline: 12px; }
  .guide-card { gap: 7px 4px; padding: 9px; }
  .guide-number { font-size: 1.3rem; }
  .guide-title { font-size: .9rem; }
  .guide-action { font-size: .43rem; }
  footer { font-size: .56rem; }
}
