:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted-2: rgba(255, 255, 255, 0.56);
  --border: rgba(255, 255, 255, 0.10);
  --border-2: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);

  --accent: rgba(255, 255, 255, 0.92);
  --accent-soft: rgba(255, 255, 255, 0.14);
  --hover-accent: rgba(255, 255, 255, 0.92);

  --grad-a: rgba(134, 102, 255, 0.18);
  --grad-b: rgba(61, 187, 255, 0.14);
  --grad-c: rgba(34, 255, 210, 0.10);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
  --header-h: 72px;

  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans",
    "Helvetica Neue", Arial, sans-serif;
  --font-head: "Cormorant Garamond", ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

[data-theme="light"] {
  --bg: #fafafa;
  --panel: rgba(10, 10, 10, 0.04);
  --panel-2: rgba(10, 10, 10, 0.06);
  --text: rgba(10, 10, 10, 0.92);
  --muted: rgba(10, 10, 10, 0.72);
  --muted-2: rgba(10, 10, 10, 0.56);
  --border: rgba(10, 10, 10, 0.10);
  --border-2: rgba(10, 10, 10, 0.14);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.16);

  --grad-a: rgba(83, 64, 255, 0.14);
  --grad-b: rgba(0, 120, 255, 0.10);
  --grad-c: rgba(0, 180, 150, 0.08);
}

[data-theme="purple"] {
  --bg: #0d0010;
  --panel: #1a0025;
  --panel-2: #1f0030;
  --text: #f0e6ff;
  --muted: #d4b8e0;
  --muted-2: rgba(212, 184, 224, 0.78);
  --border: rgba(155, 89, 182, 0.22);
  --border-2: rgba(155, 89, 182, 0.34);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 24px rgba(155, 89, 182, 0.2);

  --accent: #9b59b6;
  --hover-accent: #c39bd3;
  --accent-soft: rgba(155, 89, 182, 0.3);

  --grad-a: rgba(155, 89, 182, 0.24);
  --grad-b: rgba(195, 155, 211, 0.14);
  --grad-c: rgba(155, 89, 182, 0.10);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
p,
a,
button,
li,
input,
textarea {
  font-family: var(--font-body);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  transform: translateY(-140%);
  transition: transform 220ms ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00), rgba(255, 255, 255, 0.02));
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), rgba(255, 255, 255, 0), var(--accent-soft));
  border-radius: 999px;
}

.h2 {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  margin: 0;
}

.h3 {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.18;
  margin: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 12px 0;
  color: var(--text);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.muted {
  color: var(--muted-2);
}

.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .site-header {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

[data-theme="purple"] .site-header {
  border-bottom: 1px solid rgba(155, 89, 182, 0.3);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.brand-text {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 15px;
  color: var(--text);
  background: radial-gradient(100% 100% at 20% 0%, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
  flex: 0 0 auto;
}

.brand-mark-sm {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 13px;
}

.brand-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.nav-toggle-lines {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: inline-block;
  position: relative;
  border-radius: 999px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  opacity: 0.9;
}

.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 6px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="purple"] .nav-link:hover {
  color: var(--text);
  background: rgba(155, 89, 182, 0.10);
  border-color: rgba(155, 89, 182, 0.22);
}

.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
}

[data-theme="purple"] .nav-link.is-active {
  background: rgba(155, 89, 182, 0.14);
  border-color: rgba(155, 89, 182, 0.26);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 200ms ease, background 200ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
}

.theme-toggle-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .theme-toggle-dot {
  background: radial-gradient(circle at 30% 30%, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.18));
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.06);
}

[data-theme="purple"] .theme-toggle-dot {
  background: radial-gradient(circle at 30% 30%, rgba(195, 155, 211, 0.95), rgba(155, 89, 182, 0.24));
  border-color: rgba(195, 155, 211, 0.26);
  box-shadow: 0 0 0 4px rgba(155, 89, 182, 0.14);
}

.theme-toggle-text {
  font-size: 13px;
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 96px 0 44px;
  min-height: unset;
  display: block;
  overflow: clip;
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 18px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg));
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: -2px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(65% 55% at 50% 40%, rgba(0, 0, 0, 0.95), transparent 70%);
  opacity: 0.30;
  transform: translateZ(0);
}

[data-theme="light"] .hero-grid {
  background-image: linear-gradient(to right, rgba(10, 10, 10, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.08) 1px, transparent 1px);
  opacity: 0.20;
}

.hero-glow {
  position: absolute;
  width: 880px;
  height: 880px;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.65;
  animation: floatGlow 12s ease-in-out infinite;
  will-change: transform;
}

.hero-glow-a {
  left: 50%;
  top: 18%;
  transform: translate(-60%, -40%);
  background: radial-gradient(circle at 35% 35%, var(--grad-a), transparent 62%);
}

