/* The approved Neural edition, carried through the contact and grant pages. */
.neural-subpage { --accent: #98f1e5; --accent-2: #8be9ff; --accent-3: #bd97ff; }
.neural-subpage .header-inner { border-color: rgba(139,224,216,.2); }
.neural-subpage .button-solid,
.neural-subpage .nav-cta {
  color: #09272b;
  background: linear-gradient(110deg,#d9ffb9,#a5f9e7 68%,#b5efff);
  border-color: rgba(183,255,213,.8);
  box-shadow: 0 0 30px rgba(121,244,203,.1),inset 0 1px 0 rgba(255,255,255,.65);
}
.neural-subpage .button-ghost { color: #ede3ff; border-color: rgba(192,147,255,.4); background: linear-gradient(120deg,rgba(142,80,240,.17),rgba(42,24,73,.22)); }
.neural-subpage .nav-zkdude { border-color: rgba(192,147,255,.32); background: rgba(143,91,225,.11); }
.neural-subpage .pill { border-color: rgba(132,213,216,.2); }
.neural-subpage .pill-button { color: #e9d7ff; border-color: rgba(192,147,255,.38); background: rgba(133,79,225,.14); }
.neural-subpage .glass-card { border-color: rgba(139,213,219,.19); background: linear-gradient(145deg,rgba(17,32,47,.7),rgba(12,15,34,.66)); }
.neural-subpage .section-heading h2,
.neural-subpage .flowbook-copy h2 { color: #d1f9f2; }
.neural-subpage .timeline-step { color: #d0ffad; border-color: rgba(193,249,147,.3); background: rgba(149,224,104,.08); }
.neural-subpage .site-footer { border-top-color: rgba(144,225,215,.15); }
.neural-subpage .site-footer nav { align-items: center; }
.neural-subpage .motion-toggle { font-size: .875rem; }

/* Contact keeps its existing words, fields and submission flow. */
.neural-contact .contact-hero { padding-top: clamp(2rem,5vw,4.5rem); }
.neural-contact .contact-layout { gap: clamp(1.25rem,3vw,2.5rem); }
.neural-contact .contact-intro { background: radial-gradient(ellipse at 0 0,rgba(61,218,194,.1),transparent 58%),linear-gradient(145deg,rgba(15,36,46,.67),rgba(12,17,35,.63)); }
.neural-contact .contact-intro h1 { font-size: clamp(2.7rem,4.5vw,4.8rem); line-height: 1.04; letter-spacing: -.055em; margin: 1.05rem 0 1.4rem; }
.neural-contact .contact-intro .hero-text { font-size: 1.05rem; line-height: 1.8; }
.neural-contact .contact-direct { border-color: rgba(192,249,147,.3); background: linear-gradient(110deg,rgba(174,250,116,.075),rgba(100,224,211,.09)); padding: 1rem 1.4rem; }
.neural-contact .contact-direct span { font-size: .75rem; color: #b2ccc9; }
.neural-contact .contact-direct a { font-size: 1.5rem; letter-spacing: -.035em; color: #ceffaf; }
.neural-contact .contact-cards { gap: .8rem; margin-top: 1.5rem; }
.neural-contact .contact-cards > div { border: 1px solid rgba(130,213,215,.13); background: rgba(16,39,51,.4); border-radius: 1rem; padding: 1rem; }
.neural-contact .contact-cards > div:nth-child(even) { border-color: rgba(181,145,240,.2); background: rgba(74,44,110,.13); }
.neural-contact .contact-cards strong { color: #d6e9f5; font-size: .95rem; line-height: 1.45; }
.neural-contact .contact-cards span { font-size: .9rem; line-height: 1.65; }
.neural-contact .contact-form-card { border-color: rgba(187,143,255,.3); background: radial-gradient(ellipse at 100% 0,rgba(145,78,227,.1),transparent 55%),linear-gradient(155deg,rgba(17,24,44,.9),rgba(10,19,34,.81)); box-shadow: inset 0 1px 0 rgba(201,174,255,.08),0 24px 80px rgba(0,0,0,.2); }
.neural-contact .contact-form-card h3 { font-size: clamp(1.6rem,2.4vw,2.1rem); line-height: 1.15; letter-spacing: -.035em; }
.neural-contact .contact-form { gap: 1.15rem; }
.neural-contact .contact-form label { color: #c4d7e4; font-size: .95rem; }
.neural-contact .contact-form :is(input,select,textarea) { min-width: 0; font-size: 1rem; border-radius: .9rem; border-color: rgba(148,193,211,.22); background: rgba(5,14,28,.67); transition: border-color .2s,box-shadow .2s; }
.neural-contact .contact-form :is(input,select,textarea):focus { border-color: #9eeed7; box-shadow: 0 0 0 3px rgba(128,237,204,.12); }
.neural-contact .contact-form select { color-scheme: dark; }
.neural-contact .contact-form textarea { min-height: 11rem; }
.neural-contact .contact-form button { min-height: 3.4rem; font-size: 1rem; }
.neural-contact .contact-form .form-note { color: #aabed0 !important; line-height: 1.7; }
.neural-contact .sent-card { border-color: rgba(166,240,203,.3); background: radial-gradient(ellipse at 50% 0,rgba(99,225,192,.13),transparent 57%),linear-gradient(135deg,rgba(17,30,49,.85),rgba(19,13,39,.84)); }
.neural-contact .sent-mark { color: #cfffaf; border-color: rgba(185,255,136,.4); background: rgba(160,246,113,.08); box-shadow: 0 0 45px rgba(145,247,176,.09); }
.neural-contact .sent-card h1 { letter-spacing: -.04em; }
.neural-contact .sent-card .motion-toggle { margin-top: 1rem; }

/* The proposal's structure and funding content stay intact. */
.neural-grant .hero-title-evolved { letter-spacing: -.05em; }
.neural-grant .hero-subtitle { color: #b6e5ef; }
.neural-grant .eyebrow-row .pill:nth-child(2) { color: #d4ffb5; border-color: rgba(190,248,132,.35); background: rgba(164,232,92,.075); }
.neural-grant .eyebrow-row .pill:nth-child(3) { color: #ddc6ff; border-color: rgba(192,147,255,.3); background: rgba(138,88,228,.1); }
.neural-grant .grant-banner { border-color: rgba(180,246,129,.29); background: radial-gradient(ellipse at 0 0,rgba(142,238,115,.09),transparent 70%),linear-gradient(120deg,rgba(18,45,49,.68),rgba(18,24,44,.76)); }
.neural-grant .grant-banner-points span { border-color: rgba(160,239,214,.19); color: #bedfd7; }
.neural-grant .stat-card:nth-child(2) { border-color: rgba(177,243,128,.3); }
.neural-grant .stat-card:nth-child(2) strong { color: #cbffa6; }
.neural-grant .stat-card:nth-child(3) { border-color: rgba(184,144,240,.28); }
.neural-grant .stat-card:nth-child(3) strong { color: #d1b3ff; }
.neural-grant .anchor-panel { border-color: rgba(167,249,159,.32); box-shadow: 0 0 50px rgba(128,234,184,.06),inset 0 1px 0 rgba(190,255,211,.1); }
.neural-grant .top-panel { border-color: rgba(182,137,247,.28); background: linear-gradient(145deg,rgba(55,31,86,.5),rgba(16,23,45,.76)); }
.neural-grant .panel-label.accent { color: #d1ffb0; }
.neural-grant .band-section { border-color: rgba(145,226,215,.2); background: linear-gradient(90deg,rgba(46,131,132,.09),rgba(113,70,177,.1),rgba(128,167,79,.065)); }
.neural-grant .phase-strip > div:nth-child(even),
.neural-grant .budget-table { border-color: rgba(188,145,247,.25); }
.neural-grant #support .section-heading h2 { color: #cbffb3; }
.neural-grant .phone-storyboard .flowbook-progress span { background: linear-gradient(90deg,#bdfb92,#87edec,#b68aff); }
.neural-grant .flowbook-controls a { border-color: rgba(181,145,240,.36); background: rgba(128,79,202,.1); }
.neural-grant .phone-storyboard .flowbook-topline { color: #a3f8ed; }

@media (min-width:1040px) and (max-width:1279px) {
  .neural-grant .desktop-nav { gap: .12rem; }
  .neural-grant .desktop-nav > a { padding-inline: .38rem; font-size: .84rem; }
  .neural-grant .header-inner { gap: .6rem; padding-inline: .8rem; }
  .neural-grant .brand { gap: .5rem; }
  .neural-grant .brand-text small { letter-spacing: .08em; font-size: .59rem; }
  .neural-grant .nav-zkdude { padding-inline: .6rem; gap: .35rem; font-size: .8rem; }
}
@media (max-width:759px) {
  .neural-contact .contact-hero { padding-top: 2rem; }
  .neural-contact .contact-intro h1 { font-size: clamp(2.5rem,10.5vw,3.8rem); }
  .neural-contact .contact-cards { grid-template-columns: 1fr; }
  .neural-contact .contact-direct { display: grid; }
  .neural-contact .contact-form-card { padding: 1.4rem; }
  .neural-contact .contact-form button { padding-inline: .8rem; font-size: .95rem; }
  .neural-grant .hero-actions .button { width: 100%; justify-content: center; }
  .neural-grant .hero-title-evolved { font-size: clamp(2.65rem,10.7vw,4rem); }
  .neural-subpage .site-footer { padding-bottom: 5rem; }
}
@media (prefers-reduced-motion:reduce) {
  .neural-subpage *, .neural-subpage *::before, .neural-subpage *::after { scroll-behavior: auto !important; }
}
