:root {
  --bg: #050b16;
  --bg-2: #07111f;
  --panel: rgba(16, 27, 51, .78);
  --panel-strong: rgba(22, 35, 67, .86);
  --line: rgba(142, 170, 220, .18);
  --line-strong: rgba(124, 236, 255, .28);
  --text: #eef6ff;
  --muted: #9eb1d3;
  --soft: #c6d4ef;
  --accent: #78e8ff;
  --accent-2: #a985ff;
  --accent-3: #61f0c8;
  --warn: #ffbd48;
  --danger: #ff718a;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .38);
  --front-scroll-offset: 98px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--front-scroll-offset); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 5%, rgba(120, 232, 255, .14), transparent 28%),
    radial-gradient(circle at 84% 6%, rgba(169, 133, 255, .17), transparent 30%),
    radial-gradient(circle at 54% 100%, rgba(97, 240, 200, .08), transparent 34%),
    linear-gradient(180deg, #071423 0%, #050b16 46%, #040814 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.page-glow {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  filter: blur(4px);
  opacity: .8;
}
.page-glow-one { inset: -180px auto auto -150px; width: 460px; height: 460px; border-radius: 50%; background: rgba(120, 232, 255, .10); }
.page-glow-two { inset: 60px -220px auto auto; width: 560px; height: 560px; border-radius: 50%; background: rgba(169, 133, 255, .12); }

