:root {
  --yellow: #f4d638;
  --black: #111111;
  --ink: #f8f8f4;
  --muted: #a9a9a4;
  --line: #2b2b2b;
  --panel: #191919;
  --panel-2: #202020;
  --danger: #ff8d70;
  --display: "Syne", "Trebuchet MS", sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Syne:wght@400;600;700;800&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--display); line-height: 1.5; }
body::selection { background: var(--yellow); color: var(--black); }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { display:flex; align-items:center; justify-content:space-between; padding: 26px 0; border-bottom: 1px solid var(--line); }
.brand { display:inline-flex; align-items:center; text-decoration:none; }
.brand-logo { display:block; width:96px; height:auto; max-height:40px; object-fit:contain; }
.brand.small .brand-logo { width:78px; max-height:32px; }
.brand-mark { display:grid; place-items:center; width:25px; height:25px; background:var(--yellow); color:var(--black); border-radius:50%; font-size:.8rem; }
.header-note, .eyebrow, .result-label, .number { font-family: var(--mono); text-transform:uppercase; letter-spacing:.09em; font-size:.7rem; color:var(--muted); }
.hero { display:grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items:end; padding: 100px 0 120px; }
.hero h1 { max-width: 850px; font-size: clamp(3rem, 7vw, 6.5rem); line-height:.95; letter-spacing:-.07em; margin: 20px 0 28px; }
.hero h1 span { color: var(--yellow); }
.hero-subtitle { max-width: 600px; color: var(--muted); font-size:1.12rem; }
.text-link { display:inline-block; margin-top:22px; font-weight:700; text-decoration:none; border-bottom:2px solid var(--yellow); padding-bottom:5px; }
.text-link span, .button span { color:inherit; margin-left: 10px; }
.hero-card { background:var(--yellow); color:var(--black); padding: 28px; min-height: 290px; display:flex; flex-direction:column; justify-content:space-between; transform: rotate(2deg); }
.hero-card-top { display:flex; justify-content:space-between; gap:10px; font:600 .68rem var(--mono); letter-spacing:.08em; }
.dot { width:12px; height:12px; background:var(--black); border-radius:50%; display:inline-block; }
.hero-number { font-size:6.5rem; letter-spacing:-.1em; font-weight:800; line-height:1; }
.hero-card p { font-weight:600; max-width:300px; }
section { padding: 90px 0; border-top:1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 38px; }
.section-heading h2, .contact h2 { font-size: clamp(2rem, 4vw, 4rem); line-height:1; letter-spacing:-.055em; margin:12px 0 16px; }
.section-heading p:not(.eyebrow), .contact p { color:var(--muted); max-width: 620px; }
.calculator-card { background:var(--panel); border:1px solid var(--line); padding: 32px; }
.form-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap: 22px; }
label { display:grid; gap:9px; font-weight:600; font-size:.9rem; }
label input { background:var(--black); border:1px solid #414141; color:var(--ink); padding:15px 16px; font: 600 1rem var(--display); border-radius: 2px; outline:none; }
label input:focus { border-color:var(--yellow); box-shadow:0 0 0 3px rgba(244,214,56,.15); }
.wide { grid-column: 1 / -1; }
.field-hint, .microcopy, .privacy { color:var(--muted); font-size:.8rem; }
.button { display:inline-flex; align-items:center; justify-content:center; border:0; cursor:pointer; font:700 .95rem var(--display); padding: 15px 20px; border-radius:2px; transition:transform .2s ease, background .2s ease; }
.button:hover { transform:translateY(-2px); }
.button.primary { background:var(--yellow); color:var(--black); }
.button.ghost { background:transparent; color:var(--ink); border:1px solid #555; }
.form-errors { background:rgba(255,141,112,.1); border-left:3px solid var(--danger); color:#ffc3b4; padding:13px 20px; margin:20px 0; }
.form-errors li { margin:4px 0; }
.results-section { padding-top:100px; }
.result-grid { display:grid; grid-template-columns:repeat(6, 1fr); gap:12px; }
.result-card { grid-column:span 2; background:var(--panel); border:1px solid var(--line); padding:23px; min-height:145px; display:flex; flex-direction:column; justify-content:space-between; }
.result-card.featured { grid-column:span 3; background:var(--yellow); color:var(--black); border-color:var(--yellow); }
.result-card.featured .result-label, .result-card.featured small { color:rgba(17,17,17,.7); }
.result-card strong { display:block; font-size:clamp(1.5rem, 3vw, 2.5rem); letter-spacing:-.05em; }
.result-card small { color:var(--muted); font-size:.8rem; }
.result-foot { display:flex; justify-content:space-between; align-items:center; gap: 20px; padding-top:25px; }
.result-foot p { color:var(--muted); font-size:.78rem; max-width:650px; }
.education-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.education-grid article { border-top:1px solid var(--line); padding-top:16px; }
.number { color:var(--yellow); }
.education-grid h3 { font-size:1.2rem; margin:22px 0 10px; }
.education-grid p, details p { color:var(--muted); font-size:.9rem; }
.faq details { border-top:1px solid var(--line); padding:22px 0; }
.faq details:last-child { border-bottom:1px solid var(--line); }
summary { cursor:pointer; font-size:1.1rem; font-weight:700; list-style:none; display:flex; justify-content:space-between; }
summary::after { content:'+'; color:var(--yellow); font:1.5rem var(--mono); }
details[open] summary::after { content:'−'; }
.contact { display:flex; justify-content:space-between; gap:40px; align-items:end; }
.contact-action { display:flex; flex-direction:column; align-items:center; }
.whatsapp-button { gap:10px; min-width:170px; background:#25d366; color:#07130b; border-color:#25d366; }
.whatsapp-button img { width:28px; height:28px; display:block; }
.whatsapp-caption { margin:12px 0 0; color:var(--ink) !important; font-weight:700; text-align:center; white-space:nowrap; }
.site-footer { border-top:1px solid var(--line); padding:28px 0 45px; display:flex; justify-content:space-between; gap:25px; color:var(--muted); font-size:.78rem; }
.site-footer p { margin:0; text-align:right; }
.modal { border:0; padding:0; background:transparent; color:var(--ink); max-width: 520px; width:calc(100% - 32px); }
.modal::backdrop { background:rgba(0,0,0,.78); }
.modal-card { position:relative; background:var(--panel-2); border:1px solid #444; padding:32px; display:grid; gap:16px; }
.modal-card h2 { font-size:2.3rem; line-height:1; letter-spacing:-.06em; margin:0; }
.modal-close { position:absolute; top:12px; right:14px; background:none; color:var(--muted); border:0; font-size:1.6rem; cursor:pointer; }
.modal-notice { color:var(--muted); font-size:.85rem; }
.checkbox { display:flex; grid-template-columns:auto 1fr; gap:10px; align-items:start; font-size:.8rem; color:var(--muted); }
.checkbox input { margin-top:3px; accent-color:var(--yellow); }
.trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.test-banner { background:var(--yellow); color:var(--black); padding:10px 20px; text-align:center; font:700 .72rem var(--mono); }
@media (max-width: 820px) {
  .hero { grid-template-columns:1fr; gap:35px; padding:70px 0 85px; }
  .hero-card { max-width: 390px; }
  .result-grid { grid-template-columns:repeat(2, 1fr); }
  .result-card, .result-card.featured { grid-column:span 1; }
  .result-card.featured { grid-column:1 / -1; }
  .education-grid { grid-template-columns:repeat(2,1fr); }
  .contact, .result-foot, .site-footer { align-items:flex-start; flex-direction:column; }
  .contact-action { align-items:flex-start; width:100%; }
  .whatsapp-caption { text-align:left; white-space:normal; }
  .site-footer p { text-align:left; }
}
@media (max-width: 560px) {
  .shell { width:min(100% - 28px, 1120px); }
  .site-header { padding:20px 0; }
  .header-note { font-size:.58rem; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  section { padding:68px 0; }
  .calculator-card { padding:20px; }
  .form-grid, .education-grid { grid-template-columns:1fr; }
  .wide { grid-column:auto; }
  .result-grid { grid-template-columns:1fr; }
  .result-card, .result-card.featured { grid-column:auto; }
  .button { width:100%; }
}
