:root {
  --cream: oklch(0.97 0.03 76.71);
  --blush: #f9dcc5;
  --dusty-rose: #e9a987;
  --soft-lavender: #f1b38d;
  --twilight: #4d2d30;
  --deep-purple: #7a3f5a;
  --warm-coral: oklch(0.58 0.18 40.42);
  --sunset: #ff9f5a;
  --night-background: #1b1623;
  --night-text: #f3e6f2;
  --night-panel: #241d2b;
  --page-pad-x: clamp(1rem, 4vw, 5rem);
  --section-v-pad: clamp(3.5rem, 8vw, 6rem);
  --equal-section-height: 92vh;

  --theme-background: var(--cream);
  --theme-nav-overlay: rgba(250, 247, 242, 0.95);
  --theme-text: var(--twilight);
  --theme-text-muted: rgba(77, 45, 48, 0.85);
  --theme-title: var(--deep-purple);
  --theme-title-soft: rgba(77, 45, 48, 0.75);
  --theme-title-subtle: rgba(77, 45, 48, 0.5);
  --theme-surface: rgba(255, 255, 255, 0.65);
  --theme-surface-strong: rgba(255, 255, 255, 0.84);
  --theme-surface-solid: #fff;
  --theme-surface-soft: rgba(255, 255, 255, 0.5);
  --theme-surface-soft-hover: rgba(255, 255, 255, 0.8);
  --theme-surface-mute: rgba(255, 255, 255, 0.4);
  --theme-border: rgba(122, 80, 121, 0.2);
  --theme-border-strong: rgba(107, 78, 122, 0.15);
  --theme-input-border: rgba(107, 78, 122, 0.15);
  --theme-input-bg: oklch(1 0 0 / 60%);
  --theme-divider: rgba(107, 78, 122, 0.1);
  --theme-blob-1: rgba(255, 158, 122, 0.35);
  --theme-blob-2: rgba(241, 179, 141, 0.35);
  --theme-blob-3: rgba(255, 170, 110, 0.2);
  --theme-hero-caption-bg: rgba(255, 255, 255, 0.82);
  --theme-chip-bg: rgba(255, 142, 122, 0.15);
  --theme-chip-bg-2: rgba(255, 176, 136, 0.15);
  --theme-hero-overlay: linear-gradient(rgba(250, 247, 242, 0.45), rgba(250, 247, 242, 0.12));
  --theme-hero-glow: linear-gradient(135deg, rgba(232, 196, 200, 0.18), rgba(212, 196, 224, 0.1));
  --theme-intake-blob: linear-gradient(135deg, rgba(255, 176, 136, 0.3), rgba(232, 196, 200, 0.4));
  --theme-scroll-border: rgba(122, 80, 121, 0.22);
  --theme-scroll-bg: rgba(255, 255, 255, 0.84);
  --theme-shadow-button: rgba(255, 255, 255, 0.2);
  --theme-shadow-soft: rgba(255, 255, 255, 0.2);
  --theme-shadow-soft-2: rgba(255, 255, 255, 0.12);
  --theme-shadow-soft-3: rgba(255, 255, 255, 0.16);
  --theme-shadow-glow-strong: 0 0 3px rgba(255, 255, 255, 0.85), 0 0 9px rgba(255, 255, 255, 0.69), 0 0 13px rgba(255, 255, 255, 0.42), 0 0 24px rgba(255, 255, 255, 0.33), 0 0 36px rgba(255, 255, 255, 0.24);
  --theme-shadow-glow-soft: 0 0 24px rgba(255, 255, 255, 0.33), 0 0 36px rgba(255, 255, 255, 0.24);
  --theme-text-shadow-soft: 0 3px 10px rgba(255, 255, 255, 0.35);
  --theme-focus: rgba(255, 142, 122, 0.7);
  --theme-security-note: rgba(107, 78, 122, 0.05);
}

