@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:ital,wght@1,400;1,600&family=DM+Mono:wght@400;500&display=swap");

:root {
  --accent: #0d6254;
  --accent2: #0f766e;
  --accent-soft: #0d62540d;
  --ink: #14241e;
  --muted: #5b6b63;
  --muted-strong: #3c4e46;
  --border: #dde4e0;
  --border-strong: #bfccc6;
  --panel: #ffffff;
  --panel2: #f4faf7;
  --canvas: #f6faf8;
  --ok: #14663f;
  --err: #b3261e;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 36px rgba(0,0,0,.08), 0 20px 48px rgba(0,0,0,.06);
  --sans: "Manrope", "Avenir Next", Verdana, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(900px 600px at 85% -10%,
      #0d62541a 0%, transparent 60%),
    radial-gradient(700px 500px at -10% 110%,
      #14663f1a 0%, transparent 55%);
}

body::after {
  background-image:
    linear-gradient(90deg, rgba(24, 54, 42, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(24, 54, 42, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--sans);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(13,98,84,.25), 0 0 0 1px rgba(255,255,255,.6) inset;
}

.brand:hover { text-decoration: none; }

.lucide {
  display: inline-block;
  vertical-align: -0.2em;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  font: 500 14px var(--sans);
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font: 500 14px var(--sans);
  color: var(--muted-strong);
  transition: color .15s, background .15s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--panel2);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-links .button {
  margin-left: 8px;
}

/* ===== Launching Badge ===== */
.launching-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 600 13px var(--sans);
  white-space: nowrap;
}

/* ===== Buttons ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font: 600 14px var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.button-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
  text-decoration: none;
}

.button-secondary {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.button-secondary:hover {
  background: #c8efe0;
  border-color: transparent;
  color: var(--ink);
  text-decoration: none;
}

.button-light {
  background: #ffffff;
  color: var(--accent);
  border-color: transparent;
}

.button-light:hover {
  background: #f0fdf8;
  color: var(--ink);
  text-decoration: none;
}

.button-ghost {
  background: transparent;
  color: var(--muted-strong);
  border-color: transparent;
}

.button-ghost:hover {
  background: var(--panel2);
  color: var(--ink);
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Waitlist Form ===== */
.waitlist-form {
  margin-top: 8px;
  max-width: 520px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--ink);
  font: 500 15px var(--sans);
  transition: border-color .15s, box-shadow .15s;
}

.waitlist-input::placeholder { color: var(--muted); }

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,98,84,.15);
}

.waitlist-button {
  white-space: nowrap;
}

.waitlist-arrow {
  display: inline-flex;
  transition: transform .15s ease;
}

.waitlist-button:hover .waitlist-arrow { transform: translateX(3px); }

.waitlist-button:disabled {
  opacity: .65;
  cursor: wait;
}

.waitlist-note {
  margin: 10px 2px 0;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .15s;
}

.waitlist-note[data-state="error"] { color: var(--err); }

.waitlist-note[data-state="success"] { color: var(--ok); }

.waitlist-note[data-state="pending"] { color: var(--muted-strong); }

.waitlist-form[data-done="true"] .waitlist-note { font-weight: 600; }

/* Compact variant (inside dark callout) */
.waitlist-form-compact .waitlist-input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.waitlist-form-compact .waitlist-input::placeholder { color: rgba(232,245,237,.55); }

.waitlist-form-compact .waitlist-input:focus {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134,239,172,.18);
}

.waitlist-form-compact .waitlist-note { color: rgba(232,245,237,.7); }

.waitlist-form-compact .waitlist-note[data-state="error"] { color: #ffb4ab; }

.waitlist-form-compact .waitlist-note[data-state="success"] { color: #86efac; }

@media (max-width: 480px) {
  .waitlist-row { flex-direction: column; }
  .waitlist-button { width: 100%; }
}

/* ===== Hero ===== */
.hero {
  padding: clamp(64px, 10vw, 100px) 0;
}

.hero-inner {
  max-width: 840px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* ===== Hub Preview ===== */
.hub-preview {
  position: relative;
}

.hub-preview-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.hub-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--panel2);
  border-bottom: 1px solid var(--border);
}

.hub-preview-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }

.hub-preview-url {
  margin-left: 8px;
  font: 500 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hub-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hub-preview-badge {
  position: absolute;
  left: -18px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  font: 600 13px var(--sans);
  color: var(--ink);
}

.badge-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(20,102,63,.45);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20,102,63,.45); }
  70% { box-shadow: 0 0 0 9px rgba(20,102,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,102,63,0); }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 12px var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}

