/* Kassef LLC landing page
   Spacing uses only: 2 4 8 12 16 24 32 40 48 64 80 96 px
   Type uses only Tailwind scale steps (size / line height pairs). */

:root {
  --paper: #0b0d12;
  --paper-2: #141721;
  --paper-3: #1e2230;
  --ink: #ece8dd;
  --ink-2: #a59f90;
  --ink-3: #6b6557;
  --ink-muted: rgba(236, 232, 221, 0.28);
  --rule: hsla(44, 28%, 90%, 0.08);
  --rule-strong: hsla(44, 28%, 90%, 0.18);

  --teal: #3cc2b0;
  --teal-hi: #62d4c4;
  --teal-ink: #05211d;
  --teal-soft: rgba(60, 194, 176, 0.12);
  --teal-muted: rgba(60, 194, 176, 0.3);
  --danger: #f2877a;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --container: 1080px;
  --gutter: 24px;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 16px; left: 16px; z-index: 100;
  padding: 8px 12px; border-radius: 6px;
  background: var(--teal); color: var(--teal-ink);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 500ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type helpers ---------- */

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12px; line-height: 16px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
}
.label__num { color: var(--teal); }

.h2 {
  font-family: var(--serif);
  font-size: 48px; line-height: 1;
  letter-spacing: -0.01em;
  margin-top: 16px;
}

.h2 em, .cta-card h2 em { display: inline-block; text-wrap: balance; }

.lead { font-size: 18px; line-height: 28px; color: var(--ink-2); }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 16px; line-height: 24px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color 500ms var(--ease), border-color 500ms var(--ease),
    color 500ms var(--ease), transform 500ms var(--ease);
}
.btn i { transition: transform 500ms var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--teal); color: var(--teal-ink); }
.btn--primary:hover { background: var(--teal-hi); }

.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--paper-3); border-color: var(--ink-3); }

.btn--dark { background: var(--paper); color: var(--ink); }
.btn--dark:hover { background: var(--paper-3); }

.btn--sm { font-size: 14px; line-height: 20px; }

/* ---------- Navigation (fluid island) ---------- */

.nav-wrap {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  margin-top: 24px;
  width: max-content;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 9999px;
  background: rgba(20, 23, 33, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 700ms var(--ease);
}

.brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600;
  font-size: 16px; line-height: 24px;
}
.brand .logo { width: 28px; height: 28px; flex: none; }
.logo__accent { fill: var(--teal); }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: block; padding: 4px 12px; border-radius: 9999px;
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  transition: color 500ms var(--ease), background-color 500ms var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--paper-3); }
.nav__links a[aria-current="true"] { color: var(--teal); background: var(--teal-soft); }

.nav__cta { border-radius: 9999px; }

.burger {
  display: none;
  position: relative; width: 40px; height: 40px;
  border: 1px solid var(--rule-strong); border-radius: 9999px;
  background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.nav-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 24px 48px;
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.nav-open .menu { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }

.menu li { overflow: hidden; }
.menu a {
  display: block; padding: 8px 0;
  font-family: var(--serif); font-size: 36px; line-height: 40px;
  text-decoration: none;
  transform: translateY(48px); opacity: 0;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}
.menu a[aria-current="true"] { color: var(--teal); }
.nav-open .menu a { transform: translateY(0); opacity: 1; }
.nav-open .menu li:nth-child(1) a { transition-delay: 100ms; }
.nav-open .menu li:nth-child(2) a { transition-delay: 150ms; }
.nav-open .menu li:nth-child(3) a { transition-delay: 200ms; }
.nav-open .menu li:nth-child(4) a { transition-delay: 250ms; }
.nav-open .menu li:nth-child(5) a { transition-delay: 300ms; }
.nav-open .menu li:nth-child(6) a { transition-delay: 350ms; }
.menu .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; border-top: 1px solid var(--rule); }
.section--alt { background: var(--paper-2); }
.section__intro { max-width: 680px; }
.section__intro .lead { margin-top: 16px; }
.section__body { margin-top: 48px; }

/* ---------- Hero ---------- */

