/* Kenglish landing. Brand tokens: docs/marca.md */
:root {
  --cobalt: #2445D6;
  --cobalt-dark: #18309B;
  --cobalt-soft: #E4E9FB;
  --ink: #101A3A;
  --ink-2: #16214A;
  --ink-line: #2A3560;
  --soft: #4A5372;
  --muted: #5B6475;
  --marker: #FFD23F;
  --paper: #F5F6FB;
  --line: #E1E5F0;
  --line-strong: #D9DCE6;
  --green: #15803D;
  --display: Lexend, "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
a { color: var(--cobalt); }
a:hover { color: var(--cobalt-dark); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--soft); max-width: 36em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--cobalt); color: #FFF; font: inherit; font-weight: 800; text-decoration: none; box-shadow: 0 5px 0 var(--cobalt-dark); cursor: pointer; }
.btn:hover { color: #FFF; filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--cobalt-dark); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; box-shadow: 0 4px 0 var(--cobalt-dark); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-ghost { background: #FFF; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 4px 0 var(--line); }
.btn-ghost:hover { color: var(--ink); }

/* Top bar */
.topbar { background: #FFF; border-bottom: 1px solid var(--line); }
.topbar-in { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 25px; letter-spacing: -0.03em; line-height: 1; }
.topnav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; font-weight: 600; flex: 1 1 auto; }
.topnav a { color: var(--soft); text-decoration: none; }
.topnav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.signin { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 6px; }
@media (max-width: 860px) { .topnav { display: none; } .top-actions { margin-left: auto; } }

/* Hero */
.hero { padding-block: 72px 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); background: var(--cobalt-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -0.035em; }
.marker { background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); padding: 0 4px; }
.hero .lead { font-size: 19px; line-height: 1.55; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--soft); }
.checks li { display: flex; align-items: center; gap: 7px; }
.checks li::before { content: ""; width: 18px; height: 18px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.hero-visual { flex: 1 1 520px; min-width: 0; position: relative; padding-bottom: 36px; }
.tablet { background: var(--ink); border-radius: 30px; padding: 14px; box-shadow: 0 30px 60px -24px rgba(16, 26, 58, 0.45); }
.screen { background: #F5F6FA; border-radius: 18px; overflow: hidden; display: flex; min-height: 380px; }
.side { width: 150px; flex: none; background: #FFF; border-right: 1px solid #E6E8EF; padding: 18px 12px; display: flex; flex-direction: column; gap: 16px; }
.inst { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; line-height: 1.2; }
.inst small { font-weight: 600; color: var(--muted); font-size: 11px; }
.inst-badge { width: 30px; height: 30px; flex: none; border-radius: 9px; background: #0E9F6E; color: #FFF; font-size: 12px; display: grid; place-items: center; }
.side-nav { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.side-nav span { padding: 7px 9px; border-radius: 8px; }
.side-nav .on { background: #DDF4EA; color: #0B7A55; }
.guide { flex: 1 1 auto; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.guide-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--muted); }
.guide-title { font-size: 19px; font-weight: 800; line-height: 1.2; }
.bar { height: 8px; border-radius: 99px; background: #EDEFF5; overflow: hidden; }
.bar div { height: 100%; background: #0E9F6E; border-radius: 99px; }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; align-items: center; gap: 10px; background: #FFF; border: 1px solid #E6E8EF; border-radius: 12px; padding: 9px 11px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.step > span { width: 26px; height: 26px; flex: none; border-radius: 8px; background: #EDEFF5; display: grid; place-items: center; font-size: 11px; }
.step em { margin-left: auto; font-style: normal; font-size: 11px; white-space: nowrap; }
.step.done { color: var(--ink); }
.step.done > span { background: #DCFCE7; color: var(--green); font-size: 13px; }
.step.done em { color: var(--green); }
.step.now { color: var(--ink); border: 2px solid #0E9F6E; padding: 8px 10px; font-weight: 800; }
.step.now > span { background: #0E9F6E; color: #FFF; }
.step.now em { color: #0B7A55; }
.nova { position: absolute; left: -18px; bottom: 0; max-width: 290px; background: #FFF; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 14px 16px; box-shadow: 0 18px 36px -18px rgba(16, 26, 58, 0.35); display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.nova b { display: block; font-size: 12px; color: var(--cobalt); }
.nova-icon { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--cobalt); display: grid; place-items: center; }
.brand-chip { position: absolute; right: 14px; top: -16px; background: var(--marker); color: var(--ink); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 800; box-shadow: 0 10px 20px -12px rgba(16, 26, 58, 0.5); }
@media (max-width: 560px) {
  .side { display: none; }
  .nova { left: 8px; right: 8px; max-width: none; }
  .hero { padding-block: 40px 56px; gap: 40px; }
}

/* Sections */
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow-marker { color: var(--marker); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.band-white { background: #FFF; border-block: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #FFF; }
.feature h3 { font-size: 19px; font-weight: 800; }
.feature p { color: var(--soft); }
.ficon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.ficon.aa { font-family: var(--display); font-weight: 700; color: var(--cobalt); font-size: 17px; }
.levels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 24px; border-radius: 20px; background: var(--paper); }
.levels-title { font-weight: 800; font-size: 15px; }
.level-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.level-chips span { padding: 6px 14px; border-radius: 10px; background: #FFF; border: 1px solid var(--line); font-family: var(--display); font-weight: 600; }

.split { padding-block: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; color: var(--soft); }
.ticks b { color: var(--ink); }
.ticks li { display: flex; gap: 14px; }
.ticks li::before { content: ""; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--cobalt-soft) no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232445D6' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.panel { flex: 1 1 520px; min-width: 0; background: #FFF; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 24px 48px -28px rgba(16, 26, 58, 0.35); display: flex; flex-direction: column; gap: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 18px; font-weight: 800; }
.tag { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--paper); padding: 4px 10px; border-radius: 99px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats div { border: 1px solid #E6E8EF; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stats b { font-family: var(--display); font-weight: 600; font-size: 28px; font-variant-numeric: tabular-nums; }
.stats small { font-size: 15px; color: var(--muted); }
.stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.table-box { border: 1px solid #E6E8EF; border-radius: 16px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 10px 14px; background: var(--paper); font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
td { padding: 11px 14px; border-top: 1px solid #E6E8EF; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
td:last-child { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.mini { width: 80px; height: 7px; border-radius: 9px; background: #EDEFF5; display: inline-block; overflow: hidden; }
.mini span { display: block; height: 100%; background: var(--cobalt); border-radius: 9px; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.band-ink { background: var(--ink); color: #FFF; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.steps3 li { border: 1px solid var(--ink-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--ink-2); }
.steps3 .num { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--marker); line-height: 1; }
.steps3 h3 { font-size: 20px; font-weight: 800; }
.steps3 p { color: #C5CBE0; }

.plans { padding-block: 88px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.plans-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.plan { flex: 1 1 420px; min-width: 0; background: #FFF; border: 2px solid var(--cobalt); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.plan-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; background: var(--marker); color: var(--ink); padding: 4px 10px; border-radius: 8px; }
.price { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; }
.price small { font-size: 16px; color: var(--muted); font-family: var(--body); font-weight: 600; letter-spacing: 0; }

.faq { padding-block: 48px 88px; display: flex; flex-direction: column; gap: 24px; }
.faq h2 { font-size: 32px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px 24px; }
.faq-grid > div { border-top: 1px solid var(--line-strong); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.faq-grid h3 { font-size: 17px; font-weight: 800; }
.faq-grid p { color: var(--soft); }

.band-cobalt { background: var(--cobalt); color: #FFF; }
.demo { padding-block: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.demo-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.demo h2 { font-weight: 700; font-size: clamp(34px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.demo .lead { color: #DCE3FF; }
.contact { font-weight: 700; }
.form { flex: 1 1 440px; min-width: 0; background: #FFF; color: var(--ink); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; min-width: 0; }
.form input, .form select { height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 500; background: #FFF; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus { outline: 3px solid var(--cobalt-soft); border-color: var(--cobalt); }
.form .full { grid-column: 1 / -1; }
.form .btn { margin-top: 4px; }
.form-error { grid-column: 1 / -1; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.form-error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; padding: 20px; } }

.footer { background: var(--ink); color: #C5CBE0; font-size: 14px; }
.footer-in { padding-block: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer .wordmark { font-size: 21px; color: #FFF; }
.footnav { display: flex; flex-wrap: wrap; gap: 8px 24px; flex: 1 1 auto; }
.footnav a { color: #C5CBE0; }
.footnav a:hover { color: #FFF; }

/* Thank-you page */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.thanks-card { max-width: 520px; background: #FFF; border: 1px solid var(--line); border-radius: 24px; padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.thanks-card h1 { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