.hero-glow-b {
  left: 50%;
  top: 55%;
  transform: translate(-30%, -30%);
  background: radial-gradient(circle at 35% 35%, var(--grad-b), transparent 58%),
    radial-gradient(circle at 70% 70%, var(--grad-c), transparent 62%);
  animation-duration: 14s;
  animation-direction: reverse;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.eyebrow {
  margin: 0 0 14px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
}

.hero-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 64ch;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.hero-meta-sep {
  opacity: 0.7;
}

/* Buttons (no gradient buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, background 200ms ease, border-color 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-2);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .btn {
  background: rgba(10, 10, 10, 0.03);
}

[data-theme="light"] .btn:hover {
  background: rgba(10, 10, 10, 0.05);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.about-copy {
  padding: 22px 22px 22px 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  background: radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(120% 120% at 90% 20%, rgba(255, 255, 255, 0.03), transparent 60%),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

[data-theme="light"] .about-stats {
  background: radial-gradient(120% 120% at 10% 0%, rgba(10, 10, 10, 0.04), transparent 60%),
    radial-gradient(120% 120% at 90% 20%, rgba(10, 10, 10, 0.03), transparent 60%),
    var(--panel);
}

.stat {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .stat {
  border-color: rgba(10, 10, 10, 0.06);
  background: rgba(10, 10, 10, 0.02);
}

.stat-k {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.stat-v {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

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

.card {
  background: radial-gradient(130% 130% at 10% 0%, rgba(255, 255, 255, 0.06), transparent 58%),
    radial-gradient(120% 120% at 90% 20%, rgba(255, 255, 255, 0.04), transparent 62%),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .card {
  background: radial-gradient(130% 130% at 10% 0%, rgba(10, 10, 10, 0.05), transparent 58%),
    radial-gradient(120% 120% at 90% 20%, rgba(10, 10, 10, 0.04), transparent 62%),
    var(--panel);
}

[data-theme="purple"] .card,
[data-theme="purple"] .about-stats,
[data-theme="purple"] .form,
[data-theme="purple"] .founder-photo {
  background: radial-gradient(120% 120% at 10% 0%, rgba(155, 89, 182, 0.16), transparent 58%),
    radial-gradient(120% 120% at 90% 20%, rgba(195, 155, 211, 0.10), transparent 62%),
    var(--panel);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

[data-theme="purple"] .stat,
[data-theme="purple"] .pill {
  border-color: rgba(155, 89, 182, 0.20);
  background: rgba(155, 89, 182, 0.06);
}

[data-theme="purple"] .card::after {
  opacity: 0.55;
  background: linear-gradient(
    135deg,
    rgba(155, 89, 182, 0.35),
    rgba(155, 89, 182, 0.10),
    rgba(195, 155, 211, 0.22)
  );
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.12));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.45;
  pointer-events: none;
}

[data-theme="light"] .card::after {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.16), rgba(10, 10, 10, 0.04), rgba(10, 10, 10, 0.12));
}

.card-top {
  display: grid;
  gap: 4px;
}

.card-sub {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-body {
  margin: 0;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.list-tight {
  padding-left: 18px;
}

.list li {
  margin: 6px 0;
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.founder-media {
  position: relative;
}

.founder-photo {
  border-radius: calc(var(--radius) + 6px);
  padding: 14px;
  background: radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.06), transparent 58%),
    radial-gradient(120% 120% at 90% 20%, rgba(255, 255, 255, 0.04), transparent 62%),
    var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

[data-theme="light"] .founder-photo {
  background: radial-gradient(120% 120% at 10% 0%, rgba(10, 10, 10, 0.05), transparent 58%),
    radial-gradient(120% 120% at 90% 20%, rgba(10, 10, 10, 0.04), transparent 62%),
    var(--panel);
}

.founder-photo-inner {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

[data-theme="light"] .founder-photo-inner {
  border-color: rgba(10, 10, 10, 0.08);
  background: rgba(10, 10, 10, 0.02);
}

.founder-copy {
  padding: 6px 0;
}

.founder-name {
  margin-bottom: 4px;
}

.founder-title {
  margin: 0 0 14px 0;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

[data-theme="light"] .pill {
  background: rgba(10, 10, 10, 0.03);
  border-color: rgba(10, 10, 10, 0.08);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.form {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.05), transparent 58%),
    var(--panel);
  box-shadow: var(--shadow);
}

[data-theme="light"] .form {
  background: radial-gradient(120% 120% at 10% 0%, rgba(10, 10, 10, 0.05), transparent 58%), var(--panel);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}

[data-theme="light"] .field input,
[data-theme="light"] .field textarea {
  border-color: rgba(10, 10, 10, 0.12);
  background: rgba(10, 10, 10, 0.02);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .field input:focus,
[data-theme="light"] .field textarea:focus {
  border-color: rgba(10, 10, 10, 0.22);
  background: rgba(10, 10, 10, 0.03);
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted-2) 70%, transparent);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-hint {
  margin: 0;
  font-size: 13px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}

[data-theme="light"] .footer {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.footer-copy {
  color: var(--muted-2);
  font-size: 13px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, rgba(255, 255, 255, 0.06));
  color: var(--text);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 220ms ease;
  font-size: 13px;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-glow {
    animation: none;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, -12px, 0) scale(1.03);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-copy {
    padding-right: 0;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: unset;
  }
  .founder {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 68px;
  }
  .brand-text {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 10px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 86%, rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 200ms ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  .nav-link,
  .theme-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .hero {
    padding: 84px 0 64px;
    min-height: unset;
  }
  .hero-title {
    letter-spacing: -0.02em;
  }
  .section {
    padding: 72px 0;
  }
}

