/* ════════════════════════════════════════════════════════════════════
   Goby Studio — Landing v8
   Native macOS aesthetic. Multi-colour category accents lifted from
   the app's own dashboard. Cinematic MacBook-opens hero.
═══════════════════════════════════════════════════════════════════ */

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

:root {
  /* — surfaces, lifted from the app — */
  --bg:        #08080a;
  --bg-1:      #0d0d10;     /* sidebar */
  --bg-2:      #14141a;     /* card */
  --bg-3:      #1c1c24;     /* card hover */
  --stroke:    rgba(255,255,255,0.07);
  --stroke-2:  rgba(255,255,255,0.04);
  --stroke-h:  rgba(255,255,255,0.12);

  --text:      #f7f7f8;
  --text-hot:  #fbfbfc;
  --text-2:    rgba(247,247,248,0.6);
  --text-3:    rgba(247,247,248,0.42);
  --text-4:    rgba(247,247,248,0.26);

  /* — category palette, exact from app card icons — */
  --c-orange:  #f97316;
  --c-blue:    #3b82f6;
  --c-purple:  #a855f7;
  --c-green:   #22c55e;
  --c-teal:    #06b6d4;
  --c-pink:    #ec4899;
  --c-amber:   #f59e0b;
  --c-cyan:    #22d3ee;
  --c-red:     #ef4444;

  /* — type — */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --type-caption: 0.75rem;
  --type-label: 0.8125rem;
  --type-small: 0.875rem;
  --type-control: 0.9375rem;
  --type-body: 1rem;
  --type-lede: 1.0625rem;
  --type-title: 1.125rem;
  --type-plan: 1.75rem;
  --type-stat: clamp(2.375rem, 3.5vw, 3.125rem);
  --type-headline: clamp(2.375rem, 4.2vw, 3.75rem);
  --type-display: clamp(3.25rem, 6vw, 5.75rem);
  --leading-tight: 1.06;
  --leading-heading: 1.1;
  --leading-copy: 1.62;
  --weight-body: 400;
  --weight-label: 500;
  --weight-title: 600;
  --weight-display: 650;

  /* — layout — */
  --wrap: 1180px;
  --gutter: 28px;

  --r-card: 14px;
  --r-md:   10px;
}

/* ── Base ─────────────────────────────────────────────────────────── */

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--type-body);
  line-height: var(--leading-copy);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variant-numeric: tabular-nums;
}

