* { box-sizing: border-box; }

:root {
  color-scheme: light;
  --navy: #101e2b;
  --deep: #0b1824;
  --ink: #142835;
  --muted: #4b5e66;
  --line: #dce4e2;
  --mist: #eff4f2;
  --mint: #87f3bd;
  --mint-hover: #aaf9d1;
  --green: #156047;
  --light-ink: #c6d5dc;
  --measure: 76rem;
}

html { scroll-padding-top: 1rem; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #239777;
  outline-offset: 4px;
}

.dark :focus-visible { outline-color: var(--mint); }

.shell {
  width: min(var(--measure), calc(100% - 4rem));
  margin-inline: auto;
}

.dark {
  background: var(--navy);
  color: #fff;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #30414e; }

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img { width: 7.7rem; height: auto; }

.language-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .24rem;
  border: 1px solid #40515f;
  border-radius: .5rem;
}

.language-nav a {
  padding: .32rem .7rem;
  border-radius: .3rem;
  color: #dbe6eb;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
}

.language-nav a:hover { color: #fff; }
.language-nav a[aria-current="page"] { color: #fff; background: #2e4351; }

.hero { padding-block: 3rem 3.6rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4.6rem);
}

.hero-copy { padding-block: .75rem; }
.eyebrow {
  color: var(--green);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dark .eyebrow { color: var(--mint); }
.hero .eyebrow { display: flex; align-items: center; gap: .61rem; }
.hero .eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }

h1, h2, h3 {
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1 { margin-top: 1.05rem; font-size: clamp(2.65rem, 4.45vw, 4.34rem); }
h1 span { display: block; }
h1 span + span { color: #d4e4eb; }

.certificate-link {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .67rem;
  align-items: center;
  max-width: 100%;
  margin-top: 1.03rem;
  padding: .39rem .85rem .39rem .39rem;
  border: 1px solid #6a9a8a;
  border-radius: .52rem;
  background: #1a343b;
  color: #eefbf6;
  font-size: .97rem;
  line-height: 1.25;
  text-decoration: none;
}

.certificate-link:hover { border-color: var(--mint); background: #23464c; }

.certificate-mark {
  display: grid;
  min-width: 2.8rem;
  min-height: 2.55rem;
  place-items: center;
  border-radius: .3rem;
  background: #d2f5e6;
  color: #124636;
  font-size: 1.27rem;
  font-weight: 800;
}

.certificate-view {
  display: block;
  margin-top: .15rem;
  color: #c6f4df;
  font-size: .86rem;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.hero-description {
  margin-top: 1.23rem;
  max-width: 34rem;
  color: var(--light-ink);
  font-size: clamp(1rem, 1vw + .35rem, 1.17rem);
}

.cta {
  display: inline-flex;
  gap: .63rem;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  padding: .71rem 1.22rem;
  border: 1px solid transparent;
  border-radius: .52rem;
  background: var(--mint);
  color: #0b2a20;
  font-weight: 750;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}

.cta:hover { background: var(--mint-hover); border-color: #55ac87; }
.cta svg { width: 1.27rem; height: 1.27rem; flex: 0 0 auto; fill: currentColor; }
.hero .cta { margin-top: 1.58rem; }
.cta-note { margin-top: .7rem; color: var(--light-ink); font-size: .91rem; }

.hero-figure {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #4c616c;
  border-radius: .9rem;
  background-color: #36515e;
  aspect-ratio: 1.445;
}

.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }

.hero-figure::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(0deg, #07131edb 0%, #07131e32 29%, transparent 53%);
}

.hero-figure figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
  color: #fff;
  font-size: .875rem;
}

.play-link {
  width: fit-content;
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  gap: .6rem;
  padding: .44rem .78rem;
  border: 1px solid #c2d0db;
  border-radius: .42rem;
  background: #0b1824e8;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.play-link:hover { background: #284354; }
.play-icon {
  width: 0;
  height: 0;
  margin-left: .12rem;
  border-block: .32rem solid transparent;
  border-left: .52rem solid var(--mint);
}

.metrics { background: var(--mist); border-bottom: 1px solid var(--line); }
.metric-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-block: 0; }
.metric { display: flex; flex-direction: column; padding: 1.2rem 1.5rem 1.33rem; }
.metric:first-child { padding-left: 0; }
.metric + .metric { border-left: 1px solid #d6e1dd; }
.metric dt { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.metric dd {
  order: -1;
  margin: 0 0 .2rem;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(1.34rem, 3vw, 2.12rem);
  font-weight: 740;
  line-height: 1.14;
  letter-spacing: -.048em;
}

.section { padding-block: 4.15rem; }
.section h2 { margin-top: .47rem; font-size: clamp(2rem, 3.4vw, 3.2rem); }

.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin-top: 1.7rem;
}

.use-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
}

.use-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.35;
  object-fit: cover;
  background: #dbe7e8;
}

.use-card div { padding: 1.15rem 1.3rem 1.3rem; }
.use-card h3 { font-size: 1.39rem; }
.use-card p { margin-top: .44rem; color: var(--muted); }

.details {
  padding-top: 0;
}

.details-grid {
  padding: clamp(1.3rem, 4vw, 3.05rem);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(1.7rem, 5vw, 4.25rem);
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--mist);
}

.details-copy p:last-child { margin-top: .83rem; color: var(--muted); }
.details h2 { max-width: 23rem; }

.question {
  border-bottom: 1px solid #cbd8d5;
}

.question:first-child { border-top: 1px solid #cbd8d5; }

.question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.47rem;
  padding: .66rem .25rem .66rem 0;
  list-style: none;
  cursor: pointer;
  font-weight: 690;
}

.question summary::-webkit-details-marker { display: none; }

.question summary::after {
  content: "";
  width: .56rem;
  height: .56rem;
  flex: 0 0 auto;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translateY(-2px);
}

.question[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.question summary:hover { color: var(--green); }
.answer { padding: 0 .55rem 1rem 0; color: var(--muted); }
.answer p + p { margin-top: .5rem; }
.answer a { color: var(--green); font-weight: 650; text-underline-offset: .18em; }

.contact { padding-block: 3rem; background: #152e38; }
.contact-grid { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; }
.contact h2 { margin-top: .45rem; }
.contact p:last-child { margin-top: .65rem; max-width: 38rem; color: var(--light-ink); }
.contact .cta { flex: 0 0 auto; }

.site-footer { padding-block: 1.4rem 1.6rem; background: var(--deep); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-main p, .privacy { color: var(--light-ink); font-size: .875rem; }
.footer-main a { text-underline-offset: .2em; }
.privacy { margin-top: .6rem; }
.privacy summary { width: fit-content; cursor: pointer; }
.privacy p { margin-top: .4rem; max-width: 42rem; }
.mobile-action { display: none; }

.demo-dialog {
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid #476170;
  border-radius: .75rem;
  background: var(--deep);
  color: #fff;
}

.demo-dialog::backdrop { background: #061019dd; }
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .78rem 1rem;
}

.dialog-heading h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.dialog-heading button {
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: .2rem .55rem;
  border: 1px solid #72838d;
  border-radius: .4rem;
  background: #223746;
  color: #fff;
  cursor: pointer;
}

.dialog-heading button:hover { background: #344c5b; }
.demo-dialog video { display: block; width: 100%; aspect-ratio: 15 / 7; background: #09121a; }
.demo-dialog > p { color: var(--light-ink); padding: .65rem 1rem .8rem; font-size: .9rem; }

@media (max-width: 880px) {
  h1 { font-size: clamp(2.2rem, 5.1vw, 3.25rem); }
  .shell { width: calc(100% - 3rem); }
  .hero-grid { gap: 1.5rem; }
  .section { padding-block: 3.3rem; }
  .details { padding-top: 0; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.75rem; }
  .brand img { width: 6.4rem; }
  .language-nav a { min-width: 2.2rem; text-align: center; }
  .hero { padding-block: 1.75rem 1.55rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.32rem; }
  .hero-copy { padding-block: 0; }
  h1 { margin-top: .68rem; font-size: clamp(2.1rem, 8.5vw, 3.4rem); }
  .certificate-link { margin-top: .83rem; }
  .hero-description { margin-top: .82rem; }
  .hero .cta { margin-top: 1.04rem; }
  .cta-note { margin-top: .54rem; }
  .hero-figure { aspect-ratio: 1.66; }
  .hero-figure figcaption { left: .65rem; right: .65rem; bottom: .65rem; }
  .metric { padding: .95rem .58rem; }
  .metric:first-child { padding-left: 0; }
  .metric:last-child { padding-right: 0; }
  .metric dt { font-size: .83rem; }
  .section { padding-block: 2.75rem; }
  .details { padding-top: 0; }
  .use-grid, .details-grid { grid-template-columns: 1fr; }
  .use-grid { margin-top: 1.15rem; gap: .85rem; }
  .use-card div { padding: .92rem 1rem 1rem; }
  .contact-grid { align-items: start; flex-direction: column; gap: 1.05rem; }
  .footer-main { column-gap: 1rem; row-gap: .65rem; }
  .site-footer { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-action {
    position: fixed;
    inset: auto 0 0;
    z-index: 2;
    display: block;
    padding: .48rem 1rem calc(.48rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #415464;
    background: var(--deep);
  }
  .mobile-action .cta { width: 100%; min-height: 2.95rem; }
}

@media (max-width: 354px) {
  .eyebrow { letter-spacing: .1em; }
  .metric dt { font-size: .77rem; }
  .hero-figure figcaption > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