.hero { padding: 160px 0 96px; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 16px 4px 4px;
  border: 1px solid var(--rule-strong); border-radius: 9999px;
  background: var(--paper-2);
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  color: var(--ink-2);
}
.pill__tag {
  padding: 4px 8px; border-radius: 9999px;
  background: var(--teal); color: var(--teal-ink);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}

.hero h1 {
  margin-top: 32px; max-width: 680px;
  font-family: var(--serif);
  font-size: 72px; line-height: 1;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero h1 em { display: inline-block; padding-right: 4px; }

.hero .lead { margin-top: 24px; max-width: 680px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px;
  font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-2);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof i { color: var(--teal); font-size: 16px; }

/* Floating work cards */
.stack { position: relative; height: 480px; }
.stack__note { position: absolute; right: 0; bottom: -28px; font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: 0.04em; color: var(--ink-3); }
.card-float {
  position: absolute; width: 280px;
  padding: 16px;
  border: 1px solid var(--rule-strong); border-radius: 12px;
  background: var(--paper-2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: drift 7s var(--ease) infinite alternate;
}
.card-float:nth-child(1) { top: 0; left: 0; transform: rotate(-4deg); }
.card-float:nth-child(2) { top: 64px; right: 0; transform: rotate(3deg); animation-delay: -2s; }
.card-float:nth-child(3) { bottom: 32px; left: 24px; transform: rotate(2deg); animation-delay: -4s; }
.card-float:nth-child(4) {
  bottom: 96px; right: 16px; width: 216px; transform: rotate(-5deg); animation-delay: -1s;
  background: var(--teal); color: var(--teal-ink); border-color: transparent;
}
@keyframes drift {
  to { translate: 0 -8px; }
}

.card-float__head { display: flex; align-items: center; gap: 12px; }
.card-float__icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px;
  background: var(--teal-soft); color: var(--teal); font-size: 16px;
}
.card-float__title { font-size: 14px; line-height: 20px; font-weight: 600; }
.card-float__meta { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3); }
.card-float p { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.card-float .chip { margin-top: 12px; }
.card-float:nth-child(4) .card-float__meta,
.card-float:nth-child(4) p { color: var(--teal-ink); }
.card-float:nth-child(4) .card-float__big {
  margin-top: 8px; font-family: var(--serif); font-size: 20px; line-height: 28px;
}

.chip {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  background: var(--paper-3);
  font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-2);
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; background: currentColor; }
.dot--live { color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }

.stat-row { display: flex; gap: 24px; margin-top: 12px; }
.stat-row b { display: block; font-family: var(--serif); font-size: 20px; line-height: 28px; font-weight: 400; color: var(--ink); }
.stat-row span { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3); }

/* ---------- Services accordion ---------- */

.acc { border-bottom: 1px solid var(--rule); }
.acc__item { border-top: 1px solid var(--rule); }
.acc__btn {
  display: grid; grid-template-columns: 48px 1fr auto 24px; align-items: center; gap: 16px;
  width: 100%; padding: 24px 0;
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer;
}
.acc__num { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3); }
.acc__title {
  font-family: var(--serif); font-size: 24px; line-height: 32px;
  transition: color 500ms var(--ease), transform 500ms var(--ease);
}
.acc__btn:hover .acc__title { color: var(--teal); transform: translateX(4px); }
.acc__tags { display: flex; gap: 8px; }
.acc__plus { color: var(--ink-2); font-size: 20px; transition: transform 700ms var(--ease), color 500ms var(--ease); }
.acc__btn[aria-expanded="true"] .acc__plus { transform: rotate(45deg); color: var(--teal); }
.acc__btn[aria-expanded="true"] .acc__num { color: var(--teal); }

.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 700ms var(--ease);
}
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__content {
  padding: 0 0 24px 64px; max-width: 744px;
  color: var(--ink-2);
}
.acc__content ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 16px; }
.acc__content li { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink); }
.acc__content li i { color: var(--teal); margin-top: 2px; }

