:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3f9;
  --ink: #0c1b33;
  --ink-soft: #50617d;
  --line: rgba(12, 27, 51, 0.1);
  --brand: #1f5eff;
  --brand-deep: #12349d;
  --accent: #13b7a6;
  --dark: #091224;
  --dark-alt: #0f1d37;
  --shadow: 0 22px 60px rgba(8, 23, 52, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1320px;
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.65);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(31, 94, 255, 0.16), transparent 28%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 100%);
  color: #f5f8ff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h1,
.section-heading h2,
.hero h1 {
  margin: 0 0 18px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  word-break: keep-all;
  line-break: strict;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.1vw, 4rem);
  line-height: 1.14;
  max-width: 16ch;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

.section-heading p,
.hero p,
.info-card p,
.feature-card p,
.result-card p,
.process-card p,
.step-card p {
  margin: 0;
  color: var(--ink-soft);
}

.section-dark .section-heading p,
.section-dark .comparison-card li,
.section-dark .result-card p {
  color: rgba(245, 248, 255, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-dark .eyebrow {
  color: #8eb2ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 251, 255, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(10, 27, 57, 0.08);
  background: rgba(248, 251, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow: 0 12px 20px rgba(31, 94, 255, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #4d8dff 100%);
  box-shadow: 0 16px 30px rgba(31, 94, 255, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(12, 27, 51, 0.12);
}

.section-dark .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero {
  padding-top: 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-subheadline {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 40rem;
}

.hero-text {
  max-width: 42rem;
  font-size: 1.03rem;
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.metric-card,
.info-card,
.feature-card,
.result-card,
.process-card,
.impact-card,
.step-card,
.comparison-card,
.lead-form,
.results-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 27, 51, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.metric-card {
  min-width: 160px;
  padding: 18px 20px;
}

.metric-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.metric-card span {
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.dashboard-shell {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 245, 255, 0.88)),
    linear-gradient(135deg, rgba(31, 94, 255, 0.08), transparent);
  border: 1px solid rgba(31, 94, 255, 0.1);
  box-shadow: 0 30px 70px rgba(15, 35, 81, 0.18);
}

.dashboard-shell::before,
.dashboard-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  z-index: 0;
}

.dashboard-shell::before {
  width: 120px;
  height: 120px;
  right: -18px;
  top: -14px;
  background: rgba(31, 94, 255, 0.18);
}

.dashboard-shell::after {
  width: 90px;
  height: 90px;
  left: -8px;
  bottom: 24px;
  background: rgba(19, 183, 166, 0.16);
}

.dashboard-top,
.dashboard-main,
.dashboard-footer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.dashboard-top {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.dashboard-main {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.signal-card,
.chart-card,
.insight-card,
.mini-stat {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(12, 27, 51, 0.08);
}

.signal-card-primary {
  color: #fff;
  background: linear-gradient(135deg, #143cae 0%, #1f5eff 100%);
}

.signal-card-primary p,
.signal-card-primary .signal-label {
  color: rgba(255, 255, 255, 0.8);
}

.signal-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.signal-card strong,
.results-stat strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.chart-head,
.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.chart-head {
  flex-wrap: wrap;
}

.chart-head > span:first-child {
  font-size: 0.92rem;
  font-weight: 700;
  word-break: keep-all;
  line-break: strict;
}

.chart-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 94, 255, 0.1);
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.bar-chart {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.bar-group span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(12, 27, 51, 0.08);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
}

.fill-a {
  width: 84%;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.fill-b {
  width: 58%;
  background: linear-gradient(90deg, #7a9cff, #2d5ff5);
}

.fill-c {
  width: 42%;
  background: linear-gradient(90deg, #c7d7ff, #88a5ff);
}

.insight-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--ink-soft);
}

.insight-card li {
  white-space: nowrap;
  word-break: keep-all;
  line-break: strict;
}

.dashboard-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stat span,
.results-stat span,
.impact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mini-stat span {
  font-size: 0.86rem;
  white-space: nowrap;
  word-break: keep-all;
  line-break: strict;
}

.card-grid,
.comparison-grid,
.process-grid,
.impact-grid,
.solution-flow {
  display: grid;
  gap: 24px;
}

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

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

.info-card,
.feature-card,
.result-card,
.process-card,
.step-card,
.impact-card,
.comparison-card {
  padding: 28px;
}

.card-icon,
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(31, 94, 255, 0.1);
  color: var(--brand-deep);
  font-weight: 800;
}

.agitate-panel {
  padding: 28px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-flow,
.risk-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legacy-flow {
  align-items: center;
  margin-bottom: 18px;
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  font-weight: 700;
}

.legacy-flow span:not(.flow-arrow),
.risk-points span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.flow-arrow {
  color: #9fb8ff;
}

.comparison-card {
  min-height: 100%;
}

.comparison-negative {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.comparison-positive {
  background: linear-gradient(180deg, rgba(31, 94, 255, 0.2), rgba(19, 183, 166, 0.12));
  border-color: rgba(120, 160, 255, 0.22);
}

.comparison-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.solution-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 94, 255, 0.12), transparent 70%);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
}

.feature-card h3,
.info-card h3,
.result-card strong,
.process-card h3,
.step-card h3,
.comparison-card h3 {
  margin: 0 0 10px;
}

.problem-solved {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.problem-solved strong {
  display: block;
  margin-bottom: 6px;
}

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

.results-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.result-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.result-card strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
}

.results-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
}

.results-stat {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.results-stat span {
  color: rgba(245, 248, 255, 0.75);
}

.results-stat strong {
  color: #fff;
}

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

.impact-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-mobile {
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  overflow-x: clip;
}

.mobile-story-grid,
.bridge-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.mobile-story-grid > *,
.mobile-story-copy,
.mobile-stage {
  min-width: 0;
}

.mobile-story-list {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.story-point,
.mobile-caption-card,
.bridge-card,
.bridge-point {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 27, 51, 0.08);
  box-shadow: var(--shadow);
}

.story-point strong,
.bridge-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.story-point p,
.mobile-caption-card p,
.bridge-point p,
.bridge-card p {
  margin: 0;
  color: var(--ink-soft);
}

.mobile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mobile-tab {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(12, 27, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #4d8dff 100%);
  border-color: transparent;
}

.mobile-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: min(100%, 360px);
  min-height: 720px;
  padding: 18px 14px 14px;
  border-radius: 38px;
  background: linear-gradient(180deg, #0b1730 0%, #13254b 100%);
  box-shadow: 0 35px 80px rgba(11, 23, 48, 0.28);
}

.phone-notch {
  width: 34%;
  height: 24px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.phone-screen {
  display: none;
  min-height: 650px;
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  overflow: hidden;
}

.phone-screen.is-active {
  display: block;
  animation: fadeIn 0.35s ease-out;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.phone-header h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  line-height: 1.15;
}

.phone-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.phone-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
}

.phone-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.phone-stat,
.phone-card,
.timeline-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 27, 51, 0.08);
}

.phone-stat span,
.benefit-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.phone-stat strong,
.phone-card strong,
.benefit-card strong {
  display: block;
  font-size: 1.05rem;
}

.priority-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #edf4ff 0%, #ffffff 100%);
}

.priority-rank {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.phone-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.phone-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.phone-list-item,
.sim-row,
.mini-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.phone-list-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 27, 51, 0.07);
  font-size: 0.92rem;
}

.phone-cta {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, #4d8dff 100%);
  color: #fff;
  font-weight: 800;
}

.mini-bars {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.mini-bar-row span {
  min-width: 88px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.mini-bar {
  flex: 1;
  height: 11px;
  border-radius: 999px;
  background: rgba(12, 27, 51, 0.08);
  overflow: hidden;
}

.mini-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.benefit-card {
  margin-top: 14px;
  background: linear-gradient(180deg, #eff9f6 0%, #ffffff 100%);
}

.sim-slider {
  position: relative;
  height: 10px;
  margin: 14px 0;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
}

.sim-slider-fill {
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fca5a5 0%, #ef4444 100%);
}

.timeline-card {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

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

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(31, 94, 255, 0.12);
}

.timeline-dot.mid {
  background: #d18a19;
  box-shadow: 0 0 0 6px rgba(209, 138, 25, 0.12);
}

.timeline-dot.end {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(19, 183, 166, 0.12);
}

.institution-bridge {
  background: #fff;
}

.bridge-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.bridge-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, #edf4fb 100%);
  border: 1px solid rgba(12, 27, 51, 0.08);
  box-shadow: var(--shadow);
}

.bridge-column {
  display: grid;
  gap: 14px;
}

.bridge-card strong {
  display: block;
  margin-bottom: 6px;
}

.bridge-arrow {
  padding: 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.final-cta {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(19, 183, 166, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(31, 94, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #edf3fb 100%);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cta-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 27, 51, 0.05);
  color: var(--ink-soft);
  font-weight: 600;
}

.lead-form {
  padding: 28px;
}

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

.lead-form label {
  display: block;
}

.lead-form span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.lead-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(12, 27, 51, 0.12);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(12, 27, 51, 0.12);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(12, 27, 51, 0.12);
  background: #fff;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus {
  outline: none;
  border-color: rgba(31, 94, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.1);
}

.lead-form select:focus {
  outline: none;
  border-color: rgba(31, 94, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.1);
}

.lead-form textarea:focus {
  outline: none;
  border-color: rgba(31, 94, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.1);
}

.lead-form input.invalid {
  border-color: rgba(212, 54, 54, 0.7);
  box-shadow: 0 0 0 4px rgba(212, 54, 54, 0.08);
}

.lead-form select.invalid {
  border-color: rgba(212, 54, 54, 0.7);
  box-shadow: 0 0 0 4px rgba(212, 54, 54, 0.08);
}

.lead-form textarea.invalid {
  border-color: rgba(212, 54, 54, 0.7);
  box-shadow: 0 0 0 4px rgba(212, 54, 54, 0.08);
}

.form-grid-full {
  grid-column: 1 / -1;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.consent-row span {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.site-footer {
  padding: 34px 0 50px;
  background: var(--dark);
  color: rgba(245, 248, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 20px;
  align-items: end;
}

.footer-brand {
  margin-bottom: 10px;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .results-layout,
  .final-cta-grid,
  .dashboard-top,
  .dashboard-main,
  .card-grid-3,
  .impact-grid,
  .process-grid,
  .solution-flow,
  .mobile-story-grid,
  .bridge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-2,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .results-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bridge-panel {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 84px 0;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(9, 21, 43, 0.12);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero-grid,
  .results-layout,
  .final-cta-grid,
  .dashboard-top,
  .dashboard-main,
  .dashboard-footer,
  .impact-grid,
  .card-grid-3,
  .process-grid,
  .results-panel,
  .solution-flow,
  .form-grid,
  .mobile-story-grid,
  .bridge-grid,
  .phone-stat-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: auto;
  }

  .phone-screen {
    min-height: 620px;
  }

  .mobile-tabs {
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .mobile-tab {
    white-space: normal;
  }

  .section-mobile .container,
  .mobile-story-grid,
  .mobile-story-copy,
  .mobile-stage,
  .phone-shell,
  .phone-screen {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric-card {
    flex: 1 1 100%;
  }

  .legacy-flow {
    gap: 8px;
  }

  .flow-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .site-header {
    transition: none;
  }
}
