/* ──────────────────────────────────────────────────────────────────
   Skolain landing — modern white tech aesthetic.
   Pure white base, cool slate grays for hierarchy, indigo single accent.
   Sora display + DM Sans body + JetBrains Mono. Crisp, confident,
   no jarring contrast — just careful typography and generous space.
   ────────────────────────────────────────────────────────────────── */

:root {
  /* Surface */
  --bg:           #FFFFFF;
  --bg-2:         #FAFAFA;   /* subtle alternate band */
  --bg-3:         #F4F4F5;   /* card / input bg */

  /* Cool gray hierarchy */
  --line:         #EDEDEF;   /* hairline */
  --line-2:       #DCDCE0;   /* stronger border */
  --ink:          #0F172A;   /* primary text */
  --ink-2:        #3F4760;   /* secondary text */
  --ink-3:        #6B7185;   /* muted */
  --ink-4:        #A0A4B4;   /* captions */

  /* Brand accent (indigo from kit) */
  --indigo:       #4F46E5;
  --indigo-d:     #4338CA;
  --indigo-l:     #6366F1;
  --indigo-50:    #EEF0FF;

  /* Lime — single dot accent only */
  --lime:         #84CC16;
  --lime-50:      #F1F8E1;

  /* Status */
  --ok:           #16A34A;
  --ok-50:        #DCFCE7;
  --err:          #DC2626;
  --err-50:       #FEF2F2;

  /* Type */
  --fd:           'Sora', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --fb:           'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --fm:           'JetBrains Mono', ui-monospace, monospace;

  --radius:       14px;
  --radius-sm:    10px;
  --radius-pill:  100px;

  --max:          1120px;
  --max-narrow:   600px;

  /* Shadows — soft, neutral */
  --shadow-sm:
    0 1px 1px rgba(15, 23, 42, 0.04),
    0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 4px 12px rgba(15, 23, 42, 0.05),
    0 16px 32px rgba(15, 23, 42, 0.05);
  --shadow-lg:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 8px 20px rgba(15, 23, 42, 0.06),
    0 24px 56px rgba(15, 23, 42, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fb);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--indigo-50); color: var(--ink); }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ──────────────────────────────────────────────────────────────────
   NAV
   ────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-block; line-height: 0; }
.wordmark { height: 22px; width: auto; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .1px;
  padding: 6px 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--ok);
  opacity: .25;
  animation: pulse-ok 2s ease-out infinite;
}
@keyframes pulse-ok {
  0% { transform: scale(0.8); opacity: .45; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ──────────────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 88px 0 128px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(79, 70, 229, 0.10) 0%, rgba(79, 70, 229, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fm);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  transition: border-color .2s ease, transform .2s ease;
  box-shadow: var(--shadow-sm);
}
.badge:hover {
  border-color: var(--ink-3);
  transform: translateY(-1px);
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--fd);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--indigo);
  background: var(--indigo-50);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.badge-arr {
  color: var(--ink-4);
  font-size: 13px;
  transition: transform .2s ease, color .2s ease;
}
.badge:hover .badge-arr { transform: translateX(2px); color: var(--ink-2); }

.hero h1 {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -2.4px;
  color: var(--ink);
  max-width: 16ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.hl {
  color: var(--indigo);
  font-style: normal;
}
.hl-dot {
  color: var(--lime);
  font-style: normal;
}

.lede {
  font-family: var(--fb);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto 40px;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-fine {
  margin-top: 24px;
  font-family: var(--fm);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .1px;
}

/* ──────────────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .1px;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 1px 1px rgba(15, 23, 42, 0.15),
    0 4px 10px rgba(15, 23, 42, 0.10);
}
.btn-primary:hover {
  background: var(--indigo);
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(79, 70, 229, 0.20),
    0 8px 20px rgba(79, 70, 229, 0.22);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  background: var(--ink);
  box-shadow: none;
}

.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-3);
  border-color: var(--ink-3);
}

.btn-block {
  width: 100%;
  padding: 15px 28px;
}

.btn-arr {
  transition: transform .2s ease;
}
.btn:hover .btn-arr { transform: translateX(3px); }

/* ──────────────────────────────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────────────────────────────── */

.section {
  padding: 112px 0;
  position: relative;
}
.section-quiet {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-form {
  padding: 112px 0 128px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--fm);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .8px;
  color: var(--indigo);
  margin-bottom: 16px;
}

.section h2 {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}

.muted {
  font-family: var(--fb);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}
.section-head-center .muted { max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ──────────────────────────────────────────────────────────────────
   GRID + CARDS (modules)
   ────────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 16px;
}
.grid-modules {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-soft {
  background: var(--bg-2);
  border-style: dashed;
}
.card-soft:hover { background: var(--bg); }

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-family: var(--fm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--indigo);
  background: var(--indigo-50);
  border-radius: 8px;
}
.card h3 {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.3px;
  color: var(--ink);
  margin: 0;
}
.card p {
  font-family: var(--fb);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ──────────────────────────────────────────────────────────────────
   FORM
   ────────────────────────────────────────────────────────────────── */

.form {
  margin-top: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.05px;
}

.field input,
.field select {
  font-family: var(--fb);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.field input::placeholder { color: var(--ink-4); }
.field input:hover,
.field select:hover { border-color: var(--ink-3); }
.field input:focus,
.field select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-50);
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 36px; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.cf-turnstile { min-height: 65px; display: flex; align-items: center; }

.form-error {
  background: var(--err-50);
  color: var(--err);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.form-fine {
  margin-top: 4px;
  text-align: center;
  font-family: var(--fm);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* Success card */
.success-card {
  margin-top: 40px;
  background: var(--bg);
  border: 1px solid var(--ok);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.success-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ok-50);
  color: var(--ok);
  margin-bottom: 16px;
}
.success-card strong {
  display: block;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.3px;
  color: var(--ink);
  margin-bottom: 8px;
}
.success-card p {
  font-family: var(--fb);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────────── */

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wordmark-sm { height: 20px; width: auto; }
.footer-tag {
  font-family: var(--fb);
  font-size: 14px;
  color: var(--ink-3);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.footer-meta a {
  font-family: var(--fd);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.footer-meta a:hover { border-bottom-color: var(--ink); }
.footer-meta .footer-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  border-bottom-color: transparent;
}
.footer-meta .footer-link:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.footer-corp {
  font-family: var(--fm);
  font-size: 11.5px;
  letter-spacing: .2px;
  color: var(--ink-3);
}
.footer-fine {
  margin-top: 20px;
  font-family: var(--fm);
  font-size: 11.5px;
  color: var(--ink-4);
  text-align: center;
  letter-spacing: .2px;
}

/* ──────────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────────── */

@media (max-width: 880px) {
  .grid-modules { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .hero { padding: 64px 0 88px; }
  .section { padding: 72px 0; }
  .section-form { padding: 72px 0 88px; }
  .section-head { margin-bottom: 36px; }
  .grid-modules { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; text-align: left; }
  .badge { font-size: 11.5px; padding: 5px 12px 5px 5px; }
  .badge-tag { font-size: 9.5px; padding: 2px 7px; }
}

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