*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #07090f;
  --panel: #121827;
  --panel-soft: #171d2c;
  --border: rgba(216, 226, 244, 0.16);
  --border-strong: rgba(141, 181, 255, 0.34);
  --text: #e8edf8;
  --muted: #a9b2c5;
  --dim: #7d879c;
  --brand-blue: #8db5ff;
  --brand-violet: #b5a1f2;
  --brand-pink: #e99ac5;
  --grad: linear-gradient(135deg, #6f99e8, #9c8ce3, #d987b5);
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(74, 140, 247, 0.08), transparent 34%),
    linear-gradient(215deg, rgba(240, 107, 176, 0.08), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: Outfit, Inter, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--grad);
  box-shadow: 0 18px 42px rgba(111, 153, 232, 0.2);
}

/* The pulse mark, matching the product apps: white glyph at 68% of the tile.
   Relative URL so the pages work from both the app routes and the static path. */
.brand-mark::after {
  display: block;
  place-self: center;
  width: 68%;
  aspect-ratio: 1;
  background: #ffffff;
  content: "";
  mask: url("assets/synectra-mark.svg") center / contain no-repeat;
  -webkit-mask: url("assets/synectra-mark.svg") center / contain no-repeat;
}

.nav-actions,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-actions a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

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

.portal-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text) !important;
  background: rgba(141, 181, 255, 0.1);
}

.legal-panel {
  margin: 34px 0 54px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 24, 39, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.updated {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
}

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

.summary-card,
.legal-section {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-soft);
}

.summary-card {
  min-height: 140px;
  padding: 20px;
}

.summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
}

.summary-card span {
  color: var(--muted);
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-section {
  padding: clamp(22px, 4vw, 34px);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.legal-section p + p,
.legal-list {
  margin-top: 14px;
}

.legal-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.legal-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
}

.legal-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--brand-blue);
  box-shadow: 0 0 0 5px rgba(141, 181, 255, 0.11);
}

.callout {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(134, 216, 179, 0.28);
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.09);
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .legal-panel {
    margin-top: 14px;
  }
}
