:root {
  --ink: #f5fbfa;
  --muted: rgba(232, 244, 242, .72);
  --navy: #020b12;
  --panel: #06151a;
  --teal: #11c8a6;
  --teal-deep: #087f70;
  --line: rgba(255, 255, 255, .13);
  --shell: 1600px;
  --gutter: clamp(1.25rem, 4vw, 5.5rem);
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--navy); }
body { min-width: 320px; min-height: 100dvh; margin: 0; display: grid; grid-template-rows: 5.75rem minmax(0, 1fr) 3.25rem; overflow-x: hidden; color: var(--ink); background: var(--navy); }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.shell { width: min(calc(100% - (2 * var(--gutter))), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 500; top: .75rem; left: .75rem; padding: .75rem 1rem; color: #00110e; background: var(--teal); font-weight: 800; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #52e4c8; outline-offset: 4px; }
[hidden] { display: none !important; }

.site-header { position: relative; z-index: 20; background: rgba(1, 10, 16, .98); border-bottom: 1px solid rgba(255, 255, 255, .055); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 8rem; height: 5.25rem; margin-left: -.65rem; display: grid; place-items: center; text-decoration: none; }
.brand img { width: 7.6rem; height: 7.6rem; object-fit: contain; filter: brightness(0) invert(1); }
.language-switcher { display: flex; align-items: center; gap: .48rem; color: rgba(255, 255, 255, .58); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.language-switcher button { min-width: 2rem; min-height: 2.5rem; padding: 0; border: 0; color: rgba(255, 255, 255, .58); background: transparent; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: .34rem; }

main { position: relative; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; isolation: isolate; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; z-index: -2; inset: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; display: block; }
.hero-media img { object-fit: cover; object-position: center center; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(0, 8, 14, .94) 0%, rgba(0, 10, 17, .78) 30%, rgba(0, 10, 17, .25) 58%, rgba(0, 7, 12, .13) 100%), linear-gradient(0deg, rgba(0, 10, 14, .72) 0%, transparent 45%); }
.hero { min-height: 0; display: flex; align-items: center; }
.hero-copy { width: min(45rem, 54vw); padding-block: clamp(1.8rem, 5vh, 4.5rem); text-shadow: 0 2px 22px rgba(0, 0, 0, .45); }
.eyebrow { margin: 0 0 1.1rem; color: var(--teal); font-size: clamp(.7rem, .9vw, .86rem); font-weight: 850; letter-spacing: .18em; line-height: 1.4; }
h1 { margin: 0 0 1.1rem; display: flex; flex-direction: column; font-size: clamp(2.8rem, 4.1vw, 4.9rem); font-weight: 700; letter-spacing: -.055em; line-height: .96; }
h1 em { color: var(--teal); font-style: normal; }
h1 .headline-tail:empty { display: none; }
.hero-kicker { margin: 0 0 .75rem; color: #fff; font-size: clamp(1rem, 1.3vw, 1.28rem); font-weight: 700; letter-spacing: -.015em; }
.hero-body { max-width: 42rem; margin: 0; color: var(--muted); font-size: clamp(.87rem, 1vw, 1rem); line-height: 1.68; }
.hero-actions { margin-top: 1.65rem; display: flex; align-items: center; gap: 1.35rem; }
.primary-cta, .form-submit, .secondary-button { min-height: 3.25rem; padding: .8rem 1.5rem; border: 1px solid var(--teal); border-radius: .18rem; color: #001713; background: var(--teal); box-shadow: 0 12px 38px rgba(0, 169, 139, .18); font-size: .82rem; font-weight: 850; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.primary-cta:hover, .form-submit:hover { background: #4cdfc3; transform: translateY(-1px); }
.launch-status { margin: 0; display: flex; align-items: center; gap: .65rem; color: rgba(255, 255, 255, .72); font-size: .76rem; font-weight: 700; letter-spacing: .035em; }
.launch-status > span:first-child { width: .48rem; height: .48rem; flex: 0 0 auto; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 .35rem rgba(17, 200, 166, .11); }

.capability-wrap { padding: 0 var(--gutter) 1.4rem; }
.capability-rail { width: min(100%, var(--shell)); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(2, 20, 25, .78); border: 1px solid rgba(130, 222, 207, .2); box-shadow: 0 24px 65px rgba(0, 0, 0, .24); backdrop-filter: blur(10px); }
.capability-rail article { min-height: 7.7rem; padding: 1.25rem clamp(1rem, 1.7vw, 1.8rem); display: flex; align-items: center; gap: 1rem; border-right: 1px solid var(--line); }
.capability-rail article:last-child { border-right: 0; }
.capability-rail svg { width: 2.35rem; height: 2.35rem; flex: 0 0 auto; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.capability-rail h2 { margin: 0 0 .4rem; font-size: clamp(.8rem, 1vw, 1rem); line-height: 1.2; }
.capability-rail p { margin: 0; color: rgba(235, 247, 245, .58); font-size: clamp(.62rem, .72vw, .74rem); line-height: 1.45; }

.site-footer { position: relative; z-index: 10; background: #010b0f; border-top: 1px solid rgba(255, 255, 255, .055); }
.footer-inner { height: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 1.2rem; color: rgba(255, 255, 255, .66); font-size: .66rem; letter-spacing: .035em; }
.footer-inner span + span::before { content: "|"; margin-right: 1.2rem; color: rgba(255, 255, 255, .27); }

.modal-layer { position: fixed; z-index: 300; inset: 0; display: flex; justify-content: flex-end; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0, 7, 12, .76); backdrop-filter: blur(9px); cursor: default; }
.contact-modal { position: relative; width: min(43rem, 100%); max-height: calc(100dvh - 2rem); padding: clamp(1.5rem, 3vw, 2.7rem); overflow-y: auto; color: #0b1b1b; background: #f3f7f5; box-shadow: -24px 0 80px rgba(0, 0, 0, .45); }
.modal-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 2.65rem; height: 2.65rem; padding: .72rem; border: 1px solid #cdd8d3; border-radius: 50%; color: #142322; background: #fff; cursor: pointer; }
.modal-close svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.modal-heading { padding-right: 3rem; }
.modal-heading .eyebrow { color: var(--teal-deep); }
.modal-heading h2 { margin: 0 0 .8rem; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.045em; }
.modal-heading > p:last-child { max-width: 34rem; margin: 0 0 1.4rem; color: #5a6865; font-size: .86rem; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .82rem; }
.form-grid label { display: grid; gap: .35rem; color: #172725; font-size: .72rem; font-weight: 750; }
.form-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: .72rem .8rem; border: 1px solid #c8d4cf; border-radius: .12rem; color: #10201e; background: #fff; }
.form-grid textarea { min-height: 6rem; resize: vertical; }
.privacy-note, .form-status { margin: .8rem 0; color: #61706c; font-size: .69rem; line-height: 1.5; }
.form-status { min-height: 1rem; color: #982f24; }
.form-submit { width: 100%; }
.honeypot { position: absolute; left: -9999px; }
.form-success { padding-block: 6rem; text-align: center; }
.form-success h3 { margin-bottom: .5rem; font-size: 2rem; }
.form-success p { color: #5a6865; }
.success-mark { width: 4rem; height: 4rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; color: #002019; background: var(--teal); font-size: 2rem; }
.secondary-button { color: #fff; background: #06372f; border-color: #06372f; box-shadow: none; }

@media (max-width: 1050px) {
  body { grid-template-rows: 5.2rem minmax(0, 1fr) auto; }
  .brand { height: 4.8rem; }
  .brand img { width: 7rem; height: 7rem; }
  .hero-copy { width: min(42rem, 64vw); }
  .capability-rail { grid-template-columns: repeat(2, 1fr); }
  .capability-rail article { min-height: 5.8rem; }
  .capability-rail article:nth-child(2) { border-right: 0; }
  .capability-rail article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .footer-inner { min-height: 3.5rem; padding-block: .7rem; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  body { min-height: 100dvh; display: block; }
  .site-header { height: 4.9rem; }
  .brand { width: 6.2rem; margin-left: -.55rem; }
  .brand img { width: 6.6rem; height: 6.6rem; }
  main { min-height: calc(100dvh - 4.9rem); display: block; overflow: hidden; }
  .hero-media, .hero-shade { bottom: auto; height: 100%; min-height: 58rem; }
  .hero-media img { object-position: 46% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(0, 8, 14, .9), rgba(0, 9, 15, .48)), linear-gradient(0deg, rgba(0, 10, 14, .84), rgba(0, 10, 14, .05) 65%); }
  .hero { min-height: 42rem; align-items: flex-start; }
  .hero-copy { width: 100%; padding-block: 4.6rem 2rem; }
  h1 { max-width: 38rem; font-size: clamp(3rem, 9.5vw, 4.3rem); }
  .hero-body { max-width: 35rem; }
  .capability-wrap { padding-bottom: 1.2rem; }
  .capability-rail { width: 100%; }
  .capability-rail article { padding: 1rem; }
  .site-footer { min-height: 5.3rem; }
  .footer-inner { min-height: 5.3rem; padding-block: .9rem; align-content: center; flex-direction: column; align-items: flex-end; gap: .22rem; text-align: right; }
  .footer-inner span + span::before { display: none; }
}

@media (max-width: 500px) {
  :root { --gutter: 1.15rem; }
  .hero { min-height: 38rem; }
  .hero-copy { padding-top: 3.5rem; }
  h1 { font-size: clamp(2.75rem, 13.4vw, 3.7rem); }
  .hero-kicker { font-size: .96rem; }
  .hero-body { font-size: .84rem; line-height: 1.62; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .primary-cta { width: 100%; }
  .launch-status { justify-content: center; }
  .capability-rail { grid-template-columns: 1fr; }
  .capability-rail article { min-height: 5.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-rail article:last-child { border-bottom: 0; }
  .modal-layer { padding: 0; }
  .contact-modal { width: 100%; min-height: 100dvh; max-height: 100dvh; padding: 4.4rem 1.15rem 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
}

@media (min-width: 1800px) {
  .hero-media img { object-position: center 48%; }
  .hero-copy { width: min(47rem, 42vw); }
}

@media (max-height: 820px) and (min-width: 761px) {
  body { grid-template-rows: 4.8rem minmax(0, 1fr) 2.8rem; }
  .brand { height: 4.5rem; transform: scale(.9); transform-origin: left center; }
  .hero-copy { padding-block: 1.2rem; }
  .eyebrow { margin-bottom: .65rem; }
  h1 { margin-bottom: .7rem; font-size: clamp(2.5rem, 3.7vw, 4rem); }
  .hero-kicker { margin-bottom: .45rem; }
  .hero-actions { margin-top: 1rem; }
  .capability-wrap { padding-bottom: .8rem; }
  .capability-rail article { min-height: 5.6rem; padding-block: .75rem; }
  .footer-inner { min-height: 2.8rem; padding-block: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
