/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --bg: #fbf8f3;
  --bg-tint: #f3eee6;
  --surface: #ffffff;
  --ink: #0e1510;
  --ink-2: #48524b;
  --ink-3: #6b746e;
  --line: rgba(14, 21, 16, 0.1);
  --line-strong: rgba(14, 21, 16, 0.18);
  --track: rgba(14, 21, 16, 0.08);

  --brand: #50ba5d;
  --brand-bright: #6ed87b;
  --brand-ink: #1e7a31;
  --brand-soft: #e2f4e4;

  --deep: #0f2a16;
  --deep-2: #163a20;
  --deep-ink: #eaf6ec;
  --deep-ink-2: #b4cdb9;

  --c-env: #3aa850;
  --c-hr: #e2614b;
  --c-ani: #e09a2a;
  --c-res: #4a7bd6;

  --shadow: 0 1px 2px rgba(14, 21, 16, 0.04), 0 16px 40px -16px rgba(14, 21, 16, 0.18);
  --shadow-lg: 0 2px 4px rgba(14, 21, 16, 0.04), 0 32px 64px -24px rgba(14, 21, 16, 0.28);
  --radius: 22px;
  --radius-sm: 12px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b110d;
    --bg-tint: #101813;
    --surface: #141d17;
    --ink: #ecf2ed;
    --ink-2: #aeb9b1;
    --ink-3: #8a958d;
    --line: rgba(236, 242, 237, 0.1);
    --line-strong: rgba(236, 242, 237, 0.2);
    --track: rgba(236, 242, 237, 0.1);

    --brand-ink: #7ee08a;
    --brand-soft: rgba(110, 216, 123, 0.12);

    --deep: #12301b;
    --deep-2: #1a4226;

    --c-env: #4cc463;
    --c-hr: #f07a64;
    --c-ani: #f0ae47;
    --c-res: #6e98ec;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 32px 64px -24px rgba(0, 0, 0, 0.7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--brand-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }

.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--brand-ink); color: #fff; }

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

.btn--bright { background: var(--brand-bright); color: #0b1f10; }
.btn--bright:hover { background: #8be596; box-shadow: 0 0 0 6px rgba(110, 216, 123, 0.18); }

.btn--outline-light { border-color: rgba(234, 246, 236, 0.35); color: var(--deep-ink); background: transparent; }
.btn--outline-light:hover { border-color: var(--deep-ink); }

@media (prefers-color-scheme: dark) {
  .btn--primary { background: var(--brand-bright); color: #0b1f10; }
  .btn--primary:hover { background: #8be596; color: #0b1f10; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__logo { width: 32px; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__name span { color: var(--brand-ink); }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-tint); }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-header__inner > .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(110, 216, 123, 0.28), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(224, 154, 42, 0.12), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
}
.pill__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: ping 2.4s ease-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-ink);
}

.hero__lead {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: clamp(1.075rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.925rem;
  font-weight: 500;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--brand); width: 18px; height: 18px; stroke-width: 2.5; }

.hero__copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.hero__copy > :nth-child(3) { animation-delay: 0.12s; }
.hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.hero__copy > :nth-child(5) { animation-delay: 0.24s; }
.hero .blend { animation: rise 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero .blend { max-width: 560px; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Blend card ---------- */
.blend {
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-lg);
}
.blend__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.blend__head .eyebrow { margin-bottom: 4px; }
.blend__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.seg {
  display: inline-flex;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-tint);
}
.seg label { position: relative; }
.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.seg input:checked + span {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(14, 21, 16, 0.12);
}
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 1px; }

.amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: text;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.amount:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(80, 186, 93, 0.18); }
.amount__currency { color: var(--ink-3); font-weight: 600; }
.amount__input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.amount__input::-webkit-outer-spin-button,
.amount__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount__freq { color: var(--ink-3); font-size: 0.95rem; white-space: nowrap; }

