:root {
  --ink: #12213a;
  --muted: #5d6878;
  --line: #dce7e6;
  --green: #149a5b;
  --green-dark: #0c7142;
  --blue: #1768ac;
  --amber: #b77715;
  --rose: #bf3e63;
  --surface: #ffffff;
  --wash: #f5faf8;
  --sky: #eef6fb;
  --shadow: 0 20px 60px rgba(18, 33, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
}

.brand-logo svg {
  display: block;
  width: 44px;
  height: 44px;
}

.brand-logo rect {
  fill: #eef8f3;
}

.brand-logo path:nth-of-type(1) {
  fill: var(--green);
}

.brand-logo circle:nth-of-type(1),
.brand-logo path:nth-of-type(2) {
  fill: var(--green);
}

.brand-logo circle:nth-of-type(2),
.brand-logo path:nth-of-type(3) {
  fill: var(--blue);
}

.brand-logo path:nth-of-type(4) {
  fill: #6ac18a;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #27364e;
  font-size: 15px;
  font-weight: 650;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 760;
  cursor: pointer;
}

.header-cta,
.primary-button {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(20, 154, 91, 0.24);
}

.secondary-button {
  color: var(--blue);
  background: #fff;
  border-color: #b9cedd;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(36px, 5vw, 72px) clamp(18px, 4vw, 64px) 34px;
  background: linear-gradient(105deg, #f7fbff 0%, #f6fbf8 52%, #fff8ef 100%);
}

.eyebrow,
.section-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 18px;
  border: 1px solid #cde9db;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--green-dark);
  background: #edf9f2;
  font-size: 13px;
  font-weight: 780;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 0;
}

.trust-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-strip dt {
  color: var(--blue);
  font-size: 22px;
  font-weight: 850;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  overflow: hidden;
  border: 1px solid #d8e5e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.app-mockup {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(220px, 0.7fr);
  gap: 22px;
  align-items: center;
  padding: clamp(20px, 3vw, 38px);
  background: linear-gradient(135deg, #f7fbff 0%, #eef9f2 100%);
}

.phone-shell {
  max-width: 350px;
  min-height: 600px;
  margin: 0 auto;
  border: 10px solid #111a2c;
  border-radius: 34px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(18, 33, 58, 0.22);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 780;
}

.phone-top strong {
  color: var(--green-dark);
}

.parent-card {
  border-radius: 8px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.parent-card small {
  display: block;
  margin-bottom: 8px;
  opacity: 0.85;
}

.parent-card h2 {
  margin: 0;
  font-size: 28px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.quick-actions span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #27364e;
  background: #f8fbfa;
  text-align: center;
}

.quick-actions strong {
  font-size: 15px;
}

.quick-actions small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.quick-actions span:nth-child(3) {
  color: #fff;
  background: #d7323c;
}

.quick-actions span:nth-child(3) small {
  color: #ffe9eb;
}

.sos-button {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  margin: 18px auto;
  border: 8px solid #ffe0e3;
  border-radius: 999px;
  color: #fff;
  background: #d7323c;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(215, 50, 60, 0.26);
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.status-list span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
}

.dashboard-card p {
  color: var(--muted);
}

.dashboard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.dashboard-tags span {
  border: 1px solid #cfe2ea;
  border-radius: 8px;
  padding: 8px 10px;
  color: #1d5478;
  background: #f2f8fb;
  font-size: 12px;
  font-weight: 800;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 130px;
  margin-top: 20px;
}

.mini-chart span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
}

.mini-chart span:nth-child(1) {
  height: 45%;
}

.mini-chart span:nth-child(2) {
  height: 72%;
  background: var(--green);
}

.mini-chart span:nth-child(3) {
  height: 56%;
  background: var(--amber);
}

.mini-chart span:nth-child(4) {
  height: 88%;
  background: var(--rose);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 64px);
  transform: translateY(-22px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 46px rgba(18, 33, 58, 0.09);
}

.feature-band article {
  min-height: 205px;
  padding: 26px;
  background: #fff;
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #eaf8f1;
  font-weight: 850;
}

.feature-band article:nth-child(2) .icon {
  color: var(--amber);
  background: #fff3dc;
}

.feature-band article:nth-child(3) .icon {
  color: var(--blue);
  background: var(--sky);
}

.feature-band article:nth-child(4) .icon {
  color: var(--rose);
  background: #fdeef3;
}

.feature-band p,
.audience-grid p,
.pilot-steps p,
.pilot-copy p,
.form-copy p,
.partner-band p,
.section-intro p,
.feature-grid p,
.workflow-grid p,
.services-section p,
.app-preview p {
  color: var(--muted);
}

.split-section,
.pilot-section,
.form-section,
.partner-band,
.app-features,
.app-preview,
.sos-flow-section,
.trailer-section,
.workflow-section,
.services-section,
.promise-section,
.trust-section,
.faq-section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 64px);
}