/* ambient gradient wash, very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 70% 0%,  rgba(168,85,247,0.06), transparent 70%),
    radial-gradient(60% 50% at 20% 30%, rgba(59,130,246,0.05), transparent 70%),
    radial-gradient(60% 50% at 80% 100%, rgba(34,211,238,0.04), transparent 70%);
}

::selection { background: rgba(59,130,246,0.4); color: var(--text); }

a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-cyan) 78%, var(--text) 22%);
  outline-offset: 4px;
  border-radius: 6px;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.section { padding: 120px 0; }

.motion-section {
  position: relative;
  overflow: hidden;
  --section-progress: 0;
}

.section__motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.section__motion + * {
  position: relative;
  z-index: 1;
}
.section__motion span {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.11), transparent 28%),
    radial-gradient(circle, rgba(34,211,238,0.13), transparent 64%);
  filter: blur(0.1px);
  opacity: calc(0.18 + var(--section-progress) * 0.34);
  transform:
    translateY(calc((0.5 - var(--section-progress)) * 70px))
    rotate(calc(var(--section-progress) * 42deg));
  animation: orbitalDrift 12s ease-in-out infinite;
}
.section__motion span:nth-child(1) { top: 12%; right: 8%; }
.section__motion span:nth-child(2) {
  bottom: 10%;
  left: 4%;
  width: 120px;
  height: 120px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.09), transparent 30%),
    radial-gradient(circle, rgba(168,85,247,0.12), transparent 64%);
  animation-delay: -4s;
}
.section__motion span:nth-child(3) {
  top: 48%;
  left: 52%;
  width: 84px;
  height: 84px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(circle, rgba(236,72,153,0.1), transparent 66%);
  animation-delay: -7.2s;
}
.section__motion--screens span:nth-child(1) {
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.1), transparent 30%),
    radial-gradient(circle, rgba(59,130,246,0.14), transparent 64%);
}
.section__motion--pricing span:nth-child(2) {
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.1), transparent 30%),
    radial-gradient(circle, rgba(34,197,94,0.1), transparent 64%);
}

@keyframes orbitalDrift {
  0%, 100% { translate: 0 0; scale: 1; }
  50%      { translate: 18px -24px; scale: 1.08; }
}

/* ── Nav ─────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8,8,10,0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--stroke);
  background: rgba(8,8,10,0.85);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: var(--weight-title);
  font-size: var(--type-control);
  letter-spacing: 0;
}
.brand__img {
  width: 24px; height: 24px;
  border-radius: 6px;
  object-fit: contain;
}
.brand__mark {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-purple));
  box-shadow: 0 0 12px rgba(34,211,238,0.5);
}
.brand__name { letter-spacing: 0; font-size: var(--type-body); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__link {
  font-size: var(--type-small);
  font-weight: var(--weight-label);
  color: var(--text-2);
  transition: color 0.18s ease;
  letter-spacing: 0;
}
.nav__link:hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: var(--weight-label);
  font-size: var(--type-control);
  letter-spacing: 0;
  padding: 11px 20px;
  border-radius: 999px;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.18s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.2s ease;
  text-decoration: none;
  user-select: none;
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-cyan) 78%, var(--text) 22%);
  outline-offset: 4px;
}

.btn--sm { padding: 7px 14px; font-size: var(--type-label); min-height: 36px; }
.btn--lg { padding: 14px 24px; font-size: var(--type-body); }

.btn--primary {
  background: var(--text);
  color: #0a0a0c;
  font-weight: var(--weight-title);
  box-shadow: 0 6px 22px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn--primary:hover {
  background: var(--text-hot);
  box-shadow: 0 10px 28px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.7);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--stroke);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--stroke-h);
}

/* ── Kicker / section heads ──────────────────────────────────────── */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-label);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-3);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.02);
  margin-bottom: 24px;
}

.section__head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section__head--center { margin-inline: auto; text-align: center; }

.section__title {
  font-family: var(--font-display);
  font-size: var(--type-headline);
  line-height: var(--leading-heading);
  letter-spacing: 0;
  font-weight: var(--weight-display);
  margin-bottom: 16px;
}
.section__sub {
  font-size: var(--type-lede);
  color: var(--text-2);
  max-width: 520px;
  line-height: var(--leading-copy);
}
.section__head--center .section__sub { margin-inline: auto; }

/* ════════════════════════════════════════════════════════════════════
   HERO — sticky pin + MacBook 3D rig
═══════════════════════════════════════════════════════════════════ */

.hero {
  height: 220vh;             /* 100vh sticky + 120vh runway for animation */
  position: relative;
}

.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__inner {
  width: 100%;
  max-width: 1080px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  gap: 0;
  text-align: center;
  /* fade out as the page leaves the pin */
  opacity: var(--hero-opacity, 1);
  transform: translateY(calc((1 - var(--hero-opacity, 1)) * -24px));
  transition: none;
  position: relative;
  isolation: isolate;
}

.hero__ambient {
  position: absolute;
  inset: 8% -12% 0;
  pointer-events: none;
  z-index: -1;
  opacity: calc(0.28 + var(--screen, 0) * 0.42);
  filter: saturate(1.08);
}
.hero__beam {
  position: absolute;
  width: 58%;
  height: 2px;
  border-radius: 999px;
  transform-origin: center;
  opacity: 0.55;
  animation: beamDrift 8s ease-in-out infinite;
}
.hero__beam::before {
  content: '';
  position: absolute;
  inset: -32px 0;
  background: inherit;
  filter: blur(26px);
  opacity: 0.55;
}
.hero__beam--cyan {
  top: 28%;
  left: -6%;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.5), transparent);
  transform: rotate(-14deg);
}
.hero__beam--purple {
  top: 48%;
  right: -8%;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.42), transparent);
  transform: rotate(12deg);
  animation-delay: -2.4s;
}
.hero__beam--pink {
  bottom: 22%;
  left: 22%;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.34), transparent);
  transform: rotate(-4deg);
  animation-delay: -4.2s;
}

