:root {
  --navy: #070042;
  --navy-deep: #040028;
  --mint: #c7d8cf;
  --white: #ffffff;
  --off: #f6f7f2;
  --line: rgba(7, 0, 66, 0.12);
  --muted: #596070;
  --shadow: 0 24px 70px rgba(7, 0, 66, 0.16);
  --radius: 8px;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--mint);
  color: var(--navy);
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section,
.hero,
.cta-section {
  padding: clamp(64px, 8vw, 118px) clamp(20px, 5vw, 64px);
}

.section > *,
.hero > *,
.cta-section > *,
.site-footer > * {
  max-width: var(--max);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(360px, 460px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: calc(100vh - 74px);
  overflow: hidden;
}

.section-dark {
  background: radial-gradient(circle at 85% 10%, rgba(199, 216, 207, 0.14), transparent 28%), var(--navy-deep);
  color: var(--white);
}

.section-light {
  background: var(--off);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.mint {
  color: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  overflow-wrap: anywhere;
  margin-bottom: 24px;
  font-size: clamp(40px, 4.6vw, 62px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4.2vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-subline,
.section-heading p,
.two-col p,
.cta-section p {
  font-size: 18px;
}

.hero-subline {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--mint);
  color: var(--navy);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.section:not(.section-dark) .btn-secondary {
  border-color: var(--line);
  color: var(--navy);
}

.contact-card .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.full {
  width: 100%;
}

.trust-note,
.small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.hero-system {
  position: relative;
  width: 100%;
  max-width: 580px;
  justify-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.system-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.folder {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.folder span,
.card-index,
.process-list span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: rgba(199, 216, 207, 0.28);
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.folder strong,
.folder small {
  display: block;
}

.folder small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
}

.routing-line {
  position: absolute;
  inset: 50% 24px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
}

.align-start {
  align-items: start;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.wide {
  max-width: 980px;
}

.highlight-sentence,
.central-sentence {
  padding: 18px 20px;
  border-left: 4px solid var(--mint);
  background: var(--white);
  border-radius: 0 8px 8px 0;
  font-weight: 750;
}

.central-sentence {
  border-left-color: var(--navy);
}

.card-grid {
  display: grid;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.card-grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card p {
  margin-bottom: 0;
  color: #2f3550;
}

.dark-cards .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.dark-cards .card p,
.section-dark .section-heading p,
.section-dark .two-col p {
  color: rgba(255, 255, 255, 0.76);
}

.section-note {
  max-width: var(--max);
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.section-note.on-white {
  color: var(--muted);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.architecture-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.architecture-grid article span,
.harness-map span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.architecture-grid article.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.architecture-grid article.active span {
  color: var(--mint);
}

.architecture-grid article p {
  margin-bottom: 0;
  color: #2f3550;
}

.architecture-grid article.active p {
  color: rgba(255, 255, 255, 0.76);
}

.harness-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f7f2 100%);
}

.harness-map {
  display: grid;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.harness-row,
.harness-columns > div {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.harness-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
  align-items: center;
}

.harness-row span,
.harness-columns span {
  width: 44px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(199, 216, 207, 0.54);
  color: var(--navy);
}

.harness-row strong,
.harness-columns strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.harness-row strong,
.harness-row p {
  grid-column: 2;
}

.harness-row span {
  grid-row: 1 / span 2;
}

.harness-row p,
.harness-columns p {
  margin: 8px 0 0;
  color: #2f3550;
}

.harness-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.harness-row.reasoning,
.harness-row.loop {
  background: var(--navy);
  color: var(--white);
}

.harness-row.reasoning p,
.harness-row.loop p {
  color: rgba(255, 255, 255, 0.78);
}

.harness-row.skill {
  border-color: rgba(7, 0, 66, 0.22);
  background: #f4f7f5;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
}

.use-case-grid span,
.module-cloud span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 650;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-list span,
.card-index {
  color: var(--navy);
  background: rgba(199, 216, 207, 0.54);
}

.module-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--max);
  margin: 30px auto 0;
}

.module-cloud span {
  min-height: 44px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 760;
}

details p {
  max-width: 760px;
  margin-bottom: 20px;
  color: #2f3550;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 580px) 360px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.cta-section h2 {
  max-width: 840px;
}

.cta-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.contact-card .btn {
  margin-top: 10px;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label,
.form-check {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  padding: 11px 12px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-check input:focus {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.form-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  line-height: 1.35;
}

.form-check input {
  margin-top: 2px;
}

.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
}

.form-status.success {
  background: rgba(199, 216, 207, 0.18);
  color: var(--mint);
}

.form-status.error {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.is-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--navy-deep);
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(38px, 6vw, 64px);
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.legal-page p,
.legal-page li {
  font-size: 17px;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .hero,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-system {
    justify-self: start;
  }

  .card-grid.six,
  .card-grid.three,
  .use-case-grid,
  .architecture-grid,
  .harness-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .harness-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-subline,
  .section-heading p,
  .two-col p,
  .cta-section p {
    font-size: 16px;
  }

  .two-col,
  .process-list,
  .card-grid.six,
  .card-grid.three,
  .use-case-grid,
  .system-grid,
  .architecture-grid,
  .harness-columns {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.offer-card {
  display: grid;
  align-content: start;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.offer-card span,
.implementation-map span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: rgba(199, 216, 207, 0.54);
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.offer-card p {
  color: #2f3550;
}

.offer-card a {
  align-self: end;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.subpage-hero {
  display: grid;
  align-items: center;
  min-height: 58vh;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 64px);
}

.subpage-hero > div {
  width: 100%;
  min-width: 0;
  max-width: 980px;
  margin: 0 auto;
}

.implementation-map {
  display: grid;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.map-band,
.map-columns article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.map-band {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
}

.map-band span {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.map-band strong {
  font-size: 22px;
  line-height: 1.2;
}

.map-band p,
.map-columns p {
  margin: 8px 0 0;
  color: #2f3550;
}

.map-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.map-reasoning,
.map-loop {
  background: var(--navy);
  color: var(--white);
}

.map-reasoning p,
.map-loop p {
  color: rgba(255, 255, 255, 0.78);
}

.map-skills {
  background: #f4f7f5;
}

@media (max-width: 1080px) {
  .offer-grid,
  .map-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .offer-grid,
  .map-columns {
    grid-template-columns: 1fr;
  }

  .map-band {
    grid-template-columns: 1fr;
  }

  .map-band span {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

.section-heading.wide,
.section-heading {
  max-width: min(860px, var(--max));
}

.two-col {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.hero {
  justify-content: center;
}

.cta-section {
  justify-content: center;
}

.faq-list {
  max-width: 860px;
}
