:root {
  --background: #f7f9fb;
  --surface: #ffffff;
  --surface-container-low: #f2f4f6;
  --surface-container: #eceef0;
  --surface-container-high: #e6e8ea;
  --surface-variant: #e0e3e5;
  --text: #191c1e;
  --text-muted: #434656;
  --text-soft: #5b6474;
  --outline: #c3c5d9;
  --primary: #0044c9;
  --primary-container: #0059ff;
  --on-primary: #ffffff;
  --shadow-soft: 0 8px 32px rgba(25, 28, 30, 0.06);
  --radius-xl: 16px;
  --radius-md: 8px;
  --max-width: 1280px;
  --font-display: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(247, 249, 251, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(25, 28, 30, 0.05);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(195, 197, 217, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(25, 28, 30, 0.05);
}

.language-switcher button {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  min-width: 38px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  background: var(--surface-container-low);
  color: var(--text);
}

.language-switcher button.is-active {
  background: var(--primary);
  color: var(--on-primary);
}

.mobile-language-switcher {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  position: relative;
}

.mobile-nav-toggle summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  list-style: none;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(25, 28, 30, 0.05);
}

.mobile-nav-toggle summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 280px;
  padding: 16px;
  border: 1px solid rgba(195, 197, 217, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.mobile-nav-panel a {
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--text-soft);
  font-weight: 700;
}

.mobile-nav-panel .mobile-language-switcher {
  display: none;
  width: 100%;
  margin-top: 14px;
}

.mobile-nav-panel .mobile-language-switcher button {
  flex: 1;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible,
.mobile-nav-panel .nav-link-active {
  background: var(--surface-container-low);
  color: var(--primary-container);
}

.brand,
.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: normal;
  color: #0f1720;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: normal;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.footer-links a:hover,
.section-link:hover,
.initiative-card a:hover {
  color: var(--primary-container);
}

.nav-link-active {
  color: var(--primary-container);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--primary-container);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--on-primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
}

.button-secondary {
  background: var(--surface-variant);
  color: var(--text);
}

.page-main {
  flex: 1;
  padding-top: 128px;
  padding-bottom: 96px;
}

.page-main-page {
  padding-top: 128px;
  padding-bottom: 56px;
}

.page-main-page .section-gap {
  margin-bottom: 96px;
}

.page-main-page .section-gap:last-child {
  margin-bottom: 0;
}

.section-gap {
  margin-bottom: 128px;
}

.hero {
  width: min(80%, 1040px);
}

.landing-hero {
  width: min(100%, 980px);
  margin-bottom: 72px;
}

.landing-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.landing-subcopy {
  max-width: 860px;
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.7;
}

.landing-intro-line {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.6;
}

.landing-subcopy:empty,
.landing-intro-line:empty {
  display: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 36px;
  border: 1px solid rgba(195, 197, 217, 0.35);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.profile-card:hover,
.profile-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(25, 28, 30, 0.08);
  border-color: rgba(0, 68, 201, 0.25);
}

.profile-card-highlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 180px;
  height: 180px;
  border-radius: 0 20px 0 180px;
  background: radial-gradient(circle at top right, rgba(0, 89, 255, 0.12), transparent 64%);
  pointer-events: none;
}

.profile-card .icon-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--surface-container-low);
}

.profile-card p {
  margin: 0 0 32px;
  color: var(--text-muted);
  line-height: 1.75;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.profile-link .arrow {
  transition: transform 180ms ease;
}

.profile-card:hover .profile-link .arrow,
.profile-card:focus-within .profile-link .arrow {
  transform: translateX(4px);
}

.page-hero {
  width: min(100%, 980px);
}

.page-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.page-subtitle {
  max-width: 860px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.7;
}

.hero-intro {
  max-width: 960px;
  margin: 32px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-intro-lead {
  color: var(--text);
  font-weight: 600;
}

.hero-intro + .hero-intro {
  margin-top: 18px;
}

.placeholder-panel {
  padding: 40px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.placeholder-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.supporting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.supporting-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-example {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.delivery-example-reverse {
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
}

.delivery-copy,
.visual-placeholder-card {
  padding: 40px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.delivery-copy h4 {
  margin-bottom: 16px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: normal;
}

.delivery-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.85;
}

.delivery-copy .project-label {
  margin-bottom: 14px;
}

.intro-panel {
  width: min(100%, 1080px);
}

.page-hero .intro-panel {
  margin-top: 48px;
}

.intro-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.intro-panel .hero-intro:first-child {
  margin-top: 0;
}

.product-media {
  min-height: auto;
  background: transparent;
}

.product-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-visual-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-visual-frame {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(195, 197, 217, 0.55);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 23, 32, 0.04), rgba(15, 23, 32, 0)),
    var(--surface-container-low);
}

.product-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-example-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.visual-placeholder-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-placeholder-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(195, 197, 217, 0.55);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 23, 32, 0.04), rgba(15, 23, 32, 0)),
    var(--surface-container-low);
}

.visual-placeholder-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(247, 249, 251, 0.08), rgba(247, 249, 251, 0.2));
}

.visual-placeholder-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(195, 197, 217, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(10px);
}

.visual-placeholder-caption {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: normal;
}

.hero h2 {
  margin-bottom: 32px;
  color: var(--primary);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
}

