:root {
  color-scheme: light;
  --ink: #111b32;
  --muted: #51617b;
  --page: #fff;
  --soft: #f3f6fb;
  --line: #dae2f0;
  --navy: #0a1428;
  --navy-light: #13284b;
  --white: #f6f8ff;
  --on-dark-muted: #bccbe4;
  --blue: #1c4ab5;
  --sky: #a6c2ff;
  --radius: 12px;
  --gutter: clamp(20px, 5vw, 60px);
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.masthead a:focus-visible { outline-color: var(--sky); }
img { display: block; max-width: 100%; }
section, article { scroll-margin-top: 24px; }
.shell { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-150%);
  background: var(--page);
}
.skip-link:focus { transform: none; }

.masthead { background: var(--navy); color: var(--white); }
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 76px;
  padding-block: 8px;
  border-bottom: 1px solid #ffffff23;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 24px; }
.brand img { border: 1px solid #ffffff29; border-radius: 8px; }
.section-nav, .topbar-actions, .languages { display: flex; align-items: center; }
.section-nav { gap: clamp(12px, 2.4vw, 36px); }
.topbar-actions { gap: clamp(8px, 1.4vw, 20px); }
.section-nav a, .languages a, .sign-in { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.section-nav a, .languages a { color: var(--on-dark-muted); }
.section-nav a:hover, .languages a:hover { color: var(--white); }
.languages a { justify-content: center; min-width: 40px; font-weight: 600; }
.languages a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.sign-in { gap: 6px; padding-inline: 12px; border: 1px solid #ffffff45; border-radius: var(--radius); white-space: nowrap; }
.sign-in:hover { background: var(--navy-light); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(52px, 8vw, 114px);
}
.hero h1 { max-width: 12ch; font-size: clamp(48px, 6.25vw, 92px); font-weight: 690; letter-spacing: -0.066em; line-height: 0.99; }
.hero h1 em { color: var(--sky); font-style: normal; }
.hero-copy > p { max-width: 37ch; margin-top: 24px; font-size: clamp(17px, 1.65vw, 22px); line-height: 1.55; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button, .download-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 650; }
.button-primary { background: var(--sky); color: var(--navy); }
.button-primary:hover { background: var(--white); }
.button-quiet { border-color: #ffffff52; }
.button-quiet:hover { background: var(--navy-light); }

.product-figure {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: clamp(300px, 32vw, 438px);
  padding: clamp(16px, 3vw, 42px);
  border: 1px solid #b7cdff35;
  border-radius: 20px;
  background: radial-gradient(ellipse at 77% 6%, #315cac 0%, #203e75 32%, #13264a 68%, #111d37 100%);
}
.app-window { overflow: hidden; border-radius: var(--radius); background: var(--page); box-shadow: 0 18px 45px #050d24a6; }
.app-title { display: flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 12px; background: var(--navy-light); color: var(--white); font-size: 13px; font-weight: 650; }
.app-title img { border-radius: 4px; }
.app-shot { width: 100%; height: auto; }
.product-figure figcaption { position: absolute; inset: auto 16px 12px; text-align: center; color: var(--on-dark-muted); font-size: 13px; }

.section { padding-block: clamp(44px, 6vw, 84px); }
.section h2, .contact-page h1 { font-size: clamp(32px, 4.5vw, 55px); font-weight: 680; letter-spacing: -0.055em; line-height: 1.08; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); }
.product { display: flex; flex-direction: column; align-items: flex-start; padding: 24px clamp(12px, 2.5vw, 34px) 0; border-right: 1px solid var(--line); }
.product:first-child { padding-left: 0; }
.product:last-child { padding-right: 0; border: 0; }
.eyebrow { margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 650; }
.product h3, .download-row h3, .team-contact h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.035em; line-height: 1.2; }
.product h3 + p, .download-row p, .section-intro { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.product h3 + p { flex: 1; }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--blue); font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.product .text-link { margin-top: 10px; }
.model-access {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 28px;
  padding: 18px clamp(16px, 3vw, 28px);
  border-radius: var(--radius);
  background: var(--soft);
}
.model-access h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.025em; }
.model-access p { color: var(--muted); line-height: 1.5; }

.download-section { background: var(--soft); }
.download-list { margin-top: 28px; border-top: 1px solid var(--line); }
.download-row { display: grid; grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.5fr); gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.download-link { background: var(--page); border-color: var(--line); color: var(--blue); line-height: 1.3; }
.download-link:hover { border-color: var(--blue); }
.release-link { padding-inline: 8px; font-size: 14px; }
.team-section { display: grid; grid-template-columns: 1fr minmax(230px, 0.54fr); gap: 32px; align-items: start; }
.team-preview { display: grid; gap: 18px; margin-block: 24px 12px; max-width: 580px; }
.team-preview-person { display: flex; align-items: center; gap: 16px; }
.team-preview-person h3 { font-size: 19px; font-weight: 650; }
.team-preview-person p { margin-top: 4px; color: var(--muted); line-height: 1.5; }
.portrait { flex: none; object-fit: cover; object-position: center 30%; border-radius: var(--radius); background: var(--soft); }
.team-contact { padding-top: 12px; }
.team-contact a { display: flex; width: fit-content; }
.team-contact h3 { margin-bottom: 8px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 95px; padding-block: 16px; line-height: 1.6; }
.footer-inner p { font-weight: 650; }
.footer-inner p span { color: var(--muted); font-size: 14px; font-weight: 400; }

.contact-page { max-width: 740px; padding-block: 48px 80px; }
.contact-page h1 { margin-block: 14px 24px; }
.contact-page h2 { margin-block: 36px 16px; font-size: 28px; letter-spacing: -0.035em; }
.contact-page p { margin-bottom: 12px; line-height: 1.6; }
.contact-page .contact-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.contact-page dl { display: grid; grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr); margin: 0; line-height: 1.6; }
.contact-page dt, .contact-page dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-page dt { padding-right: 12px; color: var(--muted); }

.team-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid #ffffff23; }
.team-hero { padding-block: 24px clamp(42px, 7vw, 90px); }
.team-back { margin-bottom: 14px; color: var(--sky); }
.team-hero h1 { font-size: clamp(45px, 7vw, 86px); font-weight: 690; line-height: 1.04; letter-spacing: -0.065em; }
.team-hero > p { max-width: 66ch; margin-top: 18px; color: var(--on-dark-muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 52px); padding-block: clamp(36px, 6vw, 72px); }
.profile { padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); }
.profile-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(12px, 2.4vw, 22px); }
.profile-head h2 { font-size: clamp(22px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.profile-head p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.profile-bio { margin-top: 24px; font-size: 17px; line-height: 1.55; }
.profile-results { list-style: none; padding: 0; margin: 20px 0 0; }
.profile-results li { padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.5; }
.profile-results li + li { margin-top: 5px; }
.profile-results .text-link { font-size: 14px; }
.team-story { background: var(--soft); }
.team-story .section-intro { max-width: 64ch; margin-block: 14px 8px; }

@media (max-width: 820px) {
  .topbar { gap: 0 12px; }
  .section-nav { order: 1; width: 100%; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .product-figure { min-height: 0; padding-block: 20px 42px; }
  .profiles { grid-template-columns: 1fr; }
}

@media (max-width: 610px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .topbar-actions { display: contents; }
  .sign-in { grid-column: 2; grid-row: 1; justify-self: end; }
  .section-nav { grid-column: 1; grid-row: 2; flex-wrap: wrap; gap: 0 10px; width: auto; }
  .languages { grid-column: 2; grid-row: 2; justify-self: end; }
  .languages a { min-width: 40px; }
  .brand { gap: 6px; font-size: 22px; }
  .brand img { width: 30px; height: 30px; }
  .sign-in { padding-inline: 8px; }
  .hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .products, .download-row, .team-section { grid-template-columns: 1fr; }
  .product, .product:first-child, .product:last-child { padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); }
  .download-row { gap: 12px; }
  .team-section { gap: 24px; }
  .profile-head .portrait { width: 80px; height: 80px; }
  .team-topbar { min-height: 64px; }
}
