:root {
  --site-scale: clamp(1px, 100vw / 846, 1.8px);
  --site-frame-width: calc(846 * var(--site-scale));
  --site-gutter: calc(28 * var(--site-scale));
  --site-content-width: calc(min(100%, var(--site-frame-width)) - 2 * var(--site-gutter));
  /* Homepage hero proportions shared by the page covers. */
  --site-hero-height: calc(233 * var(--site-scale));
}

@media (max-width: 800px) {
  :root {
    --site-hero-height: max(calc(40rem - (100vw - 20rem) * .55), clamp(36rem, 31.5rem + 20vw, 40.75rem));
    --site-hero-image-min: clamp(7.5rem, 31vw, 13rem);
  }
}

.container, .chrome-header-inner, .chrome-footer-inner {
  width: var(--site-content-width);
  margin-inline: auto;
}

:is(.metrotechs-header, .metrotechs-footer) {
  --u: var(--site-scale);
  --ink: #081f3e;
  --cyan: #09cffe;
  font-family: var(--font-geist-sans, 'Geist'), system-ui, sans-serif;
  font-size: calc(10.5 * var(--u));
  line-height: 1.3;
  color-scheme: dark;
}
.site-chrome-slot { display: contents; }
:is(.metrotechs-header, .metrotechs-footer) :where(h2, p, ul, li, form) { margin: 0; padding: 0; }
:is(.metrotechs-header, .metrotechs-footer) :where(ul) { list-style: none; }
:is(.metrotechs-header, .metrotechs-footer) a { color: inherit; text-decoration: none; }
:is(.metrotechs-header, .metrotechs-footer) :is(img, svg) { display: block; max-width: 100%; }
:is(.metrotechs-header, .metrotechs-footer) button { font: inherit; color: inherit; }
:is(.metrotechs-header, .metrotechs-footer) [hidden] { display: none !important; }
:is(.metrotechs-header, .metrotechs-footer) :focus-visible { outline: 2px solid #51cfff; outline-offset: 3px; }
.chrome-header-inner > noscript a { position: absolute; top: 100%; right: 1rem; background: #04243d; padding: .55rem .7rem; }
.chrome-footer-grid h2 { font-weight: 745; line-height: 1.015; text-wrap: initial; }
.chrome-legal .footer-privacy-actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }

.chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: calc(7 * var(--u));
  width: fit-content;
  font-size: calc(19 * var(--u));
  font-weight: 675;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.chrome-brand img { width: calc(29 * var(--u)); height: auto; }
.chrome-brand-tld { color: #00a9fb; }

.metrotechs-header {
  position: relative;
  z-index: 5;
  color: #fff;
  background: linear-gradient(105deg, #061f34, #011728 67%, #061d30);
  border-bottom: 1px solid #163249;
}

.chrome-header-inner {
  min-height: calc(35 * var(--u));
  display: grid;
  grid-template-columns: minmax(max-content, calc(199 * var(--u))) 1fr auto;
  align-items: center;
  gap: calc(20 * var(--u));
}

.chrome-nav { display: flex; align-items: stretch; gap: calc(15 * var(--u)); }
.chrome-nav-group { position: relative; }

.chrome-nav-group > button, .chrome-icon-button, .chrome-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(2 * var(--u));
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.chrome-nav-group > button {
  min-height: calc(35 * var(--u));
  font-size: calc(8.3 * var(--u));
  font-weight: 640;
  white-space: nowrap;
}

.chrome-nav-group > button svg { width: calc(8 * var(--u)); }
.chrome-nav-group > button:hover, .chrome-nav-group > button[aria-expanded="true"] { color: var(--cyan); }
.chrome-nav-group > button[aria-expanded="true"] svg { transform: rotate(180deg); }

.chrome-dropdown {
  position: absolute;
  top: 100%;
  left: calc(-10 * var(--u));
  min-width: max-content;
  max-height: min(70dvh, 38rem);
  overflow-y: auto;
  padding: .5rem;
  border: 1px solid #225676;
  border-radius: .45rem;
  color: #fff;
  background: #05243d;
  box-shadow: 0 .6rem 2rem #00142355;
}

.chrome-dropdown a { display: block; padding: .5rem .6rem; border-radius: .25rem; font-size: max(.82rem, calc(9 * var(--u))); }
.chrome-dropdown a:hover, .chrome-dropdown a:focus-visible { color: #76e7ff; background: #10466a; }

.chrome-header-actions { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.chrome-header-actions .chrome-icon-button { margin-right: calc(2 * var(--u)); }
.chrome-icon-button { width: calc(18 * var(--u)); height: calc(22 * var(--u)); }
.chrome-icon-button svg { width: calc(14 * var(--u)); }
.chrome-header-actions .chrome-menu-button { display: none; }

.chrome-talk-button, .chrome-start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(4 * var(--u));
  min-height: calc(29 * var(--u));
  padding: calc(4 * var(--u)) calc(13 * var(--u));
  border: 1px solid transparent;
  border-radius: calc(4 * var(--u));
  color: #fff;
  background: transparent;
  font-size: calc(9.6 * var(--u));
  font-weight: 680;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.chrome-talk-button, .chrome-start-button {
  min-height: calc(23 * var(--u));
  padding-inline: calc(11 * var(--u));
  font-size: calc(8.5 * var(--u));
  white-space: nowrap;
}

.chrome-talk-button { border-color: #aab8c8; }
.chrome-start-button { background: #0079e8; }
.chrome-talk-button:hover { background: #123b59; }
.chrome-start-button:hover { background: #0863c0; }
.chrome-start-button svg { width: calc(12 * var(--u)); flex: none; }

.metrotechs-footer { color: #fff; background: linear-gradient(100deg, #031e34, #03192c, #021627); }
.chrome-footer-inner { padding-block: calc(12 * var(--u)) calc(14 * var(--u)); }
.chrome-footer-grid { display: grid; grid-template-columns: 1.55fr 1.12fr .85fr .9fr .65fr; gap: calc(10 * var(--u)); padding-bottom: calc(11 * var(--u)); }
.chrome-footer-brand .chrome-brand { font-size: calc(18 * var(--u)); }
.chrome-footer-brand .chrome-brand img { width: calc(26 * var(--u)); }
.chrome-footer-brand p { margin-top: calc(7 * var(--u)); max-width: calc(184 * var(--u)); font-size: calc(9 * var(--u)); line-height: 1.31; text-wrap: initial; }
.chrome-socials { display: flex; gap: calc(11 * var(--u)); margin-top: calc(8 * var(--u)); }
.chrome-socials a { display: grid; place-items: center; min-width: calc(19 * var(--u)); min-height: calc(19 * var(--u)); }
.chrome-socials svg { width: calc(15 * var(--u)); }
.metrotechs-footer nav h2 { margin-block: calc(6 * var(--u)) calc(7 * var(--u)); font-size: calc(8.6 * var(--u)); letter-spacing: .025em; text-transform: uppercase; }
.metrotechs-footer nav li { margin-bottom: calc(3 * var(--u)); font-size: calc(8.8 * var(--u)); line-height: 1.24; }
.metrotechs-footer a:hover:not(.chrome-brand) { color: var(--cyan); }
.chrome-legal { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: calc(9 * var(--u)); border-top: 1px solid #486277; font-size: calc(8.4 * var(--u)); }

.chrome-search {
  width: min(calc(100% - 2rem), 35rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid #bed5ed;
  border-radius: .75rem;
  color: var(--ink);
  background: #f6fbff;
  box-shadow: 0 1rem 4rem #00172980;
  color-scheme: light;
  font-size: 1rem;
}
.chrome-search::backdrop { background: #001324bc; }
.chrome-dialog-body { padding: clamp(1rem, 5vw, 2rem); }
.chrome-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.chrome-dialog-heading h2 { font-weight: 745; line-height: 1.015; letter-spacing: -.043em; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.chrome-dialog-heading .chrome-icon-button { width: 2.5rem; height: 2.5rem; border-radius: .35rem; background: #e3effa; }
.chrome-dialog-heading svg { width: 1.25rem; }
.chrome-search-field { display: grid; gap: .4rem; font-weight: 630; }
.chrome-search-field input { width: 100%; padding: .65rem .75rem; border: 1px solid #8aa9c4; border-radius: .3rem; font: inherit; }
.chrome-search-status { margin-block: .65rem .3rem; font-size: .875rem; }
.chrome-search-results a { display: flex; align-items: center; justify-content: space-between; padding-block: .55rem; border-top: 1px solid #d5e4f1; color: #005ab7; }
.chrome-search-results a:hover { text-decoration: underline; }
.chrome-search-results svg { width: 1.1rem; }

@media (max-width: 800px) {
  :root { --site-gutter: clamp(1rem, 4.25vw, 2rem); }
  :is(.metrotechs-header, .metrotechs-footer) { --u: 1.45px; }
  .chrome-header-inner { min-height: 3.7rem; grid-template-columns: 1fr auto; gap: .5rem; }
  .metrotechs-header .chrome-brand { font-size: clamp(1.12rem, 4.7vw, 1.5rem); }
  .metrotechs-header .chrome-brand img { width: clamp(1.65rem, 6vw, 2.25rem); }
  .chrome-header-actions { gap: .3rem; }
  .chrome-header-actions .chrome-icon-button { margin: 0; width: 2.4rem; height: 2.65rem; }
  .chrome-header-actions .chrome-menu-button { display: inline-flex; width: 2.4rem; height: 2.65rem; }
  .chrome-menu-button svg { width: 1.55rem; }
  .chrome-talk-button { display: none; }
  .chrome-start-button { min-height: 2.45rem; padding-inline: .55rem; }
  .chrome-nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: .5rem var(--site-gutter) 1rem; max-height: min(65dvh, 30rem); overflow: auto; background: #04243d; box-shadow: 0 10px 30px #03132180; }
  .chrome-nav[data-open="true"] { display: block; }
  .chrome-nav-group { border-bottom: 1px solid #ffffff3b; }
  .chrome-nav-group > button { justify-content: space-between; width: 100%; min-height: 2.75rem; font-size: .95rem; }
  .chrome-dropdown { position: static; box-shadow: none; min-width: 0; max-height: none; margin-bottom: .5rem; }
  .chrome-footer-inner { padding-block: 1.25rem; }
  .chrome-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .chrome-footer-brand { grid-column: 1 / -1; }
  .metrotechs-footer nav a { display: inline-block; padding-block: .15rem; }
}

@media (max-width: 520px) {
  .chrome-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 400px) {
  .chrome-start-button svg { display: none; }
}

@media (max-width: 370px) {
  .metrotechs-header .chrome-brand { gap: .3rem; font-size: 1.07rem; }
  .metrotechs-header .chrome-brand img { width: 1.5rem; }
  .chrome-header-actions { gap: .12rem; }
  .chrome-header-actions .chrome-icon-button, .chrome-header-actions .chrome-menu-button { width: 2rem; }
  .chrome-start-button { gap: .12rem; padding-inline: .38rem; }
}