[data-theme='night'] {
  --warm-coral: oklch(0.73 0.17 34.27);
  --theme-background: var(--night-background);
  --theme-nav-overlay: rgba(28, 20, 36, 0.95);
  --theme-text: var(--night-text);
  --theme-text-muted: rgba(242, 223, 242, 0.9);
  --theme-title: #f6cfda;
  --theme-title-soft: rgba(242, 223, 242, 0.78);
  --theme-title-subtle: rgba(242, 223, 242, 0.55);
  --theme-surface: rgba(39, 30, 45, 0.7);
  --theme-surface-strong: rgba(55, 43, 63, 0.86);
  --theme-surface-solid: var(--night-panel);
  --theme-surface-soft: rgba(39, 30, 45, 0.56);
  --theme-surface-soft-hover: rgba(57, 43, 65, 0.82);
  --theme-surface-mute: rgba(43, 33, 50, 0.48);
  --theme-border: rgba(205, 173, 210, 0.2);
  --theme-border-strong: rgba(150, 132, 166, 0.35);
  --theme-input-border: rgba(150, 132, 166, 0.42);
  --theme-input-bg: oklch(0.2068 0.0290 306.88 / 60%);
  --theme-divider: rgba(255, 255, 255, 0.14);
  --theme-blob-1: rgba(255, 170, 140, 0.14);
  --theme-blob-2: rgba(255, 164, 117, 0.16);
  --theme-blob-3: rgba(247, 188, 127, 0.1);
  --theme-hero-caption-bg: rgba(255, 210, 177, 0.82);
  --theme-chip-bg: rgba(255, 145, 116, 0.2);
  --theme-chip-bg-2: rgba(255, 185, 140, 0.1);
  --theme-hero-overlay: linear-gradient(rgba(44, 31, 52, 0.45), rgba(29, 20, 35, 0.12));
  --theme-hero-glow: linear-gradient(135deg, rgba(255, 170, 137, 0.18), rgba(222, 188, 224, 0.16));
  --theme-intake-blob: linear-gradient(135deg, rgba(255, 179, 130, 0.22), rgba(253, 193, 156, 0.28));
  --theme-scroll-border: rgba(218, 178, 206, 0.3);
  --theme-scroll-bg: rgba(63, 51, 73, 0.9);
  --theme-shadow-button: rgba(59, 47, 63, 0.2);
  --theme-shadow-soft: rgba(0, 0, 0, 0.45);
  --theme-shadow-soft-2: rgba(0, 0, 0, 0.35);
  --theme-shadow-soft-3: rgba(0, 0, 0, 0.42);
  --theme-shadow-glow-strong: 0 0 3px rgba(0, 0, 0, 0.85), 0 0 9px rgba(0, 0, 0, 0.69), 0 0 13px rgba(0, 0, 0, 0.42), 0 0 24px rgba(0, 0, 0, 0.33), 0 0 36px rgba(0, 0, 0, 0.24);
  --theme-shadow-glow-soft: 0 0 24px rgba(0, 0, 0, 0.33), 0 0 36px rgba(0, 0, 0, 0.24);
  --theme-text-shadow-soft: 0 3px 10px rgba(0, 0, 0, 0.35);
  --theme-focus: rgba(255, 168, 127, 0.7);
  --theme-security-note: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--theme-background);
  color: var(--theme-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 300ms ease, color 300ms ease;
}

/* Organic background shapes */
.bg-shape {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  will-change: transform, opacity;
}

.blob-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse at 30% 20%, var(--theme-blob-1), transparent 60%);
  top: -20%;
  left: -20%;
  border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
  filter: blur(40px);
  animation: blobFloatOne 40s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.blob-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(ellipse at 70% 80%, var(--theme-blob-2), transparent 55%);
  top: 30%;
  right: -15%;
  border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
  filter: blur(50px);
  animation: blobFloatTwo 46s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.blob-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(ellipse at 50% 50%, var(--theme-blob-3), transparent 50%);
  bottom: 10%;
  left: 10%;
  border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
  filter: blur(60px);
  animation: blobFloatThree 52s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes blobFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 61% 38% 52% 49% / 52% 49% 58% 42%;
    opacity: 0.6;
  }
  25% {
    transform: translate3d(-1.8vw, 2.1vh, 0) scale(1.03) rotate(-1.2deg);
    border-radius: 53% 44% 49% 54% / 47% 57% 50% 46%;
    opacity: 0.74;
  }
  50% {
    transform: translate3d(2.2vw, -1.8vh, 0) scale(0.96) rotate(1.5deg);
    border-radius: 47% 48% 56% 49% / 60% 42% 57% 39%;
    opacity: 0.66;
  }
  75% {
    transform: translate3d(1.2vw, 0.4vh, 0) scale(1.04) rotate(-0.6deg);
    border-radius: 55% 52% 44% 49% / 52% 48% 63% 41%;
    opacity: 0.72;
  }
}

