/* ==========================================================================
   rafaanrg.web.id — v2
   Monochrome. Geist + Geist Mono (numerals and labels only).
   Depth comes from grain, motion and scale, not from colour.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geistmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- tokens ------------------------------------------------------------- */

:root {
  --bg: #000000;
  --surface-1: #0d0d0d;
  --surface-2: #151515;
  --surface-3: #1e1e1e;
  --surface-4: #2a2a2a;

  --text: #ffffff;
  --text-muted: #9b9b9b;
  --text-faint: #7a7a7a;

  --live: #7fe3a1;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;
  --s-1000: 128px;

  --r-base: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-4xl: 32px;
  --r-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1160px;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* --- reset -------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: #ffffff;
  color: #000000;
}

/* film grain: ~300 bytes of SVG turbulence, no image request */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- text styles -------------------------------------------------------- */

.heading-1,
.heading-2,
.heading-3,
.heading-4,
.heading-5,
.title-1,
.title-2,
.title-3,
.body-1,
.body-2,
.body-3,
.body-4,
.body-5,
.body-6,
.caption-1,
.caption-2,
.caption-3,
.caption-4 {
  margin: 0;
}
.heading-1 {
  font-size: 60px;
  line-height: 64px;
  font-weight: 500;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.heading-2 {
  font-size: 60px;
  line-height: 60px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.heading-3 {
  font-size: 48px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.heading-4 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.heading-5 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.title-1 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}
.title-2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.title-3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.body-1 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.body-2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.body-3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  text-wrap: pretty;
}
.body-4 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.body-5 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.body-6 {
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  text-wrap: pretty;
}
.button-md {
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
}
.button-sm {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.caption-1 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.caption-2 {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}
.caption-3 {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.caption-4 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--text-muted);
}
.faint {
  color: var(--text-faint);
}

/* --- layout ------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--s-400);
}
section {
  padding-block: var(--s-1000);
  position: relative;
  z-index: 2;
}
section[id] {
  scroll-margin-top: 120px;
}
.skip {
  position: absolute;
  left: var(--s-200);
  top: -120px;
  z-index: 100;
  background: var(--text);
  color: #000;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-lg);
  transition: top 200ms var(--ease);
}
.skip:focus {
  top: var(--s-200);
}
:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 4px;
  border-radius: var(--r-base);
}

/* --- scroll progress ---------------------------------------------------- */

.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 1.5px;
  z-index: 60;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

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

.nav-wrap {
  position: fixed;
  inset-inline: 0;
  top: var(--s-300);
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-inline: var(--s-300);
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s-200);
  background: rgba(10, 10, 10, 0.7);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300);
  transition: background-color 500ms var(--ease), border-color 500ms var(--ease);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__brand i {
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(127, 227, 161, 0.14);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-25);
}
.nav__link {
  position: relative;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-faint);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav__link:hover {
  color: var(--text);
}
.nav__link[data-active="true"] {
  color: var(--text);
  background: var(--surface-3);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
  border: 0;
  border-radius: var(--r-full);
  cursor: pointer;
  position: relative;
}
.nav__toggle svg {
  position: absolute;
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}
.nav__toggle .i-close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
}
.nav__toggle[aria-expanded="true"] .i-open {
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
}
.nav__toggle[aria-expanded="true"] .i-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-400);
  gap: var(--s-50);
  visibility: hidden;
  opacity: 0;
  transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
}
.mobile-menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transition: opacity 500ms var(--ease), visibility 0s;
}
.mobile-menu a {
  font-size: 36px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-block: var(--s-75);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.mobile-menu[data-open="true"] a {
  opacity: 1;
  transform: translateY(0);
}

/* --- hero --------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--s-1000) + var(--s-700));
  padding-bottom: var(--s-900);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: var(--s-600);
  align-items: start;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-100);
  padding: var(--s-50) var(--s-100) var(--s-50) var(--s-75);
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface-1);
  color: var(--text-muted);
  margin-bottom: var(--s-500);
}
.dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--live);
  flex: none;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--r-full);
  border: 1px solid var(--live);
  opacity: 0;
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.hero__title {
  max-width: none;
  background: linear-gradient(100deg, #ffffff 12%, #8e8e8e 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 46ch;
  margin-top: var(--s-400);
  color: var(--text-muted);
}
.hero__actions {
  margin-top: var(--s-600);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-100);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-300);
  min-height: 48px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 500ms var(--ease), background-color 300ms var(--ease),
    border-color 300ms var(--ease), color 300ms var(--ease),
    box-shadow 500ms var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: #ffffff;
  color: #000000;
}
.btn--primary:hover {
  background: #f0f0f0;
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.16);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn svg {
  flex: none;
  transition: transform 500ms var(--ease);
}
.btn:hover svg.i-arrow {
  transform: translateX(4px);
}

/* --- hero process graph ------------------------------------------------- */

.graph {
  position: relative;
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
.graph svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.graph__node rect {
  fill: var(--surface-1);
  stroke: var(--line-strong);
  stroke-width: 1;
  transition: stroke 700ms var(--ease), fill 700ms var(--ease);
}
.graph__node text {
  font-family: var(--mono);
  font-size: 12px;
  fill: var(--text-muted);
  letter-spacing: 0.04em;
}
.graph__node rect {
  animation: nodeGlow 4.6s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
.graph__node text {
  animation: nodeText 4.6s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes nodeGlow {
  0%,
  100% {
    fill: var(--surface-1);
    stroke: var(--line-strong);
  }
  5% {
    fill: var(--surface-3);
    stroke: rgba(255, 255, 255, 0.6);
  }
  16% {
    fill: var(--surface-3);
    stroke: rgba(255, 255, 255, 0.6);
  }
  28% {
    fill: var(--surface-1);
    stroke: var(--line-strong);
  }
}
@keyframes nodeText {
  0%,
  100% {
    fill: var(--text-muted);
  }
  5%,
  16% {
    fill: var(--text);
  }
  28% {
    fill: var(--text-muted);
  }
}
.graph__link {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
}
.graph__pulse {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 24 400;
  opacity: 0;
  animation: travel 4.6s linear infinite;
}
.graph__pulse--b {
  animation-delay: 2.3s;
}
@keyframes travel {
  0% {
    stroke-dashoffset: 424;
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  90% {
    opacity: 0.85;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.graph__caption {
  margin-top: var(--s-300);
  color: var(--text-muted);
  text-align: center;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-500);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--s-800);
}
.stat {
  padding-block: var(--s-500);
}
.stat__num {
  font-family: var(--mono);
  font-size: 40px;
  line-height: 44px;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.stat__label {
  margin-top: var(--s-100);
  color: var(--text-faint);
  display: block;
}

/* --- marquee ------------------------------------------------------------ */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: var(--s-300);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--s-600);
  padding-right: var(--s-600);
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-200);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee__item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--surface-4);
}
@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

.tagline {
  padding-block: var(--s-1000);
}
.tagline__text {
  max-width: 21ch;
  font-size: 48px;
  line-height: 54px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.tagline__text .w {
  opacity: 0.16;
  transition: opacity 700ms var(--ease);
  display: inline-block;
}
.tagline__text .w.on {
  opacity: 1;
}
.is-static .tagline__text .w {
  opacity: 1;
}

/* --- section head ------------------------------------------------------- */

.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-400);
  margin-bottom: var(--s-700);
  padding-bottom: var(--s-300);
  border-bottom: 1px solid var(--line);
}
.head__index {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  color: var(--text-faint);
  margin-bottom: var(--s-300);
}
.head__index b {
  font-weight: 400;
  color: var(--text);
}

/* --- work cards --------------------------------------------------------- */

.work {
  display: grid;
  gap: var(--s-200);
}
.card {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--s-600);
  padding: var(--s-500);
  background: var(--surface-1);
  border: 1px solid transparent;
  border-radius: var(--r-3xl);
  overflow: hidden;
  transition: background-color 500ms var(--ease), border-color 500ms var(--ease),
    transform 500ms var(--ease);
}
.card:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
/* cursor spotlight: interaction feedback, not a background treatment */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.07),
    transparent 68%
  );
}
.card:hover::after {
  opacity: 1;
}
.card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  height: 100%;
  position: relative;
  z-index: 2;
}
.card__idx {
  color: var(--text-faint);
}
.card__org {
  color: var(--text-faint);
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-50);
  margin-top: auto;
  padding-top: var(--s-300);
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.04em;
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  color: var(--text-muted);
}
.card__body {
  position: relative;
  z-index: 2;
}
.card__row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--s-300);
  padding-block: var(--s-300);
  border-top: 1px solid var(--line);
}
.card__row:first-child {
  border-top: 0;
  padding-top: 0;
}
.card__row:last-child {
  padding-bottom: 0;
}
.card__key {
  color: var(--text-faint);
  padding-top: 3px;
}
.card__body p {
  max-width: 52ch;
}

