@import url('./colors_and_type.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: var(--rx-font-sans);
  color: var(--rx-fg-1);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #EBEBEB; }
.nav-inner { display: flex; align-items: center; gap: 32px; padding: 16px 32px; max-width: 1200px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 32px; height: 32px; }
.nav-brand .name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: #11437B; }
.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: #525252; transition: color .15s ease; }
.nav-links a:hover { color: #11437B; }
.nav-cta {
  padding: 10px 18px; border-radius: 8px;
  background: linear-gradient(135deg, #1995E9 0%, #03CDBE 100%);
  color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 16px rgba(17, 67, 123, 0.10);
  transition: filter .15s ease;
}
.nav-cta:hover { filter: brightness(1.05); }
/* Mobile hamburger button (hidden on desktop, shown under 980px) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; background: transparent; border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #11437B; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Grow-at-top: the nav is larger while the page is scrolled to the very top, then
   shrinks to the compact size as soon as the user scrolls. JS toggles .at-top. */
.nav-inner { transition: padding .25s ease; }
.nav-brand img { transition: width .25s ease, height .25s ease; }
.nav-brand .name { transition: font-size .25s ease; }
.nav-cta { transition: filter .15s ease, padding .25s ease, font-size .25s ease; }
.nav-links a { transition: color .15s ease, font-size .25s ease; }
.nav.at-top .nav-inner { padding-top: 26px; padding-bottom: 26px; }
.nav.at-top .nav-brand img { width: 48px; height: 48px; }
.nav.at-top .nav-brand .name { font-size: 26px; }
.nav.at-top .nav-links a { font-size: 16px; }
.nav.at-top .nav-cta { padding: 13px 24px; font-size: 16px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1995E9 0%, #03CDBE 100%);
  color: #fff;
  padding: 100px 0 120px;
}
.hero-pattern { position: absolute; inset: 0; pointer-events: none; opacity: 0.28; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: rgba(255,255,255,0.16); backdrop-filter: blur(4px);
  border-radius: 9999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
}
.hero h1 { font-size: 64px; font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; margin-top: 22px; text-shadow: 0 2px 16px rgba(17, 67, 123, 0.2); }
.hero h1 em { font-style: normal; color: #fff; }
.hero h1 .underline { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.6); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.hero p.sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.95); margin-top: 24px; max-width: 540px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; }
.hero-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 8px;
  background: #fff; color: #11437B;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 24px rgba(17, 67, 123, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(17, 67, 123, 0.30); }
.hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 20px; color: #fff; font-weight: 600; font-size: 15px;
  border-radius: 8px;
  transition: background .15s ease;
}
.hero-cta-ghost:hover { background: rgba(255,255,255,0.12); }

.hero-card-stack { position: relative; }
.hero-card {
  background: #fff; color: #171717;
  border-radius: 16px; padding: 22px 26px;
  box-shadow: 0 24px 64px rgba(17, 67, 123, 0.30);
  display: flex; flex-direction: column; gap: 12px;
}
.hero-card .head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #EBEBEB; gap: 8px; }
.hero-card .topic { background: #E5F3FD; color: #0E5A8C; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 9999px; }
.hero-card .meter { display: inline-flex; align-items: center; gap: 5px; }
.hero-card .seg { display: inline-block; height: 5px; width: 12px; border-radius: 9999px; }
.hero-card .pct { font-family: var(--rx-font-mono); font-size: 11px; font-weight: 700; color: #404040; }
.hero-card .body { font-size: 14px; line-height: 1.55; color: #171717; }
.hero-card .body b { color: #0E5A8C; font-weight: 600; }
.hero-card .actions { display: flex; align-items: center; justify-content: space-between; }
.hero-card .why { padding: 5px 12px; border-radius: 6px; border: 1px solid #1995E9; color: #0E5A8C; font-weight: 600; font-size: 12px; }
.hero-card .stars { color: #ED6C02; font-size: 13px; letter-spacing: 3px; }
.hero-card .foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #EBEBEB; font-size: 10.5px; color: #737373; }

.hero-card.backstack { position: absolute; inset: 24px -16px -16px 24px; z-index: -1; opacity: 0.6; transform: rotate(2deg); }

/* ===== Section base ===== */
section.s { padding: 96px 0; }
section.s-inner, .s-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.s-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1378BB; margin-bottom: 14px; }
.s-title { font-size: 44px; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; color: #171717; max-width: 720px; text-wrap: balance; }
.s-sub { font-size: 18px; line-height: 1.65; color: #525252; margin-top: 18px; max-width: 680px; text-wrap: pretty; }

/* Problem */
.s-problem { background: #F5F5F5; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.problem-stat { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px rgba(17, 67, 123, 0.06); display: flex; flex-direction: column; gap: 8px; }
.problem-stat .big { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #11437B; }
.problem-stat .lbl { font-size: 13px; font-weight: 600; color: #404040; line-height: 1.4; }
.problem-stat .src { font-size: 11px; color: #737373; margin-top: auto; font-family: var(--rx-font-mono); }
.problem-stat.accent { background: linear-gradient(135deg, #11437B 0%, #1995E9 100%); color: #fff; }
.problem-stat.accent .big, .problem-stat.accent .lbl, .problem-stat.accent .src { color: #fff; }
.problem-stat.accent .src { color: rgba(255,255,255,0.7); }

/* Product */
.s-product { background: #fff; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.product-features { display: grid; gap: 22px; }
.product-feature { display: flex; gap: 16px; }
.product-feature .num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; background: #E5F3FD; color: #1378BB; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; font-family: var(--rx-font-mono); }
.product-feature h3 { font-size: 18px; font-weight: 700; color: #171717; margin-bottom: 6px; }
.product-feature p { font-size: 14.5px; line-height: 1.6; color: #525252; }
.product-card-demo { background: #FAFAFA; border-radius: 16px; padding: 32px; box-shadow: 0 1px 2px rgba(17, 67, 123, 0.06); }

/* Six pillars */
.s-pillars { background: #11437B; color: #fff; position: relative; overflow: hidden; }
.s-pillars .s-title { color: #fff; }
.s-pillars .s-sub { color: rgba(255,255,255,0.85); }
.s-pillars .s-eyebrow { color: #03CDBE; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.pillar { padding: 28px; background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; }
.pillar .num { font-family: var(--rx-font-mono); font-size: 12px; font-weight: 700; color: #03CDBE; letter-spacing: 0.06em; }
.pillar h3 { font-size: 18px; font-weight: 700; margin-top: 10px; line-height: 1.3; }
.pillar p { font-size: 13.5px; color: rgba(255,255,255,0.85); line-height: 1.6; margin-top: 8px; }
.pillar .phase { display: inline-block; margin-top: 14px; padding: 3px 10px; background: rgba(3, 205, 190, 0.18); color: #03CDBE; border-radius: 9999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* Deployment */
.s-deploy { background: #fff; }
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.deploy-card { padding: 28px; border: 1px solid #EBEBEB; border-radius: 12px; transition: box-shadow .15s ease; }
.deploy-card:hover { box-shadow: 0 8px 24px rgba(17, 67, 123, 0.10); }
.deploy-card .ico { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #1995E9 0%, #03CDBE 100%); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.deploy-card h3 { font-size: 18px; font-weight: 700; color: #171717; margin-bottom: 8px; }
.deploy-card p { font-size: 14px; line-height: 1.6; color: #525252; }

/* Traction */
.s-traction { background: #FAFAFA; }
.traction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.traction-card { padding: 28px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(17, 67, 123, 0.10); }
.traction-card .big { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; background: linear-gradient(135deg, #1995E9, #03CDBE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.traction-card .lbl { font-size: 14px; color: #404040; font-weight: 600; margin-top: 10px; }
.traction-card .desc { font-size: 13px; color: #737373; line-height: 1.5; margin-top: 6px; }

/* CTA */
.s-cta { padding: 96px 0; text-align: center; }
.cta-card { max-width: 880px; margin: 0 auto; padding: 64px 56px; background: linear-gradient(135deg, #11437B 0%, #1995E9 100%); color: #fff; border-radius: 20px; box-shadow: 0 24px 64px rgba(17, 67, 123, 0.30); position: relative; overflow: hidden; }
.cta-card h2 { font-size: 38px; font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; }
.cta-card p { font-size: 17px; color: rgba(255,255,255,0.92); margin: 16px auto 32px; max-width: 580px; line-height: 1.6; }
.cta-card .ctas { display: inline-flex; gap: 14px; }
.cta-card .primary { padding: 14px 26px; border-radius: 8px; background: #fff; color: #11437B; font-weight: 700; font-size: 15px; }
.cta-card .ghost { padding: 14px 22px; color: #fff; border: 1px solid rgba(255,255,255,0.4); border-radius: 8px; font-weight: 600; font-size: 15px; }

/* Footer */
footer { background: #171717; color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 56px; }
.footer-brand img { width: 36px; height: 36px; margin-bottom: 12px; }
.footer-brand .name { font-weight: 700; color: #fff; font-size: 18px; letter-spacing: -0.01em; }
.footer-brand p { font-size: 13px; line-height: 1.6; margin-top: 10px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; padding: 4px 0; color: rgba(255,255,255,0.65); transition: color .15s ease; }
.footer-col a:hover { color: #03CDBE; }
.footer-bottom { max-width: 1200px; margin: 48px auto 0; padding: 24px 32px 0; border-top: 1px solid rgba(255,255,255,0.10); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom .legal { display: flex; gap: 18px; }

/* ===== Discharge dilemma (inside Problem) ===== */
.dilemma { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 64px; padding-top: 56px; border-top: 1px solid #E3E8EE; }
.dilemma-visual img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 8px 24px rgba(17, 67, 123, 0.14); background: #fff; }
.dilemma-copy h3 { font-size: 24px; font-weight: 700; color: #11437B; letter-spacing: -0.01em; }
.dilemma-copy p { font-size: 16px; line-height: 1.7; color: #525252; margin-top: 14px; }
.dilemma-copy blockquote { margin-top: 22px; padding: 16px 20px; background: #fff; border-left: 4px solid #03CDBE; border-radius: 0 8px 8px 0; font-size: 16px; font-style: italic; color: #11437B; box-shadow: 0 1px 2px rgba(17, 67, 123, 0.06); }

/* ===== Solution / Introducing RyniX (video) ===== */
.s-solution { background: #fff; }
.solution-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; background: radial-gradient(120% 120% at 30% 20%, #11437B 0%, #0B1B2E 100%); box-shadow: 0 24px 64px rgba(17, 67, 123, 0.30); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; overflow: hidden; }
.video-frame .play { width: 64px; height: 64px; border-radius: 9999px; background: rgba(255,255,255,0.14); backdrop-filter: blur(4px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; border: 1px solid rgba(255,255,255,0.4); }
.video-frame .video-label { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.solution-copy .s-title { font-size: 38px; }
.outcome-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.outcome { padding: 18px; border: 1px solid #EBEBEB; border-radius: 12px; background: #FAFAFA; }
.outcome h4 { font-size: 15px; font-weight: 700; color: #1378BB; }
.outcome p { font-size: 13px; color: #525252; margin-top: 4px; line-height: 1.45; }

/* ===== Why hospitals choose RyniX ===== */
.s-why { background: #F5F5F5; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.why-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 1px 2px rgba(17, 67, 123, 0.06); transition: box-shadow .15s ease, transform .15s ease; }
.why-card:hover { box-shadow: 0 8px 24px rgba(17, 67, 123, 0.12); transform: translateY(-2px); }
.why-ico { width: 46px; height: 46px; border-radius: 10px; background: #E5F3FD; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: #171717; line-height: 1.3; }
.why-card p { font-size: 14px; color: #525252; line-height: 1.6; margin-top: 8px; }

/* ===== Savings calculator ===== */
.s-calc { background: #fff; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; align-items: stretch; }
.calc-inputs { background: #FAFAFA; border: 1px solid #EBEBEB; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.calc-group label { display: block; font-size: 14px; font-weight: 600; color: #404040; margin-bottom: 10px; }
.calc-group label b { color: #1378BB; font-family: var(--rx-font-mono); font-weight: 700; }
.calc-group input[type="range"] { width: 100%; accent-color: #1995E9; height: 6px; }
.calc-group input[type="number"] { width: 100%; padding: 12px 14px; border: 1px solid #D4D4D4; border-radius: 8px; font: 600 16px var(--rx-font-sans); color: #171717; background: #fff; }
.calc-group input[type="number"]:focus { outline: none; border-color: #1995E9; box-shadow: 0 0 0 3px rgba(25, 149, 233, 0.18); }
.calc-result { background: linear-gradient(135deg, #11437B 0%, #1995E9 100%); color: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: 0 24px 64px rgba(17, 67, 123, 0.24); display: flex; flex-direction: column; }
.calc-big { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.calc-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 8px; }
.calc-breakdown { margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.22); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.calc-breakdown div { display: flex; justify-content: space-between; font-size: 14px; }
.calc-breakdown span:first-child { color: rgba(255,255,255,0.82); }
.calc-breakdown span:last-child { font-weight: 700; font-family: var(--rx-font-mono); }
.calc-cta { margin-top: auto; padding-top: 24px; }
.calc-cta { display: inline-block; margin-top: 26px; padding: 13px 22px; background: #fff; color: #11437B; border-radius: 8px; font-weight: 700; font-size: 15px; text-align: center; transition: transform .15s ease; }
.calc-cta:hover { transform: translateY(-1px); }
.calc-assumptions { margin-top: 22px; font-size: 12px; line-height: 1.6; color: #737373; max-width: 980px; }
.footnote-star { color: #03CDBE; font-weight: 700; }

/* ===== Generic page (subpages) ===== */
.page { padding-top: 0; }

/* Company hero */
.company-hero { background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FE 100%); padding: 88px 0 64px; text-align: center; border-bottom: 1px solid #EBEBEB; }
.company-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.02em; color: #1995E9; line-height: 1.08; }
.company-hero p { font-size: 18px; line-height: 1.65; color: #525252; max-width: 640px; margin: 20px auto 0; }

/* Company mission */
.company-mission { background: #fff; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission-copy p { font-size: 16px; line-height: 1.75; color: #525252; margin-top: 16px; }
.mission-image img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 12px 32px rgba(17, 67, 123, 0.16); }

/* Company values */
.company-values { background: #F5F5F5; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.value-card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 1px 2px rgba(17, 67, 123, 0.06); border-top: 3px solid #03CDBE; }
.value-card h3 { font-size: 18px; font-weight: 700; color: #11437B; }
.value-card p { font-size: 14.5px; line-height: 1.65; color: #525252; margin-top: 12px; }

/* Company team */
.company-team { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.team-member { display: flex; gap: 22px; padding: 26px; border: 1px solid #EBEBEB; border-radius: 16px; background: #FAFAFA; transition: box-shadow .15s ease; }
.team-member:hover { box-shadow: 0 8px 24px rgba(17, 67, 123, 0.10); }
.member-photo { flex-shrink: 0; }
.member-photo img, .member-anon { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.member-anon { background: linear-gradient(135deg, #11437B 0%, #1995E9 100%); display: flex; align-items: center; justify-content: center; }
.member-anon span { color: rgba(255,255,255,0.9); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; }
.member-body h3 { font-size: 18px; font-weight: 700; color: #171717; }
.member-role { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1378BB; margin: 4px 0 10px; }
.member-body p { font-size: 14px; line-height: 1.6; color: #525252; }

/* ===== Demo page ===== */
.demo-page { background: #F5F5F5; min-height: 70vh; padding: 64px 0 96px; }
.demo-wrap { max-width: 640px; margin: 0 auto; padding: 44px 40px; background: #fff; border-radius: 20px; box-shadow: 0 12px 40px rgba(17, 67, 123, 0.12); }
.demo-header { text-align: center; margin-bottom: 28px; }
.demo-header .s-eyebrow { margin-bottom: 10px; }
.demo-header h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.015em; color: #171717; }
.demo-header p { font-size: 16px; line-height: 1.6; color: #525252; margin-top: 12px; }
.demo-error { margin-top: 18px; padding: 12px 16px; background: #FDECEA; color: #B3261E; border-radius: 8px; font-size: 14px; text-align: left; }
.demo-form { display: flex; flex-direction: column; gap: 20px; }
.demo-field label { display: block; font-size: 14px; font-weight: 700; color: #404040; margin-bottom: 8px; }
.demo-field input, .demo-field textarea { width: 100%; padding: 13px 15px; border: 1px solid #D4D4D4; border-radius: 8px; font: 400 15px var(--rx-font-sans); color: #171717; background: #fff; resize: vertical; }
.demo-field input:focus, .demo-field textarea:focus { outline: none; border-color: #1995E9; box-shadow: 0 0 0 3px rgba(25, 149, 233, 0.18); }
.demo-field input.invalid, .demo-field textarea.invalid { border-color: #D32F2F; }
.field-error { color: #D32F2F; font-size: 12.5px; margin-top: 6px; }
.demo-submit { margin-top: 4px; padding: 15px 24px; border-radius: 8px; background: linear-gradient(135deg, #1995E9 0%, #03CDBE 100%); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 8px 24px rgba(17, 67, 123, 0.18); transition: filter .15s ease, transform .15s ease; }
.demo-submit:hover { filter: brightness(1.04); transform: translateY(-1px); }
.demo-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.demo-success { text-align: center; padding: 24px 8px; }
.demo-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 9999px; background: #E8F5E9; color: #2E7D32; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.demo-success h2 { font-size: 28px; font-weight: 800; color: #171717; }
.demo-success p { font-size: 16px; line-height: 1.65; color: #525252; margin: 14px auto 24px; max-width: 460px; }
.demo-back { color: #1378BB; border: 1px solid #1995E9; border-radius: 8px; }

@media (max-width: 980px) {
  .hero-inner, .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .problem-grid, .pillar-grid, .deploy-grid, .traction-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dilemma, .solution-grid, .calc, .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .demo-wrap { padding: 32px 22px; }
  /* Mobile nav: hamburger + dropdown */
  .nav-toggle { display: flex; }
  .nav-inner { gap: 12px; }
  .nav-cta { margin-left: auto; padding: 9px 14px; font-size: 13px; box-shadow: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid #EBEBEB; border-bottom: 1px solid #EBEBEB;
    box-shadow: 0 12px 28px rgba(17, 67, 123, 0.12); padding: 6px 0;
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 32px; font-size: 16px; font-weight: 600; }
  .nav-links a:hover { background: #F5F9FE; color: #11437B; }
}
@media (max-width: 560px) {
  .problem-grid, .why-grid, .outcome-row, .pillar-grid, .deploy-grid, .traction-grid { grid-template-columns: 1fr; }
  .team-member { flex-direction: column; }
}