@keyframes blobFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 42% 58% 37% 63% / 61% 41% 58% 39%;
    opacity: 0.58;
  }
  25% {
    transform: translate3d(2.6vw, -2.2vh, 0) scale(1.04) rotate(1.1deg);
    border-radius: 50% 49% 43% 58% / 59% 47% 63% 31%;
    opacity: 0.65;
  }
  50% {
    transform: translate3d(-1.7vw, 1.6vh, 0) scale(0.96) rotate(-1.3deg);
    border-radius: 55% 50% 50% 45% / 46% 53% 49% 52%;
    opacity: 0.6;
  }
  75% {
    transform: translate3d(-1.6vw, -0.8vh, 0) scale(1.02) rotate(0.8deg);
    border-radius: 48% 55% 56% 41% / 50% 40% 59% 51%;
    opacity: 0.68;
  }
}

@keyframes blobFloatThree {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 56% 50% 48% 48% / 44% 58% 45% 53%;
    opacity: 0.55;
  }
  50% {
    transform: translate3d(1.4vw, -2.2vh, 0) scale(1.07) rotate(-1.5deg);
    border-radius: 45% 58% 42% 55% / 60% 52% 46% 42%;
    opacity: 0.68;
  }
  25% {
    transform: translate3d(-1.3vw, 1.9vh, 0) scale(0.95) rotate(1.2deg);
    border-radius: 62% 42% 54% 34% / 52% 56% 46% 56%;
    opacity: 0.6;
  }
  75% {
    transform: translate3d(0.3vw, 0.2vh, 0) scale(1.03) rotate(-0.9deg);
    border-radius: 50% 55% 46% 49% / 48% 44% 60% 52%;
    opacity: 0.64;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem) var(--page-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 120;
  background: linear-gradient(to bottom, var(--theme-nav-overlay), transparent);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

nav.nav-scrolled {
  background: var(--theme-surface-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--theme-border);
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--theme-title);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo,
.nav-links a,
.nav-links svg, 
.hero-tag {
  text-shadow: var(--theme-shadow-glow-strong);
}

.hero-cta {
  box-shadow: var(--theme-shadow-glow-strong);
}

.logo::before {
  content: '';
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--theme-text);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.25s ease;
}

[data-theme='night'] .nav-links a {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--warm-coral);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--warm-coral);
  transition: width 0.3s ease;
  border-radius: 2px;
  display: none;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:active {
  color: var(--sunset);
}

.nav-links a.active-nav {
  color: var(--warm-coral);
}