@keyframes beamDrift {
  0%, 100% { translate: 0 0; opacity: 0.42; }
  50%      { translate: 0 -18px; opacity: 0.72; }
}

.hero__head {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-label);
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-cyan);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,0.25);
  background: rgba(34,211,238,0.08);
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-tight);
  letter-spacing: 0;
  color: var(--text);
}

.hero__sub {
  font-size: var(--type-lede);
  line-height: var(--leading-copy);
  color: var(--text-2);
  max-width: 58ch;
  margin-top: 6px;
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  top: clamp(420px, 55vh, 580px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  letter-spacing: 0;
  opacity: max(0, calc(1 - var(--hero-progress, 0) * 4));
  transform:
    translateX(-50%)
    translateY(calc(var(--hero-progress, 0) * -12px));
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.hero__scroll-cue-text {
  display: inline-block;
  padding: 6px 0;
}
.hero__scroll-cue-mouse {
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 22px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--c-cyan) 34%, var(--text-3));
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 0 24px rgba(34,211,238,0.08);
}
.hero__scroll-cue-mouse span {
  width: 3px;
  height: 7px;
  margin-top: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-cyan) 58%, var(--text));
  animation: scrollCueWheel 1.45s cubic-bezier(.2,.8,.2,1) infinite;
}

@keyframes scrollCueWheel {
  0%   { transform: translateY(0); opacity: 0; }
  18%  { opacity: 0.9; }
  72%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ── Stage (MacBook) ─────────────────────────────────────────────── */

.stage {
  width: 100%;
  max-width: min(760px, 78vw);
  margin: 2px auto 0;
  perspective: 2400px;
  perspective-origin: 50% 24%;
  position: relative;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 7% 4% 6%;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 72%);
  opacity: calc(var(--screen, 0) * 0.22);
  transform: rotateX(66deg) translateY(36px);
  transform-origin: center bottom;
  pointer-events: none;
}

.macbook {
  position: relative;
  width: 100%;
  /* total proportions: lid 16:10 + 32px deck. Use aspect-ratio loosely. */
  aspect-ratio: 1.55 / 1;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--tilt-y, 0) * -1deg))
    rotateY(calc(var(--tilt-x, 0) * 1deg))
    translateY(calc((1 - var(--screen, 0)) * 10px));
  transition: transform 0.16s ease-out;
}

/* — LID (rotates) — */
.macbook__lid {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 32px;                /* hinge sits 32px above bottom */
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--lid, 90) * -1deg));
  transform-style: preserve-3d;
  border-radius: 14px 14px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), transparent 16%, transparent 84%, rgba(255,255,255,0.05)),
    linear-gradient(180deg, #2b2b31 0%, #18181d 42%, #0b0b0e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.6),
    0 50px 90px rgba(0,0,0,0.52),
    0 0 0 1px rgba(255,255,255,0.045);
}

.macbook__bezel {
  position: absolute;
  inset: 14px;
  border-radius: 7px;
  background: #030306;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.macbook__notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(70px, 11%, 110px);
  height: clamp(8px, 1.6%, 14px);
  background: #030306;
  border-radius: 0 0 7px 7px;
  z-index: 4;
}
.macbook__camera {
  position: absolute;
  top: clamp(2px, 0.5%, 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #1a1a1c;
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.15);
  z-index: 5;
}