.section-intro {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-intro.compact {
  max-width: 780px;
}

.app-features {
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: #eaf8f1;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.app-preview {
  display: block;
  background: #f6faf8;
}

.app-preview .section-intro {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.app-screen {
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: start;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 33, 58, 0.08);
}

.app-screen > strong {
  color: var(--ink);
  font-size: 15px;
}

.screen-top,
.screen-body {
  width: 100%;
}

.app-screen {
  min-width: 0;
}

.screen-top {
  display: flex;
  max-width: 260px;
  justify-content: space-between;
  border: 8px solid #111a2c;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  padding: 14px 16px 8px;
  color: #dce8ed;
  background: #111a2c;
  font-size: 12px;
  font-weight: 800;
}

.screen-body {
  display: grid;
  align-content: start;
  gap: 12px;
  max-width: 260px;
  min-height: 372px;
  border: 8px solid #111a2c;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 33, 58, 0.16);
}

.screen-body h3 {
  margin-bottom: 0;
  font-size: 19px;
}

.screen-body p {
  color: var(--muted);
  font-size: 13px;
}

.center-screen {
  align-content: center;
  text-align: center;
}

.screen-logo {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 6px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
}

.language-list,
.alert-list,
.record-list {
  display: grid;
  gap: 8px;
}

.language-list span,
.alert-list span,
.record-list span,
.metric-row,
.risk-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: #27364e;
  background: #f8fbfa;
  font-size: 13px;
  font-weight: 700;
}

.home-tiles,
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-tiles span,
.symptom-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #27364e;
  background: #f8fbfa;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.home-tiles .danger-tile {
  color: #fff;
  background: #d7323c;
}

.screen-sos {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  justify-self: center;
  border: 7px solid #ffe0e3;
  border-radius: 999px;
  color: #fff;
  background: #d7323c;
  font: inherit;
  font-weight: 900;
}

.screen-sos.large {
  width: 112px;
  height: 112px;
  font-size: 28px;
}

.alert-screen .screen-body {
  color: #fff;
  background: linear-gradient(180deg, #d7323c 0%, #a91f2a 100%);
}

.alert-screen .screen-body p,
.alert-screen .screen-body h3 {
  color: #fff;
}

.alert-screen .alert-list span {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.mini-status-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 86px;
  margin-top: 8px;
}

.mini-status-chart i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
}

.mini-status-chart i:nth-child(1) {
  height: 45%;
}

.mini-status-chart i:nth-child(2) {
  height: 72%;
  background: var(--green);
}

.mini-status-chart i:nth-child(3) {
  height: 54%;
  background: var(--amber);
}

.mini-status-chart i:nth-child(4) {
  height: 86%;
  background: var(--rose);
}

.service-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.service-chip-row span {
  border-radius: 8px;
  padding: 8px 10px;
  color: #704600;
  background: #fff3dc;
  font-size: 12px;
  font-weight: 800;
}

.sos-flow-section {
  background: #fff;
}

.sos-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sos-flow-grid article {
  position: relative;
  min-height: 220px;
  border: 1px solid #efd0d3;
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.sos-flow-grid article:not(:last-child)::after {
  position: absolute;
  top: 34px;
  right: -12px;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: #d7323c;
  content: ">";
  display: grid;
  place-items: center;
  font-weight: 900;
}

.sos-flow-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: #d7323c;
}

.sos-flow-grid p {
  color: var(--muted);
}

.trailer-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #0f1f35;
  color: #fff;
}

.trailer-section .section-label {
  color: #dff5e8;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.trailer-copy p {
  color: #c9d9df;
}

.trailer-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(20, 154, 91, 0.2), rgba(23, 104, 172, 0.18)),
    #142a47;
  box-shadow: var(--shadow);
}