.nav-links a.active-nav::after {
  width: 100%;
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  gap: 5px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--theme-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

/* Mobile menu - hidden by default */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: none;
  height: 100vh;
  background: rgb(255 255 255 / 85%);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  z-index: 110;
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

[data-theme='night'] .mobile-menu {
  background: oklch(0.2068 0.0290 306.88 / 85%);
}

.mobile-menu.active {
  right: 0;
}

.mobile-close {
  position: static;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--theme-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

body.menu-open nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  color: var(--theme-text);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.75rem 0;
  display: block;
  border-bottom: 1px solid var(--theme-border);
}

.mobile-nav-links a:hover {
  color: var(--warm-coral);
}

.mobile-notify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.mobile-notify-link .hero-cta-icon {
  flex-shrink: 0;
}

.mobile-theme-toggle {
  position: static;
  margin-top: 0;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0.65rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .mobile-menu-controls .mobile-theme-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .mobile-menu-controls .mobile-theme-toggle .theme-icon {
    width: 1.6rem;
    height: 1.6rem;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* Main container */
main {
  padding-top: 6rem;
}

/* Hero section - fluid asymmetric */
.hero {
  position: relative;
  min-height: var(--equal-section-height);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 2.5vw, 2rem) 0 2.5rem;
  overflow: hidden;
  margin-bottom: 3.5rem;
}

.hero-shell {
  width: min(1160px, calc(100% - (var(--page-pad-x) * 2)));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 1fr) 1.065fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  box-shadow: var(--theme-shadow-glow-soft);
  border-radius: 42px;
  overflow: hidden;
}

.hero-content {
  max-width: 540px;
  text-align: left;
  position: relative;
  z-index: 3;
  padding: 2.5rem 0 2.5rem 2.5rem;
}

.hero-tag {
  display: inline-block;
  background: rgb(255 255 255 / 60%);
  color: var(--warm-coral);
  border-radius: 2rem;
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: -2.5rem;
  margin-left: -1.25rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1.75rem;
}

.hero-metric-group,
.hero-shell,
.hero-tag {
  background: oklch(1 0 0 / 60%);
backdrop-filter: blur(8px);
}

[data-theme='night'] .hero-metric-group,
[data-theme='night'] .hero-shell,
[data-theme='night'] .hero-tag {
  background: oklch(0.2068 0.0290 306.88 / 60%);
backdrop-filter: blur(8px);
}

h1 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(2.75rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--theme-title);
  margin: 0 0 2rem 0;
  text-shadow: var(--theme-shadow-glow-strong);
}

h1 em {
  font-style: italic;
  color: var(--warm-coral);
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  color: var(--theme-text-muted);
  opacity: 0.85;
  margin: 0.5rem 0 1rem;
  max-width: 480px;
  text-shadow: var(--theme-text-shadow-soft);
}

/* Improve headline/copy wrapping across hero and section text */
h1,
.hero p,
.about-content h2,
.about-content p,
.pillar h3,
.pillar p,
.features-section h2,
.features-section > p,
.feature-card h3,
.feature-card p,
.cta h2,
.cta-content > p,
.usecases h2,
.usecases > p,
.usecase h3,
.usecase p,
.intake h2,
.step-text h3,
.step-text p,
footer p {
  text-wrap: balance;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--warm-coral), var(--sunset));
  color: white;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--theme-shadow-glow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--theme-shadow-button-hover, var(--theme-shadow-button));
}

/* Hero illustration - organic blob container */
.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-width: 280px;
  box-shadow: var(--theme-shadow-glow-soft);
  z-index: 2;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--theme-hero-overlay), url('images/hero-1-crop.png');
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(0.95);
  z-index: 1;
}

.mascot {
  width: 12rem;
}

.hero-image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  margin: 0 auto;
  padding: 0.5rem 0.8rem;
  width: fit-content;
  border-radius: 999px;
  background: var(--theme-hero-caption-bg);
  color: var(--theme-title);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 4;
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; transform: rotate(0deg); }
  25% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; }
  50% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; transform: rotate(5deg); }
  75% { border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%; }
}

/* Scroll indicator */
.slide-scroll-cue {
  position: fixed;
  left: 50%;
  bottom: calc(1.2rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 90;
  width: 2.45rem;
  height: 2.45rem;
  border: none;
  border-radius: 999px;
  background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--theme-title);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0.9;
  user-select: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  text-decoration: none;
  box-shadow: 0 12px 30px var(--theme-shadow-soft-2);
}

[data-theme='night'] .slide-scroll-cue {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.slide-scroll-cue:hover {
  transform: translateX(-50%) translateY(-2px);
  opacity: 1;
  box-shadow: 0 16px 36px var(--theme-shadow-soft-3);
}

.slide-scroll-cue:focus-visible {
  outline: 2px solid var(--theme-focus);
  outline-offset: 3px;
}

.slide-scroll-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  transform: translateY(0);
  animation: scrollPulse 1.6s ease-in-out infinite;
}

.slide-scroll-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.slide-scroll-icon .icon-up {
  display: none;
}

.slide-scroll-icon.up .icon-down {
  display: none;
}

.slide-scroll-icon.up .icon-up {
  display: block;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: translateY(-2px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(2px);
    opacity: 1;
  }
}

.slide-scroll-icon.up {
  animation: scrollPulseUp 1.6s ease-in-out infinite;
}

