:root {
  --ink: #121318;
  --muted: #666a73;
  --line: #e5e6ea;
  --paper: #f7f7f8;
  --white: #ffffff;
  --black: #08090b;
  --black-2: #111216;
  --black-3: #191a1f;
  --red: #f13d49;
  --red-bright: #ff4b56;
  --red-dark: #c72331;
  --red-soft: rgba(241, 61, 73, .12);
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .2);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
::selection { color: white; background: var(--red); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.narrow { max-width: 860px; text-align: center; }
.section { padding: 110px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  background: rgba(8, 9, 11, .16);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 9, 11, .88);
  border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(130%);
}
.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 142px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .15s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:not(.nav-donate)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transition: right .2s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav .nav-donate {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
}
.site-nav .nav-donate:hover { border-color: rgba(255, 255, 255, .4); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(241, 61, 73, .13), transparent 30%),
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, .04), transparent 31%),
    linear-gradient(150deg, #050607 0%, #0b0c0f 45%, #111217 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 250px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .34));
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 168px 0 96px;
}
.hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .67);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(241, 61, 73, .14), 0 0 22px rgba(241, 61, 73, .7);
}
.hero h1,
.section h2,
.split-copy h2,
.feature-heading h2,
.architecture h2,
.screenshot-heading h2,
.cta-card h2 {
  margin: 0;
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(52px, 7.3vw, 92px);
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 5%, #cfd1d7 48%, #ff7982 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  max-width: 790px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.58;
}
.hero-actions,
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 19px; height: 19px; fill: currentColor; }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 10px 30px rgba(241, 61, 73, .25), inset 0 1px rgba(255, 255, 255, .2);
}
.button-primary:hover { background: linear-gradient(180deg, #ff626c, var(--red)); box-shadow: 0 14px 36px rgba(241, 61, 73, .34); }
.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
}
.button-secondary:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .09); }
.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .46);
  font-size: 13px;
  font-weight: 600;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span:not(:last-child)::after { content: "•"; margin-left: 12px; color: rgba(255,255,255,.2); }
