/* unignosis - site.css
   Premium light SaaS components: header, full-screen mobile overlay,
   hero, bento grid, sections, footer, refined motion. */

/* =========================================================================
   1. Header / desktop nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 3px rgba(10, 10, 15, 0.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: var(--s-5);
}
.nav__brand img { height: 34px; width: auto; }

.nav__links {
  display: none;
  align-items: center; gap: var(--s-7);
}
.nav__links a {
  position: relative;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--ink-3);
  padding: 8px 0;
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

.nav__cta { display: none; }

@media (min-width: 880px) {
  .nav__links, .nav__cta { display: flex; }
}

/* Hamburger trigger - clean 3-line icon */
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              transform 120ms var(--ease-out);
}
.nav__toggle:hover  { border-color: var(--ink-mute); background: var(--paper-2); }
.nav__toggle:active { transform: scale(0.96); }
.nav__toggle svg { width: 18px; height: 18px; }
@media (min-width: 880px) { .nav__toggle { display: none; } }

/* =========================================================================
   2. Mobile full-screen overlay nav
   ========================================================================= */
.nav-overlay {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 80;
  display: flex; flex-direction: column;
  /* leave room for the sticky brand bar (72px) up top */
  padding-block: 84px calc(env(safe-area-inset-bottom, 0px) + var(--s-6));
  padding-inline: var(--gutter);

  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--ease-apple),
              visibility 0s linear 220ms;

  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms var(--ease-apple),
              visibility 0s linear 0s;
}

/* Brand bar - full-width strip pinned to top, mirrors site-header height */
.nav-overlay__brand {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center;
  height: 72px;
  padding-inline: var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.nav-overlay__brand img { height: 30px; width: auto; display: block; }

.nav-overlay__close {
  position: absolute;
  top: 15px; right: var(--gutter);
  z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              transform 120ms var(--ease-out);
}
.nav-overlay__close:hover  { background: var(--paper-2); border-color: var(--ink-mute); }
.nav-overlay__close:active { transform: scale(0.96); background: var(--paper-2); }
.nav-overlay__close svg { width: 16px; height: 16px; }

/* Primary links - generous tap targets, hairline rules */
.nav-overlay__links {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.nav-overlay__links li {
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 360ms var(--ease-out-expo),
              transform 360ms var(--ease-out-expo);
}
.nav-overlay.is-open .nav-overlay__links li { opacity: 1; transform: translateY(0); }
.nav-overlay.is-open .nav-overlay__links li:nth-child(1) { transition-delay:  60ms; }
.nav-overlay.is-open .nav-overlay__links li:nth-child(2) { transition-delay: 120ms; }
.nav-overlay.is-open .nav-overlay__links li:nth-child(3) { transition-delay: 180ms; }
.nav-overlay.is-open .nav-overlay__links li:nth-child(4) { transition-delay: 240ms; }
.nav-overlay.is-open .nav-overlay__links li:nth-child(5) { transition-delay: 300ms; }

.nav-overlay__links a {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding: 18px 0;
  min-height: 60px;
  font-size: clamp(1.5rem, 4vw + 0.5rem, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast) var(--ease-out);
}
.nav-overlay__links a::after {
  content: "→";
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-mute);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.nav-overlay__links a:hover::after,
.nav-overlay__links a:active::after,
.nav-overlay__links a:focus-visible::after {
  background: var(--orange);
  color: var(--paper);
  transform: translateX(2px);
}

/* Disciplines - small mono label + flex-wrapped pills */
.nav-overlay__chips {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms var(--ease-out-expo) 320ms,
              transform 480ms var(--ease-out-expo) 320ms;
}
.nav-overlay.is-open .nav-overlay__chips { opacity: 1; transform: translateY(0); }
.nav-overlay__chips::before {
  content: "Disciplines";
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
}
.nav-overlay__chips span {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--ink-3);
  background: var(--paper);
  white-space: nowrap;
}

/* CTA - full-width primary, anchored to bottom with safe-area inset */
.nav-overlay__cta {
  margin-top: auto;
  padding-top: var(--s-7);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms var(--ease-out-expo) 380ms,
              transform 480ms var(--ease-out-expo) 380ms;
}
.nav-overlay.is-open .nav-overlay__cta { opacity: 1; transform: translateY(0); }
.nav-overlay__cta .btn { width: 100%; justify-content: center; height: 56px; }
.nav-overlay__cta::after {
  content: "Twenty minutes to walk through your curriculum";
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  line-height: 1.4;
}

body.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .nav-overlay,
  .nav-overlay * {
    transition-duration: 80ms !important;
    transform: none !important;
  }
}