.macbook__screen {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 18% 18%, rgba(34,211,238,0.14), transparent 62%),
    radial-gradient(50% 55% at 82% 26%, rgba(168,85,247,0.12), transparent 66%),
    linear-gradient(135deg, #101116 0%, #06070a 58%, #0c0d12 100%);
  overflow: hidden;
}
.macbook__desktop {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: var(--screen, 0);
  background: radial-gradient(60% 75% at 20% 18%, rgba(34,211,238,0.08), transparent 72%);
}
.macbook__menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: clamp(18px, 3.1%, 24px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  padding: 0 clamp(12px, 2vw, 22px);
  color: rgba(247,247,248,0.68);
  font-family: var(--font);
  font-size: clamp(7px, 0.85vw, 11px);
  font-weight: var(--weight-label);
  background: rgba(8,8,10,0.52);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  opacity: var(--screen, 0);
  pointer-events: none;
}
.macbook__apple {
  color: var(--text);
  font-weight: var(--weight-title);
}
.macbook__menubar-time {
  margin-left: auto;
  color: rgba(247,247,248,0.54);
}
.macbook__app {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: clamp(30px, 6.7%, 48px);
  bottom: clamp(56px, 11.4%, 80px);
  width: min(88%, calc((100% - clamp(30px, 6.7%, 48px) - clamp(56px, 11.4%, 80px)) * 1.6));
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: clamp(5px, 0.8vw, 9px);
  opacity: var(--screen, 0);
  filter: brightness(calc(0.46 + 0.54 * var(--screen, 0)));
  transform: translateX(-50%);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.48);
}
.macbook__dock {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.5%, 20px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.8vw, 9px);
  padding: clamp(5px, 0.8vw, 8px) clamp(8px, 1.25vw, 14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: clamp(10px, 1.4vw, 18px);
  background: rgba(22,22,28,0.64);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 16px 42px rgba(0,0,0,0.42);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  opacity: calc(var(--screen, 0) * 0.95);
  transform:
    translateX(-50%)
    translateY(calc((1 - var(--screen, 0)) * 10px));
}
.dock-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(12px, 1.7vw, 22px);
  height: clamp(12px, 1.7vw, 22px);
  border-radius: 32%;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 7px 14px rgba(0,0,0,0.3);
}
.dock-icon svg {
  width: 76%;
  height: 76%;
  fill: none;
  stroke: rgba(255,255,255,0.9);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dock-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dock-icon--finder {
  background: linear-gradient(90deg, #62d7ff 0 50%, #2f86f6 50% 100%);
}
.dock-icon--finder svg path:first-child {
  fill: transparent;
  stroke: none;
}
.dock-icon--finder svg path {
  stroke: rgba(6,18,32,0.82);
}
.dock-icon--safari {
  background:
    radial-gradient(circle at center, #f7fbff 0 15%, transparent 16%),
    conic-gradient(from -40deg, #f43f5e, #f59e0b, #22c55e, #06b6d4, #2563eb, #7c3aed, #f43f5e);
}
.dock-icon--safari svg circle {
  stroke: rgba(255,255,255,0.88);
}
.dock-icon--safari svg path:last-child {
  fill: rgba(239,68,68,0.86);
  stroke: rgba(255,255,255,0.9);
}
.dock-icon--terminal {
  background: linear-gradient(145deg, #292d35, #07080a);
}
.dock-icon--terminal svg {
  stroke: #65f28b;
}
.dock-icon--terminal svg rect {
  stroke: rgba(255,255,255,0.22);
}
.dock-icon--settings {
  background: linear-gradient(145deg, #d8dee8, #667085);
}
.dock-icon--settings svg {
  stroke: #2f3743;
}
.dock-icon--store {
  background: linear-gradient(145deg, #77ddff, #2667ff 54%, #7c3aed);
}
.dock-icon--store svg {
  stroke: #fff;
}
.dock-icon--goby {
  background: #101114;
}
.macbook__scan {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: calc(var(--screen, 0) * 0.75);
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 42%,
      rgba(34,211,238,0.16) 49%,
      rgba(255,255,255,0.16) 50%,
      rgba(34,211,238,0.16) 51%,
      transparent 58%,
      transparent 100%);
  mix-blend-mode: screen;
  animation: screenScan 4.8s cubic-bezier(.55,0,.2,1) infinite;
}
.macbook__glare {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(120deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.02) 30%,
    transparent 50%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: calc(var(--screen, 0) * 0.85);
}

@keyframes screenScan {
  0%   { transform: translateY(-115%); }
  42%  { transform: translateY(115%); }
  100% { transform: translateY(115%); }
}

.hero__hud {
  position: absolute;
  z-index: 8;
  width: 148px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  background: rgba(14,14,18,0.72);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 18px 42px rgba(0,0,0,0.34);
  opacity: calc(var(--screen, 0) * 0.95);
  transform:
    translateY(calc((1 - var(--screen, 0)) * 18px))
    translateX(calc(var(--hud-x, 0) * 1px));
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: hudFloat 5.6s ease-in-out infinite;
}
.hero__hud--left {
  left: -64px;
  top: 34%;
  border-left-color: rgba(34,211,238,0.45);
}
.hero__hud--right {
  right: -70px;
  top: 47%;
  border-left-color: rgba(34,197,94,0.42);
  animation-delay: -2.2s;
}
.hero__hud-kicker,
.hero__hud span:last-child {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--text-3);
}
.hero__hud-kicker {
  color: var(--c-cyan);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 5px;
}
.hero__hud strong {
  display: block;
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.hero__rail {
  position: absolute;
  z-index: 2;
  top: 21%;
  width: 2px;
  height: 43%;
  opacity: calc(var(--screen, 0) * 0.7);
  pointer-events: none;
}
.hero__rail--left { left: 2.5%; }
.hero__rail--right { right: 2.5%; }
.hero__rail span {
  position: absolute;
  left: 0;
  width: 2px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.7), transparent);
  animation: railFall 2.8s linear infinite;
  animation-delay: calc(var(--d) * -0.62s);
}
.hero__rail--right span {
  background: linear-gradient(180deg, transparent, rgba(236,72,153,0.62), transparent);
}

@keyframes hudFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

@keyframes railFall {
  0%   { transform: translateY(-38px); opacity: 0; }
  16%  { opacity: 1; }
  84%  { opacity: 1; }
  100% { transform: translateY(260px); opacity: 0; }
}

/* — HINGE — thin horizontal slab where lid meets deck — */
.macbook__hinge {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  height: 6px;
  background: linear-gradient(180deg, #050507 0%, #0a0a0c 50%, #050507 100%);
  border-radius: 1px;
  z-index: 3;
}

/* — DECK (base / palm rest) — */
.macbook__deck {
  position: absolute;
  bottom: 0;
  left: -1.5%;
  right: -1.5%;
  height: 26px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), transparent 15%, transparent 85%, rgba(255,255,255,0.04)),
    linear-gradient(180deg,
      #2c2c30 0%,
      #1d1d22 30%,
      #131318 60%,
      #0a0a0c 100%);
  border-radius: 4px 4px 14px 14px;
  z-index: 4;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.6),
    0 30px 60px rgba(0,0,0,0.45);
}
.macbook__lip {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 4px;
  background: rgba(0,0,0,0.55);
  border-radius: 0 0 6px 6px;
}

/* — SHADOW under MacBook — */
.macbook__shadow {
  position: absolute;
  bottom: -36px;
  left: 8%;
  right: 8%;
  height: 60px;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.25) 40%,
    transparent 75%);
  filter: blur(14px);
  z-index: -1;
  /* shadow gets stronger as lid opens */
  opacity: calc(0.35 + 0.4 * (1 - var(--lid, 90) / 90));
  transform: scale(calc(0.85 + 0.2 * (1 - var(--lid, 90) / 90)));
}

/* ── Hero CTA + meta ─────────────────────────────────────────────── */

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.hero__meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  letter-spacing: 0;
  color: var(--text-3);
}

