/* ═══════════════════════════════════════════════════════════════════
   ABOUT — light "pixel-grid" theme, matches home / contact / blog
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-VariableFont_wght.woff2') format('woff2'),
       url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #EDEEF5; --ink: #1a1a1a; --ink-2: rgba(26,26,26,0.66); --ink-3: rgba(26,26,26,0.45);
  --dim: #8e8e8e; --green: #9fff00; --green-text: #5f7d00;
  --line: rgba(26,26,26,0.10); --line-2: rgba(26,26,26,0.18); --surface: #ffffff;
  --ease: cubic-bezier(0.22,0.61,0.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--green); color: #000; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  main { animation: pageFade 0.42s var(--ease) both; }
  @keyframes pageFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  html.is-leaving main { opacity: 0; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease; animation: none; }
}

body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,26,31,0.05) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 95% 45% at 50% 0%, #000 26%, transparent 80%);
          mask-image: radial-gradient(ellipse 95% 45% at 50% 0%, #000 26%, transparent 80%);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }
section { position: relative; z-index: 2; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 70ms; }
[data-reveal-delay="2"] { transition-delay: 140ms; }
[data-reveal-delay="3"] { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ─── shared shell: nav + footer (identical to homepage) ─── */
.container { max-width: 80rem; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
.brand-mark { fill: var(--ink); width: 28px; height: 28px; flex-shrink: 0; display: block; }
@media (min-width: 768px) { .brand-mark { width: 32px; height: 32px; } }
.brand-name { font-size: 22px; letter-spacing: -0.025em; color: var(--ink); text-transform: lowercase; line-height: 1; }
@media (min-width: 768px) { .brand-name { font-size: 24px; } }

.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 50; transition: all 0.3s var(--ease);
  padding-top: 24px; padding-bottom: 24px;
  background: linear-gradient(to bottom, rgba(241,241,241,0.7), transparent);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
@media (min-width: 768px) { .nav { padding-top: 32px; padding-bottom: 32px; } }
.nav--scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(237,238,245,0.8);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(26,26,26,0.06); }
.nav--open { background: #EDEEF5; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(26,26,26,0.08); }
.nav__inner { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; column-gap: 16px; }
.nav__brand { grid-column: span 6; display: flex; align-items: center; gap: 10px; }
@media (min-width: 768px) { .nav__brand { grid-column: span 3; } }
.nav__links { display: none; }
@media (min-width: 768px) { .nav__links { display: flex; grid-column: span 6; justify-content: center; align-items: center; gap: 28px; } }
.nav__actions { grid-column: span 6; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
@media (min-width: 768px) { .nav__actions { grid-column: span 3; gap: 16px; } }
.nav-link { position: relative; font-size: 13px; text-transform: lowercase; color: rgba(26,26,26,0.65); transition: color 0.2s; }
.nav-link:hover { color: var(--ink); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--ink); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { width: 100%; background: var(--green); height: 2px; bottom: -7px; }

.btn-dark { background-color: #1a1a1a; color: #ffffff; }
.btn-dark:hover { background-color: #000000; }
.star-btn { display: inline-flex; flex-shrink: 0; white-space: nowrap; align-items: center; gap: 8px; font-size: 13px; text-transform: lowercase; padding: 10px 16px; border-radius: 9999px; box-shadow: 0 8px 24px -14px rgba(0,0,0,0.6); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), background-color 0.2s ease; }
.star-btn__inner { display: flex; align-items: center; gap: 8px; transition: transform 0.15s; }
.star-btn:active .star-btn__inner { transform: scale(0.94); }
.star-btn svg { width: 16px; height: 16px; fill: currentColor; }
.star-btn--nav { display: none; }
@media (min-width: 640px) { .star-btn--nav { display: inline-flex; } }

.hamburger { display: flex; position: relative; width: 36px; height: 36px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0; }
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span { display: block; height: 2px; width: 20px; background: var(--ink); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: block; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.45s var(--ease), opacity 0.3s ease; }
@media (min-width: 768px) { .drawer { display: none; } }
.drawer.open { max-height: 32rem; opacity: 1; }
.drawer__inner { max-width: 80rem; margin: 0 auto; padding: 12px 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.drawer__inner a:not(.star-btn) { display: flex; align-items: center; justify-content: space-between; font-size: 16px; text-transform: lowercase; color: rgba(26,26,26,0.8); padding: 12px 0; border-bottom: 1px solid rgba(26,26,26,0.06); opacity: 0; transform: translateY(10px); transition: color 0.2s ease, opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.drawer__inner a:not(.star-btn).active { color: var(--ink); }
.drawer__inner a:not(.star-btn)::after { content: "→"; color: rgba(26,26,26,0.25); font-size: 15px; transition: transform 0.25s var(--ease), color 0.25s ease; }
.drawer__inner a:not(.star-btn):hover::after { color: #9fc100; transform: translateX(4px); }
.drawer.open .drawer__inner a:not(.star-btn) { opacity: 1; transform: translateY(0); }
.drawer .star-btn { margin-top: 16px; width: -moz-fit-content; width: fit-content; opacity: 0; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), background-color 0.2s ease, opacity 0.42s var(--ease); }
.drawer.open .star-btn { opacity: 1; }
.drawer.open .drawer__inner > *:nth-child(1) { transition-delay: 0.05s; }
.drawer.open .drawer__inner > *:nth-child(2) { transition-delay: 0.10s; }
.drawer.open .drawer__inner > *:nth-child(3) { transition-delay: 0.15s; }
.drawer.open .drawer__inner > *:nth-child(4) { transition-delay: 0.20s; }
.drawer.open .drawer__inner > *:nth-child(5) { transition-delay: 0.25s; }
.drawer.open .drawer__inner > *:nth-child(6) { transition-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) { .drawer__inner a:not(.star-btn) { transform: none; transition-property: color, opacity; } .drawer.open .drawer__inner > * { transition-delay: 0s !important; } }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.04em; text-transform: lowercase; color: var(--ink-2); margin-bottom: 22px; }
.kicker .sq { width: 7px; height: 7px; border-radius: 2px; background: var(--green); box-shadow: 0 0 0 1px rgba(26,26,26,0.1); flex-shrink: 0; }
.kicker .num { color: var(--green-text); font-weight: 600; }
.dim { color: var(--dim); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.page-header { padding: 150px 0 56px; }
@media (min-width: 768px) { .page-header { padding: 184px 0 64px; } }
.breadcrumb { font-size: 12px; letter-spacing: 0.04em; text-transform: lowercase; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-3); }
.page-header h1 { font-weight: 500; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.022em; }
.page-header h1 em { font-style: normal; color: var(--dim); }
.page-header .lede { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.62; color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════════════════
   PROSE SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.page-body { padding: 8px 0 64px; }
.about-section { padding: 40px 0; border-top: 1px solid var(--line); }
.about-section h2 { font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-bottom: 22px; max-width: 760px; }
.about-section h2 em { font-style: normal; color: var(--dim); }
.about-section p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 720px; margin: 0 0 1.1em; }
.about-section p:last-child { margin-bottom: 0; }
.about-section a { color: var(--ink); border-bottom: 1px solid var(--green); transition: border-color 0.2s; }
.about-section a:hover { border-bottom-color: var(--green-text); }
.about-section em { font-style: italic; color: var(--ink); }

/* ─── beliefs: numbered editorial grid (no boxed cards) ─── */
.beliefs-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px 48px; margin-top: 8px; }
@media (max-width: 720px) { .beliefs-grid { grid-template-columns: 1fr; gap: 32px; } }
.belief { position: relative; padding: 24px 0 0; border-top: 1px solid var(--line-2); }
.belief::before { content: ''; position: absolute; top: -1px; left: 0; width: 30px; height: 2px; background: var(--green); }
.belief .b-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; font-weight: 600; }
.belief .b-label .num { color: var(--ink-3); margin-right: 6px; font-weight: 600; }
.belief h3 { font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 12px; }
.belief h3 em { font-style: normal; color: var(--dim); }
.belief p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.belief a { color: var(--ink); border-bottom: 1px solid var(--green); transition: border-color 0.2s; }
.belief a:hover { border-bottom-color: var(--green-text); }

/* ─── CTA band (editorial, not a boxed card) ─── */
.cta-strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: end; padding: 44px 0; border-top: 1px solid var(--line-2); }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; gap: 24px; align-items: start; } }
.cta-strip .left h3 { font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-bottom: 12px; }
.cta-strip .left p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 761px) { .cta-strip .actions { justify-content: flex-end; } }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-transform: lowercase; padding: 13px 22px; border-radius: 9999px; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), background-color 0.2s ease, border-color 0.2s, color 0.2s; }
.cta-btn .arr { transition: transform 0.22s var(--ease); }
.cta-btn:hover .arr { transform: translateX(4px); }
.cta-btn.ghost { border: 1px solid var(--line-2); color: var(--ink); }
.cta-btn.ghost:hover { border-color: var(--green-text); background: rgba(159,255,0,0.06); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER (mirrors homepage)
   ═══════════════════════════════════════════════════════════════════ */
.footer { position: relative; z-index: 2; width: 100%; background: var(--bg); padding: 80px 24px 32px; overflow: hidden; }
@media (min-width: 768px) { .footer { padding-left: 40px; padding-right: 40px; } }
.footer__top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; border-top: 1px solid rgba(26,26,26,0.1); padding-top: 48px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: repeat(12, 1fr); gap: 32px; } }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (min-width: 768px) { .footer__brand { grid-column: span 4; } }
.footer__brand .star-btn { align-self: flex-start; }
.footer__brand-row { display: flex; align-items: center; gap: 10px; }
.footer__desc { font-size: 14px; line-height: 1.625; color: rgba(26,26,26,0.55); max-width: 300px; }
.footer__colwrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 640px) { .footer__colwrap { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .footer__colwrap { grid-column: span 8; } }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(26,26,26,0.4); }
.footer-col a { font-size: 14px; color: rgba(26,26,26,0.7); transition: color 0.2s; width: -moz-fit-content; width: fit-content; text-transform: capitalize; }
.footer-col a:hover { color: var(--ink); }
.footer__meta { max-width: 1200px; margin: 56px auto 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 12px; color: rgba(26,26,26,0.45); }
@media (min-width: 640px) { .footer__meta { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer__social { display: flex; align-items: center; gap: 20px; text-transform: lowercase; }
.footer__social a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.footer__social a:hover { color: var(--ink); }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }
.footer__mark-wrap { position: relative; max-width: 1700px; margin: 56px auto 0; -webkit-user-select: none; user-select: none; }
@media (min-width: 768px) { .footer__mark-wrap { margin-top: 48px; } }
.footer__rule { display: flex; align-items: center; gap: 16px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(26,26,26,0.35); margin-bottom: 20px; }
@media (min-width: 768px) { .footer__rule { font-size: 11px; margin-bottom: 28px; } }
.footer__rule .line { height: 1px; flex: 1; background: rgba(26,26,26,0.12); }
.footer__rule .nowrap { white-space: nowrap; }
.footer-mark { font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-size: clamp(78px, 19vw, 300px); padding-bottom: 0.06em; display: flex; align-items: flex-end; justify-content: center; }
.footer-mark span { display: inline-flex; align-items: flex-end; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); will-change: transform; }
.footer-mark:hover span { transform: translateY(-0.06em); }
.footer-cursor { display: inline-block; width: 0.12em; height: 0.12em; background: var(--green); margin-left: 0.08em; margin-bottom: 0.14em; border-radius: 2px; align-self: flex-end; animation: pixelBlink 1.4s steps(1) infinite; }
@keyframes pixelBlink { 0%,55% { opacity: 1; } 56%,100% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .footer-cursor { animation: none; } }

/* ─── security page: extra prose elements (lists, sub-heads, inline code) ─── */
.about-section h3 { font-weight: 600; font-size: 17px; margin: 1.8em 0 0.6em; color: var(--ink); letter-spacing: -0.005em; }
.about-section ul, .about-section ol { font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 740px; padding-left: 22px; margin: 0 0 1.2em; }
.about-section li { margin-bottom: 0.5em; }
.about-section li::marker { color: var(--green-text); }
.about-section li b, .about-section p b { color: var(--ink); font-weight: 600; }
.about-section code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.85em; background: rgba(159,255,0,0.14); padding: 0.1em 0.4em; border-radius: 4px; color: #3c4d00; word-break: break-word; }
.about-section a code { color: inherit; background: transparent; padding: 0; }

/* footer wordmark: a thin green rule wipes in beneath "lupid" on hover —
   echoes the brand's green progress bar and the framing rule above it */
.fm-sweep {
  height: 3px; width: 100%; margin-top: 0.06em;
  background: #9fff00; border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
}
.footer-mark:hover ~ .fm-sweep { transform: scaleX(1); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .fm-sweep { transition: none; } }
