:root {
  color-scheme: light;
  --navy: #12355b;
  --blue: #1e6fd9;
  --gold: #f4b942;
  --cream: #fffdf7;
  --light-gold: #fff4d6;
  --pale-blue: #eaf4ff;
  --soft-blue: #d8ebff;
  --deep-blue: #0f5fbf;
  --ink: #172033;
  --gray: #5f6b7a;
  --line: #e8ecf1;
  --green: #1f7a4d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(18, 53, 91, 0.14);
  --shadow-strong: 0 28px 70px rgba(18, 53, 91, 0.2);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 235, 255, 0.82), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(244, 185, 66, 0.28), transparent 28%),
    radial-gradient(circle at 78% 78%, rgba(30, 111, 217, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(255, 244, 214, 0.94), rgba(255, 253, 247, 0.76) 42%, rgba(234, 244, 255, 0.6)),
    linear-gradient(90deg, rgba(18, 53, 91, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 53, 91, 0.035) 1px, transparent 1px),
    var(--cream);
  background-attachment: fixed;
  background-size: auto, auto, auto, auto, 46px 46px, 46px 46px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  background:
    linear-gradient(135deg, rgba(30, 111, 217, 0.08), transparent 44%),
    linear-gradient(315deg, rgba(244, 185, 66, 0.16), transparent 36%);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 82%);
  content: "";
  height: 560px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -1;
}

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

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

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 247, 0.78);
  border-bottom: 1px solid rgba(18, 53, 91, 0.09);
  box-shadow: 0 12px 34px rgba(18, 53, 91, 0.06);
  transition:
    box-shadow 240ms ease,
    background 240ms ease,
    transform 500ms var(--ease-out);
}

.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  transition: transform 220ms ease;
}

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

.logo-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(30, 111, 217, 0.35), transparent 46%),
    var(--navy);
  border: 2px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 53, 91, 0.18);
  color: var(--white);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 15px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 42px;
}

.logo-mark span:nth-child(2) {
  color: var(--gold);
  margin: 0 1px;
}

.logo-mark.small {
  border-width: 2px;
  box-shadow: none;
  flex-basis: 38px;
  font-size: 14px;
  height: 38px;
  width: 38px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: linear-gradient(135deg, var(--light-gold), var(--pale-blue));
  color: var(--navy);
  transform: translateY(-1px);
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px 42px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: calc(100vh - 90px);
  padding: 38px 0 58px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, var(--blue), var(--gold), var(--navy));
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 0;
  opacity: 0.78;
  position: absolute;
  top: 20px;
  width: min(360px, 70vw);
}

.hero-copy {
  max-width: 650px;
}

.hero-copy > * {
  animation: slideFadeUp 760ms var(--ease-out) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 80ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 240ms;
}

.eyebrow {
  color: #0f5fbf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--navy);
  font-size: clamp(3.5rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 22px;
  text-wrap: balance;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-wrap: balance;
}

h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

p {
  color: var(--gray);
  font-size: 1.03rem;
  line-height: 1.68;
}

.hero-copy > p:not(.eyebrow) {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), #46a7ff);
  box-shadow: 0 14px 28px rgba(30, 111, 217, 0.22);
  color: var(--white);
}

.button.secondary {
  background: linear-gradient(135deg, var(--white), rgba(255, 244, 214, 0.84));
  border: 2px solid var(--gold);
  color: var(--navy);
}

.inline-link {
  color: var(--deep-blue);
  display: inline-flex;
  font-weight: 900;
  margin-top: 6px;
}

.button:hover,
.contact-link:hover,
.phone-button:hover {
  transform: translateY(-3px);
}

.button.primary:hover {
  box-shadow: 0 18px 36px rgba(30, 111, 217, 0.3);
}

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

.phone-shell,
.demo-phone {
  background: #091827;
  border: 10px solid #091827;
  border-radius: 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 280ms ease,
    transform 280ms ease;
  width: min(100%, 390px);
}

.phone-shell {
  animation: slideFadeLeft 850ms var(--ease-out) 180ms both;
}

.phone-shell:hover,
.demo-phone:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px) rotate(-0.4deg);
}

.phone-top {
  background: #020810;
  border-radius: 0 0 16px 16px;
  height: 24px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 118px;
  z-index: 2;
}

.app-screen,
.demo-screen {
  background:
    radial-gradient(circle at 92% 8%, rgba(216, 235, 255, 0.92), transparent 24%),
    radial-gradient(circle at 4% 92%, rgba(244, 185, 66, 0.22), transparent 28%),
    linear-gradient(160deg, rgba(255, 244, 214, 0.85), transparent 42%),
    var(--cream);
  min-height: 620px;
  padding: 42px 22px 24px;
}