/* ── Hero progress hint (down arrow) ─────────────────────────────── */

.hero__pin::after {
  content: '';
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 32px;
  border: 1.5px solid var(--text-3);
  border-radius: 12px;
  opacity: calc(1 - var(--hero-progress, 0));
  pointer-events: none;
}
.hero__pin::before {
  content: '';
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: var(--text-3);
  border-radius: 1px;
  animation: scrollHint 1.4s ease-in-out infinite;
  opacity: calc(1 - var(--hero-progress, 0));
  pointer-events: none;
}
@keyframes scrollHint {
  0%   { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  60%  { transform: translateX(-50%) translateY(8px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════════ */

.stats {
  margin-top: clamp(56px, 7vh, 96px);
  border-block: 1px solid var(--stroke);
  background:
    linear-gradient(90deg,
      transparent,
      rgba(34,211,238,0.045),
      transparent),
    var(--bg-1);
  padding: 56px 0;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,0.06) 48%,
      rgba(34,211,238,0.12) 50%,
      rgba(255,255,255,0.06) 52%,
      transparent 100%);
  opacity: 0.45;
  transform: translateX(-120%);
  animation: sectionSweep 7s ease-in-out infinite;
  pointer-events: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: left; }
.stat {
  transform: translateY(calc((0.5 - var(--section-progress, 0)) * 8px));
  transition: transform 0.12s linear;
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--type-stat);
  font-weight: var(--weight-display);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 8px;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

@keyframes sectionSweep {
  0%   { transform: translateX(-120%); opacity: 0; }
  18%  { opacity: 0.48; }
  42%  { transform: translateX(120%); opacity: 0; }
  100% { transform: translateX(120%); opacity: 0; }
}
.stat__unit {
  font-size: 0.5em;
  font-weight: var(--weight-label);
  color: var(--text-3);
  letter-spacing: 0;
}
.stat__label {
  font-size: var(--type-small);
  color: var(--text-2);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════════════
   FEATURE CARDS — match the app's category card style
═══════════════════════════════════════════════════════════════════ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  --c: var(--c-blue);
  position: relative;
  background: var(--bg-2);
  border-radius: var(--r-card);
  padding: 22px 22px 20px;
  border: 1px solid color-mix(in srgb, var(--c) 22%, var(--stroke));
  transition: background 0.25s ease, transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 38%,
      color-mix(in srgb, var(--c) 24%, transparent) 48%,
      rgba(255,255,255,0.11) 50%,
      color-mix(in srgb, var(--c) 18%, transparent) 52%,
      transparent 64%,
      transparent 100%);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card.visible::before {
  animation: cardGlint 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.22s);
}
.card:hover {
  background: var(--bg-3);
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.4),
    0 0 0 1px color-mix(in srgb, var(--c) 72%, transparent) inset,
    0 0 24px color-mix(in srgb, var(--c) 25%, transparent);
}
.card:hover::before { opacity: 0.8; }

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card__icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
  flex-shrink: 0;
}
.card.visible .card__icon {
  animation: iconPulse 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.18s);
}
.card__icon svg { width: 18px; height: 18px; }
.card__title {
  font-size: var(--type-title);
  font-weight: var(--weight-title);
  letter-spacing: 0;
  color: var(--text);
}
.card__desc {
  font-size: var(--type-small);
  line-height: var(--leading-copy);
  color: var(--text-2);
  flex-grow: 1;
}
.card__desc code {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}
.card__tag {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke-2);
  font-size: var(--type-caption);
  font-weight: var(--weight-label);
  color: var(--c);
  letter-spacing: 0;
}

