:root {
  color-scheme: light only;
  --white: #ffffff;
  --warm-grey: #f1f2f5;
  --soft-grey: #f5f5f2;
  --ink: #171b20;
  --navy: #2f3e56;
  --muted: #6b7280;
  --soft-navy: #5c6675;
  --border: #e5e7eb;
  --shadow: 0 8px 18px rgba(20, 28, 38, 0.18);
  --shadow-soft: 0 6px 14px rgba(20, 28, 38, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff !important;
  line-height: 1.25;
}

body, main, section, nav, footer, .card, .profile-card, .map-card {
  forced-color-adjust: none;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 58px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.top-nav a {
  text-decoration: none;
  color: #1f2933;
  font-size: 15px;
  font-weight: 500;
}

.nav-contact { color: var(--soft-navy) !important; }

.section {
  padding: 72px 26px;
}

.white-section { background: #ffffff; }
.grey-section { background: var(--warm-grey); }

.hero {
  min-height: 700px;
  display: grid;
  place-items: center;
  padding-top: 80px;
  padding-bottom: 90px;
}

.hero-inner {
  width: min(92vw, 760px);
  text-align: center;
}

.logo {
  display: block;
  width: min(430px, 82vw);
  margin: 0 auto 82px;
}

.hero-title {
  margin: 0 auto 70px;
  max-width: 740px;
  font-size: clamp(22px, 4.5vw, 29px);
  line-height: 1.16;
  font-weight: 400;
  color: #1c1f23;
}

.hero-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(20px, 3.6vw, 25px);
  line-height: 1.18;
  color: #6c6f77;
}

.section-label {
  margin: 0 auto 28px;
  text-align: center;
  font-size: clamp(18px, 3.2vw, 27px);
  font-weight: 400;
  color: #8b9099;
}

h2 {
  margin: 0 auto 50px;
  text-align: center;
  max-width: 880px;
  font-size: clamp(37px, 7vw, 58px);
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #151a1f;
}

.intro-section { padding-top: 82px; padding-bottom: 110px; }
.intro-section h2 { font-size: clamp(48px, 9vw, 72px); font-weight: 700; margin-bottom: 78px; }

.center-text,
.center-copy,
.left-copy,
.journey-copy,
.pilot-note {
  font-size: clamp(20px, 3.8vw, 29px);
  line-height: 1.17;
  color: #252a31;
}

.center-text {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  color: #5a626e;
}

.small-intro {
  max-width: 600px;
  font-size: clamp(18px, 3vw, 26px);
  margin-top: -16px;
  margin-bottom: 80px;
  color: #20242a;
}

.center-copy {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.center-copy p { margin: 0 auto 48px; }
.center-copy p:last-child { margin-bottom: 0; }

.maritime-section { padding-top: 48px; padding-bottom: 92px; }
.maritime-section h2 { margin-bottom: 82px; }

.stack-cards {
  width: min(100%, 740px);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px 48px 28px;
}

.simple-card h3,
.icon-card h3 {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(21px, 3.2vw, 29px);
  line-height: 1.15;
  font-weight: 700;
  color: #171a1f;
}

.simple-card p,
.icon-card p,
.profile-card p {
  margin: 0;
  font-size: clamp(20px, 3.6vw, 27px);
  line-height: 1.17;
  color: #252a31;
}

.icon-card p { text-align: left; }

.card-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.card-title-row h3 { margin: 0; text-align: left; }

.icon {
  min-width: 34px;
  text-align: center;
  color: #738094;
  font-size: 31px;
  line-height: 1;
  font-weight: 600;
}

.journey-section { padding-top: 52px; padding-bottom: 88px; }
.journey-section h2 { margin-bottom: 58px; }
.journey-copy {
  max-width: 740px;
  margin: 0 auto 82px;
  text-align: left;
}

.map-card {
  width: min(100%, 720px);
  margin: 0 auto 82px;
  background: #ffffff;
  border: 1px solid #e4e8eb;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(20, 28, 38, 0.17);
  overflow: hidden;
}

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

.pilot-note {
  max-width: 740px;
  margin: 0 auto;
  text-align: left;
}

.delivery-section h2, .support-section h2, .outcomes-section h2 { margin-bottom: 54px; }
.left-copy {
  max-width: 740px;
  margin: 0 auto 78px;
  text-align: left;
}

.developer-section { padding-top: 80px; padding-bottom: 92px; }
.developer-section h2 {
  max-width: 720px;
  margin-bottom: 56px;
  font-size: clamp(33px, 6vw, 45px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.profile-card {
  width: min(100%, 690px);
  margin: 0 auto;
  padding: 44px 36px 48px;
  background: #ffffff;
  border: 1px solid #e1e4e8;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.profile-card h3 {
  margin: 0 0 30px;
  text-align: center;
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 600;
}

.profile-card .role {
  margin: 0 0 46px;
  text-align: center;
  font-size: clamp(20px, 3vw, 25px);
  color: #858a94;
  font-weight: 700;
}

.profile-card p:not(.role) { margin-bottom: 44px; }
.profile-card p:last-child { margin-bottom: 0; }

.contact-section { padding-top: 58px; padding-bottom: 90px; }
.contact-section h2 { margin-bottom: 70px; }
.contact-section .left-copy { margin-bottom: 110px; }

.email-link {
  width: min(100%, 740px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #252a31;
  text-decoration: none;
  font-size: clamp(19px, 3.5vw, 27px);
  line-height: 1;
}

.mail-icon {
  color: #738094;
  font-size: 36px;
  line-height: 1;
}

.footer {
  background: #ffffff;
  color: #24272d;
  text-align: right;
  border-top: 1px solid var(--border);
  padding: 12px 28px;
  font-size: clamp(18px, 3vw, 24px);
}

@media (min-width: 900px) {
  .top-nav { max-width: 1200px; margin: 0 auto; }
  main { max-width: 1200px; margin: 0 auto; border-left: 1px solid #eef0f2; border-right: 1px solid #eef0f2; }
  body { background: #f7f7f5 !important; }
  .hero { min-height: 520px; }
  .logo { width: 260px; margin-bottom: 56px; }
  .hero-title { font-size: 16px; margin-bottom: 36px; }
  .hero-text { font-size: 15px; max-width: 650px; }
  .section { padding-left: 70px; padding-right: 70px; }
  .intro-section h2 { font-size: 34px; margin-bottom: 38px; }
  h2 { font-size: 42px; }
  .section-label { font-size: 18px; margin-bottom: 18px; }
  .center-text,.center-copy,.left-copy,.journey-copy,.pilot-note { font-size: 18px; line-height: 1.35; }
  .simple-card p,.icon-card p,.profile-card p { font-size: 18px; line-height: 1.35; }
  .simple-card h3,.icon-card h3 { font-size: 19px; }
}

@media (max-width: 640px) {
  .top-nav { padding: 0 42px; height: 60px; }
  .section { padding-left: 15px; padding-right: 15px; }
  .hero { min-height: 1080px; padding-top: 96px; }
  .hero-inner { width: 100%; }
  .logo { margin-bottom: 100px; }
  .hero-title { margin-bottom: 84px; }
  .section-label { margin-bottom: 28px; }
  .card { padding: 24px 36px 28px; }
  .journey-section .map-card { width: 96%; }
}

@media (prefers-color-scheme: dark) {
  html, body, main, .top-nav, .white-section, .card, .profile-card, .map-card, .footer {
    background: #ffffff !important;
  }
  .grey-section { background: #f1f2f5 !important; }
  body, h1, h2, h3, p, a, span, .footer { color: inherit; }
}


/* Icon-free card refinements */
.card-title-row {
  display: block;
}

.card-title-row h3 {
  margin: 0 0 10px 0;
  text-align: left;
}

.icon {
  display: none !important;
}


/* Mobile hero spacing fix */
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding-top: 36px !important;
    padding-bottom: 48px !important;
  }

  .hero-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .logo {
    margin-top: 24px !important;
    margin-bottom: 40px !important;
  }
}
