:root {
  --bg: #f5f7fa;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --panel: #ffffff;
  --accent: #1663d9;
  --accent-strong: #0f4fb1;
  --dark: #101722;
  --dark-soft: #172131;
  --focus: #8ab4ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px rgba(22, 99, 217, 0.28);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px clamp(20px, 6vw, 78px) 56px;
  background: var(--dark);
  color: #fff;
}

#ops-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 15, 24, 0.93) 0%, rgba(10, 15, 24, 0.76) 42%, rgba(10, 15, 24, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 15, 24, 0.52) 0%, rgba(10, 15, 24, 0.14) 58%, rgba(10, 15, 24, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #87b7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(68px, 11vw, 152px);
  line-height: 0.9;
  font-weight: 800;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #e6edf7;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.16;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 78px);
  background: #fff;
}

.section-copy {
  max-width: 560px;
}

.section-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 800;
}

.section-copy p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-grid span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 58px 0 12px;
  font-size: 22px;
  line-height: 1.12;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 78px);
  color: #6a7482;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.login-body {
  display: grid;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 99, 217, 0.14), transparent 32%),
    linear-gradient(145deg, #f7f9fc, #e9eef6);
}

.login-shell {
  display: grid;
  place-items: center;
  gap: 26px;
  width: min(620px, calc(100% - 40px));
  margin: auto;
}

.login-shell .brand {
  color: var(--ink);
}

.login-panel {
  width: 100%;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.login-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1;
}

.login-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
    padding-inline: 18px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions > a:first-child {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding: 104px 20px 44px;
  }

  h1 {
    font-size: clamp(60px, 19vw, 92px);
  }

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

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

  .feature-grid article {
    min-height: 170px;
  }

  .feature-grid h3 {
    margin-top: 34px;
  }

  .site-footer {
    flex-direction: column;
  }
}