.icon { width: 19px; height: 19px; flex: 0 0 auto; }
.site-header {
  --header-blur-radius: 999px;
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1420px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  padding: 16px 0;
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 10px -18px;
  z-index: -1;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: var(--header-blur-radius);
  background: rgba(5, 11, 22, .58);
  box-shadow: 0 20px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  clip-path: inset(0 round var(--header-blur-radius));
  transform: translateZ(0);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(120,232,255,.18), rgba(169,133,255,.16));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 60px rgba(120,232,255,.12), inset 0 1px 0 rgba(255,255,255,.10);
}
.brand-mark-small { width: 28px; height: 28px; border-radius: 10px; }
.brand-copy strong { display: block; font-size: 21px; letter-spacing: -.02em; }
.brand-copy small { display: block; color: var(--muted); font-size: 12px; line-height: 1; }
.main-nav { display: flex; justify-content: center; gap: 28px; align-items: center; }
.main-nav a { color: var(--soft); font-size: 14px; font-weight: 780; opacity: .94; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 17, 32, .70);
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}
.language-switch a { padding: 4px 7px; border-radius: 999px; color: var(--muted); }
.language-switch a.is-active { background: rgba(120,232,255,.14); color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -.01em;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  color: #04111f;
  background: linear-gradient(135deg, #78e8ff 0%, #9f8cff 48%, #5ff0cf 100%);
  box-shadow: 0 16px 48px rgba(120,232,255,.20), 0 10px 38px rgba(169,133,255,.15);
}
.btn-primary:hover { box-shadow: 0 18px 60px rgba(120,232,255,.28), 0 12px 42px rgba(169,133,255,.20); }
.btn-secondary, .btn-ghost {
  color: var(--text);
  background: rgba(12, 19, 36, .64);
  border-color: rgba(148, 163, 184, .24);
}
.btn-secondary:hover, .btn-ghost:hover { border-color: rgba(120,232,255,.45); background: rgba(120,232,255,.08); }
.nav-toggle { display: none; }

.site-main { width: min(1420px, calc(100% - 40px)); margin: 0 auto; }
.section-wrap { margin: 34px 0; }
.glass-card {
  background: linear-gradient(145deg, rgba(20, 33, 62, .82), rgba(9, 17, 33, .64));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.055);
  border-radius: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 42px;
  min-height: 720px;
  padding: 28px 0 40px;
}
.hero-copy h1 {
  max-width: 690px;
  margin: 18px 0 18px;
  font-size: clamp(43px, 5.5vw, 78px);
  line-height: .99;
  letter-spacing: -.065em;
}
.hero-lead {
  max-width: 640px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 26px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 20, 38, .65);
  color: var(--soft);
  font-size: 13px;
  font-weight: 820;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.status-pill strong { color: #fff; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); font-size: 11px; }
.status-good { color: #72ffd4; border-color: rgba(97,240,200,.25); }
.status-warn, .status-gold { color: #ffd37a; border-color: rgba(255,189,72,.26); }
.status-violet { color: #c8b5ff; border-color: rgba(169,133,255,.28); }
.hero-visual { position: relative; min-height: 650px; display: flex; align-items: center; justify-content: center; }
.product-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(120,232,255,.24);
  background: rgba(4,10,20,.72);
  box-shadow: 0 34px 110px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.04), 0 0 72px rgba(120,232,255,.10);
}
.dashboard-frame { width: 100%; max-width: 785px; aspect-ratio: 1.03 / .86; }
.dashboard-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: .92; }
.login-card {
  position: absolute;
  right: -10px;
  bottom: 54px;
  width: min(320px, 44%);
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(12,22,42,.94), rgba(5,12,24,.92));
  border: 1px solid rgba(120,232,255,.22);
  box-shadow: 0 28px 90px rgba(0,0,0,.45), 0 0 44px rgba(169,133,255,.10);
}
.login-card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.mini-icon { width: 36px; height: 36px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: rgba(120,232,255,.12); border: 1px solid rgba(120,232,255,.18); }
.login-card h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; }
.login-card p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 13px; }
.login-card form { display: grid; gap: 12px; }
.login-card label { display: grid; gap: 7px; color: var(--soft); font-size: 12px; font-weight: 850; }
.login-card input {
  min-height: 44px;
  border: 1px solid rgba(148,163,184,.22);
  background: rgba(3,8,18,.76);
  color: var(--text);
  border-radius: 13px;
  padding: 0 13px;
  outline: none;
}
.login-card input:focus { border-color: rgba(120,232,255,.55); box-shadow: 0 0 0 4px rgba(120,232,255,.09); }
.login-submit { width: 100%; min-height: 46px; }
.login-note, .request-note, .login-fallback { font-size: 12px; color: var(--muted); line-height: 1.45; }
.portal-actions { display: grid; gap: 12px; }
.portal-actions .btn { width: 100%; }
.login-card-portal .login-note { margin-top: 0; }
.login-fallback { color: var(--accent); font-weight: 850; }
.login-error { border: 1px solid rgba(255,113,138,.28); background: rgba(255,113,138,.08); color: #ffd8df !important; padding: 10px; border-radius: 12px; }

.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin: 10px 0; font-size: clamp(31px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -.055em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.65; max-width: 680px; }
.compact-heading { max-width: 760px; }
.split-heading { display: grid; grid-template-columns: 1fr minmax(260px, 480px); align-items: end; gap: 28px; }
.row-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.value-section, .showcase-section, .capabilities-section, .workflow-section { padding-top: 34px; border-top: 1px solid rgba(148,163,184,.10); }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-card { padding: 30px; border-radius: var(--radius-lg); min-height: 245px; }
.feature-icon, .capability-icon, .workflow-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  color: var(--accent);
  background: rgba(120,232,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.feature-gold, .capability-gold, .capability-yellow { color: var(--warn); background: rgba(255,189,72,.10); }
.feature-violet, .capability-violet, .capability-purple { color: #bfacff; background: rgba(169,133,255,.12); }
.feature-pink, .capability-pink { color: #ffa4d2; background: rgba(255,113,180,.10); }
.capability-teal { color: #67f0d1; background: rgba(97,240,200,.10); }
.capability-blue { color: #8dc6ff; background: rgba(141,198,255,.10); }
.value-card h3, .capability-card h3, .workflow-card h3 { margin: 22px 0 10px; font-size: 20px; line-height: 1.15; letter-spacing: -.03em; }
.value-card p, .capability-card p, .workflow-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.showcase-card { border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-rows: 270px auto; }
.showcase-image { background: rgba(4,10,20,.60); border-bottom: 1px solid rgba(148,163,184,.12); overflow: hidden; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: .92; transition: transform .35s ease, opacity .35s ease; }
.showcase-card:hover .showcase-image img { transform: scale(1.025); opacity: 1; }
.showcase-copy { padding: 24px; }
.showcase-copy h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: -.035em; }
.showcase-copy p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.showcase-copy a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 900; }
.showcase-copy a:hover { color: #fff; }

.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.capability-card { border-radius: 22px; padding: 22px; }
.capability-card .capability-icon { width: 46px; height: 46px; border-radius: 16px; }
.capability-card h3 { font-size: 18px; margin-top: 18px; }
.capability-card p { font-size: 14px; }

.workflow-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.workflow-card { position: relative; min-height: 230px; padding: 28px 20px 24px; border-radius: 22px; text-align: center; }
.workflow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px;
  right: -18px;
  width: 18px;
  border-top: 1px dashed rgba(120,232,255,.36);
}
.step-number {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(120,232,255,.28);
  background: #12203d;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}
.workflow-icon { margin: 18px auto 0; color: var(--accent); }
.workflow-card h3 { margin-top: 18px; }
.workflow-card p { font-size: 14px; }

.final-cta-section { padding: 24px 0 48px; }
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: center;
  gap: 34px;
  border-color: rgba(120,232,255,.30);
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 540px;
  height: 360px;
  background: radial-gradient(circle, rgba(120,232,255,.42), rgba(169,133,255,.22) 34%, transparent 66%);
  filter: blur(6px);
  pointer-events: none;
}
.cta-copy, .cta-side { position: relative; z-index: 1; }
.cta-copy h2 { margin: 10px 0 12px; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.055em; }
.cta-copy p { margin: 0; color: var(--soft); line-height: 1.65; max-width: 640px; }
.cta-side { display: grid; gap: 20px; justify-items: end; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta-points { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-points span { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); background: rgba(4,10,20,.34); border: 1px solid rgba(255,255,255,.12); padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 820; }

.site-footer {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(148,163,184,.10);
}
.footer-brand, .footer-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-brand strong { color: #fff; }
.footer-links a { color: var(--muted); font-weight: 780; font-size: 13px; }
.footer-links a:hover { color: #fff; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border-radius: 15px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(12, 19, 36, .72);
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 999px; }
  .main-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(6, 12, 24, .96);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; border-radius: 14px; }
  .main-nav a:hover { background: rgba(120,232,255,.08); }
  .header-actions { justify-self: end; }
  .hero-section { grid-template-columns: 1fr; min-height: unset; gap: 28px; padding-top: 16px; }
  .hero-visual { min-height: 560px; }
  .dashboard-frame { max-width: none; }
  .value-grid, .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card { grid-template-rows: 350px auto; }
  .workflow-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-card:not(:last-child)::after { display: none; }
  .final-cta { grid-template-columns: 1fr; }
  .cta-side, .cta-buttons, .cta-points { justify-items: start; justify-content: flex-start; }
}

@media (max-width: 720px) {
  :root { --front-scroll-offset: 112px; }
  .site-header, .site-main, .site-footer { width: min(100% - 28px, 1420px); }
  .site-header { grid-template-columns: auto auto; gap: 12px; min-height: 72px; }
  .site-header {
  --header-blur-radius: 22px;
}

.site-header::before {
  inset: 8px -8px;
}
  .brand-copy small { display: none; }
  .header-actions { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
  .header-login { min-height: 42px; padding: 0 14px; }
  .language-switch { padding: 6px 8px; }
  .hero-copy h1 { font-size: clamp(36px, 13vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: auto; display: grid; gap: 16px; }
  .dashboard-frame { aspect-ratio: 1.05 / .94; border-radius: 20px; }
  .login-card { position: static; width: 100%; order: 2; }
  .value-grid, .capability-grid, .workflow-row { grid-template-columns: 1fr; }
  .value-card { min-height: unset; }
  .showcase-card { grid-template-rows: 230px auto; }
  .section-heading h2, .cta-copy h2 { font-size: clamp(30px, 11vw, 44px); }
  .split-heading { grid-template-columns: 1fr; }
  .cta-buttons .btn { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* v0.7.5 public front UX polish */
.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.main-nav .mobile-nav-login { display: none; }
.language-menu { position: relative; display: inline-flex; align-items: center; }
.language-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 17, 32, .72);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.language-trigger:hover { border-color: rgba(120,232,255,.38); background: rgba(120,232,255,.07); }
.language-trigger .icon { width: 17px; height: 17px; }
.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 184px;
  z-index: 55;
  display: none;
  padding: 8px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 18px;
  background: rgba(5, 11, 22, .97);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.language-menu.is-open .language-options { display: grid; gap: 4px; }
.language-options a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 12px;
  color: var(--soft);
  font-weight: 850;
  font-size: 13px;
}
.language-options a span { color: var(--muted); }
.language-options a:hover, .language-options a.is-active { background: rgba(120,232,255,.10); color: #fff; }

.hero-copy h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -.058em;
}
.hero-section { min-height: 660px; }
.status-pill { cursor: default; }

.showcase-section { scroll-margin-top: var(--front-scroll-offset); }
.showcase-copy { display: flex; flex-direction: column; }
.showcase-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 930;
  cursor: pointer;
}
.showcase-toggle:hover { color: #fff; }
.showcase-toggle .icon { transition: transform .2s ease; }
.showcase-card.is-expanded .showcase-toggle .icon { transform: rotate(90deg); }
.showcase-toggle-less { display: none; }
.showcase-card.is-expanded .showcase-toggle-more { display: none; }
.showcase-card.is-expanded .showcase-toggle-less { display: inline; }
.showcase-details {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(120,232,255,.18);
  background: rgba(4,10,20,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.showcase-details h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #fff;
  letter-spacing: -.01em;
}
.showcase-details ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.showcase-details li {
  color: var(--soft);
  line-height: 1.45;
  font-size: 14px;
}
.showcase-details li::marker { color: var(--accent); }

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .site-header::before { inset: 10px -12px; }
  .header-actions { justify-self: end; grid-column: auto; width: auto; }
  .header-login { display: none; }
  .nav-toggle { display: inline-grid; order: 2; }
  .language-menu { order: 1; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 34px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(6, 12, 24, .97);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 12px 13px;
    border-radius: 14px;
    font-size: 15px;
    color: var(--soft);
  }
  .main-nav a:hover { background: rgba(120,232,255,.08); color: #fff; }
  .main-nav .mobile-nav-login {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    color: #04111f;
    background: linear-gradient(135deg, #78e8ff 0%, #9f8cff 48%, #5ff0cf 100%);
    font-weight: 950;
  }
  .hero-section { min-height: unset; }
}

@media (max-width: 720px) {
  :root { --front-scroll-offset: 96px; }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 72px;
    padding: 12px 0;
  }
  .site-header {
  --header-blur-radius: 22px;
}

.site-header::before {
  inset: 6px -8px;
}
  .brand { min-width: 0; }
  .brand-mark { width: 42px; height: 42px; border-radius: 16px; }
  .brand-copy strong { font-size: 20px; }
  .header-actions {
    grid-column: auto;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }
  .language-trigger {
    min-height: 42px;
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .language-trigger span { display: none; }
  .language-options {
    right: 0;
    min-width: 170px;
  }
  .nav-toggle { width: 42px; height: 42px; border-radius: 15px; }
  .main-nav {
    width: min(320px, calc(100vw - 28px));
    top: calc(100% + 8px);
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
  .hero-section { padding-top: 0px; gap: 22px; }
  .hero-copy h1 {
    font-size: clamp(33px, 11.5vw, 46px);
    line-height: 1.06;
    letter-spacing: -.052em;
    margin-top: 14px;
  }
  .hero-lead { font-size: 15.5px; line-height: 1.62; }
  .hero-pills { gap: 8px; }
  .status-pill { padding: 8px 10px; font-size: 12.5px; }
  .dashboard-frame { aspect-ratio: 1.05 / .88; }
  .login-card { padding: 18px; border-radius: 22px; }
  .section-heading h2, .cta-copy h2 { font-size: clamp(29px, 9.8vw, 41px); line-height: 1.08; }
  .showcase-card { grid-template-rows: 220px auto; }
  .showcase-details { padding: 14px; }
  .showcase-details li { font-size: 13.5px; }
}


/* Request access modal */
body.contact-modal-open { overflow: hidden; }
.contact-modal[hidden] { display: none !important; }
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
}
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 16, .72);
  backdrop-filter: blur(12px);
}
.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 30px;
  padding: clamp(20px, 3vw, 30px);
  border-color: rgba(120,232,255,.24);
  box-shadow: 0 34px 120px rgba(0,0,0,.55), 0 0 80px rgba(120,232,255,.10);
}
.contact-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 15% 0%, rgba(120,232,255,.13), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(169,133,255,.13), transparent 34%);
  pointer-events: none;
}
.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(4,10,20,.62);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.contact-modal-close:hover { border-color: rgba(120,232,255,.45); color: #fff; }
.contact-modal-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 46px;
  margin-bottom: 22px;
}
.contact-modal-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.contact-modal-head p { margin: 0; color: var(--soft); line-height: 1.55; }
.contact-form { display: grid; gap: 14px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--soft); font-size: 13px; font-weight: 850; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: rgba(4,10,20,.62);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: rgba(120,232,255,.55);
  box-shadow: 0 0 0 4px rgba(120,232,255,.08), inset 0 1px 0 rgba(255,255,255,.06);
}
.contact-form textarea { min-height: 132px; resize: vertical; }
.contact-form select { appearance: none; cursor: pointer; }
.contact-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 2px;
}
.contact-submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.contact-privacy { margin: 0; color: var(--muted); font-size: 13px; max-width: 300px; }
.contact-status { margin: 0; min-height: 22px; color: var(--muted); font-weight: 850; }
.contact-status.is-success { color: #72ffd4; }
.contact-status.is-error { color: #ffb0bd; }
.login-request-link {
  align-self: flex-start;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 900;
  cursor: pointer;
}
.login-request-link:hover { color: #fff; }
@media (max-width: 720px) {
  .contact-modal { padding: 12px; align-items: end; }
  .contact-modal-panel { width: 100%; max-height: 92vh; border-radius: 24px; padding: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-modal-head { padding-right: 38px; }
  .contact-form-footer .btn { width: 100%; }
  .contact-privacy { max-width: none; }
}


/* Public legal/support pages */
.legal-page {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 72px;
  display: grid;
  gap: 20px;
}

.legal-hero {
  padding: 34px;
}

.legal-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.legal-content {
  padding: clamp(24px, 5vw, 48px);
  color: var(--front-text, #e5edf7);
  overflow-x: hidden;
}

.legal-content > :where(h1, h2, h3, p, ul, ol, blockquote) {
  max-width: 980px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  margin: 1.25em 0 .45em;
  letter-spacing: -.03em;
}

.legal-content h1:first-child,
.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--front-muted, #b8c4d6);
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.2rem;
}

.legal-content a {
  color: #7dd3fc;
  font-weight: 700;
}

.legal-table-wrap {
  width: 100%;
  margin: 28px 0;
  border: 1px solid rgba(142, 170, 220, .22);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 27, 52, .86), rgba(7, 14, 28, .66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 40px rgba(0, 0, 0, .18);
}

.legal-table-wrap table,
.legal-content table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.legal-table-wrap th,
.legal-table-wrap td,
.legal-content table th,
.legal-content table td {
  padding: 15px 17px;
  border-right: 1px solid rgba(142, 170, 220, .12);
  border-bottom: 1px solid rgba(142, 170, 220, .12);
  color: var(--soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.legal-table-wrap th:last-child,
.legal-table-wrap td:last-child,
.legal-content table th:last-child,
.legal-content table td:last-child {
  border-right: 0;
}

.legal-table-wrap tr:last-child td,
.legal-content table tr:last-child td {
  border-bottom: 0;
}

.legal-table-wrap th,
.legal-content table th {
  color: var(--text);
  font-weight: 900;
  background: rgba(120, 232, 255, .085);
}

.legal-table-wrap tbody tr:nth-child(even) td,
.legal-content table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, .018);
}

.legal-table-wrap tbody tr:hover td,
.legal-content table tbody tr:hover td {
  background: rgba(120, 232, 255, .035);
}

.legal-table-wrap strong,
.legal-content table strong {
  color: var(--text);
}

.legal-support-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.legal-support-cta h2 {
  margin: 0 0 6px;
}

.legal-support-cta p {
  margin: 0;
  color: var(--front-muted, #b8c4d6);
}

.contact-privacy a {
  color: inherit;
  font-weight: 800;
}

@media (max-width: 760px) {
  .legal-page {
    width: min(100% - 22px, 1420px);
    padding-top: 20px;
  }

  .legal-support-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-content {
    padding: 22px;
  }

  .legal-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .legal-table-wrap table,
  .legal-content table {
    min-width: 680px;
  }

  .legal-table-wrap th,
  .legal-table-wrap td,
  .legal-content table th,
  .legal-content table td {
    padding: 12px 13px;
  }
}