/* FAQ uses the same accordion with smaller titles */
.acc--faq .acc__btn { grid-template-columns: 1fr 24px; padding: 16px 0; }
.acc--faq .acc__title { font-family: var(--sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.acc--faq .acc__content { padding-left: 0; }

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

.tagline { padding: 160px 0; border-top: 1px solid var(--rule); }
.tagline p {
  max-width: 680px; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-size: 60px; line-height: 1;
  letter-spacing: -0.02em; text-wrap: balance;
}
.tagline .w {
  color: var(--ink-muted);
  transition: color 700ms var(--ease);
}
.tagline .w.is-on { color: var(--ink); }
.tagline em .w { color: var(--teal-muted); }
.tagline em .w.is-on { color: var(--teal); }

/* ---------- Benefits ---------- */

.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit {
  padding: 32px;
  border: 1px solid var(--rule-strong); border-radius: 12px;
  background: var(--paper);
  transition: border-color 700ms var(--ease), transform 700ms var(--ease);
}
.benefit:hover { border-color: var(--teal-muted); transform: translateY(-4px); }
.benefit__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px;
  background: var(--teal-soft); color: var(--teal); font-size: 20px;
}
.benefit h3 { margin-top: 24px; font-family: var(--serif); font-size: 24px; line-height: 32px; }
.benefit p { margin-top: 8px; color: var(--ink-2); }

.statement {
  margin: 16px 0 0; padding: 40px;
  border: 1px solid var(--teal-muted); border-radius: 12px;
  background: var(--paper-3);
}
.statement p {
  max-width: 680px;
  font-family: var(--serif); font-size: 30px; line-height: 36px;
}
.statement footer {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule-strong);
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- Steps ---------- */

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden;
  background: var(--rule-strong);
}
.step { padding: 32px 24px; background: var(--paper-2); }
.step__label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal);
}
.step__label::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); }
.step h3 { margin-top: 24px; font-family: var(--serif); font-size: 24px; line-height: 32px; }
.step p { margin-top: 8px; color: var(--ink-2); }
.step__time { margin-top: 16px; }

/* ---------- Engagement ---------- */

.engage {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden;
}
.engage__left { padding: 32px; background: var(--paper); display: flex; flex-direction: column; }
.engage__right { padding: 32px; background: var(--paper-3); display: flex; flex-direction: column; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--rule-strong); border-radius: 8px; align-self: flex-start; }
.tab {
  padding: 4px 12px; border: 0; border-radius: 4px;
  background: transparent; color: var(--ink-2); cursor: pointer;
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  transition: background-color 500ms var(--ease), color 500ms var(--ease);
}
.tab:hover { color: var(--ink); background: var(--paper-3); }
.tab[aria-selected="true"] { background: var(--teal); color: var(--teal-ink); }

.engage__name { margin-top: 32px; font-family: var(--serif); font-size: 48px; line-height: 1; }
.engage__desc { margin-top: 16px; color: var(--ink-2); max-width: 400px; }
.engage__facts { margin-top: auto; padding-top: 32px; display: grid; gap: 8px; }
.engage__facts div {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 8px; border-top: 1px solid var(--rule);
  font-size: 14px; line-height: 20px;
}
.engage__facts dt { font-family: var(--mono); font-size: 12px; line-height: 20px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.engage__facts dd { margin: 0; text-align: right; }

.included__label { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.included { margin-top: 24px; display: grid; gap: 12px; }
.included li { display: flex; gap: 12px; }
.included i { color: var(--teal); margin-top: 4px; }
.engage__right .btn { margin-top: auto; }
.engage__note { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3); }
.engage__spacer { height: 32px; }

[role="tabpanel"][hidden] { display: none; }
.fade-swap { animation: swap 600ms var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */

.cta-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  padding: 48px;
  border-radius: 16px;
  background: var(--teal); color: var(--teal-ink);
}
.cta-card .label { color: var(--teal-ink); }
.cta-card .label__num { color: var(--teal-ink); opacity: 0.6; }
.cta-card h2 { margin-top: 16px; font-family: var(--serif); font-size: 48px; line-height: 1; }
.cta-card h2 em { color: var(--teal-ink); }
.cta-card .lead { color: var(--teal-ink); opacity: 0.8; margin-top: 16px; }
.next-steps { margin-top: 32px; display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; }
.next-steps b { font-family: var(--mono); font-size: 12px; line-height: 24px; }
.cta-card__mail { margin-top: 32px; font-size: 14px; line-height: 20px; }
.cta-card__mail a { font-weight: 600; text-underline-offset: 4px; }

.form-card {
  padding: 32px; border-radius: 12px;
  background: var(--paper); color: var(--ink);
}
.field + .field { margin-top: 16px; }
.field label { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.field label span { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; margin-top: 8px; padding: 8px 12px;
  border: 1px solid var(--rule-strong); border-radius: 6px;
  background: var(--paper-2); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 24px;
  transition: border-color 500ms var(--ease), background-color 500ms var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--paper-3); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { display: none; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--danger); }
.field__error.is-shown { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row + .field { margin-top: 16px; }
.field-row .field + .field { margin-top: 0; }
.form-card .btn { width: 100%; margin-top: 24px; }
.form-card__note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--ink-3); text-align: center; }
.form-error { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--danger); text-align: center; }