/* --- experience --------------------------------------------------------- */

.exp {
  border-top: 1px solid var(--line);
}
.exp__item {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.5fr 1.15fr;
  gap: var(--s-400);
  padding-block: var(--s-400);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background-color 400ms var(--ease);
}
.exp__item:hover {
  background: var(--surface-1);
}
.exp__role > * + * {
  margin-top: var(--s-50);
}
.exp__role .title-3 {
  text-wrap: pretty;
}
.exp__org > * + * {
  margin-top: var(--s-25);
}
.exp__when {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  padding-top: 4px;
}
.exp__what p {
  max-width: 44ch;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-200);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-400);
  background: var(--surface-1);
  border-radius: var(--r-3xl);
  counter-increment: step;
  transition: background-color 500ms var(--ease), transform 500ms var(--ease);
}
.step:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: var(--s-600);
}
.step > * + * {
  margin-top: var(--s-200);
}

/* --- about -------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--s-800);
  padding: var(--s-600);
  background: var(--surface-1);
  border-radius: var(--r-4xl);
}
.about__facts {
  display: grid;
  gap: 0;
  align-content: start;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: var(--s-200);
  padding-block: var(--s-200);
  border-bottom: 1px solid var(--line);
}
.fact:first-child {
  padding-top: 0;
}
.fact:last-child {
  border-bottom: 0;
}
.fact__v {
  text-align: right;
}

/* --- faq ---------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-300);
  padding-block: var(--s-400);
  transition: color 300ms var(--ease), padding-left 400ms var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--text);
  padding-left: var(--s-100);
}
.faq summary svg {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  color: var(--text);
  transition: transform 500ms var(--ease), color 300ms var(--ease),
    border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.faq summary:hover svg {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--surface-3);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq__a {
  max-width: 62ch;
  padding-bottom: var(--s-400);
  color: var(--text-muted);
}

/* --- final cta ---------------------------------------------------------- */