@keyframes cardGlint {
  0%, 58%, 100% { opacity: 0; transform: translateX(-80%); }
  66%           { opacity: 0.7; }
  82%           { opacity: 0; transform: translateX(80%); }
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 color-mix(in srgb, var(--c) 0%, transparent); }
  50%      { box-shadow: 0 0 24px color-mix(in srgb, var(--c) 24%, transparent); }
}

/* ════════════════════════════════════════════════════════════════════
   SCREENS gallery
═══════════════════════════════════════════════════════════════════ */

.section--screens { background: var(--bg-1); border-block: 1px solid var(--stroke); }

.screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.screen { display: flex; flex-direction: column; gap: 12px; }
.screen--wide { grid-column: span 2; }

.screen__frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.screen__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(255,255,255,0.09),
      transparent);
  opacity: 0;
  transform: translateX(-110%);
  pointer-events: none;
}
.screen.visible .screen__frame::before {
  animation: screenFrameSweep 5.6s ease-in-out infinite;
}
.screen:nth-child(2n).visible .screen__frame::before { animation-delay: -2.4s; }
.screen__frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}
.screen__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}
.screen__frame img {
  display: block;
  width: 100%;
  height: auto;
}
.screen figcaption {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  letter-spacing: 0;
  color: var(--text-3);
}