.btn.is-loading { pointer-events: none; color: transparent; position: relative; overflow: hidden; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 12px 25%;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(5, 33, 29, 0.2), rgba(5, 33, 29, 0.5), rgba(5, 33, 29, 0.2));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.form-success { text-align: left; }
.form-success__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 9999px;
  background: var(--teal-soft); color: var(--teal); font-size: 24px;
}
.form-success h3 { margin-top: 24px; font-family: var(--serif); font-size: 30px; line-height: 36px; }
.form-success p { margin-top: 12px; color: var(--ink-2); }
.form-success .btn { width: auto; margin-top: 24px; }

/* ---------- Footer ---------- */

.footer { padding: 64px 0 32px; border-top: 1px solid var(--rule); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer__about p { margin-top: 16px; max-width: 320px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.footer h2 { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { margin-top: 16px; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); text-decoration: none; font-size: 14px; line-height: 20px; transition: color 500ms var(--ease); }
.footer a:hover { color: var(--teal); }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3);
}
.footer__base nav { display: flex; gap: 24px; }
.footer__base a { font-size: 12px; line-height: 16px; }

/* ---------- Simple pages (legal, 404) ---------- */
.btn.nav__back { border-radius: 9999px; }
.footer__base--flush { margin-top: 0; padding-top: 0; border-top: 0; }
.footer__address { margin-top: 16px; font-style: normal; font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--ink-3); }

.page { padding: 160px 0 96px; }
.page h1 { font-family: var(--serif); font-size: 48px; line-height: 1; margin-top: 16px; }
.prose { max-width: 680px; margin-top: 32px; color: var(--ink-2); }
.prose h2 { margin-top: 40px; font-family: var(--serif); font-size: 24px; line-height: 32px; color: var(--ink); }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 24px; list-style: disc; }
.prose a { color: var(--teal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .prose__updated { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-3); }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 96px 24px; }
.notfound__code { font-family: var(--serif); font-size: 128px; line-height: 1; color: var(--teal); }
.notfound h1 { margin-top: 24px; font-family: var(--serif); font-size: 36px; line-height: 40px; }
.notfound p { margin-top: 12px; color: var(--ink-2); }
.notfound .btn { margin-top: 32px; }

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

.reveal {
  opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .nav { gap: 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  .stack { height: 440px; max-width: 520px; }
  .engage, .cta-card, .footer__grid { grid-template-columns: 1fr; }
  .footer__grid { gap: 32px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .hero { padding: 128px 0 64px; }
  .hero h1 { font-size: 48px; line-height: 1; }
  .h2, .cta-card h2, .engage__name { font-size: 36px; line-height: 40px; }
  .section { padding: 64px 0; }
  .tagline { padding: 96px 0; }
  .tagline p { font-size: 36px; line-height: 40px; }
  .statement { padding: 24px; }
  .statement p { font-size: 24px; line-height: 32px; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .acc__btn { grid-template-columns: 32px 1fr 24px; }
  .acc__tags { display: none; }
  .acc__content { padding-left: 48px; }
  .acc__content ul { grid-template-columns: 1fr; }
  .acc__title { font-size: 20px; line-height: 28px; }
  .stack { height: 400px; }
  .card-float { width: 232px; }
  .card-float:nth-child(3) { display: none; }
  .card-float:nth-child(4) { bottom: 16px; width: 200px; }
  .cta-card { padding: 24px; gap: 32px; }
  .form-card { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .field-row .field + .field { margin-top: 16px; }
  .engage__left, .engage__right { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