.hero .lead {
  margin: 0 0 32px;
  max-width: 680px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

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

/* ===== Section ===== */
.section {
  padding: clamp(48px, 6vw, 72px) 0;
}

.section-title {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-title .eyebrow { margin-bottom: 12px; }

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}

.section-title p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== System Ledger ===== */
.system-ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.ledger-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--panel2);
  border: 1px solid var(--border);
  transition: border-color .15s, box-shadow .15s;
}

.ledger-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(13,98,84,.08);
}

.ledger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ledger-icon .lucide { width: 20px; height: 20px; }

.ledger-label {
  font: 700 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger-title {
  font: 600 15px var(--sans);
  color: var(--ink);
}

.ledger-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 11px var(--sans);
  color: #6b2e9e;
  background: #f3e8ff;
}

.ledger-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b2e9e;
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), #0f766e14);
  color: var(--accent);
}

.feature-icon .lucide { width: 24px; height: 24px; }

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

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

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font: 600 14px var(--sans);
  color: var(--accent);
}

.feature-link:hover { gap: 10px; }

/* ===== Step List ===== */
.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 700 12px var(--mono);
  letter-spacing: 0.05em;
}

.step-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--panel2);
  border: 1px solid var(--border);
  color: var(--accent);
}

.step-icon .lucide { width: 20px; height: 20px; }

.step-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Capability Ledger ===== */
.capability-ledger {
  display: grid;
  gap: 16px;
}

.capability-row {
  display: grid;
  grid-template-columns: 140px 48px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color .15s, box-shadow .15s;
}

.capability-row:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--panel2);
  border: 1px solid var(--border);
  color: var(--accent);
}

.capability-icon .lucide { width: 22px; height: 22px; }

.capability-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font: 600 12px var(--sans);
  white-space: nowrap;
}

.capability-state.production {
  background: #e8f5ed;
  color: var(--ok);
}

.capability-state.local {
  background: #fef3d6;
  color: #8f6a00;
}

.capability-state.not-open {
  background: #f3e8ff;
  color: #6b2e9e;
}

.capability-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.capability-row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.capability-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Trust Grid ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.trust-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.trust-icon .lucide { width: 22px; height: 22px; }

.trust-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.trust-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Callout ===== */
.callout {
  padding: 48px clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #e8f5ed;
  box-shadow: var(--shadow-lg);
}

.callout h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.callout h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}

.callout .eyebrow {
  background: rgba(13,98,84,.2);
  color: #86efac;
}

.callout p {
  margin: 0 0 24px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(232,245,237,.8);
}

.callout .actions { gap: 12px; }

.callout .button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.callout .button-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

.callout .button-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.callout .button-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
}

/* ===== Service Grid ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), #0f766e14);
  color: var(--accent);
}

.service-icon .lucide { width: 22px; height: 22px; }

.service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Split ===== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.split-copy h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}

.split-copy p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
}

.tick-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.tick-list .lucide {
  color: var(--ok);
  margin-top: 3px;
}

/* ===== State Guide ===== */
.state-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.state-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.state-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--dot);
  flex-shrink: 0;
}

.state-guide-item strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.state-guide-item div span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== Security Card ===== */
.security-card {
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #e8f5ed;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.security-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.security-card-head .lucide { color: #86efac; }

.security-card-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #b9f5d3;
  font: 600 11px var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.security-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.security-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(232,245,237,.92);
}

/* ===== Principles ===== */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.principle {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.principle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), #0f766e14);
  color: var(--accent);
}

.principle-icon .lucide { width: 24px; height: 24px; }

.principle h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

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

/* ===== Auth ===== */
.auth-section {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.auth-glyph {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 12px;
  text-shadow: 0 0 30px #0d625455;
}

.auth-card h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.auth-card h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}

.auth-card .lead {
  margin: 0 0 28px;
  color: var(--muted);
}

.auth-card .actions {
  justify-content: center;
}

/* ===== Footer Service Row ===== */
.footer-service-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer-service-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--muted-strong);
}

.footer-service-row .lucide { color: var(--ok); }

.footer-service-row a { color: var(--muted); }
.footer-service-row a:hover { color: var(--accent); }

/* ===== Site Footer ===== */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--canvas);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.footer-brand .brand-mark { width: 28px; height: 28px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font: 500 14px var(--sans);
  color: var(--muted);
}

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

.footer-copy {
  font: 400 13px var(--sans);
  color: var(--muted);
}

/* ===== Reveal Animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-reveal][data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links[data-open="true"] { display: flex; }
  
  .nav-links a { text-align: center; }
  
  .nav-links .button { margin-left: 0; width: 100%; }
  
  .feature-grid { grid-template-columns: 1fr; }
  
  .capability-row { grid-template-columns: 1fr; gap: 12px; }
  
  .capability-state { width: max-content; }
  
  .hero-split { grid-template-columns: 1fr; }
  
  .split { grid-template-columns: 1fr; }
  
  .hub-preview-badge { left: 0; bottom: -14px; }
}