.hero-copy {
  max-width: 900px;
  margin: 0 0 48px;
  color: var(--text-muted);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.intro-band {
  padding: 128px 0;
  background: var(--surface-container-low);
}

.intro-copy {
  width: min(80%, 1040px);
  margin: 0;
  padding: 16px 0 16px 32px;
  border-left: 4px solid var(--primary);
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.35;
}

.section-title {
  margin-bottom: 64px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: normal;
}

.section-title-balanced {
  margin-bottom: 40px;
  font-size: 1.75rem;
  line-height: 1.15;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.feature-card,
.initiative-card,
.contact-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  transition: box-shadow 220ms ease;
}

.feature-card:hover,
.initiative-card:hover,
.project-card:hover {
  box-shadow: var(--shadow-soft);
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-bottom: 24px;
  color: var(--primary);
}

.icon-mark svg {
  width: 40px;
  height: 40px;
}

.feature-card h4,
.project-body h4,
.initiative-card h4 {
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: normal;
}

.feature-card p,
.project-body p,
.initiative-card p,
.contact-box p,
.site-footer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.section-head-row .section-title {
  margin-bottom: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

.arrow {
  font-size: 1rem;
}

.project-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-container-low);
  transition: background-color 220ms ease;
}

.project-card:hover {
  background: var(--surface-container-high);
}

.project-card-large {
  flex-direction: row;
}

.project-card-reverse {
  flex-direction: row-reverse;
}

.project-visual {
  flex: 0 0 40%;
  min-height: 300px;
  background-color: var(--surface-variant);
}

.visual-network {
  background:
    radial-gradient(circle at 22% 32%, rgba(173, 208, 255, 0.95), transparent 8%),
    radial-gradient(circle at 72% 62%, rgba(255, 255, 255, 0.92), transparent 10%),
    linear-gradient(145deg, #091638 8%, #103487 56%, #0d5aff 100%);
  position: relative;
}

.visual-network::before,
.visual-network::after,
.visual-docs::before,
.visual-docs::after {
  content: "";
  position: absolute;
}

.visual-network::before {
  inset: 18% 12%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 18px;
}

.visual-network::after {
  left: 18%;
  top: 24%;
  width: 54%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  transform: rotate(22deg);
}

.visual-docs {
  background:
    linear-gradient(180deg, rgba(15, 23, 32, 0.08), rgba(15, 23, 32, 0.02)),
    linear-gradient(145deg, #e7ebf0 0%, #cfd7e6 48%, #9aa8c1 100%);
  position: relative;
}

.visual-docs::before {
  inset: 16% 14% 18% 16%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 249, 0.94));
  box-shadow: 0 18px 32px rgba(25, 28, 30, 0.08);
}

.visual-docs::after {
  left: 25%;
  top: 28%;
  width: 46%;
  height: 42%;
  background-image:
    linear-gradient(#7a889e 2px, transparent 2px),
    linear-gradient(90deg, #b9c4d5 2px, transparent 2px);
  background-size: 100% 18%, 25% 100%;
  background-repeat: no-repeat;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.project-label {
  display: block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-body p {
  max-width: 40rem;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row span {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(195, 197, 217, 0.45);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.initiative-card {
  min-height: 280px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.initiative-card a,
.footer-links a {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.footer-separator {
  color: var(--text-soft);
}

.contact-section {
  margin-bottom: 0;
}

.contact-box {
  background: var(--surface-container-low);
  box-shadow: var(--shadow-soft);
}

.contact-box .section-title {
  margin-bottom: 18px;
}

.contact-box p {
  max-width: 860px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.site-footer {
  width: 100%;
  padding: 64px 0;
  background: var(--surface-container-low);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

@media (max-width: 1100px) {
  .hero,
  .intro-copy,
  .landing-hero,
  .page-hero {
    width: 100%;
  }

  .card-grid,
  .initiative-grid,
  .profile-grid,
  .supporting-grid,
  .delivery-example {
    grid-template-columns: 1fr;
  }

  .delivery-example-reverse {
    grid-template-columns: 1fr;
  }

  .delivery-example-reverse .delivery-copy {
    order: 1;
  }

  .delivery-example-reverse .visual-placeholder-card,
  .delivery-example-reverse .product-visual-card {
    order: 2;
  }

  .project-card-large,
  .project-card-reverse {
    flex-direction: column;
  }

  .project-visual {
    min-height: 260px;
  }
}

@media (max-width: 840px) {
  .shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .topnav,
  .topbar-cta,
  .desktop-language-switcher {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-panel .mobile-language-switcher {
    display: inline-flex;
  }

  .page-main {
    padding-top: 108px;
    padding-bottom: 72px;
  }

  .page-main-page {
    padding-top: 108px;
    padding-bottom: 48px;
  }

  .section-gap {
    margin-bottom: 88px;
  }

  .intro-band {
    padding: 84px 0;
  }

  .section-head-row,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .feature-card,
  .initiative-card,
  .contact-box,
  .project-body,
  .profile-card,
  .placeholder-panel {
    padding: 28px;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .intro-copy {
    padding-left: 20px;
    font-size: 1.6rem;
  }

  .mobile-nav-panel {
    min-width: min(280px, calc(100vw - 32px));
  }
}