/* =========================================================================
   3. Buttons - pill, weight 500, layered shadow
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  height: 44px;
  padding: 0 22px;
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.btn svg { width: 14px; height: 14px; }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--orange);
  color: var(--paper);
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  background: var(--orange-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-button-hover);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

.btn-dark {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-dark:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}

.btn-lg { height: 52px; padding: 0 26px; font-size: var(--fs-16); }

/* =========================================================================
   4. Hero - single-column, centred, editorial-light
   ========================================================================= */
.hero {
  position: relative;
  padding-block: clamp(96px, 11vw, 144px) clamp(48px, 6vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
/* Home has no eyebrow or badge above its h1, unlike About and Services, so it
   needs less lead-in above the headline. */
.hero--plain { padding-block-start: clamp(72px, 8.5vw, 112px); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(245, 130, 32, 0.10) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  line-height: 1.04;
  margin-bottom: var(--s-5);
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--orange); }
.hero__lede {
  font-size: var(--fs-lead);
  color: var(--ink-3);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-7);
}

/* Hero visual - product mock card with layered shadow */
.hero__visual {
  margin-top: clamp(48px, 6vw, 80px);
  padding: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  max-width: 1040px;
  margin-inline: auto;
}
.terminal {
  background: linear-gradient(180deg, #14161A 0%, #0F1115 100%);
  color: #E8E9EE;
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid #21232A;
}
.terminal__bar {
  display: flex; align-items: center; gap: var(--s-2);
  padding: 12px 16px;
  background: linear-gradient(180deg, #1A1C22, #15171C);
  border-bottom: 1px solid #21232A;
}
.terminal__dots { display: inline-flex; gap: 7px; }
.terminal__dots span { width: 12px; height: 12px; border-radius: 50%; background: #3A3D45; }
.terminal__dots span:nth-child(1) { background: #FF5F57; }
.terminal__dots span:nth-child(2) { background: #FEBC2E; }
.terminal__dots span:nth-child(3) { background: #28C840; }
.terminal__title { flex: 1; text-align: center; font-size: 11px; color: #767982; letter-spacing: 0.02em; }
.terminal__tabs {
  display: flex; gap: 1px;
  background: #15171C;
  border-bottom: 1px solid #21232A;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.terminal__tabs::-webkit-scrollbar { display: none; }
.terminal__tab {
  padding: 11px 14px;
  font-size: 11px;
  color: #767982;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.terminal__tab:hover { color: #B5B7BD; }
.terminal__tab.is-active { color: #F4F2EE; border-bottom-color: var(--orange); }
.terminal__body { padding: 22px 24px; min-height: 260px; line-height: 1.65; }
.terminal__line { display: block; white-space: pre; }
.terminal__prompt { color: var(--orange); }
.terminal__path   { color: #6EC2FF; }
.terminal__comment{ color: #767982; }
.terminal__str    { color: #A8E08B; }
.terminal__kw     { color: #FFB672; }
.terminal__cursor {
  display: inline-block; width: 8px; height: 16px; vertical-align: -3px;
  background: var(--orange);
  margin-left: 2px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================================
   5. Section header
   ========================================================================= */
.section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .eyebrow { display: inline-block; margin-bottom: var(--s-4); }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { font-size: var(--fs-lead); color: var(--ink-3); }

/* =========================================================================
   6. Value strip - three short value props
   ========================================================================= */
.values {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  display: flex; flex-direction: column;
  padding: var(--s-7) 0;
  border-top: 1px solid var(--hairline);
}
.value__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--orange-50);
  color: var(--orange-700);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-4);
}
.value__icon svg { width: 18px; height: 18px; }
.value h3 {
  font-size: var(--fs-20);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.value p { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.6; }

/* =========================================================================
   7. Bento grid - capability cards, asymmetric
   ========================================================================= */
.bento {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
  .bento > .bento-card { grid-column: span 3; }
  .bento > .bento-card.bento--lg { grid-column: span 4; grid-row: span 2; }
  .bento > .bento-card.bento--md { grid-column: span 2; }
  .bento > .bento-card.bento--sm { grid-column: span 2; }
}

.bento-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s-7);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--hairline-2);
}
.bento-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--orange-50);
  color: var(--orange-700);
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
}
.bento-card__icon svg { width: 22px; height: 22px; }
.bento-card h3 {
  font-size: var(--fs-20);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.bento-card p {
  font-size: var(--fs-14);
  color: var(--ink-3);
  line-height: 1.6;
}
.bento-card.bento--dark {
  background: linear-gradient(180deg, #14161A 0%, #0A0A0F 100%);
  color: var(--on-ink);
  border-color: #1F2024;
}
.bento-card.bento--dark h3 { color: var(--paper); }
.bento-card.bento--dark p  { color: var(--on-ink-mute); }
.bento-card.bento--dark .bento-card__icon {
  background: rgba(245, 130, 32, 0.16);
  color: var(--orange);
}

/* Compact bento card mono label */
.bento-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.bento-card.bento--dark .bento-card__label { color: var(--orange); }

/* Bento card mini-terminal demo (fills tall dark cards) */
.bento-card .demo {
  margin-top: var(--s-6);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 12.5px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.bento-card .demo__bar {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bento-card .demo__dots { display: inline-flex; gap: 5px; }
.bento-card .demo__dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.bento-card .demo__dots span:nth-child(1) { background: #FF5F57; }
.bento-card .demo__dots span:nth-child(2) { background: #FEBC2E; }
.bento-card .demo__dots span:nth-child(3) { background: #28C840; }
.bento-card .demo__title {
  font-size: 10.5px;
  color: rgba(244, 242, 238, 0.42);
  letter-spacing: 0.04em;
}
.bento-card .demo__body {
  padding: 14px 16px;
  display: grid; gap: 6px;
  line-height: 1.55;
  color: #D8D9DE;
}
.bento-card .demo__line { display: block; white-space: pre-wrap; word-break: break-all; }
.bento-card .demo__prompt { color: var(--orange); margin-right: 6px; }
.bento-card .demo__c  { color: #FFB672; }
.bento-card .demo__ok { color: #A8E08B; }
.bento-card .demo__caret {
  display: inline-block;
  width: 7px; height: 13px;
  vertical-align: -2px;
  margin-left: 4px;
  background: var(--orange);
  animation: blink 1.1s steps(2) infinite;
}

/* Bento card stats row (filler at bottom of tall dark cards) */
.bento-card__stats {
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bento-card__stats > div {
  display: flex; flex-direction: column; gap: 2px;
}
.bento-card__stats strong {
  font-family: var(--font-ui);
  font-size: var(--fs-17);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--paper);
}
.bento-card__stats span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.46);
}
@media (max-width: 520px) {
  .bento-card__stats { grid-template-columns: 1fr; gap: var(--s-2); }
}

/* =========================================================================
   8. Differentiator (with vs without)
   ========================================================================= */
.diff {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .diff { grid-template-columns: 1fr 1fr; } }
.diff-card {
  padding: var(--s-7);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.diff-card.is-positive {
  border-color: var(--orange);
  background: linear-gradient(180deg, var(--orange-50) 0%, var(--paper) 100%);
}
.diff-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  font-weight: 500;
  color: var(--ink-mute);
}
.diff-card.is-positive .diff-card__label { color: var(--orange-700); }
.diff-card h3 {
  font-size: var(--fs-20);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-4);
  color: var(--ink);
}
.diff-card ul {
  display: grid; gap: var(--s-3);
  font-size: var(--fs-14);
  color: var(--ink-3);
}
.diff-card ul li {
  display: flex; gap: var(--s-2); align-items: flex-start;
  line-height: 1.55;
}
.diff-card ul li::before {
  content: "\00d7";
  color: var(--ink-mute);
  flex: none;
}
.diff-card.is-positive ul li::before { content: "✓"; color: var(--orange); font-weight: 600; }

/* =========================================================================
   9. Domain pills (kept simple)
   ========================================================================= */
.domains {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  justify-content: center;
}
.domain-pill {
  padding: 8px 16px;
  font-size: var(--fs-14);
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  transition: all var(--t-fast) var(--ease-out);
}
.domain-pill:hover {
  border-color: var(--orange);
  color: var(--orange-700);
  background: var(--orange-50);
}

/* =========================================================================
   10. Steps - how it works
   ========================================================================= */
.steps {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: var(--s-7);
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--hairline-2);
}
.step__n {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.step h3 {
  font-size: var(--fs-20);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.step p { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.6; }

/* =========================================================================
   11. Final CTA band (dark)
   ========================================================================= */
.cta-band {
  background: linear-gradient(180deg, #14161A 0%, #0A0A0F 100%);
  color: var(--on-ink);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(245, 130, 32, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  color: var(--paper);
  margin-bottom: var(--s-4);
  letter-spacing: -0.022em;
}
.cta-band p {
  color: var(--on-ink-mute);
  font-size: var(--fs-lead);
  max-width: 560px; margin-inline: auto;
  margin-bottom: var(--s-7);
}

/* =========================================================================
   12. About - team
   ========================================================================= */
.team {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  text-align: center;
  padding: var(--s-7);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--hairline-2);
}
.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: var(--paper);
  font-weight: 500;
  font-size: 1.375rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.28);
}
.team-card h3 {
  font-size: var(--fs-16);
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}
.team-card .role {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--orange-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.team-card p { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.55; }

.affiliation {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .affiliation { grid-template-columns: repeat(4, 1fr); } }
.affiliation__item {
  padding: var(--s-5);
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  transition: border-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.affiliation__item:hover { border-color: var(--hairline-2); transform: translateY(-1px); }
.affiliation__item .stat { font-size: var(--fs-16); font-weight: 500; margin-bottom: var(--s-1); color: var(--ink); }
.affiliation__item p  { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.55; }

/* =========================================================================
   13. Services - domain detail cards
   ========================================================================= */
.service {
  display: grid; gap: var(--s-7);
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
@media (min-width: 800px) {
  .service { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .service:nth-child(even) > .service__media { order: 2; }
}
.service:hover { box-shadow: var(--shadow-2); border-color: var(--hairline-2); transform: translateY(-2px); }
.service__code {
  display: block;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
  white-space: normal;
}
.service__media {
  background: linear-gradient(180deg, #FBFAF6 0%, #F4F2EB 100%);
  color: var(--ink-3);
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  padding: var(--s-5);
  text-align: left;
}
.service__icon {
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--paper);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-button);
}
.service__icon svg { width: 24px; height: 24px; }
.service h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.service p { font-size: var(--fs-16); color: var(--ink-3); margin-bottom: var(--s-5); }
.service ul { display: grid; gap: var(--s-2); font-size: var(--fs-14); }
.service ul li {
  display: flex; align-items: flex-start; gap: var(--s-2);
  color: var(--ink-2);
}
.service ul li::before {
  content: ""; flex: none;
  width: 6px; height: 6px; margin-top: 9px;
  background: var(--orange); border-radius: 50%;
}

/* =========================================================================
   14. FAQ accordion
   ========================================================================= */
.faq {
  display: grid; gap: var(--s-2);
  max-width: 820px; margin-inline: auto;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-6);
  transition: border-color var(--t-fast) var(--ease-out);
}
.faq details:hover { border-color: var(--hairline-2); }
.faq details[open] {
  border-color: var(--hairline-2);
  box-shadow: var(--shadow-1);
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: var(--fs-16);
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform var(--t-med) var(--ease-out);
  flex: none; font-weight: 400;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding-top: var(--s-3);
  font-size: var(--fs-14);
  color: var(--ink-3);
  line-height: 1.7;
}

/* =========================================================================
   15. Contact page - Linear/Cal pattern, single primary card
   ========================================================================= */
.contact-page {
  position: relative;
  padding-block: clamp(96px, 11vw, 144px) clamp(64px, 8vw, 112px);
  overflow: hidden;
  isolation: isolate;
}
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(245, 130, 32, 0.10) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.contact-hero {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s-8);
}
.contact-hero h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: var(--s-4);
}
.contact-hero p {
  font-size: var(--fs-lead);
  color: var(--ink-3);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.55;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 48px);
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  box-shadow: var(--shadow-2);
}
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--orange-50);
  color: var(--orange-700);
  border-radius: var(--r-md);
  margin: 0 auto var(--s-5);
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card h2 {
  font-size: var(--fs-24);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.contact-card p {
  color: var(--ink-3);
  font-size: var(--fs-15, var(--fs-14));
  margin-bottom: var(--s-6);
  line-height: 1.6;
}
.contact-card .btn { width: 100%; max-width: 320px; }

/* =========================================================================
   15a. Contact form - extends .contact-card pattern
   ========================================================================= */
.contact-card--form {
  max-width: 640px;
}
.contact-card--form .contact-form { margin-top: var(--s-6); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  text-align: left;
}
.contact-form__row {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.contact-form__optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  font-weight: 400;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-ui);
  font-size: var(--fs-15, var(--fs-14));
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink-soft);
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(10, 10, 15, 0.22);
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.18);
}
.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: rgba(184, 53, 26, 0.55);
}
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

/* Honeypot - invisible to humans, bots fill it in and we reject */
.contact-form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit reuses .btn .btn-primary .btn-lg - only adds spinner mechanics */
.contact-form__submit {
  width: 100%;
  margin-top: var(--s-2);
}
.contact-form__submit-arrow {
  width: 14px; height: 14px;
  transition: transform var(--t-fast) var(--ease-out);
}
.contact-form__submit:hover .contact-form__submit-arrow {
  transform: translateX(3px);
}
.contact-form__submit-spinner {
  width: 16px; height: 16px;
  display: none;
  animation: contact-spin 0.8s linear infinite;
}
@keyframes contact-spin { to { transform: rotate(360deg); } }
.contact-form__submit.is-loading .contact-form__submit-arrow { display: none; }
.contact-form__submit.is-loading .contact-form__submit-spinner { display: inline-block; }
.contact-form__submit[disabled] { cursor: progress; opacity: 0.85; }

/* Status row */
.contact-form__status {
  margin: 0;
  min-height: 0;
  font-size: var(--fs-14);
  line-height: 1.5;
}
.contact-form__status:empty { display: none; }
.contact-form__status.is-error {
  color: #b8351a;
  background: rgba(184, 53, 26, 0.06);
  border: 1px solid rgba(184, 53, 26, 0.18);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-align: left;
}

/* Success state - replaces form inside the same card */
.contact-form__success {
  display: none;
  padding-block: var(--s-4) var(--s-2);
}
.contact-form__success-tick {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-4);
  animation: contact-tick-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.contact-form__success-tick svg {
  width: 28px; height: 28px;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: contact-tick-draw 0.4s 0.2s ease forwards;
}
@keyframes contact-tick-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes contact-tick-draw {
  to { stroke-dashoffset: 0; }
}
.contact-form__success h3 {
  font-size: var(--fs-24);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.contact-form__success p {
  color: var(--ink-3);
  font-size: var(--fs-15, var(--fs-14));
  line-height: 1.6;
  max-width: 420px;
  margin-inline: auto;
}
.contact-form__success a {
  color: var(--orange-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card--form.is-sent .contact-form,
.contact-card--form.is-sent > h2,
.contact-card--form.is-sent > p,
.contact-card--form.is-sent > .contact-card__icon {
  display: none;
}
.contact-card--form.is-sent .contact-form__success {
  display: block;
  animation: contact-fade-in 0.4s ease both;
}
@keyframes contact-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form__submit-arrow,
  .contact-form__submit:hover .contact-form__submit-arrow,
  .contact-form__success-tick,
  .contact-form__success-tick svg,
  .contact-card--form.is-sent .contact-form__success {
    animation: none;
    transition: none;
  }
}

.contact-aux {
  margin-top: var(--s-7);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-aux a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.contact-aux a:hover { color: var(--orange-700); }

/* What to expect - three numbered steps below the card */
.expect {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin-inline: auto;
}
@media (min-width: 800px) { .expect { grid-template-columns: repeat(3, 1fr); } }
.expect__item {
  padding: var(--s-7);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.expect__num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.expect__item h4 {
  font-size: var(--fs-20);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.expect__item p { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.6; }

/* =========================================================================
   16. Privacy / prose page
   ========================================================================= */
.prose {
  max-width: var(--container-prose);
  margin-inline: auto;
}
.prose h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: var(--s-3);
}
.prose .meta {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--ink-mute);
  margin-bottom: var(--s-9);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--hairline);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prose h2 {
  font-size: var(--fs-h2);
  margin-top: var(--s-9);
  margin-bottom: var(--s-3);
}
.prose p, .prose li {
  font-size: var(--fs-16);
  color: var(--ink-2);
  line-height: 1.7;
}
/* Consecutive paragraphs had no separation: spacing only ever came from a
   following h2 or ul, so two <p> in a row ran together as one block. */
.prose p { margin-bottom: var(--s-4); }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol {
  padding-left: var(--s-5);
  margin-block: var(--s-3);
  list-style: disc;
}
.prose ul li, .prose ol li { margin-bottom: var(--s-2); }
.prose a {
  color: var(--orange-700);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.prose a:hover { color: var(--orange-2); }

/* Inline links inside body copy.
   base.css sets `a { color: inherit; text-decoration: none }`, so contextual
   links written into paragraphs were rendering as plain text. This gives them
   the same treatment as .prose a. */
.section-head p a:not(.btn),
.container-narrow p a:not(.btn),
.hero__lede a:not(.btn),
.faq div a:not(.btn),
.diff-card li a:not(.btn),
.bento-card p a:not(.btn),
.service p a:not(.btn),
.value p a:not(.btn) {
  color: var(--orange-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--t-fast) var(--ease-out);
}
.section-head p a:not(.btn):hover,
.container-narrow p a:not(.btn):hover,
.hero__lede a:not(.btn):hover,
.faq div a:not(.btn):hover,
.diff-card li a:not(.btn):hover,
.bento-card p a:not(.btn):hover,
.service p a:not(.btn):hover,
.value p a:not(.btn):hover { color: var(--orange-2); }

/* Same idea on the dark footer, where orange-700 would be unreadable. */
.footer-brand p a:not(.btn) {
  color: var(--on-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--t-fast) var(--ease-out);
}
.footer-brand p a:not(.btn):hover { color: var(--orange); }

/* =========================================================================
   17. Footer
   ========================================================================= */
.site-footer {
  background: linear-gradient(180deg, #14161A 0%, #0A0A0F 100%);
  color: var(--on-ink-mute);
  font-size: var(--fs-14);
  padding: clamp(64px, 8vw, 112px) 0 var(--s-7);
}
.site-footer__top {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  grid-template-columns: 1fr;
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--hairline-d);
}
@media (min-width: 800px) {
  .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.footer-brand img { height: 34px; margin-bottom: var(--s-4); filter: brightness(0) invert(1); }
.footer-brand p {
  color: var(--on-ink-mute);
  max-width: 36ch;
  line-height: 1.65;
}
.footer-tagline {
  display: inline-block;
  margin-top: var(--s-4);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245, 130, 32, 0.08);
  border: 1px solid rgba(245, 130, 32, 0.22);
  border-radius: var(--r-pill);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: var(--s-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col a {
  color: var(--on-ink-mute);
  font-size: var(--fs-14);
  transition: color var(--t-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--paper); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-6);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: rgba(244, 242, 238, 0.46);
  letter-spacing: 0.02em;
}

/* =========================================================================
   18. Reveal animations - single, clean curve
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-reveal) var(--ease-out-expo),
              transform var(--t-reveal) var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.reveal-group > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 640ms var(--ease-out-expo),
              transform 640ms var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal-group.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-in > *:nth-child(1) { transition-delay:  60ms; }
.reveal-group.is-in > *:nth-child(2) { transition-delay: 140ms; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: 220ms; }
.reveal-group.is-in > *:nth-child(4) { transition-delay: 300ms; }
.reveal-group.is-in > *:nth-child(5) { transition-delay: 380ms; }
.reveal-group.is-in > *:nth-child(6) { transition-delay: 460ms; }

/* =========================================================================
   19. Utilities
   ========================================================================= */
.text-center { text-align: center; }
.bg-paper-2  { background: var(--paper-2); }
.bg-ink      { background: var(--ink); color: var(--on-ink); }
.muted       { color: var(--ink-3); }
