/* Lunario site shell */
@font-face { font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --space: #0B0D12; --panel: #0F1218; --line: #1A1E26; --line-2: #2A2F38;
  --regolith: #D5D7DB; --mid: #8A8F98; --amber: #F5A524;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--space); color: var(--regolith); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--mid); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 var(--pad); background: rgba(11, 13, 18, 0.92); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__brand img { display: block; height: 26px; width: auto; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; display: block; padding: 10px 14px; text-decoration: none;
  font: 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); transition: color .15s; }
.nav__links a:hover { color: var(--regolith); }
.nav__links a[aria-current="page"] { color: var(--regolith); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 2px; background: var(--amber); }
.nav__links a:focus-visible { outline: 1px solid var(--amber); outline-offset: 2px; }
@media (max-width: 420px) {
  .nav__brand img { height: 22px; }
  .nav__links a { padding: 10px 10px; letter-spacing: 0.14em; font-size: 11px; }
  .nav__links a[aria-current="page"]::after { left: 10px; right: 10px; }
}

main { flex: 1; width: 100%; }

/* Dashboard placeholder */
.dash { padding: 28px var(--pad) 40px; }
.dash__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash__head h1 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.dash__grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: minmax(320px, 1fr) minmax(220px, auto); gap: 1px;
  background: var(--line); border: 1px solid var(--line); min-height: calc(100vh - 64px - 140px); }
.dash__panel { position: relative; background: var(--space); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.dash__panel--map { grid-row: span 2; background:
  radial-gradient(circle at 50% 50%, transparent 0 59px, var(--line) 60px 61px, transparent 62px 139px, var(--line) 140px 141px, transparent 142px 219px, var(--line) 220px 221px, transparent 222px) var(--space); }
.dash__panel--wide { grid-column: 2; }
.dash__note { margin: auto 0 0; max-width: 34ch; font-size: 14px; color: var(--mid); }
.tag { align-self: flex-start; font: 10px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
  border: 1px solid rgba(245, 165, 36, 0.4); padding: 6px 8px; }
@media (max-width: 820px) {
  .dash__grid { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .dash__panel { min-height: 200px; }
  .dash__panel--map { grid-row: auto; min-height: 340px; }
  .dash__panel--wide { grid-column: auto; }
}

/* About */
.about { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--pad) clamp(56px, 8vw, 112px); }
.about h1 { margin: 16px 0 0; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.028em; font-weight: 500; max-width: 17ch; }
.about__lede { margin: 26px 0 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; max-width: 58ch; color: var(--regolith); }
.about__lede a, .block a { color: var(--regolith); text-decoration-color: var(--amber); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.block h2 { margin: 0; padding-top: 4px; }
.block__body p { margin: 0 0 16px; color: #B9BCC2; max-width: 62ch; }
.block__ask { color: var(--regolith) !important; border-left: 2px solid var(--amber); padding-left: 18px; margin-top: 24px !important; }
.block__statement { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--regolith) !important; font-weight: 500; }
.rows { margin: 0; }
.row { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 4px; }
.row dt { font-weight: 500; color: var(--regolith); }
.row dd { margin: 0; color: #B9BCC2; max-width: 56ch; }
.compare { width: 100%; max-width: 640px; border-collapse: collapse; margin: 8px 0 22px; font-variant-numeric: tabular-nums; }
.compare th { text-align: left; font: 11px/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); font-weight: 400; padding: 0 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.compare td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: #B9BCC2; }
.compare td:first-child { font-family: var(--mono); font-size: 14px; color: var(--regolith); white-space: nowrap; }
.compare td.ok { color: var(--amber); }
@media (max-width: 760px) {
  .block { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .compare th, .compare td { padding-right: 10px; font-size: 14px; }
  .compare th { font-size: 10px; letter-spacing: 0.1em; }
}

.team { margin-top: clamp(64px, 9vw, 112px); padding-top: 28px; border-top: 1px solid var(--line); }
.team h2 { margin-bottom: 20px; }
.team__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.person { background: var(--space); padding: 28px; display: flex; align-items: center; gap: 22px; }
.person__avatar { flex: none; width: 72px; height: 72px; }
.person__photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); transition: filter .3s; box-shadow: 0 0 0 1px var(--line-2); }
.person:hover .person__photo { filter: none; }
.person__name { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.person__link { display: inline-block; margin-top: 8px; font: 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid);
  text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 5px; transition: color .15s, border-color .15s; }
.person__link:hover { color: var(--regolith); border-color: var(--amber); }
@media (max-width: 640px) { .team__list { grid-template-columns: 1fr; } .person { padding: 22px; } }

/* Footer banner (About page) */
.footer-banner { position: relative; overflow: hidden; min-height: clamp(340px, 34vw, 480px); border-top: 1px solid var(--line);
  background: var(--space) url("../assets/footer-bg.svg") center bottom / cover no-repeat;
  display: flex; flex-direction: column; align-items: center; padding: clamp(64px, 8vw, 104px) var(--pad) 0; text-align: center; }
.footer-banner__logo { display: block; width: min(460px, 78vw); height: auto; }
.footer-banner__rule { width: 40px; height: 2px; background: var(--amber); margin: clamp(22px, 2.6vw, 32px) 0 clamp(16px, 2vw, 22px); }
.footer-banner__tag { margin: 0; font: clamp(10px, 1.1vw, 14px)/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid); }
.footer-banner__small { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; font: 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #5D626B; }

/* What Lunario takes into account */
.factors { margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.factors > h2 { margin: 0; }
.factors__lede { margin: 20px 0 0; max-width: 58ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--regolith); }
.factor { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.factor__name { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; }
.factor__name::after { content: ""; display: block; width: 32px; height: 2px; background: var(--amber); margin-top: 16px; }
.factor__lead { margin: 0 0 22px; color: var(--regolith); max-width: 54ch; }
.factor__list { margin: 0; }
.factor__list div { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.factor__list div:first-child { border-top: 0; padding-top: 0; }
.factor__list dt { font-weight: 500; color: var(--regolith); }
.factor__list dd { margin: 0; color: #B9BCC2; max-width: 52ch; }
@media (max-width: 760px) {
  .factor { grid-template-columns: 1fr; gap: 16px; }
  .factor__name::after { margin-top: 12px; margin-bottom: 4px; }
  .factor__list div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}
