:root {
  --bg: #050913;
  --bg-elevated: #09101d;
  --surface: rgba(13, 22, 38, 0.86);
  --surface-strong: #101a2c;
  --surface-accent: rgba(15, 27, 48, 0.94);
  --text: #edf3ff;
  --muted: #a8b5ce;
  --line: rgba(142, 168, 221, 0.14);
  --primary: #739df4;
  --primary-strong: #587fdf;
  --radius: 8px;
  --container: 1180px;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(91, 134, 231, 0.12), transparent 58%),
    radial-gradient(760px 360px at 0% 0%, rgba(122, 167, 255, 0.07), transparent 62%),
    linear-gradient(180deg, #060b16 0%, var(--bg) 100%);
  line-height: 1.55;
  overflow-x: clip;
}

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

img {
  max-width: 100%;
  display: block;
}

.page-wrapper,
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

main {
  padding-bottom: 2.4rem;
}

.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-grid {
  z-index: -3;
  background-image:
    linear-gradient(rgba(122, 167, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 167, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 76%);
}

.bg-glow {
  z-index: -2;
  background:
    radial-gradient(360px 260px at 82% 14%, rgba(122, 167, 255, 0.1), transparent 74%),
    radial-gradient(420px 280px at 6% 18%, rgba(122, 167, 255, 0.045), transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  backdrop-filter: blur(10px);
  background: rgba(5, 9, 19, 0.78);
  border-bottom: 1px solid rgba(142, 168, 221, 0.1);
  padding: 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  position: relative;
  background: linear-gradient(140deg, #8cb7ff, #4779e8 72%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.2), 0 5px 14px rgba(65, 105, 204, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.brand-mark::before {
  width: 5px;
  height: 5px;
  background: #f7fbff;
  left: 7px;
  top: 7px;
}

.brand-mark::after {
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(247, 251, 255, 0.9);
  right: 6px;
  bottom: 6px;
}

.brand span em {
  color: var(--primary);
  font-style: normal;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.46rem 0.64rem;
  border-radius: 7px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(122, 167, 255, 0.08);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}

.site-header .btn {
  padding: 0.56rem 0.82rem;
}

.header-login {
  color: rgba(168, 181, 206, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.header-login:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(13, 22, 38, 0.88);
  color: #d6e3ff;
}

.section {
  padding: 3.2rem 0;
}

.section-intro {
  padding-top: 2.8rem;
  padding-bottom: 2.4rem;
}

.section-compact {
  padding: 2.4rem 0;
}

.section-cta {
  padding-top: 2.2rem;
  padding-bottom: 1.8rem;
}

.eyebrow {
  display: inline-flex;
  justify-self: start;
  color: #aecaef;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.28rem, 4vw, 3.5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
}

.section-header {
  max-width: 760px;
  display: grid;
  gap: 0.52rem;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  max-width: 680px;
  line-height: 1.62;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.86fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 4.1rem 0 3.2rem;
}

.hero-copy {
  display: grid;
  gap: 0.92rem;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 16ch;
}

.hero-copy .lead {
  max-width: 610px;
}

.hero-ctas {
  display: flex;
  gap: 0.72rem;
  align-items: center;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  padding: 0.74rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.btn.primary {
  color: #f7fbff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 6px 14px rgba(82, 127, 236, 0.12);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: rgba(142, 168, 221, 0.24);
  background: rgba(13, 22, 38, 0.72);
  color: #dce7fd;
}

.btn.ghost:hover {
  border-color: rgba(153, 179, 232, 0.5);
}

.hero-visual {
  border-radius: 14px;
  border: 1px solid rgba(142, 168, 221, 0.16);
  background: linear-gradient(155deg, rgba(13, 23, 42, 0.96), rgba(7, 13, 25, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  padding: 1.35rem;
  min-width: 0;
}

.verification-panel {
  display: grid;
  gap: 1.2rem;
}

.panel-label,
.layer-label {
  color: #aecaef;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.verification-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.verification-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(142, 168, 221, 0.12);
}

.verification-steps li > div {
  min-width: 0;
}

.verification-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.verification-steps li:last-child {
  padding-bottom: 0;
}

.step-number {
  color: var(--primary);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

.verification-steps strong {
  color: #f3f7ff;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.verification-steps p {
  margin-top: 0.24rem;
  font-size: 0.92rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.12rem;
  display: grid;
  gap: 0.52rem;
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  font-size: 0.93rem;
}

.card ul {
  margin: 0.12rem 0 0;
  padding-left: 1rem;
  color: #c5d1e8;
  display: grid;
  gap: 0.28rem;
  font-size: 0.88rem;
}

.quiet-cards .card {
  background: rgba(12, 20, 34, 0.74);
}

.quiet-cards .card p,
.product-layers .card p {
  max-width: 36ch;
}

.product-layers .card {
  padding: 1.18rem;
}

.layer-card.detect {
  border-color: rgba(122, 167, 255, 0.28);
  background: rgba(17, 31, 55, 0.84);
}

.platform-panel,
.support-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 18, 32, 0.78);
}

.platform-panel {
  display: grid;
}

.layer-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) minmax(13rem, 0.42fr);
  gap: 1.4rem;
  align-items: start;
  padding: 1.35rem;
  border-top: 1px solid rgba(142, 168, 221, 0.12);
}

.layer-row > * {
  min-width: 0;
}

.layer-row:first-child {
  border-top: 0;
}

.layer-row h3 {
  font-size: 1.08rem;
}

.layer-row p {
  margin-top: 0.28rem;
  max-width: 58ch;
  font-size: 0.94rem;
}

.layer-row ul {
  margin: 0;
  padding-left: 1rem;
  color: #c5d1e8;
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.support-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-panel article {
  padding: 1.25rem;
  border-top: 1px solid rgba(142, 168, 221, 0.12);
}

.support-panel article:nth-child(-n + 2) {
  border-top: 0;
}

.support-panel article:nth-child(even) {
  border-left: 1px solid rgba(142, 168, 221, 0.12);
}

.support-panel h3,
.contact-panel h2 {
  font-size: 1.1rem;
}

.support-panel p,
.contact-panel p {
  margin-top: 0.32rem;
  font-size: 0.94rem;
}

.contact-panel {
  padding: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.contact-panel p {
  max-width: 680px;
}

.contact-panel a:not(.btn) {
  color: #c8d9ff;
  text-decoration: underline;
  text-decoration-color: rgba(122, 167, 255, 0.34);
  text-underline-offset: 3px;
}

.cta-band {
  border-radius: 12px;
  border: 1px solid rgba(142, 168, 221, 0.16);
  background: rgba(12, 22, 39, 0.82);
  padding: 1.35rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cta-band p {
  max-width: 560px;
  margin-top: 0.32rem;
}

.site-footer {
  border-top: 1px solid rgba(142, 168, 221, 0.12);
  padding: 2rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.3rem;
}

.footer-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 1.3rem;
  color: #8fa1bf;
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 340ms ease, transform 340ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(90, 133, 255, 0.1), transparent 35%),
    radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.08), transparent 30%),
    #05060f;
  color: #ffffff;
  overflow-x: hidden;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 72px 20px 32px;
}

.login-panel {
  width: 100%;
  max-width: 460px;
  border-radius: 28px;
  padding: 32px 28px 24px;
  background: rgba(18, 22, 42, 0.72);
  border: 1px solid rgba(130, 150, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.login-logo .logo-icon {
  width: 30px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #121a32, #1c2749);
  border: 1px solid #28355b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-right: 12px;
  box-shadow: 0 0 18px rgba(90, 133, 255, 0.35);
}

.login-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a85ff;
  opacity: 0.9;
}

.login-logo .logo-dot.delayed {
  background: #f6c453;
}

.login-logo .logo-text {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.login-logo .accent {
  color: #5a85ff;
}

.login-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
  margin: 0 0 6px;
  text-align: center;
}

.login-subtitle {
  text-align: center;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 0.98rem;
}

.login-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(130, 150, 255, 0.18);
  background: rgba(10, 13, 24, 0.9);
  color: #ffffff;
  outline: none;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: rgba(90, 133, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(90, 133, 255, 0.12);
}

.login-btn {
  margin-top: 4px;
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a85ff, #446aff);
  padding: 13px 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(30, 50, 110, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(30, 50, 110, 0.65);
}

.login-links {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.login-links a,
.login-message a {
  color: #9fb4ff;
}

.login-links a:hover,
.login-message a:hover {
  text-decoration: underline;
}

.login-message {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(90, 133, 255, 0.1);
  border: 1px solid rgba(90, 133, 255, 0.2);
  color: #dbe5ff;
  font-size: 0.93rem;
  line-height: 1.5;
}

.login-message.show {
  display: block;
}

.login-back {
  margin-top: 18px;
  text-align: center;
  font-size: 0.92rem;
}

.login-back a {
  color: rgba(255, 255, 255, 0.72);
}

.login-back a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
  }

  .footer-grid,
  .cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .layer-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 0.8rem;
    gap: 0.8rem;
  }

  .brand {
    gap: 0.52rem;
  }

  .brand-suffix {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .header-login {
    font-size: 0.86rem;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0.8rem;
    width: min(260px, calc(100vw - 1.6rem));
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 30, 0.96);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.68rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .section {
    padding: 2rem 0;
  }

  .section-intro {
    padding-top: 1.8rem;
    padding-bottom: 1.7rem;
  }

  .section-compact {
    padding: 1.6rem 0;
  }

  .section-cta {
    padding-top: 1.3rem;
    padding-bottom: 1.7rem;
  }

  .section-header {
    gap: 0.44rem;
    margin-bottom: 0.9rem;
  }

  .hero {
    gap: 1.4rem;
    padding: 2.5rem 0 2rem;
  }

  .hero-visual {
    padding: 1rem;
  }

  .verification-steps li {
    grid-template-columns: 2.35rem 1fr;
  }

  .cols-2,
  .cols-3,
  .support-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .support-panel article:nth-child(n) {
    border-left: 0;
    border-top: 1px solid rgba(142, 168, 221, 0.12);
  }

  .support-panel article:first-child {
    border-top: 0;
  }

  .layer-row,
  .support-panel article,
  .contact-panel,
  .cta-band {
    padding: 1.12rem;
  }

  .login-shell {
    padding: 44px 16px 24px;
  }

  .login-panel {
    padding: 26px 20px 20px;
    border-radius: 24px;
  }

  .login-title {
    font-size: 1.7rem;
  }
}
