:root {
  --ink: #1B1B2B;
  --ink-soft: #5C5C70;
  --blue: #3FA9E0;
  --blue-deep: #1E6E9C;
  --pink: #F98BA0;
  --mint: #6FCFC0;
  --lav: #C9BCF0;
  --peach: #FFD5C2;
  --paper: #FFFFFF;
  --wash: #F7F6FB;
  --hairline: rgba(27,27,43,.10);
  --font: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 720px; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-brand span { font-weight: 600; font-size: 17px; }
.nav-brand b { color: var(--blue); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 18px; border-radius: 99px;
  font-weight: 600 !important;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(249,139,160,.28) 0%, transparent 55%),
    radial-gradient(80% 70% at 95% 20%, rgba(201,188,240,.34) 0%, transparent 58%),
    radial-gradient(70% 60% at 50% 100%, rgba(111,207,192,.22) 0%, transparent 60%),
    var(--wash);
  padding: 68px 0 0;
  overflow: hidden;
}
.hero-in {
  max-width: 1080px; margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 40px; align-items: end;
}
.pill {
  display: inline-block; background: rgba(255,255,255,.8);
  border: 1px solid var(--hairline); border-radius: 99px;
  padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--blue-deep);
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(38px, 6.4vw, 64px); font-weight: 800;
  line-height: 1.04; letter-spacing: -.025em;
}
h1 em { font-style: normal; color: var(--blue); }
.lede { margin-top: 20px; font-size: 18.5px; color: var(--ink-soft); max-width: 46ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.micro { margin: 18px 0 46px; font-size: 13.5px; color: var(--ink-soft); }
.hero-shot img {
  width: 100%; border-radius: 26px 26px 0 0;
  box-shadow: 0 -8px 60px -18px rgba(27,27,43,.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 99px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn.full { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(27,27,43,.7); }
.btn-dark:hover:not(:disabled) { background: #000; transform: translateY(-1px); }
.btn-dark:disabled { opacity: .6; cursor: default; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--hairline); }
.btn-light:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px;
}
.kicker.light { color: #9FD9F5; }
.kicker.ok { color: var(--blue-deep); margin-bottom: 8px; }
h2 {
  font-size: clamp(30px, 4.6vw, 44px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; max-width: 20ch;
}
h2.on-dark { color: #fff; }
.body { margin-top: 16px; color: var(--ink-soft); font-size: 17.5px; }
.body.on-dark { color: rgba(255,255,255,.78); }

/* ---------- Feature rows ---------- */
.feats { margin-top: 54px; display: flex; flex-direction: column; gap: 26px; }
.feat {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px;
  background: var(--wash); border: 1px solid var(--hairline);
  border-radius: 28px; padding: 38px 38px 0;
  overflow: hidden;
}
.feat.reverse .feat-txt { order: 2; }
.feat-txt { padding-bottom: 38px; }
.num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  color: var(--blue); display: block; margin-bottom: 10px;
}
.feat h3 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.feat p { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }
.feat-img img {
  width: 100%; border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 40px -16px rgba(27,27,43,.4);
}
.plus {
  margin-top: 30px; text-align: center; color: var(--ink-soft); font-size: 16px;
}

/* ---------- Band ---------- */
.band { background: var(--wash); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.warn {
  margin-top: 28px; padding: 18px 20px;
  background: #FFF4EC; border: 1px solid rgba(232,140,74,.35);
  border-radius: 16px; font-size: 14.5px; color: #6B4326;
}
.warn strong { display: block; margin-bottom: 4px; color: #4A2B12; }

/* ---------- Student section ---------- */
.student {
  background:
    radial-gradient(80% 70% at 15% 0%, rgba(63,169,224,.35) 0%, transparent 60%),
    radial-gradient(70% 60% at 90% 90%, rgba(111,207,192,.28) 0%, transparent 60%),
    #16223A;
}
.panel {
  margin-top: 30px; background: #fff;
  border-radius: 26px; padding: 32px 28px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.field { margin-bottom: 20px; }
label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
input[type="text"], input[type="email"] {
  width: 100%; padding: 14px 16px;
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--hairline); border-radius: 14px;
  transition: border-color .15s ease, background .15s ease;
}
input[type="text"]:focus, input[type="email"]:focus {
  border-color: var(--blue); background: #fff; outline: none;
}
input.invalid { border-color: #D9534F; background: #FFF5F5; }
.hint { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.hint.center { text-align: center; margin-top: 16px; }
.check {
  display: flex; gap: 11px; align-items: flex-start;
  font-weight: 400; font-size: 14px; color: var(--ink-soft);
  cursor: pointer; margin: 4px 0 24px;
}
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }

.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error {
  margin-top: 16px; padding: 13px 16px;
  background: #FFF1F1; border: 1px solid rgba(217,83,79,.3);
  border-radius: 14px; color: #A03330; font-size: 14.5px; font-weight: 500;
}

.success { text-align: center; }
.success h3 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.success .sub { color: var(--ink-soft); font-size: 15px; margin: 8px 0 20px; }
.code-box {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(17px, 5vw, 23px); letter-spacing: .12em;
  color: #fff; background: #16223A;
  border-radius: 16px; padding: 22px 14px; margin-bottom: 16px;
  word-break: break-all;
}
.success .btn-light { margin-bottom: 11px; }

.rgpd {
  margin-top: 22px; font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,.55);
}
.rgpd a { color: #9FD9F5; }

/* ---------- Footer ---------- */
.foot { padding: 76px 0; background: var(--ink); color: #fff; text-align: center; }
.foot h2 { margin: 0 auto; max-width: none; }
.foot p { margin: 14px 0 26px; color: rgba(255,255,255,.65); }
.foot-meta {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.foot-meta a { color: rgba(255,255,255,.65); text-decoration: none; }
.foot-meta a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 8px; }
  .hero-shot { max-width: 340px; margin: 0 auto; }
  .micro { margin-bottom: 26px; }
  .feat { grid-template-columns: 1fr; padding: 30px 24px 0; gap: 20px; }
  .feat.reverse .feat-txt { order: 0; }
  .feat-txt { padding-bottom: 0; }
  .feat-img { max-width: 300px; margin: 0 auto; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 62px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
