/* Majster — design tokens straight from the approved prototype handoff. */

:root {
  --ink: #1c1b20;
  --ink-2: #55535f;
  --muted: #757380;
  --muted-2: #8a8892;
  --faint: #9e9ca8;
  --faint-2: #aeacb8;
  --border: #e7e6ee;
  --border-2: #edecf2;
  --border-3: #ececf2;
  --border-4: #dbdae4;
  --surface: #fafafc;
  --surface-2: #f6f6f9;
  --surface-3: #efeef4;
  --surface-4: #eaeaf0;
  --violet: #6d4fc4;
  --violet-hover: #523a99;
  --violet-dark: #5a3fae;
  --violet-deep: #2c2050;
  --lime: #d8f34a;
  --lime-hover: #cbe63e;
  --mint: #6ee7a8;
  --mint-hover: #5cd997;
  --danger: #c43a2b;
  --danger-hover: #a92f22;
  --danger-text: #a52a1e;
  --danger-text-2: #b3372a;
  --danger-text-3: #8f2317;
  --danger-bg: #fdefec;
  --danger-bg-2: #fbe9e6;
  --danger-border: #f0c4bc;
  --danger-border-2: #f2cfc9;
  --amber-bg: #fdf6e8;
  --amber-border: #ecd9ae;
  --amber-text: #8a5300;
  --gradient: linear-gradient(120deg, #2c2050, #5a3fae 70%, #6d4fc4);
  --gradient-mobile: linear-gradient(120deg, #2c2050, #5a3fae 85%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--surface); }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'tnum' 1;
}
button, input, textarea, select { font-family: inherit; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-hover); }
::placeholder { color: var(--faint); }
.mono { font-family: 'IBM Plex Mono', monospace; }
h1, h2, h3 { margin: 0; }

@keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================ SHELL ====== */

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.topbar-desktop {
  position: sticky; top: 0; z-index: 40;
  background: var(--gradient);
  display: flex; align-items: center; gap: 6px; padding: 12px 20px; min-width: 0;
}
.topbar-mobile { display: none; }

.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--lime);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  font-weight: 800; font-size: 16px; flex: none;
}
.brand-word { font-weight: 700; font-size: 17px; letter-spacing: .2px; color: #fff; margin-right: 12px; }

.nav-pills { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  color: #cfc6ee; font-size: 14px; font-weight: 600; white-space: nowrap; flex: none;
}
.nav-pill:hover { color: #fff; }
.nav-pill.is-active { background: rgba(255,255,255,.16); color: #fff; }
.nav-pill svg { flex: none; }

.topbar-spacer { flex: 1; }

.search-pill {
  flex: 0 1 280px; min-width: 120px; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 0 8px 0 14px; box-shadow: 0 2px 8px rgba(20,12,50,.25);
}
.search-pill svg { flex: none; }
.search-pill input {
  flex: 1; min-width: 0; background: transparent; border: none; padding: 10px 6px 10px 0;
  font-size: 13.5px; color: var(--ink); outline: none;
}

.icon-btn {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: transparent; border: none;
  color: #cfc6ee; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-left: 6px;
}
.icon-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.inline-form { display: contents; }

.avatar-chip {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--ink);
  font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-left: 4px;
}

.app-main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 30px 34px 44px; }

.bottom-tabs { display: none; }

@media (max-width: 819px) {
  .topbar-desktop { display: none; }
  .topbar-mobile {
    display: flex; position: sticky; top: 0; z-index: 30; background: var(--gradient-mobile);
    align-items: center; gap: 10px; padding: 12px 16px;
  }
  .topbar-mobile .brand-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 15px; }
  .app-main { padding: 18px 16px 88px; }
  .bottom-tabs {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff;
    border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .bottom-tab {
    flex: 1; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; color: var(--muted); font-size: 12.5px; font-weight: 600;
  }
  .bottom-tab.is-active { background: #efeafb; color: var(--violet-dark); }
}

/* ============================================================ BUTTONS ==== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border: none; border-radius: 999px; padding: 12px 20px; font-size: 14.5px; font-weight: 800;
  cursor: pointer; white-space: nowrap;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-mint { background: var(--mint); color: #0c3f26; }
.btn-mint:hover { background: var(--mint-hover); }
.btn-white { background: #fff; color: var(--violet-dark); }
.btn-white:hover { background: #efeafb; }
.btn-dark { background: var(--ink); color: var(--surface); border-radius: 12px; font-weight: 600; }
.btn-dark:hover { background: #38373f; }
.btn-ghost { background: #fff; border: 1.5px solid #d7d6e0; color: var(--ink); border-radius: 11px; font-weight: 600; min-height: 46px; }
.btn-ghost:hover { border-color: #b5b3bf; }
.btn-danger { background: var(--danger); color: #fff; border-radius: 10px; font-weight: 600; }
.btn-danger:hover { background: var(--danger-hover); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 13.5px; }
.btn-link { background: none; border: none; color: var(--violet); font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 0; }

/* ============================================================ FORMS ====== */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted-2); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=time], textarea, select {
  width: 100%; min-height: 48px; background: #fff; border: 1.5px solid var(--border-4); border-radius: 12px;
  padding: 12px 15px; font-size: 15px; outline: none; color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
.search-input {
  width: 100%; min-height: 52px; background: #fff; border: 1.5px solid var(--border-4); border-radius: 13px;
  padding: 14px 18px; font-size: 15.5px; outline: none;
}
.search-input:focus { border-color: var(--ink); }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--border-4); background: #fff; color: var(--ink-2); border-radius: 999px;
  padding: 9px 15px; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ============================================================ CARDS ====== */

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(35,30,20,.04);
}
.card-title {
  font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2);
  margin: 0 0 12px;
}
.row-flex { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.col-main { flex: 99 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.col-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }

/* ============================================================ BADGES ===== */

.badge {
  display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; padding: 5px 10px;
  border-radius: 999px; white-space: nowrap;
}

/* ============================================================ HERO ======= */

.hero {
  background: var(--gradient); color: #fff; border-radius: 18px; padding: 26px 28px 78px;
}
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.hero-date { font-size: 13px; color: #cfc6ee; font-weight: 600; }
.hero-greeting { margin: 2px 0 0; font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; letter-spacing: -.3px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px;
  position: relative; margin: -52px 16px 20px;
}
.kpi-card {
  background: #fff; border: 1px solid var(--border-3); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(30,20,60,.10);
}
.kpi-label { font-size: 12px; color: var(--muted-2); font-weight: 600; }
.kpi-value { font-size: 20px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; margin-top: 2px; }
.kpi-card.is-danger { border-color: var(--danger-border-2); }
.kpi-card.is-danger .kpi-label, .kpi-card.is-danger .kpi-value { color: var(--danger-text-2); font-weight: 700; }

/* ============================================================ LIST ROWS == */

.row-link {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: 12px; padding: 13px 14px; cursor: pointer; text-decoration: none; color: inherit;
}
.row-link:hover { border-color: #d3d2dc; background: #fff; }
.avatar-circle {
  width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface-4); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.card-row {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 16px; cursor: pointer; text-decoration: none;
  color: inherit; box-shadow: 0 1px 2px rgba(35,30,20,.03);
}
.card-row:hover { border-color: #c7c6d1; }
.card-row-dashed {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--surface);
  border: 1px dashed var(--border-4); border-radius: 12px; padding: 13px 15px; cursor: pointer; opacity: .85;
  text-decoration: none; color: inherit;
}
.card-row-dashed:hover { opacity: 1; }

/* ============================================================ TIMELINE ==== */

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 12px; padding: 0 0 18px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: 4px; top: 14px; bottom: -4px; width: 1.5px; background: var(--border-2);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 5px; z-index: 1; }
.timeline-label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.timeline-time { font-size: 11.5px; color: var(--muted-2); margin-left: 6px; font-weight: 500; }
.timeline-text { font-size: 14px; color: var(--ink); margin-top: 3px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 13px; }

/* ============================================================ ROADMAP ==== */

.teaser {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: var(--surface-2);
  border: 1px dashed #d1d0da; border-radius: 14px; padding: 14px 16px; cursor: pointer; min-height: 56px;
}
.teaser:hover { border-color: #b5b3bf; background: var(--surface); }
.teaser-icon {
  width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--surface-4); color: var(--muted-2);
  display: flex; align-items: center; justify-content: center;
}
.teaser-label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.teaser-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.teaser-promise { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; line-height: 1.45; }
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }

/* ============================================================ MODALS ===== */

.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 60; background: rgba(20,17,28,.42);
  align-items: center; justify-content: center; padding: 20px; animation: fadeIn .18s ease;
}
.modal-backdrop.is-open { display: flex; }
.modal-box {
  width: 100%; max-width: 480px; background: #fff; border-radius: 18px; padding: 24px;
  max-height: 88vh; overflow-y: auto; animation: sheetUp .2s ease-out;
}
.modal-box.w-560 { max-width: 560px; }
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.modal-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