.cta {
  position: relative;
  padding: var(--s-1000) var(--s-500);
  background: var(--surface-1);
  border-radius: var(--r-4xl);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    620px circle at 50% 0%,
    rgba(255, 255, 255, 0.06),
    transparent 70%
  );
  pointer-events: none;
}
.cta > * {
  margin-inline: auto;
  position: relative;
}
.cta .heading-2 {
  max-width: 16ch;
}
.cta__actions {
  margin-top: var(--s-600);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-100);
}

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

.footer {
  padding-block: var(--s-800) var(--s-600);
  margin-top: var(--s-1000);
  border-top: 1px solid var(--line);
}
.footer__mail {
  display: inline-block;
  font-size: 48px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding-block: var(--s-100);
  transition: opacity 300ms var(--ease);
}
.footer__mail:hover {
  opacity: 0.55;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  margin-top: var(--s-700);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line);
}
.footer__links {
  display: flex;
  gap: var(--s-300);
}
.footer__links a {
  color: var(--text-muted);
  transition: color 300ms var(--ease);
}
.footer__links a:hover {
  color: var(--text);
}

/* --- prose (legal / 404) ------------------------------------------------ */

.prose {
  max-width: 62ch;
}
.prose > * + * {
  margin-top: var(--s-300);
}

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

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] {
  transition-delay: 80ms;
}
.reveal[data-delay="2"] {
  transition-delay: 160ms;
}
.reveal[data-delay="3"] {
  transition-delay: 240ms;
}

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

@media (max-width: 1100px) {
  .heading-1 {
    font-size: 48px;
    line-height: 52px;
  }
  .heading-2 {
    font-size: 48px;
    line-height: 50px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-800);
  }
  .graph {
    justify-self: start;
    max-width: 360px;
  }
  .tagline__text {
    font-size: 36px;
    line-height: 44px;
  }
  .card {
    grid-template-columns: 240px 1fr;
    gap: var(--s-400);
  }
  .exp__item {
    grid-template-columns: 1.4fr 0.7fr 1.2fr;
    gap: var(--s-300);
  }
  .exp__when {
    grid-column: 1 / -1;
    order: -1;
    padding-top: 0;
    margin-bottom: var(--s-50);
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav {
    padding-left: var(--s-300);
  }
  .card {
    grid-template-columns: 1fr;
    gap: var(--s-300);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step::before {
    margin-bottom: var(--s-400);
  }
  .about {
    grid-template-columns: 1fr;
    gap: var(--s-500);
    padding: var(--s-400);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding-block: var(--s-400);
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .exp__item {
    grid-template-columns: 1fr;
    gap: var(--s-100);
  }
  .head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-300);
  }
}

@media (max-width: 720px) {
  .shell {
    padding-inline: var(--s-300);
  }
  section {
    padding-block: var(--s-800);
  }
  .heading-1 {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -0.025em;
  }
  .heading-2 {
    font-size: 30px;
    line-height: 36px;
  }
  .heading-3 {
    font-size: 30px;
    line-height: 36px;
  }
  .heading-4 {
    font-size: 24px;
    line-height: 32px;
  }
  .hero__title {
    max-width: none;
    text-wrap: pretty;
  }
  .hero {
    padding-top: calc(var(--s-1000) + var(--s-500));
  }
  .tagline__text {
    font-size: 24px;
    line-height: 32px;
    max-width: none;
  }
  .card {
    padding: var(--s-300);
  }
  .card__row {
    grid-template-columns: 1fr;
    gap: var(--s-50);
  }
  .cta {
    padding: var(--s-700) var(--s-300);
  }
  .footer__mail {
    font-size: 24px;
    line-height: 32px;
    word-break: break-word;
  }
  .stat__num {
    font-size: 30px;
    line-height: 36px;
  }
  .about {
    padding: var(--s-300);
  }
  .graph {
    max-width: 100%;
  }
  .graph__caption {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .tagline__text .w {
    opacity: 1;
  }
  .graph__pulse {
    display: none;
  }
}
