:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #14213d;
  --muted: #5d6c83;
  --line: #dbe5f1;
  --blue: #1559c7;
  --blue-dark: #092754;
  --green: #168a58;
  --green-soft: #e9f7ef;
  --blue-soft: #eef5ff;
  --gold-soft: #fff7e8;
  --shadow: 0 24px 70px rgba(9, 39, 84, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.brand__mark {
  display: block;
  width: 132px;
  height: 86px;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 115px);
  padding: clamp(40px, 6vw, 82px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 18%, rgba(22, 138, 88, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.hero__content {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.02;
}

h2 {
  max-width: 980px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 23px;
}

.hero__lead {
  max-width: 820px;
  color: var(--blue);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.hero__copy,
.section__heading p,
.text-panel p,
.story-card p,
.problem-grid p,
.solution-explainer p,
.solution-explainer li,
.solution p,
.future-grid p,
.founder__text p,
.note,
.footer p,
.contact p {
  color: var(--muted);
  font-size: 19px;
}

.hero__copy {
  max-width: 760px;
}

.hero__actions,
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
}

.button--primary {
  background: var(--blue);
  color: #ffffff;
}

.button--secondary {
  background: #ffffff;
  color: var(--blue-dark);
  border-color: var(--line);
}

.button:hover,
.contact-form button:hover {
  filter: brightness(0.94);
}

.hero__visual {
  display: grid;
  gap: 18px;
  justify-content: center;
}

.project-logo-card {
  width: min(100%, 520px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.project-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.project-logo-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.impact-card {
  width: min(100%, 520px);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.impact-card__label {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impact-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1;
}

.impact-card span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.section > .section__heading,
.section > .origin-figure,
.section > .origin-story,
.section > .problem-grid,
.section > .solution-explainer,
.section > .founder,
.section > .solutions,
.section > .note,
.section > .future-grid {
  width: min(100%, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.section--tint {
  background: #ffffff;
}

.section__heading {
  max-width: 980px;
  margin-bottom: 30px;
}

.story-grid,
.problem-grid,
.solution-explainer,
.cards,
.solutions,
.future-grid {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.history-origin {
  background: #ffffff;
}

.origin-figure {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.origin-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.origin-figure figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.story-image {
  max-width: 760px;
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.story-image--wide {
  max-width: 980px;
}

.story-image img {
  display: block;
  width: 100%;
  height: auto;
}

.story-image figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.training-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.training-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.media-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.training-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.training-gallery figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.media-gallery figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.origin-story {
  display: grid;
  gap: 18px;
}

.origin-block,
.origin-final,
.origin-quote {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(9, 39, 84, 0.06);
}

.origin-block--lead {
  background: var(--blue-soft);
}

.origin-block p,
.origin-block li,
.origin-final p {
  color: var(--muted);
  font-size: 19px;
}

.origin-block ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.origin-quote {
  border-left: 6px solid var(--green);
  background: var(--green-soft);
}

.origin-quote p {
  max-width: 980px;
  margin-bottom: 8px;
  color: #244a38;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.18;
}

.origin-final {
  background: var(--blue-dark);
}

.origin-final h3,
.origin-final p {
  color: #ffffff;
}

.origin-final p {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
}

.story-placeholder {
  display: grid;
  min-height: 120px;
  margin-top: 20px;
  place-items: center;
  padding: 18px;
  border: 2px dashed #b9c7da;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.story-card,
.problem-grid article,
.solution-explainer > div,
.solution,
.future-grid article,
.text-panel,
.mission,
.founder__text,
.founder__logo {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(9, 39, 84, 0.06);
}

.story-card,
.problem-grid article,
.solution-explainer > div,
.future-grid article,
.solution {
  padding: 24px;
}

.story-card--large {
  background: var(--blue-soft);
}

.text-panel,
.mission,
.founder__text {
  padding: clamp(24px, 4vw, 38px);
}

.demo-slot {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 18px;
  border: 2px dashed #b9c7da;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

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

.solution-explainer {
  grid-template-columns: 1fr 1fr 1fr;
}

.solution-explainer ul {
  margin: 0;
  padding-left: 20px;
}

.solution__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.founder {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
}

.founder__logo {
  padding: clamp(22px, 4vw, 34px);
}

.founder__logo img {
  display: block;
  width: 100%;
  height: auto;
}

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

.solution--featured {
  border-color: rgba(21, 89, 199, 0.22);
}

.solution__logo {
  display: block;
  width: min(100%, 270px);
  max-height: 235px;
  margin: 0 auto 22px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(9, 39, 84, 0.14);
}

.solution__number {
  background: var(--blue-soft);
  color: var(--blue);
}

.demo-slot {
  min-height: 90px;
  margin-top: 18px;
}

.note {
  max-width: 1060px;
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 5px solid var(--green);
  border-radius: 10px;
  background: var(--green-soft);
  color: #244a38;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 62px);
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
  background: var(--blue-dark);
}

.contact h2,
.contact .eyebrow {
  color: #ffffff;
}

.contact p {
  max-width: 780px;
  color: #d9e7ff;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 10px;
  background: #ffffff;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-dark);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.closing {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: clamp(48px, 7vw, 90px) 20px;
  background: #061b3d;
  text-align: center;
}

.closing p {
  max-width: 960px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 900;
  line-height: 1.05;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.footer p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 1050px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .hero,
  .story-grid,
  .problem-grid,
  .solution-explainer,
  .founder,
  .solutions,
  .future-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero__visual {
    order: -1;
  }

  .project-logo-card,
  .impact-card {
    width: min(100%, 620px);
    justify-self: center;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px 12px;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
    font-size: 17px;
  }

  .brand__mark {
    width: 106px;
    height: 70px;
  }

  .nav {
    gap: 6px;
    font-size: 13px;
  }

  .nav a {
    min-height: 38px;
    padding: 7px 9px;
    background: #ffffff;
    border: 1px solid var(--line);
  }

  .hero {
    padding: 26px 16px 48px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .hero__lead {
    font-size: 22px;
  }

  .hero__copy,
  .section__heading p,
  .text-panel p,
  .problem-grid p,
  .solution-explainer p,
  .solution-explainer li,
  .solution p,
  .future-grid p,
  .founder__text p,
  .note,
  .footer p,
  .contact p,
  .origin-block p,
  .origin-block li {
    font-size: 17px;
  }

  .hero__actions,
  .contact__links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .training-gallery {
    grid-template-columns: 1fr;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .project-logo-card figcaption {
    font-size: 14px;
  }

  .impact-card span {
    font-size: 19px;
  }

  .origin-quote p {
    font-size: 23px;
  }

  .section,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }
}
