/* SkillsAlign Consulting — design system */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 48px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------------- typography ---------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }

.display {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.headline {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.subhead {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--ink-2);
}

.eyebrow {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}

.body-lg {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}

.body { font-size: 17px; line-height: 1.52; color: var(--ink-2); }

.small { font-size: 14px; line-height: 1.45; color: var(--ink-3); letter-spacing: -0.008em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.measure { max-width: 42ch; }
.measure-wide { max-width: 62ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------------- nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 12px;
  line-height: 1;
  color: var(--ink);
  opacity: .82;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity .2s;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.current { opacity: 1; font-weight: 500; }

/* ---------------- buttons / links ---------------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.012em;
  padding: 12px 23px;
  border-radius: 980px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.btn:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

.link {
  color: var(--accent);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.link:hover { text-decoration: underline; }
.link::after { content: " \203A"; }

.actions {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
}
.actions.center-a { justify-content: center; }

/* ---------------- sections ---------------- */

.section { padding: 100px 0; }
.section-sm { padding: 68px 0; }
.section-grey { background: var(--bg-2); }
.section-ink { background: var(--ink); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #f5f5f7; }
.section-ink .body-lg, .section-ink .body, .section-ink p { color: #a1a1a6; }
.section-ink .subhead { color: #a1a1a6; }

.hero {
  padding: 92px 0 84px;
  text-align: center;
}
.hero .display { margin-bottom: 18px; }
.hero .subhead { max-width: 34ch; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .headline { margin-bottom: 14px; }
.section-head .body-lg { max-width: 56ch; margin: 0 auto; }

/* ---------------- tiles ---------------- */

.tiles {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.tiles-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.tiles-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.tile {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
}
.tile-white { background: #fff; }
.tile-ink { background: var(--ink); }
.tile-ink h3, .tile-ink .headline { color: #f5f5f7; }
.tile-ink p, .tile-ink .body { color: #a1a1a6; }

.tile .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.tile h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.tile .body { margin-bottom: 0; }
.tile .link { margin-top: 18px; align-self: flex-start; }

.tile-feature {
  padding: 64px 52px;
  text-align: center;
  align-items: center;
}
.tile-feature h3 { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------------- stat strip ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat .num {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.stat .lbl { font-size: 15px; color: var(--ink-2); margin-top: 8px; letter-spacing: -0.01em; }

/* ---------------- steps ---------------- */

.steps { display: grid; gap: 0; max-width: 720px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step .n {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .02em;
  padding-top: 4px;
}
.step h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 6px; }
.step .body { margin: 0; }

/* ---------------- q blocks ---------------- */

.q {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 600;
  max-width: 22ch;
  margin: 0 auto 22px;
  text-align: center;
}

/* ---------------- spec list ---------------- */

.spec { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row dt { font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: -0.01em; }
.spec-row dd { margin: 0; font-size: 17px; color: var(--ink); letter-spacing: -0.012em; }
.spec-row dd a { color: var(--accent); text-decoration: none; }
.spec-row dd a:hover { text-decoration: underline; }

/* ---------------- form ---------------- */

.form { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  padding-left: 2px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 15px 16px;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868b' d='M6 8L0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.hp { position: absolute; left: -9999px; }

/* ---------------- footer ---------------- */

.footer {
  background: var(--bg-2);
  padding: 40px 0 30px;
  font-size: 12px;
  line-height: 1.33;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.footer a { color: var(--ink-3); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--ink-2); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.footer-col { min-width: 150px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
}
.footer-col a { display: block; padding: 3px 0; }
.footer-bottom { padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------------- reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.28,.11,.32,1), transform .8s cubic-bezier(.28,.11,.32,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 833px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 58px; }
  .tile { padding: 36px 28px; }
  .tile-feature { padding: 48px 28px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .nav-links { gap: 18px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; }
  .nav-brand { font-size: 15px; }
  .actions { gap: 18px; }
  .step { grid-template-columns: 36px 1fr; gap: 14px; }
}
