:root {
  --bg: #f7f9fc;
  --text: #081b46;
  --muted: #5e6b85;
  --line: #d9e3ee;
  --accent: #22c7d7;
  --blue: #2f7dff;
  --max: 880px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 255, 0.06), transparent 18%),
    radial-gradient(circle at 88% 14%, rgba(34, 199, 215, 0.07), transparent 18%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

/* HEADER */
header { padding: 2.5rem 0; }

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-lockup,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-lockup img {
  width: 170px;
  height: auto;
  display: block;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  display: block;
}

.footer-brand span {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

nav a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active { color: var(--text); }

/* HERO */
.hero { padding: 8rem 0 7rem; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 720px;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: normal;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.1rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
}

/* PAGE HEADING (subpages) */
.page-head { padding: 5rem 0 3rem; }

.page-head .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.page-head p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* SECTIONS */
section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 640px;
  line-height: 1.3;
}

section p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
}

/* PRINCIPLE LIST */
.points {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.points li {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

/* ROW LIST */
.rows { margin-top: 2rem; }

.row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.25s ease, background 0.25s ease;
  border-radius: 16px;
}

.row:last-child { border-bottom: 1px solid var(--line); }

a.row:hover {
  padding-left: 0.5rem;
  background: linear-gradient(90deg, rgba(47, 125, 255, 0.05), rgba(34, 199, 215, 0.015));
}

.row .num {
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.row .body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.row .body p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: none;
}

.row .status {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.row .status.live { color: var(--accent); }
.row .status.building { color: var(--blue); }
a.row .status::after {
  content: "↗";
  margin-left: 0.45rem;
  color: var(--blue);
}

/* CONTACT */
.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-line a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-line a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* FOOTER */
footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-stack {
  display: grid;
  gap: 1rem;
}

.footer-meta {
  color: var(--muted);
}

.footer-legal {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

/* LEGAL PAGES */
.legal-content {
  display: grid;
  gap: 3rem;
}

.legal-section {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.legal-section h2 {
  margin-bottom: 0;
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-section p {
  max-width: none;
}

.legal-list {
  display: grid;
  gap: 0.85rem;
  margin-left: 1.25rem;
  color: var(--muted);
}

.legal-list li {
  padding-left: 0.25rem;
}

.effective-date {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .hero { padding: 5rem 0 4.5rem; }
  .page-head { padding: 4rem 0 2.5rem; }
  section { padding: 4rem 0; }
  .row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .row .status { justify-self: start; }
  nav ul { gap: 1.25rem; }
  .brand-lockup img { width: 148px; }
  .footer-wrap { align-items: flex-start; }
}
