:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #15202b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f7fa;
  color: #15202b;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px 10px;
}

.site-header.compact {
  padding-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #1d6f70, #2a7b9b 54%, #34495e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #516172;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  border-radius: 6px;
  padding: 9px 11px;
}

.nav a:hover,
.nav-button {
  background: #e6ebf1;
  color: #15202b;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: min(640px, calc(100vh - 90px));
  padding-bottom: 22px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #1d6f70;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: 64px;
  line-height: 1.02;
  overflow-wrap: normal;
}

h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.lede {
  max-width: 560px;
  margin: 22px 0 0;
  color: #4d5d6e;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary,
.secondary,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 10px 15px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
button {
  background: #1d6f70;
  color: #fff;
}

.secondary {
  border-color: #c8d2dc;
  background: #fff;
  color: #243344;
}

.visual-panel {
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #dce4ec;
  box-shadow: 0 22px 60px rgba(30, 42, 56, 0.14);
}

.visual-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.visual-status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 9px 11px;
  color: #15202b;
  font-size: 13px;
}

.visual-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #24a148;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metrics article,
.workspace,
.login-shell {
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #fff;
}

.metrics article {
  padding: 18px;
}

.metric-label {
  display: block;
  margin-bottom: 10px;
  color: #69788a;
  font-size: 13px;
  font-weight: 800;
}

.metrics strong {
  display: block;
  font-size: 20px;
}

.metrics p {
  margin: 10px 0 0;
  color: #596879;
  line-height: 1.5;
}

.workspace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 22px;
}

.login-body {
  background: #eef2f6;
}

.login-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 90px);
  padding-top: 0;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  width: min(840px, 100%);
  overflow: hidden;
}

.login-copy {
  min-height: 360px;
  padding: 34px;
  background:
    linear-gradient(0deg, rgba(19, 35, 50, 0.54), rgba(19, 35, 50, 0.18)),
    url("/assets/edge-cache-room.png") center / cover;
  color: #fff;
}

.login-copy .eyebrow {
  color: #9fe0d6;
}

.login-copy p:not(.eyebrow) {
  max-width: 310px;
  color: #e5edf4;
  line-height: 1.55;
}

.login-form {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
}

label {
  display: grid;
  gap: 7px;
  color: #4d5d6e;
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  border: 1px solid #c8d2dc;
  border-radius: 6px;
  background: #fff;
  color: #15202b;
  padding: 11px 12px;
  font: inherit;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: #69788a;
  font-size: 13px;
}

.form-note.is-error {
  color: #b42318;
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .workspace,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 0;
  }

  .visual-panel,
  .visual-panel img {
    min-height: 300px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .workspace {
    align-items: start;
  }
}

@media (max-width: 520px) {
  main {
    padding: 22px 14px 42px;
  }

  .site-header {
    padding: 18px 14px 0;
  }

  h1 {
    font-size: 44px;
    line-height: 1.06;
  }

  .lede {
    font-size: 17px;
  }

  .primary,
  .secondary,
  button {
    width: 100%;
  }

  .login-copy,
  .login-form {
    padding: 24px;
  }
}