.play-button {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin-bottom: 28px;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.trailer-frame ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trailer-frame li {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.trailer-frame span {
  color: #d9e5ea;
}

.workflow-section {
  background: #f7fbff;
}

.promise-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #ffffff;
}

.promise-section p,
.promise-grid span,
.trust-grid p,
.faq-grid p,
.form-heading p {
  color: var(--muted);
}

.promise-grid {
  display: grid;
  gap: 16px;
}

.promise-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.promise-grid strong {
  color: var(--green-dark);
  font-size: 18px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-grid article {
  min-height: 220px;
  border: 1px solid #d6e4ee;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.workflow-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

.trust-section {
  background: #10233f;
  color: #fff;
}

.trust-section .section-label {
  color: #dff5e8;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.trust-section .section-intro p {
  color: #c9d9df;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.trust-grid p {
  color: #d6e3e7;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #fffaf2;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-list span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid #ead4ad;
  border-radius: 8px;
  padding: 10px 14px;
  color: #704600;
  background: #fff;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-grid article,
.pilot-steps article {
  min-height: 200px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
}

.audience-grid article:nth-child(1) {
  background: #f1fbf4;
}

.audience-grid article:nth-child(2) {
  background: #f0f7fc;
}

.audience-grid article:nth-child(3) {
  background: #fff7eb;
}

.pilot-section {
  background: var(--wash);
}

.pilot-copy {
  max-width: 760px;
}

.pilot-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.pilot-steps strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.form-copy,
.interest-form {
  min-width: 0;
}

.faq-section {
  background: #fff;
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fdfefe;
}

.faq-grid summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  margin: 12px 0 0;
}

.form-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.form-heading h3 {
  margin-bottom: 4px;
}

.survey-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.survey-progress span {
  min-height: 42px;
  border: 1px solid #cfe2ea;
  border-radius: 8px;
  padding: 10px;
  color: #1d5478;
  background: #f2f8fb;
  font-size: 13px;
  font-weight: 820;
  text-align: center;
}

.form-step {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 22px);
  background: #fbfdfc;
}

.step-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-title > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.step-title h4 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 18px;
}

.step-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: #27364e;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: ">";
}

.interest-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

label,
legend {
  color: #27364e;
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d8d8;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 104, 172, 0.18);
  border-color: var(--blue);
}

fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

fieldset label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 620;
}

fieldset input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

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

.option-cards legend,
.rating-row legend {
  margin-bottom: 4px;
}

.option-cards label,
.rating-row label {
  position: relative;
  display: block;
  min-height: 48px;
}

.option-cards input,
.rating-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-cards span,
.rating-row span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9d8d8;
  border-radius: 8px;
  padding: 10px 12px;
  color: #27364e;
  background: #fff;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.option-cards span:hover,
.rating-row span:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.option-cards input:checked + span,
.rating-row input:checked + span {
  border-color: var(--green);
  color: var(--green-dark);
  background: #edf9f2;
  box-shadow: inset 0 0 0 1px var(--green);
}

.priority-cards span {
  min-height: 58px;
}

.rating-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rating-row span {
  min-height: 54px;
  font-size: 18px;
  font-weight: 900;
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #cfe4d8;
  border-radius: 8px;
  padding: 14px;
  background: #f2fbf5;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.full-width {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.success-panel {
  border: 1px solid #bce3cd;
  border-radius: 8px;
  padding: 18px;
  background: #eefaf2;
}

.success-panel h3 {
  margin-bottom: 6px;
}

.partner-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #10233f;
  color: #fff;
}

.partner-band h2 {
  max-width: 900px;
}

.partner-band .section-label {
  color: #dff5e8;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.partner-band .secondary-button {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 64px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .form-section {
    grid-template-columns: 1fr;
  }

  .app-mockup {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-band,
  .audience-grid,
  .pilot-steps,
  .feature-grid,
  .workflow-grid,
  .screen-gallery,
  .sos-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-section,
  .app-preview,
  .promise-section,
  .trailer-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    padding-right: 14px;
    padding-left: 14px;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    width: 100%;
  }

  .split-section,
  .pilot-section,
  .form-section,
  .partner-band,
  .app-features,
  .app-preview,
  .sos-flow-section,
  .trailer-section,
  .workflow-section,
  .services-section,
  .promise-section,
  .trust-section,
  .faq-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-actions,
  .partner-band {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-strip,
  .feature-band,
  .audience-grid,
  .pilot-steps,
  .form-grid,
  .survey-progress,
  .feature-grid,
  .workflow-grid,
  .screen-gallery,
  .sos-flow-grid,
  .trust-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .option-cards {
    grid-template-columns: 1fr;
  }

  .rating-row {
    grid-template-columns: repeat(5, minmax(42px, 1fr));
  }

  .sos-flow-grid article::after {
    display: none !important;
  }

  .feature-band {
    transform: none;
    margin-top: 20px;
  }
}