@keyframes scrollPulseUp {
  0%, 100% {
    transform: translateY(1px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes fieldBorderPulse {
  0%, 100% {
    border-color: var(--warm-coral);
  }
  50% {
    border-color: var(--theme-focus);
  }
}

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

.hero-shell {
  width: min(1160px, calc(100% - (var(--page-pad-x) * 2)));
}

.hero-metrics {
  display: grid;
  align-content: center;
  justify-content: center;
  width: 100%;
  align-items: center;
}

.hero-metric-group {
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  width: 100%;
  box-shadow: var(--theme-shadow-glow-soft);
  align-items: flex-end;
}

.hero-metric {
  border-radius: 14px;
  padding: 1.5rem 3rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-title-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-metric-text {
  text-shadow: var(--theme-shadow-glow-strong);
}

.hero-icon {
  width: 3.3rem;
  height: 3.3rem;
  padding: 1.25rem;
  box-sizing: content-box;
  display: block;
  margin: 0 auto 1rem;
  overflow: visible;
  background: rgb(255 255 255 / 60%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(77, 45, 48, 0.25);
  color: var(--theme-title-soft);
  filter: none;
  animation: heroIconPulse 7.5s ease-in-out infinite;
}

[data-theme='night'] .hero-icon {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.hero-metric:nth-child(1) .hero-icon {
  animation-delay: 0s;
}

.hero-metric:nth-child(2) .hero-icon {
  animation-delay: 2.5s;
}

.hero-metric:nth-child(3) .hero-icon {
  animation-delay: 5s;
}

@keyframes heroIconPulse {
  0%,
  8% {
    color: var(--theme-title-soft);
    filter: none;
  }
  12% {
    color: color-mix(in oklab, var(--warm-coral) 75%, var(--theme-title-soft));
    filter: drop-shadow(0 0 4px color-mix(in oklab, var(--warm-coral) 45%, transparent));
  }
  15% {
    color: var(--warm-coral);
    filter: drop-shadow(0 0 12px color-mix(in oklab, var(--warm-coral) 70%, transparent));
  }
  19% {
    color: color-mix(in oklab, var(--warm-coral) 75%, var(--theme-title-soft));
    filter: drop-shadow(0 0 5px color-mix(in oklab, var(--warm-coral) 45%, transparent));
  }
  24%,
  100% {
    color: var(--theme-title-soft);
    filter: none;
  }
}

/* Sections - fluid spacing */
section {
  padding: var(--section-v-pad) var(--page-pad-x);
  position: relative;
  scroll-margin-top: 6.75rem;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(2px);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

main section {
  --reveal-delay: 0.12s;
  will-change: transform, opacity, filter;
}

main section:nth-of-type(1) { --reveal-delay: 0.02s; }
main section:nth-of-type(2) { --reveal-delay: 0.12s; }
main section:nth-of-type(3) { --reveal-delay: 0.22s; }
main section:nth-of-type(4) { --reveal-delay: 0.3s; }

main section.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

section.cta.is-visible,
section.about.is-visible,
section.hero-metrics.is-visible,
section.hero.is-visible {
  overflow: visible;
  filter: none;
  will-change: auto;
}

.slide-scroll-cue,
.theme-toggle,
.feature-card,
.pillar-icon {
  overflow: visible;
  filter: none;
  will-change: auto;
}

/* About section */
.about {
  min-height: var(--equal-section-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 5rem;
}

.about h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: var(--theme-shadow-glow-strong);
  color: var(--theme-title);
  margin-bottom: 1.5rem;
  margin-top: -0.75rem;
}

.about p {
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  opacity: 0.92;
  margin-bottom: 2rem;
}

.about p + p {
  margin-bottom: 3rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  justify-content: flex-start;
}

.about .about-content {
  max-width: 720px;
  margin: 0 auto;
  width: min(100%, 100%);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 32px;
  background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px var(--theme-shadow-soft-2);
}

[data-theme='night'] .about .about-content {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: rgb(255 255 255 / 60%);
  color: var(--theme-title);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(77, 45, 48, 0.25);
}

[data-theme='night'] .pillar-icon {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: var(--theme-shadow-glow-strong);
  color: var(--theme-title);
  margin: 0 0 0.25rem 0;
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--theme-title-soft);
}

/* Features - scattered layout */
.features-section {
  text-align: center;
  min-height: var(--equal-section-height);
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px var(--theme-shadow-soft-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features-section h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(3rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--theme-title);
  margin-top: 0;
  margin-bottom: 1rem;
  text-shadow: 0 0 3px var(--theme-shadow-soft-2), 0 0 9px var(--theme-shadow-soft-2), 0 0 13px var(--theme-shadow-soft-2), 0 0 23px var(--theme-shadow-soft-2), 0 0 36px var(--theme-shadow-soft-2);
}

.features-section > p {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  opacity: 0.92;
  text-shadow: 0 0 3px var(--theme-shadow-soft-2), 0 0 9px var(--theme-shadow-soft-2), 0 0 13px var(--theme-shadow-soft-2), 0 0 23px var(--theme-shadow-soft-2), 0 0 36px var(--theme-shadow-soft-2);
}

.features-scattered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 3rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.feature-card {
  background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(10px);
  box-shadow: 3px 3px 13px var(--theme-shadow-soft-2) inset;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 0.3s ease;
}

[data-theme='night'] .feature-card {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.feature-card:nth-child(1) { border-radius: 30px 20px 40px 25px; }
.feature-card:nth-child(2) { border-radius: 25px 35px 25px 40px; }
.feature-card:nth-child(3) { border-radius: 40px 25px 35px 30px; }
.feature-card:nth-child(4) { border-radius: 20px 40px 30px 35px; }
.feature-card:nth-child(5) { border-radius: 35px 30px 20px 40px; }
.feature-card:nth-child(6) { border-radius: 25px 25px 45px 30px; }

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.feature-card h3 {
  font-size: 1.15rem;
  text-shadow: var(--theme-shadow-glow-strong);
  color: var(--theme-title);
  margin: 0 0 0.4rem 0;
}

.feature-card-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 1rem;
  width: 100%;
}

.feature-card-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgb(255 255 255 / 60%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(77, 45, 48, 0.25);
  line-height: 1;
  flex: 0 0 auto;
  color: var(--theme-title);
}

[data-theme='night'] .feature-card-emoji {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.feature-card-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.feature-card-content {
  text-align: left;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  text-shadow: var(--theme-shadow-glow-strong);
  color: var(--theme-title-soft);
}

/* CTA section */
.cta {
  text-align: center;
  min-height: var(--equal-section-height);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.cta .cta-content {
  max-width: 700px;
  margin: 0 auto;
  width: min(100%, 100%);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 32px;
  background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px var(--theme-shadow-soft-2);
}

[data-theme='night'] .cta .cta-content {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.cta h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: var(--theme-shadow-glow-strong);
  color: var(--theme-title);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.cta-content > p {
  font-size: 1.15rem;
  color: var(--theme-text-muted);
  opacity: 0.92;
  margin-bottom: 0.75rem;
}

.cta-content > p:first-of-type {
  margin-bottom: 1.5rem;
}

/* Use Cases */
.usecases {
  text-align: center;
  min-height: var(--equal-section-height);
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}

.usecases h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--theme-title);
  margin-bottom: 1rem;
}

.usecases > p {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  opacity: 0.92;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.usecase {
  background: var(--theme-surface-soft);
  padding: 2rem 1.5rem;
  border-radius: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.usecase:hover {
  transform: translateY(-5px);
  background: var(--theme-surface-soft-hover);
}

.usecase-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.usecase h3 {
  font-size: 1.1rem;
  color: var(--theme-title);
  margin: 0 0 0.5rem 0;
}

.usecase p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--theme-title-soft);
  line-height: 1.5;
}

/* Intake */
.intake {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 4rem;
  align-items: center;
  min-height: var(--equal-section-height);
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}

.intake h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--theme-title);
  margin-bottom: 2rem;
}

.intake-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--warm-coral), var(--sunset));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-text h3 {
  font-size: 1.2rem;
  color: var(--theme-title);
  margin: 0 0 0.25rem 0;
}

.step-text p {
  margin: 0;
  color: var(--theme-title-soft);
}

.intake-visual {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intake-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--theme-intake-blob);
  border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
  animation: morph 18s ease-in-out infinite;
}

/* Security */
.security {
  text-align: center;
}

.security h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--theme-title);
  margin-bottom: 1rem;
}

.security > p {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  opacity: 0.92;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.security-item {
  background: var(--theme-surface-mute);
  padding: 1.75rem;
  border-radius: 20px;
  text-align: left;
}

.security-item h3 {
  font-size: 1rem;
  color: var(--theme-title);
  margin: 0 0 0.5rem 0;
}

.security-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--theme-title-soft);
}

