* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
}

body {
  font-family: "Segoe UI",Arial,sans-serif;
}

/* Match the heading width when the approved Windows faces are unavailable. */
@font-face {
  font-family: "Putnik Heading Fallback";
  src: local("Arial Bold"), local("Liberation Sans Bold"), local("DejaVu Sans Bold");
  font-weight: 550;
  size-adjust: 85%;
}

.frame {
  --pad: clamp(28px,5.6vw,100px);
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f5f4ec;
  background: #11251f;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 92px;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--pad);
  right: var(--pad);
  border-bottom: 1px solid currentColor;
  opacity: .25;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand svg {
  width: 35px;
  height: 35px;
}

.word {
  font: 650 31px/.95 Bahnschrift,"Segoe UI",sans-serif;
  letter-spacing: -1.7px;
}

.word small {
  display: block;
  font: 600 8px/1.3 "Segoe UI",sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.35px;
  margin: 5px 0 0 1px;
}

nav {
  display: flex;
  gap: 30px;
}

nav, .login {
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
}

.login {
  border: 1px solid color-mix(in srgb,currentColor 42%,transparent);
  padding: 9px 16px;
  border-radius: 30px;
}

.login i, .btn i {
  font: normal 20px/1 "Segoe UI",sans-serif;
  margin-left: 15px;
}

.photo {
  display: block;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy {
  position: relative;
  z-index: 1;
}

h1 {
  font: 550 clamp(62px,6.2vw,108px)/.97 Bahnschrift,"Segoe UI","Putnik Heading Fallback",sans-serif;
  letter-spacing: -.055em;
  margin: 0;
}

p {
  font-size: clamp(16px,1.32vw,21px);
  line-height: 1.48;
  margin: 24px 0 0;
  max-width: 37ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.2;
  padding: 16px 22px;
  margin-top: 28px;
  border-radius: 4px;
}

.lower {
  padding: 20px var(--pad);
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.lower em {
  width: 45px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

.terminal {
  background: #f2f2eb;
  color: #142924;
}

.terminal .copy {
  padding: 44px var(--pad) 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 40px;
}

.terminal h1 {
  font-size: clamp(60px,5.6vw,96px);
  line-height: 1.0;
}

.terminal p {
  margin: 0;
  max-width: 33ch;
}

.terminal .btn {
  color: white;
  background: #135546;
  margin-top: 16px;
  padding: 13px 18px;
}

.terminal .photo {
  height: clamp(350px,48vh,650px);
  flex: auto;
  min-height: 0;
}

.terminal .photo img {
  object-position: 50% 66%;
}

.terminal .lower {
  min-height: 52px;
}

@media (761px <= width <= 1060px) {
  .terminal header {
    gap: 14px;
  }

  .terminal header nav {
    gap: 12px;
    font-size: 13px;
  }

  .terminal .login {
    padding-inline: 12px;
    font-size: 13px;
  }

  .terminal .copy {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 24px;
  }

  .terminal h1 {
    font-size: clamp(42px,5.6vw,60px);
  }
}

@media (max-width: 910px) {
  .terminal header nav {
    display: none;
  }
}

@media (max-width:760px) {
  .frame {
    --pad: 22px;
    min-height: 100svh;
  }

  .brand {
    gap: 8px;
  }

  .brand svg {
    width: 28px;
    height: 28px;
  }

  .word {
    font-size: 24px;
  }

  .word small {
    font-size: 6px;
    letter-spacing: 1px;
  }

  header {
    height: 63px;
    gap: 8px;
  }

  nav {
    display: none;
  }

  .login {
    padding: 7px 10px;
    font-size: 12px;
  }

  .login i {
    font-size: 14px;
    margin-left: 4px;
  }

  .frame .copy {
    margin: 0;
    padding: 26px var(--pad);
    display: block;
  }

  .frame h1 {
    font-size: clamp(35px,11.6vw,72px);
    line-height: .99;
    letter-spacing: -.045em;
  }

  .frame p {
    font-size: 16px;
    line-height: 1.4;
    margin: 13px 0 0;
  }

  .frame .btn {
    margin-top: 17px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .frame .photo {
    position: relative;
    inset: auto;
    flex: 1 0 auto;
    min-height: 265px;
    height: 38svh;
    z-index: 0;
  }

  .frame .photo img {
    position: absolute;
    inset: 0;
    object-position: center;
  }

  .frame .lower {
    padding: 13px var(--pad);
    font-size: 12px;
    gap: 10px;
  }

  .lower em {
    width: 24px;
  }

  .terminal .copy {
    padding: 23px var(--pad) 20px;
  }

  .terminal .photo {
    height: 34svh;
  }

  .terminal .lower {
    min-height: 0;
  }
}

@media (max-width: 359px) {
  .terminal .word {
    font-size: 22px;
  }

  .terminal .word small {
    letter-spacing: .6px;
  }

  .terminal .login {
    max-width: 142px;
    text-align: center;
    white-space: normal;
  }
}
