/* ───────────────────────────────────────────────
   Inspyred Technologies — blue & white redesign
   palette: white paper, deep navy ink, brand blue
   ─────────────────────────────────────────────── */

:root {
  --paper: #ffffff;
  --paper-2: #eaf2fc;
  --surface: #ffffff;
  --ink: #0a2540;
  --ink-soft: #1c3a5e;
  --muted: #5e7287;
  --rule: #cfdcec;
  --rule-soft: #e3ecf6;

  --brand: #1769e0;
  --brand-deep: #0f4ea8;
  --brand-2: #2a6cc2;
  --brand-2-deep: #163d6e;
  --accent: #5aa3ee;

  --term-bg: #0a2540;
  --term-bg-2: #061a35;
  --term-fg: #ffffff;
  --term-mute: #94aac8;
  --term-ok: #7ec0ff;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-soft: 0 1px 0 rgba(10,37,64,.04), 0 12px 30px -22px rgba(10,37,64,.18);
  --shadow-card: 0 1px 0 rgba(10,37,64,.05), 0 22px 50px -30px rgba(10,37,64,.28);

  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1240px;
}

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

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10,37,64,.045) 1px, transparent 0);
  background-size: 22px 22px;
  background-position: 0 -1px;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--brand); color: var(--surface); }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px;
  background: var(--ink); color: var(--surface);
  padding: 8px 14px; border-radius: 6px;
  z-index: 9999;
}

/* fixed grain overlay (non-interactive) */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 1;
  opacity: .12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.14  0 0 0 0 0.25  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}


/* ───── NAV ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid var(--rule-soft);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.brand-mark {
  color: var(--brand);
  display: inline-flex;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 26px;
  font-size: 14.5px;
}
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 6px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.6,.2,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 6px 18px -8px rgba(10,37,64,.5);
}
.phone-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 26px -10px rgba(10,37,64,.55);
}
.phone-dot {
  width: 7px; height: 7px;
  background: #6fdc8c;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(111,220,140,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(111,220,140,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(111,220,140,.05); }
}
.phone-prompt { color: #94aac8; }
.phone-num { letter-spacing: .01em; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-inner .phone-pill { justify-self: end; }
  .phone-prompt { display: none; }
}


/* ───── HERO ───── */
.hero {
  position: relative;
  z-index: 2;
  padding: 84px 28px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 22px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(30,109,214,.06);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(30,109,214,.18);
}

.hero-h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0 0 26px;
  color: var(--ink);
}
.hero-h1-em {
  font-weight: 600;
  color: var(--brand-deep);
}

.hero-lede {
  max-width: 38ch;
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.6,.2,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 28px -14px rgba(30,109,214,.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 22px 38px -16px rgba(30,109,214,.8);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-2px);
}
.btn-prompt {
  font-family: var(--mono);
  font-weight: 500;
  opacity: .9;
}
.btn-arrow {
  transition: transform .25s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-xl {
  padding: 18px 28px;
  font-size: 17px;
}

.hero-marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero-marks .mark-key {
  color: var(--brand);
  margin-right: 10px;
}

/* terminal */
.hero-term {
  background: linear-gradient(180deg, var(--term-bg) 0%, var(--term-bg-2) 100%);
  border-radius: var(--r-lg);
  color: var(--term-fg);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden;
  transform: rotate(.6deg);
  transition: transform .4s cubic-bezier(.6,.2,.2,1);
}
.hero-term:hover { transform: rotate(0); }

.term-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot-r { background: #ef6f61; }
.term-dot-y { background: #f0c14b; }
.term-dot-g { background: #6fdc8c; }
.term-title {
  margin-left: 14px;
  color: var(--term-mute);
  font-size: 12px;
  letter-spacing: .02em;
}

.term-body {
  padding: 22px 22px 14px;
  display: grid;
  gap: 4px;
}
.term-line {
  margin: 0;
  opacity: 0;
  transform: translateY(4px);
  animation: termIn .55s cubic-bezier(.5,.2,.2,1) forwards;
}
.term-line:nth-child(1) { animation-delay: .15s; }
.term-line:nth-child(2) { animation-delay: .55s; }
.term-line:nth-child(3) { animation-delay: 1.0s; }
.term-line:nth-child(4) { animation-delay: 1.45s; }
.term-line:nth-child(5) { animation-delay: 1.9s; }
.term-line:nth-child(6) { animation-delay: 2.35s; }
.term-line:nth-child(7) { animation-delay: 2.85s; }

@keyframes termIn {
  to { opacity: 1; transform: translateY(0); }
}
.term-prompt { color: var(--accent); margin-right: 6px; }
.term-cmd { color: #b3d4ff; }
.term-out { color: var(--term-mute); }
.term-ok { color: var(--term-ok); }

.term-cursor {
  display: inline-block;
  color: var(--term-ok);
  animation: blink 1.05s steps(1, end) infinite;
  transform: translateY(1px);
}
@keyframes blink {
  50% { opacity: 0; }
}

.term-status {
  border-top: 1px dashed rgba(255,255,255,.07);
  padding: 10px 22px;
  font-size: 11.5px;
  color: var(--term-mute);
  letter-spacing: .02em;
}

/* hero ticker */
.ticker {
  margin-top: 70px;
  padding: 16px 0;
  border-block: 1px solid var(--rule);
  overflow: hidden;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ticker-track {
  display: inline-flex;
  gap: 22px;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
}
.ticker span:nth-child(odd) {
  color: var(--ink);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 56px; }
  .hero-term { transform: rotate(0); }
}


/* ───── SECTION HEADS ───── */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  gap: 14px;
  margin-bottom: 56px;
}
.section-head-alt {
  text-align: center;
  justify-items: center;
}
.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
}
.tag-bracket { color: var(--muted); }
.section-title {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -.018em;
  margin: 0;
  max-width: 18ch;
}
.section-head-alt .section-title { max-width: none; }
.section-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  font-size: 17px;
}


/* ───── SERVICES ───── */
.services {
  position: relative;
  z-index: 2;
  padding: 110px 0 90px;
}

.svc-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.svc {
  grid-column: span 2;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  transition: transform .35s cubic-bezier(.6,.2,.2,1), box-shadow .35s ease, border-color .35s ease;
  isolation: isolate;
  overflow: hidden;
}
.svc::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(30,109,214,.16), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
}
.svc:hover {
  transform: translateY(-4px);
  border-color: rgba(10,37,64,.18);
  box-shadow: var(--shadow-card);
}
.svc:hover::before { opacity: 1; }

.svc-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--ink);
  margin-bottom: 18px;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.svc:hover .svc-icon {
  background: var(--ink);
  color: var(--brand);
  transform: rotate(-4deg);
}
.svc h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.012em;
  margin: 0 0 8px;
}
.svc p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.svc-tag {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: rgba(30,109,214,.12);
  padding: 4px 10px;
  border-radius: 999px;
}
.svc-tag-alt {
  color: var(--brand-2-deep);
  background: rgba(10,37,64,.12);
}