.security-mindset {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--theme-security-note);
  border-radius: 20px;
  border-left: 4px solid var(--warm-coral);
}

.security-mindset p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--theme-text-muted);
  opacity: 0.92;
}

/* Notify Form */
.notify-form {
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.name-row {
  display: flex;
  gap: 0.75rem;
}

.name-row input {
  flex: 1;
}

.form-row input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--theme-input-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--theme-text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row input:focus {
  border-color: var(--warm-coral);
}

[data-theme='night'] .form-row input::placeholder {
  color: var(--theme-text);
  opacity: 0.5;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-row input {
  flex: 1;
}

.notify-form.handle-required-error .social-row input {
  border-color: var(--warm-coral);
  animation: fieldBorderPulse 1.6s ease-in-out infinite;
}

.or {
  color: var(--theme-text);
  opacity: 0.5;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-hint {
  font-size: 0.8rem;
  text-shadow: var(--theme-shadow-glow-strong);
  color: var(--theme-text);
  opacity: 0.6;
  margin: -0.5rem 0 1rem 0;
}

.notify-submit {
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
  gap: 0.25rem;
}

.notify-submit:focus-visible {
  outline: 2px solid var(--theme-focus);
  outline-offset: 3px;
}

/* Old cta-form styles for reference */
.cta-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.cta-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--theme-input-border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--theme-surface-solid);
  color: var(--theme-text);
  outline: none;
  transition: border-color 0.3s ease;
}

.cta-form input:focus {
  border-color: var(--warm-coral);
}

.cta-form button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--warm-coral), var(--sunset));
  color: white;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--theme-shadow-button-hover, var(--theme-shadow-button));
}