.bar {
  display: flex;
  gap: 3px;
  height: 14px;
  margin-top: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--track);
}
.bar__seg {
  width: 0;
  background: var(--c);
  transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cause--env { --c: var(--c-env); }
.cause--hr  { --c: var(--c-hr); }
.cause--ani { --c: var(--c-ani); }
.cause--res { --c: var(--c-res); }

.causes {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.cause {
  padding: 10px 0 2px;
  border-top: 1px solid var(--line);
  transition: opacity 0.2s;
}
.cause:first-child { border-top: 0; }
.cause__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cause__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
}
.cause__toggle input {
  position: absolute;
  opacity: 0;
  width: 20px; height: 20px;
  margin: 0;
  cursor: pointer;
}
.cause__check {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border: 2px solid var(--c);
  border-radius: 6px;
  transition: background-color 0.15s;
}
.cause__check::after {
  content: "";
  width: 10px; height: 6px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s;
}
.cause__toggle input:checked + .cause__check { background: var(--c); }
.cause__toggle input:checked + .cause__check::after { transform: rotate(-45deg) scale(1); }
.cause__toggle input:focus-visible + .cause__check { outline: 3px solid var(--brand); outline-offset: 2px; }

.cause__share {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.cause__share strong { font-size: 0.95rem; }
.cause__share span { min-width: 6.5em; color: var(--ink-3); font-size: 0.875rem; text-align: right; }

.cause.is-off .cause__name,
.cause.is-off .cause__share,
.cause.is-off .slider { opacity: 0.4; }

/* Range slider */
.slider {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 28px;
  margin: 2px 0 0;
  background: transparent;
  cursor: pointer;
}
.slider:disabled { cursor: not-allowed; }
.slider:focus { outline: none; }
.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--c) var(--fill), var(--track) var(--fill));
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -8px;
  border: 3px solid var(--c);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(14, 21, 16, 0.2);
  transition: transform 0.15s;
}
.slider:active::-webkit-slider-thumb { transform: scale(1.15); }
.slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent); }
.slider::-moz-range-track { height: 6px; border-radius: 999px; background: var(--track); }
.slider::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--c); }
.slider::-moz-range-thumb {
  width: 16px; height: 16px;
  border: 3px solid var(--c);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(14, 21, 16, 0.2);
}
.slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent); }

.blend__summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.blend__summary strong { color: var(--brand-ink); }
.blend__note {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  text-align: center;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--bg-tint); }

.section__head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 28px 24px 30px;
}
.step__num {
  position: absolute;
  top: 22px; right: 24px;
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step__icon {
  width: 48px; height: 48px;
  padding: 12px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.step h3 { margin-bottom: 10px; font-size: 1.125rem; font-weight: 650; }
.step p { color: var(--ink-2); font-size: 0.95rem; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* Tabs */
.tabs {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.tabs__btn {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"] { background: var(--ink); color: var(--bg); }
@media (prefers-color-scheme: dark) {
  .tabs__btn[aria-selected="true"] { background: var(--brand-bright); color: #0b1f10; }
}

/* Without JS both panels show stacked; the tab bar is only useful with JS. */
@media (scripting: none) {
  .tabs { display: none; }
  .panel + .panel { margin-top: 48px; }
}

.panel:focus-visible { outline-offset: 8px; }
.panel[hidden] { display: none; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature { padding: 30px 28px; }
.feature h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.feature > p { color: var(--ink-2); font-size: 0.975rem; }

.checks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: rotate(-45deg);
}

.panel__cta { margin-top: 32px; }

@media (max-width: 900px) {
  .features { grid-template-columns: minmax(0, 1fr); }
}

/* Contact CTA */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(36px, 6vw, 72px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(110, 216, 123, 0.22), transparent 55%),
    linear-gradient(160deg, var(--deep-2), var(--deep));
  color: var(--deep-ink);
  overflow: hidden;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.cta__copy p:last-child {
  max-width: 34rem;
  margin-top: 18px;
  color: var(--deep-ink-2);
  font-size: 1.075rem;
}
.cta__email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep-ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  word-break: break-all;
  border-bottom: 2px solid rgba(110, 216, 123, 0.5);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.cta__email:hover { border-color: var(--brand-bright); }
.cta__email .icon { color: var(--brand-bright); width: 1em; height: 1em; }
.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cta__status {
  min-height: 1.5em;
  margin-top: 12px;
  color: var(--brand-bright);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .cta { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.site-footer__brand p { max-width: 24rem; margin-top: 14px; }
.site-footer__brand .brand { color: var(--ink); }
.site-footer h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer__col p + p { margin-top: 6px; }
.site-footer a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); text-decoration-color: currentColor; }

.socials { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.socials a:hover { color: var(--ink); border-color: var(--line-strong); background: var(--bg-tint); }
.socials .icon { width: 18px; height: 18px; }

.site-footer__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 64px 0;
  text-align: center;
}
.notfound h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.notfound p { margin: 16px auto 32px; max-width: 28rem; color: var(--ink-2); }

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ping {
  0%   { opacity: 0.7; transform: scale(0.6); }
  80%, 100% { opacity: 0; transform: scale(1.6); }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  .steps .reveal:nth-child(2) { transition-delay: 0.06s; }
  .steps .reveal:nth-child(3) { transition-delay: 0.12s; }
  .steps .reveal:nth-child(4) { transition-delay: 0.18s; }
}

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