.app-screen > *,
.demo-screen > * {
  animation: slideFadeUp 560ms var(--ease-out) both;
}

.app-screen > *:nth-child(2),
.demo-screen > *:nth-child(2) {
  animation-delay: 60ms;
}

.app-screen > *:nth-child(3),
.demo-screen > *:nth-child(3) {
  animation-delay: 100ms;
}

.app-screen > *:nth-child(4),
.demo-screen > *:nth-child(4) {
  animation-delay: 140ms;
}

.app-screen > *:nth-child(5),
.demo-screen > *:nth-child(5) {
  animation-delay: 180ms;
}

.mini-logo {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.mini-logo > span:not(.logo-mark) {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.status-pill,
.screen-pill {
  background: linear-gradient(135deg, var(--light-gold), var(--pale-blue));
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
  padding: 8px 10px;
}

.app-screen h2,
.demo-screen h2 {
  font-size: 2.2rem;
  line-height: 1;
}

.instrument-card,
.demo-card {
  align-items: center;
  background: linear-gradient(135deg, var(--white), rgba(216, 235, 255, 0.32));
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.instrument-card:hover,
.demo-card:hover,
.quick-paths article:hover,
.values-grid article:hover,
.timeline article:hover,
.founder-grid article:hover,
.impact-stack article:hover {
  border-color: rgba(244, 185, 66, 0.9);
  box-shadow: 0 18px 42px rgba(18, 53, 91, 0.12);
  transform: translateY(-5px);
}

.instrument-icon,
.demo-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), #1e6fd9);
  border: 2px solid var(--gold);
  border-radius: 16px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 50px;
  font-size: 13px;
  font-weight: 900;
  height: 50px;
  justify-content: center;
}

.instrument-icon.keys,
.demo-icon.alt {
  background: linear-gradient(135deg, var(--navy), var(--gold));
}

.instrument-card strong,
.demo-card strong {
  color: var(--navy);
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.instrument-card small,
.demo-card small {
  color: var(--gray);
  display: block;
  line-height: 1.35;
}

.instrument-thumb {
  aspect-ratio: 1;
  border: 1px solid rgba(30, 111, 217, 0.16);
  border-radius: 16px;
  flex: 0 0 58px;
  height: 58px;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 58px;
}

.instrument-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 4px;
}

.instrument-row img {
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid rgba(30, 111, 217, 0.16);
  border-radius: 16px;
  object-fit: cover;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
  width: 100%;
}

.instrument-row img:hover,
.instrument-thumb:hover {
  box-shadow: 0 10px 24px rgba(18, 53, 91, 0.16);
  transform: translateY(-3px) scale(1.03);
}

.phone-button {
  background: linear-gradient(135deg, var(--blue), #46a7ff);
  border-radius: 16px;
  color: var(--white);
  display: block;
  font-weight: 900;
  margin-top: 20px;
  padding: 16px;
  text-align: center;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.quick-paths,
.values-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-paths {
  padding: 20px 0 72px;
}

.quick-paths article,
.values-grid article,
.timeline article,
.demo-notes,
.safety-note {
  background: linear-gradient(135deg, var(--white), rgba(255, 244, 214, 0.45));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 53, 91, 0.06);
  padding: 24px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.quick-paths article:nth-child(1),
.values-grid article:nth-child(1),
.timeline article:nth-child(1) {
  background: linear-gradient(135deg, var(--white), rgba(216, 235, 255, 0.58));
}

.quick-paths article:nth-child(2),
.values-grid article:nth-child(2),
.timeline article:nth-child(2) {
  background: linear-gradient(135deg, var(--white), rgba(255, 244, 214, 0.7));
}

.quick-paths article:nth-child(3),
.values-grid article:nth-child(3),
.timeline article:nth-child(3) {
  background: linear-gradient(135deg, var(--white), rgba(30, 111, 217, 0.11));
}

.path-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.split-section,
.story-section,
.app-demo {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: 74px 0;
  position: relative;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list p {
  border-left: 5px solid var(--gold);
  margin: 0;
  padding-left: 18px;
}

.cta-band {
  align-items: center;
  background:
    radial-gradient(circle at 92% 20%, rgba(244, 185, 66, 0.26), transparent 24%),
    radial-gradient(circle at 12% 95%, rgba(216, 235, 255, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(244, 185, 66, 0.2), transparent 34%),
    var(--navy);
  border-radius: 8px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 30px 0 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  content: "";
  height: 100%;
  left: -60%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 40%;
}

.cta-band:hover::after {
  animation: shineSweep 900ms ease;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin-bottom: 0;
  opacity: 0.86;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.stacked-actions {
  justify-content: flex-start;
}

.contact-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(216, 235, 255, 0.56), transparent 34%),
    linear-gradient(315deg, rgba(255, 244, 214, 0.86), rgba(255, 255, 255, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 53, 91, 0.06);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 30px 0 34px;
  padding: 28px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.contact-section:hover {
  border-color: rgba(30, 111, 217, 0.28);
  box-shadow: 0 18px 46px rgba(18, 53, 91, 0.11);
  transform: translateY(-4px);
}

.contact-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 12px;
}

.contact-section p:not(.eyebrow) {
  margin-bottom: 0;
  max-width: 660px;
}

.contact-link {
  background: linear-gradient(135deg, var(--light-gold), var(--pale-blue));
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  padding: 14px 18px;
  text-align: center;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
  white-space: nowrap;
}

.form-section {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(18, 53, 91, 0.06), transparent 34%),
    linear-gradient(315deg, rgba(255, 244, 214, 0.92), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(18, 53, 91, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  margin: 30px 0;
  overflow: hidden;
  padding: 28px;
}

.compact-form {
  margin-top: 0;
}

.form-copy {
  position: sticky;
  top: 104px;
}

.form-copy .button {
  margin-top: 12px;
}

.form-frame-wrap {
  background: var(--white);
  border: 1px solid rgba(18, 53, 91, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 53, 91, 0.08);
  min-height: 680px;
  overflow: hidden;
}

.form-frame-wrap iframe {
  border: 0;
  display: block;
  height: 760px;
  width: 100%;
}

.request-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  padding: 54px 0;
}

.request-info {
  position: sticky;
  top: 104px;
}

.donation-form-card {
  background:
    linear-gradient(135deg, rgba(216, 235, 255, 0.44), transparent 38%),
    var(--white);
  border: 1px solid rgba(18, 53, 91, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 26px;
}

.donation-card-header {
  margin-bottom: 18px;
}

.donation-card-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 12px;
}

.donation-card-header p:not(.eyebrow) {
  margin-bottom: 0;
}

.checkbox-label {
  align-items: start;
  display: flex !important;
  gap: 10px !important;
}

.checkbox-label input {
  flex: 0 0 auto;
  margin-top: 3px;
  width: auto;
}

.form-note {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.preview-note {
  background: var(--light-gold);
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 18px;
  max-width: 720px;
  padding: 14px 16px;
}

.hidden-field {
  display: none;
}

.instrument-showcase,
.next-step-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instrument-showcase {
  max-width: 360px;
}

.instrument-showcase img {
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid rgba(18, 53, 91, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 53, 91, 0.08);
  object-fit: cover;
  width: 100%;
}

.next-step-grid article {
  background: linear-gradient(135deg, var(--white), rgba(255, 244, 214, 0.58));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 53, 91, 0.06);
  padding: 22px;
}

.page-hero {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 68px 0 38px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  max-width: 850px;
}

.page-hero p {
  max-width: 720px;
}

.page-hero img {
  filter: drop-shadow(0 18px 32px rgba(18, 53, 91, 0.18));
  width: 190px;
}

.hero-photo-card {
  background: linear-gradient(135deg, var(--white), rgba(255, 244, 214, 0.72));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  max-width: 440px;
  overflow: hidden;
  transition:
    box-shadow 260ms ease,
    transform 260ms ease;
}

.hero-photo-card:hover,
.impact-highlight img:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}

.hero-photo-card img,
.impact-highlight img {
  aspect-ratio: 4 / 3;
  filter: none;
  object-fit: cover;
  transition: transform 420ms ease;
  width: 100%;
}

.hero-photo-card:hover img,
.impact-highlight img:hover {
  transform: scale(1.025);
}

.hero-photo-card figcaption {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 14px 16px 16px;
}

.about-hero,
.try-hero {
  border-bottom: 1px solid var(--line);
}

.impact-highlight {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  margin-bottom: 34px;
  padding: 54px 0;
  position: relative;
}

.impact-highlight::before,
.story-section::before,
.app-demo::before {
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--navy));
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 0;
  opacity: 0.85;
  position: absolute;
  top: -3px;
  width: min(240px, 64vw);
}

.impact-highlight img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.impact-highlight .button {
  margin-top: 12px;
}

.section-heading {
  max-width: 780px;
}

.founders-section,
.values-section {
  padding: 68px 0 24px;
}

.founder-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.founder-grid article,
.impact-stack article {
  background: linear-gradient(135deg, var(--white), rgba(216, 235, 255, 0.32));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 53, 91, 0.06);
  padding: 24px;
}

.founder-side {
  background: linear-gradient(135deg, var(--light-gold), var(--pale-blue));
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.expanded-story {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.story-copy {
  max-width: 540px;
}

.impact-stack {
  display: grid;
  gap: 14px;
}

.impact-stack strong {
  color: var(--blue);
  display: block;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  margin-bottom: 10px;
}

.impact-stack span {
  color: var(--navy);
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-section {
  padding: 42px 0 68px;
}

.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.timeline span {
  align-items: center;
  background: var(--light-gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 14px;
  width: 34px;
}

.demo-stats {
  align-items: center;
  background: linear-gradient(135deg, var(--white), rgba(216, 235, 255, 0.5));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  padding: 28px;
}

.demo-stats strong {
  color: var(--blue);
  font-size: 5rem;
  line-height: 1;
}

.demo-stats span {
  color: var(--navy);
  font-weight: 900;
}

.app-demo {
  grid-template-columns: 210px minmax(300px, 390px) minmax(0, 1fr);
}

.demo-controls {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 94px;
}

.demo-controls button {
  background: linear-gradient(135deg, var(--white), rgba(255, 244, 214, 0.46));
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 14px 16px;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.demo-controls button:hover,
.demo-controls button.active {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-color: var(--navy);
  color: var(--white);
  transform: translateX(4px);
}

.demo-screen {
  min-height: 650px;
}

.demo-form {
  display: grid;
  gap: 10px;
}

.demo-field {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--gray);
  font-size: 14px;
  padding: 13px 14px;
}

.demo-action {
  background: linear-gradient(135deg, var(--blue), #46a7ff);
  border: 0;
  border-radius: 16px;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  margin-top: 10px;
  padding: 15px;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.demo-action:hover {
  box-shadow: 0 14px 30px rgba(30, 111, 217, 0.22);
  transform: translateY(-2px);
}

.demo-note-box {
  background: #fff1f0;
  border: 1px solid #f2b8b5;
  border-radius: 14px;
  color: #8a241c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin: 12px 0;
  padding: 12px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.checklist span {
  background: linear-gradient(135deg, var(--light-gold), var(--pale-blue));
  border: 1px solid rgba(244, 185, 66, 0.7);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  padding: 9px 12px;
}

.safety-note {
  margin: 4px 0 48px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 14px;
  justify-content: flex-start;
}

.site-footer span {
  color: var(--navy);
  font-weight: 900;
  margin-right: auto;
}

.site-footer a {
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal.slide-left {
  transform: translateX(42px);
}

.reveal.slide-right {
  transform: translateX(-42px);
}

.reveal.slide-left.revealed,
.reveal.slide-right.revealed {
  transform: translateX(0);
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeLeft {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shineSweep {
  from {
    left: -60%;
  }

  to {
    left: 130%;
  }
}

@media (max-width: 920px) {
  .hero,
  .page-hero,
  .impact-highlight,
  .contact-section,
  .form-section,
  .request-layout,
  .split-section,
  .story-section,
  .app-demo {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .quick-paths,
  .founder-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .demo-controls {
    display: flex;
    flex-wrap: wrap;
    position: static;
  }

  .demo-controls button {
    flex: 1 1 140px;
    text-align: center;
  }

  .demo-controls button:hover,
  .demo-controls button.active {
    transform: translateY(-2px);
  }

  .demo-phone {
    justify-self: center;
  }

  .form-copy {
    position: static;
  }

  .request-info {
    position: static;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .site-nav a {
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.4rem);
  }

  .quick-paths,
  .founder-grid,
  .values-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    padding: 22px;
  }

  .form-section {
    padding: 18px;
  }

  .form-frame-wrap {
    min-height: 640px;
  }

  .form-frame-wrap iframe {
    height: 720px;
  }

  .contact-link {
    white-space: normal;
    width: 100%;
  }

  .instrument-showcase,
  .next-step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone-shell,
  .demo-phone {
    border-width: 8px;
    border-radius: 34px;
  }

  .app-screen,
  .demo-screen {
    min-height: 570px;
    padding: 38px 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal.slide-left,
  .reveal.slide-right {
    opacity: 1;
    transform: none;
  }
}