.hero-shot-wrap { position: relative; max-width: 1160px; margin: 72px auto 0; }
.hero-shot-halo {
  position: absolute;
  inset: 8% 15% -8%;
  background: rgba(241, 61, 73, .2);
  filter: blur(80px);
  opacity: .8;
}
.desktop-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 42px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.025) inset;
}
.frame-topbar {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: rgba(255,255,255,.42);
  background: linear-gradient(#1b1c20, #15161a);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.frame-topbar span { width: 9px; height: 9px; border-radius: 50%; background: #35373e; }
.frame-topbar span:first-child { background: #77303a; }
.frame-topbar b { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 650; }
.desktop-frame img { width: 100%; height: auto; }

.manifesto { background: #fff; }
.section-kicker {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.manifesto h2,
.feature-heading h2,
.screenshot-heading h2 {
  font-size: clamp(40px, 5vw, 64px);
}
.section-lead,
.feature-heading p,
.screenshot-heading p {
  max-width: 820px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 20px;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.principle-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #fafafa);
  box-shadow: 0 18px 50px rgba(20, 20, 30, .05);
}
.principle-number { color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.principle-card h3 { margin: 54px 0 14px; font-size: 24px; line-height: 1.2; }
.principle-card p { margin: 0; color: var(--muted); font-size: 16px; }

.split-section { overflow: hidden; }
.split-light { background: #f2f3f5; }
.split-dark { color: #fff; background: var(--black-2); }
.split-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 72px;
}
.split-reverse { grid-template-columns: 1.08fr .92fr; }
.split-reverse .split-copy { order: 2; }
.split-copy h2 { margin-top: 19px; font-size: clamp(38px, 4.6vw, 59px); }
.split-copy p { margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.split-dark .split-copy p { color: rgba(255, 255, 255, .62); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid rgba(199, 35, 49, .18);
  border-radius: 999px;
  color: var(--red-dark);
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pill-dark { color: #ff8087; border-color: rgba(255, 87, 98, .2); background: rgba(241, 61, 73, .09); }
.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li { position: relative; padding-left: 29px; color: #373941; font-size: 15px; font-weight: 620; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .46em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--red-soft);
  box-shadow: inset 0 0 0 1px rgba(241,61,73,.2);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: .68em;
  width: 5px;
  height: 3px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbdde1;
  border-radius: 16px;
  background: #202225;
  box-shadow: 0 26px 70px rgba(26, 28, 35, .16);
}
.image-card img { width: 100%; height: auto; }
.image-card-dark { border-color: rgba(255,255,255,.1); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.mini-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.mini-feature-grid div { display: grid; gap: 5px; }
.mini-feature-grid strong { color: #fff; font-size: 15px; }
.mini-feature-grid span { color: rgba(255,255,255,.52); font-size: 14px; line-height: 1.5; }

.feature-section { background: #fff; }
.feature-heading { max-width: 840px; margin-bottom: 55px; }
.feature-heading p { margin-left: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: #d5d7db; box-shadow: 0 20px 60px rgba(20, 20, 30, .08); }
.feature-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--red);
  background: var(--red-soft);
}
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature-card h3 { margin: 46px 0 11px; font-size: 21px; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.architecture {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 35%, rgba(241, 61, 73, .11), transparent 30%),
    #0a0b0d;
}
.architecture-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.architecture h2 { margin-top: 18px; font-size: clamp(42px, 5vw, 65px); }
.architecture-copy p { max-width: 570px; margin: 26px 0 0; color: rgba(255,255,255,.62); }
.text-link { display: inline-flex; gap: 9px; margin-top: 26px; color: #fff; font-weight: 750; text-decoration: none; }
.text-link span { color: var(--red-bright); transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }
.stack-diagram { max-width: 520px; width: 100%; margin-inline: auto; }
.stack-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.stack-card span { display: block; margin-bottom: 8px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stack-card strong { display: block; color: rgba(255,255,255,.58); font-size: 15px; font-weight: 560; line-height: 1.7; }
.stack-flame { border-color: rgba(241,61,73,.32); background: linear-gradient(145deg, rgba(241,61,73,.12), rgba(255,255,255,.035)); }
.stack-flame span { color: #ff8a91; }
.stack-connector { height: 74px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.stack-connector span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.stack-connector span:nth-child(2) { background: var(--red); box-shadow: 0 0 20px rgba(241,61,73,.5); }
.stack-base { margin-top: 14px; color: rgba(255,255,255,.3); text-align: center; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.screenshot-section { background: #f3f4f6; }
.screenshot-heading { max-width: 900px; text-align: center; margin-inline: auto; }
.full-screenshot {
  margin: 58px 0 0;
  overflow: hidden;
  border: 1px solid #d8dade;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 90px rgba(18,20,28,.17);
}
.full-screenshot img { width: 100%; }
.full-screenshot figcaption { padding: 13px 17px 14px; color: #777b85; background: #fff; border-top: 1px solid #e2e3e6; font-size: 12px; text-align: center; }

.cta-section { padding: 0 0 110px; background: #f3f4f6; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  padding: 54px 58px;
  overflow: hidden;
  position: relative;
  color: #fff;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 20%, rgba(241,61,73,.2), transparent 35%),
    linear-gradient(140deg, #101114, #191a1f);
  box-shadow: 0 30px 90px rgba(18,20,28,.16);
}
.cta-card h2 { max-width: 700px; margin-top: 15px; font-size: clamp(33px, 4vw, 49px); }
.cta-card p { max-width: 670px; margin: 18px 0 0; color: rgba(255,255,255,.58); }
.cta-actions { flex: 0 0 auto; margin-top: 0; }

.site-footer { color: rgba(255,255,255,.58); background: #08090b; }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; padding: 70px 0 50px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin: 13px 0 0; font-size: 14px; }
.footer-links { display: flex; gap: 72px; }
.footer-links div { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 5px; color: #fff; font-size: 13px; }
.footer-links a { color: rgba(255,255,255,.54); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }

:focus-visible { outline: 3px solid rgba(255, 75, 86, .55); outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s var(--ease); }
.reveal.reveal-late { transition-delay: .09s; }
.reveal.reveal-later { transition-delay: .18s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section { padding: 82px 0; }
  .site-nav { gap: 18px; }
  .split-grid, .split-reverse, .architecture-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .split-copy { order: 0; }
  .principle-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .image-card { max-width: 760px; margin-inline: auto; }
  .architecture-copy { text-align: center; }
  .architecture-copy p { margin-inline: auto; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .nav-shell { min-height: 64px; }
  .brand img { width: 124px; }
  .nav-toggle {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    color: white;
    background: rgba(255,255,255,.04);
  }
  .nav-toggle span:not(.sr-only) { width: 18px; height: 2px; border-radius: 9px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 13px;
    background: rgba(15,16,19,.96);
    box-shadow: 0 22px 60px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 9px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-donate { margin-top: 4px; text-align: center; }
  .hero { min-height: auto; }
  .hero-content { padding: 138px 0 72px; }
  .hero h1 { font-size: clamp(45px, 14vw, 68px); }
  .hero-lead { font-size: 18px; }
  .hero-meta span::after { display: none; }
  .hero-shot-wrap { margin-top: 48px; }
  .frame-topbar { height: 29px; }
  .principle-grid, .feature-grid, .mini-feature-grid { grid-template-columns: 1fr; }
  .principle-card, .feature-card { min-height: auto; }
  .principle-card h3, .feature-card h3 { margin-top: 28px; }
  .section-lead, .feature-heading p { font-size: 18px; }
  .cta-card { padding: 38px 26px; }
  .footer-grid { flex-direction: column; }
  .footer-links { gap: 48px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .button { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero h1 { letter-spacing: -.055em; }
  .feature-heading h2, .manifesto h2, .screenshot-heading h2 { font-size: 38px; }
  .split-copy h2 { font-size: 37px; }
  .architecture h2 { font-size: 40px; }
  .footer-links { flex-direction: column; gap: 30px; }
}

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