/* feature cards */
.svc-lg {
  grid-column: span 4;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  background:
    radial-gradient(at 100% 0%, rgba(30,109,214,.10), transparent 60%),
    var(--surface);
}
.svc-lg .svc-icon {
  width: 72px; height: 72px;
}
.svc-lg h3 {
  grid-column: 2;
  font-size: 30px;
}
.svc-lg p {
  grid-column: 2;
  font-size: 16px;
  max-width: 48ch;
}
.svc-lg .svc-tag {
  top: 28px; right: 28px;
}

.svc-feat {
  grid-column: span 4;
  background:
    radial-gradient(at 0% 100%, rgba(10,37,64,.10), transparent 55%),
    var(--surface);
}

.svc-footnote {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 28px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--muted);
}
.svc-fn-prompt {
  color: var(--brand);
  margin-right: 8px;
}

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc { grid-column: span 2; }
  .svc-lg, .svc-feat { grid-column: span 4; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc-lg, .svc-feat { grid-column: span 2; }
  .svc-lg { grid-template-columns: 1fr; gap: 12px; }
  .svc-lg h3, .svc-lg p { grid-column: 1; }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc, .svc-lg, .svc-feat { grid-column: 1; }
}


/* ───── HOW IT WORKS ───── */
.how {
  position: relative;
  z-index: 2;
  padding: 90px 0 100px;
  background:
    linear-gradient(180deg, transparent, rgba(10,37,64,.025) 30%, rgba(10,37,64,.025) 70%, transparent);
}

.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 28px; right: 28px;
  top: 56px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--rule) 0 6px, transparent 6px 12px);
}

.step {
  padding: 24px 24px 24px 0;
  border-left: 1px dashed var(--rule);
  padding-left: 24px;
  position: relative;
  transition: transform .35s ease;
}
.step:first-child { border-left: 0; padding-left: 0; }
.step:hover { transform: translateY(-2px); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.step:nth-child(1) .step-num { background: var(--brand); color: #fff; border-color: transparent; }
.step:nth-child(2) .step-num { background: var(--accent); border-color: transparent; }
.step:nth-child(3) .step-num { background: var(--brand-2); color: #fff; border-color: transparent; }
.step:nth-child(4) .step-num { background: var(--ink); color: var(--surface); border-color: transparent; }

.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -.012em;
}
.step p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 14px;
  max-width: 28ch;
}
.step-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .step { border-left: 0; padding-left: 0; padding: 16px 16px 24px 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}


/* ───── ABOUT ───── */
.about {
  position: relative;
  z-index: 2;
  padding: 100px 28px;
}

.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 60px;
  align-items: start;
}

