:root {
  --navy: #06172f;
  --navy-2: #0a2444;
  --navy-3: #102d52;
  --blue: #1668ff;
  --teal: #00b8c8;
  --green: #17a673;
  --text: #121821;
  --muted: #5d6b7c;
  --soft: #f5f8fc;
  --soft-2: #edf4f8;
  --surface: #ffffff;
  --border: #dbe5ef;
  --shadow: 0 22px 60px rgba(6, 23, 47, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-color: var(--teal);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}

.brand-ai {
  color: var(--blue);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
}

.site-nav a {
  color: #324155;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.header-cta {
  justify-self: end;
  color: #ffffff;
  background: var(--navy);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #0aaec2);
  box-shadow: 0 14px 28px rgba(22, 104, 255, 0.23);
}

.button-secondary {
  color: var(--navy);
  background: #ffffff;
  border-color: rgba(10, 36, 68, 0.16);
}

.button-secondary.dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.button-light {
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 20px;
  background: var(--navy);
}

.section-anchor {
  scroll-margin-top: 88px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 72% 28%, rgba(0, 184, 200, 0.25), transparent 30%),
    linear-gradient(135deg, #06172f 0%, #0a2444 58%, #08263c 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 54px 0 42px;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 58px;
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 670px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.formation-note {
  font-size: 14px;
}

.trust-line {
  color: #ffffff;
  font-size: 15px;
  font-weight: 720;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-stats div {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.hero-side {
  min-width: 0;
}

.hero-visual-wrap {
  position: relative;
  min-height: 420px;
}

.hero-visual-wrap::before {
  position: absolute;
  inset: 7% 3% 2%;
  content: "";
  border-radius: 22px;
  background: radial-gradient(circle at center, rgba(0, 184, 200, 0.35), rgba(22, 104, 255, 0.08) 46%, transparent 70%);
  filter: blur(22px);
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 442px;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.hero {
  padding: 0;
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.compact {
  max-width: 820px;
  margin-bottom: 36px;
}

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 46px;
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

.section-statement {
  color: var(--navy);
  font-size: 19px;
  font-weight: 760;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(360px, 0.96fr) minmax(0, 0.94fr);
}

.section-intro {
  max-width: 620px;
}

.problem {
  padding-top: 64px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.problem-list {
  display: grid;
  gap: 12px;
}

.numbered-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(6, 23, 47, 0.06);
}

.numbered-card span,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf2ff;
  font-size: 13px;
  font-weight: 800;
}

.numbered-card p {
  margin: 0;
  color: #263445;
  font-weight: 650;
}

.solution {
  background: #ffffff;
}

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

.service-card {
  min-height: 242px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(6, 23, 47, 0.06);
}

.service-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  min-height: 0;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card-wide h3 {
  margin-top: 0;
}

.service-card-wide p {
  grid-column: 2;
}

.service-card p {
  margin-bottom: 0;
}

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

.traction,
.pilot,
.forms-section {
  background: var(--soft);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 166px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card strong {
  display: block;
  color: #ffffff;
  font-size: 54px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 650;
}

.traction-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  margin-top: 30px;
  align-items: start;
}

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

.check-list li,
.column-list li {
  position: relative;
  padding-left: 28px;
  color: #36475a;
}

.check-list li::before,
.column-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--green);
  content: "";
  box-shadow: inset 0 0 0 5px var(--green);
}

.compliance-note {
  padding: 22px;
  border: 1px solid rgba(0, 184, 200, 0.28);
  border-radius: var(--radius);
  background: #eefcff;
}

.compliance-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.compliance-note span {
  color: #375065;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(36px, 5vw, 62px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(6, 23, 47, 0.06);
}

.split-band.light {
  background: linear-gradient(135deg, #ffffff, #f2fbfd);
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-grid span,
.principles-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #24344a;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.partnership {
  background: #ffffff;
}

.model-layout,
.metric-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 24px;
}

.secondary-model-layout {
  margin-top: 24px;
}

.model-panel,
.request-panel,
.value-panel,
.preferred-panel,
.founder-card,
.form-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(6, 23, 47, 0.06);
}

.model-panel,
.value-panel {
  padding: 30px;
}

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

.request-panel,
.preferred-panel {
  padding: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 20%, rgba(0, 184, 200, 0.28), transparent 34%),
    linear-gradient(150deg, var(--navy), var(--navy-2));
  border-color: rgba(255, 255, 255, 0.12);
}

.request-panel h3,
.preferred-panel h3 {
  color: #ffffff;
}

.request-panel p,
.preferred-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.pilot-item {
  min-height: 130px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.pilot-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.pilot-item strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.metric-layout {
  margin-top: 26px;
}

.metric-layout > div {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.why {
  background: #ffffff;
}

.value-panel {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.compliance {
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 12%, rgba(0, 184, 200, 0.18), transparent 30%),
    linear-gradient(145deg, var(--navy), #09243f);
}

.compliance h2,
.compliance h3 {
  color: #ffffff;
}

.compliance p {
  color: rgba(255, 255, 255, 0.74);
}

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

.principles-grid span {
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.important-sentence {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 720;
}

.light-note {
  color: var(--navy);
  background: #eefcff;
  border-color: var(--teal);
}

.about {
  background: #ffffff;
}

.founder-card {
  padding: 30px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 110px;
}

.contact-email {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  color: var(--navy);
}

.contact-email span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-email a {
  color: var(--blue);
  font-weight: 800;
}

.form-panel {
  padding: clamp(22px, 4vw, 34px);
}

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

label {
  display: grid;
  gap: 8px;
  color: #2d3e52;
  font-size: 14px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #cfdce8;
  border-radius: var(--radius);
  color: var(--text);
  background: #ffffff;
  font-size: 15px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

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

.consent {
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: 20px 0;
  font-weight: 650;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-success {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(23, 166, 115, 0.22);
  border-radius: var(--radius);
  color: #0b6b4a;
  background: #ebfbf5;
  font-weight: 700;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(202, 70, 70, 0.24);
  border-radius: var(--radius);
  color: #8f1f1f;
  background: #fff1f1;
  font-weight: 700;
}

.form-error.is-visible {
  display: block;
}

.partner-contact {
  padding-top: 0;
}

.final-cta {
  padding: 76px 0;
  background: #ffffff;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 20%, rgba(0, 184, 200, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.cta-panel h2 {
  max-width: 760px;
  color: #ffffff;
}

.cta-panel p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
}

.cta-panel a:not(.button) {
  color: #7ce9f1;
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #06111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 56px 0 36px;
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
}

.site-footer h2 {
  font-size: 22px;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 15px;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 720;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.legal-main {
  min-height: 70vh;
  padding: 80px 0;
  background: var(--soft);
}

.legal-card {
  max-width: 860px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 54px;
  line-height: 1;
}

.legal-card ul {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
}

.proposal-card h2 {
  margin-top: 34px;
  font-size: 28px;
  line-height: 1.2;
}

.proposal-card .panel-actions {
  margin-top: 28px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .two-column,
  .two-column.reverse,
  .form-layout,
  .split-band,
  .model-layout,
  .metric-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-visual-wrap {
    min-height: 0;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
    max-height: 480px;
  }

  .hero h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 40px;
  }

  .form-copy {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    min-height: 68px;
    padding: 0 14px;
  }

  .brand {
    font-size: 16px;
  }

  .site-header.nav-open .site-nav {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .hero-grid {
    padding: 42px 0 34px;
  }

  .problem {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-side {
    display: none;
  }

  h2 {
    font-size: 34px;
  }

  .stat-card strong,
  .legal-card h1 {
    font-size: 38px;
  }

  .hero-stats,
  .stat-band,
  .traction-copy,
  .service-grid,
  .principles-grid,
  .form-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    display: block;
    grid-column: auto;
  }

  .service-card-wide h3 {
    margin-top: 18px;
  }

  .service-card-wide p {
    grid-column: auto;
  }

  .hero-stats div,
  .stat-card,
  .service-card {
    min-height: 0;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .column-list,
  .pilot-grid {
    grid-template-columns: 1fr;
  }

  .full-span {
    grid-column: auto;
  }

  .split-band {
    padding: 26px;
  }

  .cta-panel {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