@keyframes screenFrameSweep {
  0%, 50%, 100% { opacity: 0; transform: translateX(-110%); }
  60%           { opacity: 0.65; }
  78%           { opacity: 0; transform: translateX(110%); }
}

/* ════════════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════════ */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
}
.plan {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.plan::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 66%);
  opacity: calc(0.2 + var(--section-progress, 0) * 0.32);
  transform: translateY(calc((0.5 - var(--section-progress, 0)) * 48px));
  pointer-events: none;
}
.plan--pro {
  background:
    linear-gradient(180deg, rgba(34,211,238,0.06) 0%, transparent 30%),
    var(--bg-2);
  border-color: rgba(34,211,238,0.25);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.1), 0 30px 60px rgba(0,0,0,0.35);
}
.plan--pro::after {
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 66%);
}
.plan__ribbon {
  position: absolute;
  top: -1px; right: 24px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-pink));
  color: #0a0a0c;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-title);
  letter-spacing: 0;
  text-transform: none;
  padding: 6px 12px;
  border-radius: 0 0 8px 8px;
}
.plan__head { margin-bottom: 26px; }
.plan__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: var(--weight-title);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-3);
  margin-bottom: 12px;
}
.plan--pro .plan__tag { color: var(--c-cyan); }
.plan__name {
  font-family: var(--font-display);
  font-size: var(--type-plan);
  font-weight: var(--weight-display);
  letter-spacing: 0;
  margin-bottom: 8px;
}
.plan__sub {
  font-size: var(--type-small);
  color: var(--text-2);
  line-height: 1.5;
}
.plan__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: var(--type-small);
  color: var(--text);
  padding: 4px 0;
}
.plan__list li::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-green);
  background-image:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,0.4), transparent 50%);
  position: relative;
  top: 2px;
  display: block;
}
.plan__list li.off { color: var(--text-3); }
.plan__list li.off::before {
  background: rgba(255,255,255,0.06);
  background-image: none;
}

/* ════════════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════════ */

.cta {
  padding: 140px 0 130px;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(34,211,238,0.08), transparent 70%),
    radial-gradient(60% 50% at 50% 70%, rgba(168,85,247,0.06), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--stroke);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-purple), transparent);
}
.cta::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: min(760px, 90vw);
  height: 180px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center,
      rgba(34,211,238,0.16),
      rgba(168,85,247,0.08) 42%,
      transparent 72%);
  transform:
    translateX(-50%)
    translateY(calc((0.5 - var(--section-progress, 0)) * 36px));
  filter: blur(8px);
  opacity: 0.8;
  pointer-events: none;
}
.cta__inner { max-width: 720px; margin-inline: auto; }
.cta__inner .kicker { display: inline-flex; }
.cta__title {
  font-family: var(--font-display);
  font-size: var(--type-headline);
  font-weight: var(--weight-display);
  line-height: var(--leading-heading);
  letter-spacing: 0;
  margin: 16px 0 18px;
}
.cta__sub {
  font-size: var(--type-lede);
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 32px;
}
.cta__actions { display: flex; justify-content: center; }
.cta__actions .btn {
  position: relative;
  overflow: hidden;
}
.cta__actions .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: translateX(-120%);
  animation: buttonSheen 4.8s ease-in-out infinite;
}
.cta__meta {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  letter-spacing: 0;
  color: var(--text-3);
}