.cta-note {
  font-size: 0.875rem;
  text-shadow: var(--theme-shadow-glow-strong);
  opacity: 0.6;
  color: var(--theme-text);
}

.privacy-link {
  color: var(--theme-title);
  text-decoration: underline;
}

.form-feedback-container {
  max-width: 500px;
  margin: 0.75rem auto 0.75rem;
  min-height: 1.35rem;
  display: grid;
  align-items: start;
}

.form-feedback {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-feedback:not(:empty) {
  visibility: visible;
  opacity: 1;
}

.form-feedback.success {
  color: var(--theme-title-soft);
}

.form-feedback.error {
  color: #ffb3a5;
}

#notify-success,
#notify-error {
  text-shadow: var(--theme-shadow-glow-strong);
}

.beta-success {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.beta-success-card {
  width: min(680px, 100%);
  background: var(--theme-surface-strong);
  border: 1px solid var(--theme-border-strong);
  border-radius: 26px;
  padding: 2.5rem;
  box-shadow: 0 18px 50px var(--theme-shadow-soft-3);
  backdrop-filter: blur(6px);
  text-align: center;
}

.beta-success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--theme-chip-bg);
  color: var(--theme-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.beta-success h1 {
  margin: 0 0 0.75rem;
  color: var(--theme-title);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-family: 'Crimson Pro', Georgia, serif;
}

.beta-success-intro {
  margin: 0 auto;
  max-width: 55ch;
  color: var(--theme-text);
  opacity: 0.86;
}

.beta-success-code {
  margin: 1.6rem auto 1.4rem;
  width: min(440px, 100%);
  padding: 1rem;
  border-radius: 14px;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  font-family: 'Courier New', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
}

.beta-success-code-label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  color: var(--theme-title);
  opacity: 0.85;
}

