@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #F7F8F5;
  --panel: #EEF1ED;
  --text: #202E28;
  --muted: #637169;
  --forest: #17634E;
  --line: #D6DFD8;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
a:focus-visible { outline: 2px solid var(--forest); outline-offset: 5px; }
::selection { background: var(--forest); color: white; }

.nav {
  max-width: 1600px;
  min-height: 98px;
  margin: auto;
  padding: 12px 3.2%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand-lockup { display: flex; align-items: center; justify-self: start; }
.brand-logo { display: block; width: auto; height: 60px; }
.nav-tagline {
  margin: 0;
  text-align: center;
  font: 500 clamp(18px, 1.7vw, 26px)/1.3 'Space Grotesk', sans-serif;
  letter-spacing: -.6px;
  text-wrap: balance;
}
.nav-cta {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid #BCCDC2;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.nav-cta:hover { background: #E5F1E9; border-color: var(--forest); }
.hero {
  max-width: 1600px;
  margin: auto;
  position: relative;
  padding: 62px 3.2% 0;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; width: 52%; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
h1 {
  margin: 0 0 26px;
  font: 500 clamp(54px, 5.5vw, 84px)/1.04 'Space Grotesk', sans-serif;
  letter-spacing: -.055em;
}
h1 > span { color: var(--forest); }
.hero-description { max-width: 475px; margin-bottom: 28px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  min-width: 180px;
  gap: 42px;
  padding: 16px 22px;
  border-radius: 5px;
  background: var(--forest);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.button:hover { background: #104F3E; transform: translateY(-2px); }
.button span { font-size: 22px; font-weight: 400; }
.hero-note { display: flex; align-items: center; gap: 12px; max-width: 475px; margin-top: 25px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.line { height: 1px; width: 22px; flex-shrink: 0; background: var(--forest); }

.neural {
  position: absolute;
  width: 59%;
  height: clamp(540px, 46vw, 720px);
  right: -2.5%;
  top: 6px;
  cursor: pointer;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.neural:focus-visible { outline: 2px solid var(--forest); outline-offset: -20px; border-radius: 20px; }
.neural canvas { position: absolute; width: 100%; height: 100%; inset: 0; z-index: 1; }
.orb-fallback { position: absolute; width: 75%; height: 75%; left: 12%; top: 12%; border-radius: 50%; background: radial-gradient(ellipse, #17634E0F, transparent 70%); border: 1px solid #17634E24; }
.orb-caption { position: absolute; left: 17%; right: 14%; top: 9%; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.orb-caption span:last-child { text-align: right; }
.orb-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #C6D8CC; border-radius: 5px; background: #EEF1EDF2; font-size: 12px; color: var(--text); backdrop-filter: blur(10px); white-space: nowrap; }
.orb-label i { width: 5px; height: 5px; background: var(--forest); border-radius: 50%; }
.label-a { top: 26%; left: 13%; }
.label-b { top: 48%; right: 12%; }
.label-c { bottom: 19%; left: 24%; }
.label-d { bottom: 31%; right: 15%; }
[hidden] { display: none !important; }

.hero-bottom { position: relative; z-index: 2; width: 100%; margin-top: 48px; border-top: 1px solid var(--line); padding: 27px 0 32px; }
.hero-bottom > p { width: 100%; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
/* Fit the complete closing sentence on one line on wide screens. */
@media (min-width: 1200px) {
  .hero-bottom > p { font-size: clamp(12px, 1.015vw, 16px); white-space: nowrap; }
}
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .brand-logo { height: 52px; }
  .orb-caption { font-size: 12px; }
  .orb-label { font-size: 11px; padding: 9px 12px; }
}
@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; gap: 8px 20px; padding: 12px 6% 18px; }
  .nav-tagline { grid-column: 1 / -1; grid-row: 2; font-size: 20px; }
  .nav-cta { grid-column: 2; grid-row: 1; }
  .hero { padding: 44px 6% 0; }
  .hero-copy { width: 100%; max-width: 680px; margin: auto; }
  h1 { font-size: clamp(44px, 7.5vw, 68px); }
  h1 br { display: none; }
  h1 > span { display: block; }
  .hero-description { max-width: 520px; }
  .neural { position: relative; width: 100%; max-width: 760px; height: auto; aspect-ratio: 1.35; right: auto; top: auto; margin: 24px auto 0; }
  .orb-caption { left: 3%; right: 3%; top: 3%; font-size: 13px; }
  .label-a { left: 3%; top: 25%; }
  .label-b { right: 3%; top: 47%; }
  .label-c { left: 18%; bottom: 14%; }
  .label-d { right: 10%; bottom: 28%; }
  .hero-bottom { margin-top: 22px; padding: 24px 0 30px; }
  .hero-bottom > p { text-wrap: pretty; }
}
@media (max-width: 600px) {
  .nav { gap: 12px 14px; padding: 10px 6% 17px; }
  .brand-logo { height: 44px; }
  .nav-cta { padding: 11px 13px; gap: 14px; }
  .nav-tagline { font-size: 18px; letter-spacing: -.4px; }
  .hero { padding-top: 34px; }
  h1 { font-size: clamp(36px, 10.5vw, 60px); letter-spacing: -.05em; margin-bottom: 22px; }
  h1 br { display: initial; }
  h1 > span { display: inline; }
  .hero-description { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
  .hero-note { font-size: 13px; margin-top: 21px; gap: 10px; }
  .line { width: 18px; }
  .neural { margin-top: 25px; aspect-ratio: 1; }
  .orb-caption { left: 0; right: 0; top: 1%; font-size: 11px; gap: 15px; }
  .orb-label { gap: 7px; font-size: 10px; padding: 8px 9px; }
  .label-a { left: 0; top: 25%; }
  .label-b { right: 0; top: 45%; }
  .label-c { left: 8%; bottom: 12%; }
  .label-d { right: 4%; bottom: 27%; }
  .hero-bottom { margin-top: 18px; padding-bottom: 26px; }
  .hero-bottom > p { font-size: 15px; }
}
@media (max-width: 360px) {
  .brand-logo { height: 38px; }
  .nav-cta { padding: 10px; gap: 10px; }
  .nav-tagline { font-size: 17px; }
  .hero-note { font-size: 12px; }
  .orb-caption { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