@keyframes buttonSheen {
  0%, 52%, 100% { transform: translateX(-120%); }
  70%           { transform: translateX(120%); }
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */

.foot {
  padding: 36px 0 30px;
  border-top: 1px solid var(--stroke);
  background: var(--bg-1);
}
.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand--foot { font-size: var(--type-small); }
.foot__copy {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  color: var(--text-3);
  letter-spacing: 0;
}
.foot__links {
  display: flex;
  gap: 18px;
}
.foot__links a {
  font-size: var(--type-label);
  color: var(--text-2);
  transition: color 0.18s ease;
}
.foot__links a:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1),
              transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.cards .card.reveal { transition-delay: calc(var(--i, 0) * 50ms); }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: 1fr; }
  .screen--wide { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; }
  .hero { height: 200vh; }
  .stage { max-width: min(700px, 84vw); }
  .hero__hud { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav__links { gap: 14px; }
  .nav__link { display: none; }
  .nav__link.is-mobile { display: inline; } /* none currently */
  .btn--sm { min-height: 44px; }
  .hero { height: 180vh; }
  .hero__title { font-size: clamp(2.625rem, 11vw, 4rem); }
  .hero__sub { font-size: var(--type-body); }
  .hero__scroll-cue {
    top: clamp(380px, 54vh, 490px);
    gap: 10px;
  }
  .stage { max-width: 100%; margin: 4px auto 18px; }
  .macbook__menubar {
    gap: 8px;
    padding-inline: 10px;
  }
  .macbook__menubar span:not(.macbook__apple):not(.macbook__menubar-time) {
    display: none;
  }
  .macbook__app {
    left: 50%;
    top: 28px;
    bottom: 54px;
    width: min(90%, calc((100% - 82px) * 1.6));
    border-radius: 7px;
  }
  .stats { margin-top: 36px; }
  .hero__ambient { inset-inline: -40%; opacity: calc(0.18 + var(--screen, 0) * 0.28); }
  .hero__rail { display: none; }
  .stats__grid { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .section__title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .cta { padding: 90px 0 90px; }
}

/* ════════════════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .macbook__lid {
    /* skip the animation: lid open */
    transform: rotateX(0deg) !important;
  }
  .macbook__app, .macbook__glare {
    opacity: 1 !important;
    filter: none !important;
  }
  .macbook,
  .hero__hud,
  .hero__ambient,
  .hero__rail,
  .hero__scroll-cue-mouse span,
  .macbook__scan {
    transform: none !important;
    animation: none !important;
  }
  .hero__ambient,
  .hero__hud,
  .hero__rail,
  .macbook__scan,
  .macbook__dock,
  .stage::before,
  .section__motion,
  .stats::before,
  .card::before,
  .screen__frame::before,
  .plan::after,
  .cta::after,
  .cta__actions .btn::after {
    opacity: 0 !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   GENERIC PAGE (privacy, ToS — kept compatible with page.php)
═══════════════════════════════════════════════════════════════════ */

.goby-page { background: var(--bg); color: var(--text); font-family: var(--font); }
.page-header { border-bottom: 1px solid var(--stroke); padding: 1rem 0; }
.page-header__inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.page-header__logo { font-weight: var(--weight-title); font-size: var(--type-title); color: var(--text); }
.page-header__logo img { height: 24px; vertical-align: middle; border-radius: 6px; }
.page-content { padding: 3rem 0 5rem; }
.page-content__inner { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.page-body { font-size: var(--type-body); line-height: 1.7; color: var(--text-2); }
.page-title { font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 2.75rem); font-weight: var(--weight-display); margin-bottom: 1.5rem; letter-spacing: 0; line-height: var(--leading-heading); }
.page-body h2 { font-size: 1.25rem; font-weight: var(--weight-title); margin: 2.5rem 0 0.75rem; color: var(--text); letter-spacing: 0; }
.page-body h3 { font-size: var(--type-lede); font-weight: var(--weight-title); margin: 1.5rem 0 0.5rem; color: var(--text); }
.page-body p { margin: 0 0 1.1rem; }
.page-body ul, .page-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-body a { color: var(--c-cyan); }
.page-footer { border-top: 1px solid var(--stroke); padding: 1.25rem 0; font-family: var(--font-mono); font-size: var(--type-caption); letter-spacing: 0; color: var(--text-3); }
.page-footer__inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-footer__inner a { color: var(--text-2); }
.page-footer__inner a:hover { color: var(--text); }