.beta-success-code-value {
  font-size: 1.85rem;
  font-weight: 700;
  display: block;
  word-break: break-all;
}

.beta-success-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.beta-success-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, var(--warm-coral), var(--sunset));
  color: #fff;
}

.beta-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--theme-shadow-soft);
}

.beta-success-btn.secondary {
  background: transparent;
  border: 1px solid var(--theme-border);
  color: var(--theme-title);
}

.beta-success-note {
  margin-top: 1.5rem;
  color: var(--theme-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.beta-success-copy-feedback {
  min-height: 1.2rem;
  margin-top: 0.8rem;
  color: var(--theme-title-soft);
}

/* Footer */
footer {
  padding: 1.75rem 3.75rem;
  text-align: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

footer p {
  margin: 0;
  text-align: left;
  font-size: 0.9rem;
  color: var(--theme-text);
  opacity: 0.6;
  text-shadow: 0 0 3px var(--theme-shadow-soft-2), 0 0 9px var(--theme-shadow-soft-2), 0 0 13px var(--theme-shadow-soft-2), 0 0 23px var(--theme-shadow-soft-2), 0 0 36px var(--theme-shadow-soft-2);
}

/* Theme toggle button */
.theme-toggle {
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

[data-theme="night"] .theme-toggle {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle {
  border: none;
  background: rgb(255 255 255 / 60%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--theme-title);
  border-radius: 999px;
  padding: 0.5rem;
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
  margin: 0;
  align-self: center;
}

.theme-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

[data-theme='light'] .theme-toggle .theme-icon-sun {
  width: 1.9rem;
  height: 1.9rem;
}

.theme-icon.is-hidden {
  display: none;
}

[data-theme='night'] .theme-toggle {
  background: oklch(0.2068 0.0290 306.88 / 60%);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    align-items: flex-start;
    padding: 2.5rem 0 1.75rem;
    padding-top: 0;
  }

  .hero-shell {
    text-align: center;
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - (var(--page-pad-x) * 1.4)));
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 2.5rem 1.5rem 2rem;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-tag {
    margin-left: 0;
  }

  .hero-visual {
    height: clamp(260px, 44vw, 360px);
  }

  h1 {
    font-size: clamp(4rem, 6vw, 6rem);
    margin: 0.5rem 0 2rem 0;
  }

  .hero-icon {
    width: 2.55rem;
    height: 2.55rem;
    padding: 0.95rem;
    margin: 0 auto 0.5rem;
  }

  .hero-metrics {
    justify-content: center;
  }

  .hero-metric-group {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 0;
    gap: 0.5rem;
  }

  .hero-metric,
  .hero-metric-text {
    text-align: center;
  }

  .hero-metric-text {
    font-size: 27px;
  }

  .intake {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-scattered, .usecase-grid, .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    padding: 0.9rem calc(1rem + var(--page-pad-x) * 0.2);
  }

  .nav-links {
    gap: 1.25rem;
  }

  .theme-toggle {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }

  .about .about-content {
    width: min(100%, calc(100% - (var(--page-pad-x) * 0.4)));
  }

  .about h2 {
    margin-top: 0.25rem;
  }
}

@media (max-width: 600px) {
  .cta h2 {
    font-size: clamp(3rem, 4.5vw, 3.25rem);
  }

  .features-section {
    padding-top: clamp(1rem, 5vw, 4rem);
  }

  .features-scattered {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
  }

  .feature-card:nth-child(1) {
    border-radius: 1.5rem 1.5rem 0.5rem 0.5rem;
  }

  .feature-card:nth-child(n+2):nth-child(-n+5) {
    border-radius: 0.5rem;
  }

  .feature-card:last-child {
    border-radius: 0.5rem 0.5rem 1.5rem 1.5rem;
  }

  .feature-card-body {
    margin-bottom: 0.25rem;
  }

  .usecase-grid, .security-grid {
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
  }

  .feature-card {
    transform: none !important;
  }

  .name-row,
  .cta-form,
  .social-row {
    flex-direction: column;
  }

  .or {
    display: none;
  }

  .slide-scroll-cue {
    width: 42px;
    height: 42px;
    font-size: 0.74rem;
    bottom: 0.95rem;
  }
}