.about-card {
  position: relative;
  padding: 0;
}
.about-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-title {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 14px 0 24px;
}
.about-card p {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 50ch;
}
.about-card em {
  color: var(--brand-deep);
  font-style: italic;
  font-family: var(--display);
  font-weight: 500;
}

.about-stats {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.about-stats > div { display: grid; gap: 4px; }
.about-stats dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-stats dd {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 450;
  color: var(--ink);
}

.about-side {
  display: grid;
  gap: 22px;
}
.about-quote {
  position: relative;
  background: var(--ink);
  color: var(--surface);
  padding: 28px 28px 22px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.quote-mark {
  position: absolute;
  top: -28px; left: 18px;
  font-family: var(--display);
  font-size: 110px;
  line-height: 1;
  color: var(--brand);
  font-style: italic;
}
.about-quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 350;
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 16px;
}
.quote-attr {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--term-mute);
}

.about-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-pills li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
}

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


/* ───── TESTIMONIALS ───── */
.kind {
  position: relative;
  z-index: 2;
  padding: 90px 0 110px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(10,37,64,.08), transparent 60%);
}

.kw-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 20px;
}

.kw {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s ease;
}
.kw::before {
  content: "“";
  position: absolute;
  top: 4px; right: 18px;
  font-family: var(--display);
  font-size: 80px;
  line-height: 1;
  color: var(--rule);
  font-style: italic;
}
.kw:hover { transform: translateY(-3px); }

.kw blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 350;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -.005em;
  color: var(--ink);
}
.kw figcaption {
  display: grid;
  gap: 2px;
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
  margin-top: auto;
}
.kw figcaption strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.005em;
}
.kw figcaption span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.kw-1 { grid-column: span 3; background: linear-gradient(140deg, var(--surface), color-mix(in srgb, var(--brand) 8%, var(--surface))); }
.kw-2 { grid-column: span 3; }
.kw-3 { grid-column: span 2; }
.kw-4 { grid-column: span 2; background: linear-gradient(140deg, var(--surface), color-mix(in srgb, var(--brand-2) 8%, var(--surface))); }
.kw-5 { grid-column: span 2; }
.kw-6 { grid-column: span 6; padding: 32px 36px; background: var(--ink); color: var(--surface); border-color: transparent; }
.kw-6 blockquote { font-size: 28px; color: var(--surface); }
.kw-6 figcaption { border-top-color: rgba(255,255,255,.12); }
.kw-6 figcaption span { color: var(--term-mute); }
.kw-6::before { color: var(--brand); }

@media (max-width: 980px) {
  .kw-grid { grid-template-columns: 1fr 1fr; }
  .kw-1, .kw-2, .kw-3, .kw-4, .kw-5 { grid-column: span 1; }
  .kw-6 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .kw-grid { grid-template-columns: 1fr; }
  .kw { grid-column: 1 !important; }
}


/* ───── CTA ───── */
.cta {
  position: relative;
  z-index: 2;
  padding: 60px 28px 110px;
}
.cta-card {
  max-width: 1080px;
  margin: 0 auto;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(30,109,214,.18), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, rgba(10,37,64,.18), transparent 60%),
    var(--ink);
  color: var(--surface);
  padding: 56px 56px 56px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: .5;
}

.cta-prompt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: .04em;
}
.cta-title {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.cta-title span {
  font-style: italic;
  color: var(--brand);
  font-weight: 400;
}
.cta-sub {
  max-width: 50ch;
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}
.cta .btn-ghost {
  color: var(--surface);
  border-color: rgba(255,255,255,.4);
}
.cta .btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: transparent;
}

.cta-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px dashed rgba(255,255,255,.15);
  padding-top: 26px;
  margin: 0;
}
.cta-meta > div { display: grid; gap: 4px; }
.cta-meta dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--term-mute);
}
.cta-meta dd {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
}

@media (max-width: 720px) {
  .cta-card { padding: 36px 28px; border-radius: var(--r-lg); }
  .cta-meta { grid-template-columns: 1fr; gap: 14px; }
}


/* ───── FOOTER ───── */
.foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule);
  padding: 40px 28px 28px;
  background: rgba(255,255,255,.4);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
}
.foot-logo {
  height: 38px;
  width: auto;
  display: block;
}
.foot-brand .brand-mark { color: var(--brand); }
.foot-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  margin: 0;
}
.foot-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}
.foot-links, .foot-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.foot-links a, .foot-social a {
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.foot-links a:hover, .foot-social a:hover {
  color: var(--brand-deep);
  border-bottom-color: var(--brand);
}
.foot-fine {
  max-width: var(--max);
  margin: 36px auto 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--rule);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-prompt {
  color: var(--brand);
  margin-right: 6px;
}
.foot-fine a {
  border-bottom: 1px solid transparent;
}
.foot-fine a:hover { border-bottom-color: var(--brand); }

@media (max-width: 760px) {
  .foot-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s cubic-bezier(.4,.2,.2,1), transform .8s cubic-bezier(.4,.2,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