.sheet-backdrop {
  display: none; position: fixed; inset: 0; z-index: 60; background: rgba(20,17,28,.42); align-items: flex-end; justify-content: center;
}
.sheet-backdrop.is-open { display: flex; }
.sheet-box {
  width: 100%; max-width: 560px; background: #fff; border-radius: 20px 20px 0 0; padding: 20px;
  max-height: 82vh; overflow-y: auto; animation: sheetUp .2s ease-out;
}

/* ============================================================ TOAST ====== */

.toast {
  display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(20,17,12,.3); animation: sheetUp .18s ease-out;
}
.toast.is-open { display: block; }

/* ============================================================ TABS ======= */

.tab-row { display: flex; gap: 4px; border-bottom: 2px solid #e6e5ed; margin-bottom: 20px; overflow-x: auto; }
.tab-item { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--muted); border: none; background: none; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; text-decoration: none; }
.tab-item.is-active { color: var(--ink); border-bottom-color: var(--ink); }

/* ============================================================ TABLE ====== */

.qtable { width: 100%; border-collapse: collapse; }
.qtable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); font-weight: 700; padding: 0 8px 8px; }
.qtable td { padding: 10px 8px; border-top: 1px solid var(--border-2); vertical-align: middle; }
.qty-stepper { display: flex; align-items: center; gap: 6px; }
.qty-stepper button { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border-4); background: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.qty-stepper input { width: 44px; text-align: center; min-height: 30px; padding: 4px; border: 1px solid var(--border-4); border-radius: 7px; }
.vat-toggle { border: none; border-radius: 7px; padding: 6px 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; background: var(--surface-3); }
.vat-toggle.is-8 { background: #d9f2e3; }
.remove-btn { border: none; background: none; color: var(--faint-2); font-size: 18px; cursor: pointer; }
.remove-btn:hover { color: var(--danger); }

@media (max-width: 819px) {
  .qtable thead { display: none; }
  .qtable, .qtable tbody, .qtable tr, .qtable td { display: block; width: 100%; }
  .qtable tr { border: 1px solid var(--border-2); border-radius: 12px; margin-bottom: 10px; padding: 10px 12px; }
  .qtable td { border-top: none; padding: 4px 0; }
}

/* ============================================================ AUTH ======= */

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--surface); padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px 28px; box-shadow: 0 18px 50px rgba(30,20,60,.10); }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.auth-title { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.auth-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.auth-footer { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-error { background: var(--danger-bg-2); border: 1px solid var(--danger-border-2); color: var(--danger-text); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; }
.auth-notice { background: #efeafb; border: 1px solid #d9cef5; color: var(--violet-dark); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.checkbox-row input { margin-top: 3px; }

/* ============================================================ MISC ======= */

.empty-state { text-align: center; background: #fff; border: 1.5px dashed #d7d6e0; border-radius: 16px; padding: 36px 24px; }
.empty-state-title { font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.empty-state-sub { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.back-link { background: none; border: none; color: var(--violet); font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 0; margin-bottom: 6px; display: inline-block; }
.stage-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 50; background: #fff; border: 1px solid #e0dfe8; border-radius: 13px; box-shadow: 0 10px 30px rgba(20,17,12,.16); padding: 6px; display: none; flex-direction: column; gap: 2px; min-width: 200px; max-height: 60vh; overflow-y: auto; animation: sheetUp .16s ease; }
.stage-menu.is-open { display: flex; }
.stage-menu-header { padding: 8px 12px 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.stage-menu-item { text-align: left; border: none; background: none; padding: 10px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.stage-menu-item:hover { background: var(--surface-2); }
.stage-menu-item.is-current { background: var(--surface-3); }
.doc-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border-3); }
.doc-row:last-child { border-bottom: none; }
.doc-check { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.doc-check.present { background: #d9f2e3; color: #1f7a4d; }
.doc-check.missing { background: #fbe9e6; color: #a52a1e; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.photo-tile { aspect-ratio: 1; border-radius: 10px; background: var(--surface-3); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted-2); text-align: center; padding: 6px; }

.mobile-only { display: none; }
@media (max-width: 819px) { .mobile-only { display: block; } }
.desktop-only { display: block; }
@media (max-width: 819px) { .desktop-only { display: none; } }

.sticky-total-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: var(--ink); color: #fff;
  padding: 14px 18px; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px rgba(20,17,12,.28);
}
@media (max-width: 819px) { .sticky-total-bar.is-visible { display: flex; } .app-main { padding-bottom: 160px; } }

.trade-aside { position: sticky; top: 90px; }

/* ============================================================ LANDING ==== */

.landing-page { background: #fff; }
.landing-section-inner { max-width: 1160px; margin: 0 auto; padding: 0 34px; }

.landing-nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px;
  padding: 14px 34px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.landing-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.landing-brand-word { font-weight: 700; font-size: 17px; letter-spacing: .2px; color: var(--ink); }
.landing-nav-links { display: flex; align-items: center; gap: 22px; margin-left: 28px; }
.landing-nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.landing-nav-links a:hover { color: var(--ink); }
.landing-nav-spacer { flex: 1; }
.landing-nav .btn { margin-left: 8px; }

.landing-hero { background: var(--gradient); padding: 56px 34px 80px; }
.landing-hero-inner {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.landing-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff;
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 700; margin-bottom: 18px;
}
.landing-h1 { font-size: 40px; line-height: 1.16; font-weight: 800; color: #fff; margin-bottom: 18px; }
.landing-lead { font-size: 16.5px; line-height: 1.55; color: #e3ddf7; margin-bottom: 26px; max-width: 480px; }
.landing-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.landing-hero-note { font-size: 13px; color: #cfc6ee; margin-top: 14px; }

.landing-hero-visual { display: flex; justify-content: center; }
.landing-mock-card {
  width: 100%; max-width: 360px; background: #fff; border-radius: 18px; padding: 18px;
  box-shadow: 0 24px 60px rgba(20,12,50,.35);
}
.landing-mock-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.landing-mock-list { display: flex; flex-direction: column; gap: 10px; }
.landing-mock-row { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: var(--surface); }
.landing-mock-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.landing-mock-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.landing-mock-row-text strong { font-size: 13px; font-weight: 700; }
.landing-mock-row-text span { font-size: 11.5px; color: var(--muted); }
.landing-mock-amt { font-size: 12.5px; font-weight: 700; color: var(--ink-2); flex: none; }

.landing-section { padding: 72px 34px; }
.landing-section-alt { background: var(--surface); }
.landing-h2 { font-size: 28px; font-weight: 800; text-align: center; margin: 0 auto 10px; max-width: 640px; }
.landing-section-lead { font-size: 15.5px; color: var(--muted); text-align: center; margin: 0 auto 40px; max-width: 520px; }

.landing-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.landing-feature-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.landing-feature-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  background: #efeafb; color: var(--violet-dark); margin-bottom: 14px;
}
.landing-feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.landing-feature-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

.landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.landing-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--lime); font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.landing-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.landing-step p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

.landing-roadmap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.landing-roadmap-card { background: var(--surface); border: 1.5px dashed var(--border-4); border-radius: 16px; padding: 20px; }
.landing-roadmap-tag {
  display: inline-block; background: #f3e7cf; color: #8a6116; border-radius: 999px; padding: 4px 11px;
  font-size: 11.5px; font-weight: 700; margin-bottom: 10px;
}
.landing-roadmap-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.landing-roadmap-card p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }

.landing-cta-band { background: var(--ink); padding: 64px 34px; text-align: center; }
.landing-cta-band-inner h2 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.landing-cta-band-inner p { font-size: 15px; color: #c6c4cf; margin-bottom: 24px; }
.landing-cta-band .landing-cta-row { justify-content: center; }

.landing-footer { padding: 32px 34px; border-top: 1px solid var(--border); }
.landing-footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.landing-footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-right: auto; margin-left: 24px; }
.landing-footer-links a { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.landing-footer-links a:hover { color: var(--ink); }
.landing-footer-copy { font-size: 12.5px; color: var(--faint); }

@media (max-width: 819px) {
  .landing-nav, .landing-hero, .landing-section, .landing-cta-band, .landing-footer { padding-left: 18px; padding-right: 18px; }
  .landing-hero { padding-top: 32px; padding-bottom: 48px; }
  .landing-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .landing-h1 { font-size: 30px; }
  .landing-lead { max-width: none; }
  .landing-section { padding-top: 48px; padding-bottom: 48px; }
  .landing-feature-grid { grid-template-columns: 1fr; }
  .landing-steps { grid-template-columns: 1fr; gap: 22px; }
  .landing-roadmap-grid { grid-template-columns: 1fr; }
  .landing-footer-inner { flex-direction: column; align-items: flex-start; }
  .landing-footer-links { margin-left: 0; }
  .landing-nav-links { display: none; }
  .landing-nav { flex-wrap: wrap; row-gap: 10px; }
  .landing-nav-spacer { flex: 1 1 100%; }
  .landing-nav .btn { margin-left: 0; }
}
