/* Layout: one centered column (max 1120px) with a contour-map hero; cards only where items are peers. */
/* Brand: kalo leaf olive #7A8356, network charcoal #3A3F34, white background. Single light theme by design:
   the logo's charcoal network lines need a white ground. Olive is for marks and large type; small text uses charcoal. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #F6F7F1;
  --ink: #3A3F34;
  --muted: #5F6556;
  --line: #E1E4D8;
  --olive: #7A8356;
  --lagoon: #3A3F34;
  --lagoon-ink: #FFFFFF;
  --sun: #7A8356;
  --contour: rgba(122, 131, 86, 0.22);
  --display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "Montserrat", "Avenir Next", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--body); }
a { color: var(--lagoon); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3, .h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.block { padding-block: 56px 0; }
.eyebrow, .label { font-family: var(--mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.small { font-size: 0.92rem; color: var(--muted); }
.sel { user-select: all; overflow-wrap: anywhere; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img, .foot-brand img { display: block; }
.wordmark { display: grid; line-height: 1; }
.wm-name { font-family: var(--display); font-weight: 900; font-size: 1.35rem; color: var(--olive); letter-spacing: -0.01em; }
.wm-sub { font-family: var(--display); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink); margin-top: 3px; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: 0.98rem; }
nav a:hover { color: var(--ink); background: var(--line); }
nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--olive); border-radius: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--tint); }
#contours { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; display: grid; gap: 20px; padding-block: 88px 80px; }
.hero h1 { max-width: 16ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-block; background: var(--ink); color: #FFFFFF; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--ink); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--olive); }

/* Apps */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: "\00a0→"; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.app { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.app-body { display: grid; gap: 8px; min-width: 0; align-content: start; }
.app h3 a, .app .h3 a { color: var(--ink); text-decoration: none; }
.app h3 a:hover, .app .h3 a:hover { color: var(--lagoon); }
.app-body > p:not(.status):not(.links) { color: var(--muted); }
.app-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.app-icon.bs { background: #00594C; }
.app-icon.tm { background: #1E3A5F; }
.app-icon.le { background: #6B4E2E; }
.status { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.live::before { background: #2E9E5B; }
.status.soon::before { background: #B8962E; }
.status.dev::before { background: var(--muted); }

/* Split + facts */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.split p { margin-top: 12px; max-width: 60ch; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band > div { display: grid; gap: 8px; min-width: 0; }
.cta-band p { color: var(--muted); }

/* App pages */
.page-head { display: grid; gap: 14px; }
.back { font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.features li { display: grid; gap: 4px; padding-block: 16px; border-top: 1px solid var(--line); min-width: 0; }
.features span { color: var(--muted); }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 32px; }
.prose p { margin-top: 10px; }
.faq details { border-top: 1px solid var(--line); padding-block: 14px; }
.faq summary { cursor: pointer; font-weight: 600; }
.todo { border: 2px dashed var(--sun); border-radius: 12px; padding: 18px; color: var(--ink); }

/* Media */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.svc { border-top: 3px solid var(--olive); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.svc p { color: var(--muted); }
.areas { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--surface); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.big { font-family: var(--display); font-size: 1.35rem; font-weight: 700; overflow-wrap: anywhere; }
.copy { justify-self: start; font: 600 0.95rem var(--body); color: var(--lagoon); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }

/* Footer */
.foot { margin-top: 80px; border-top: 1px solid var(--line); padding-block: 40px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
.foot-grid > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--lagoon); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot { background: var(--tint); }
.coord { font-family: var(--mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--olive); font-variant-numeric: tabular-nums; }
.legal { margin-top: 28px; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding-block: 56px 52px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

.app .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.app .links a { white-space: nowrap; flex-shrink: 0; }
img.app-icon { display: block; object-fit: cover; }
.contact { max-width: 560px; }
img.app-icon.light { border: 1px solid var(--line); box-sizing: border-box; }
.icon-link { display: block; width: 56px; height: 56px; border-radius: 14px; }
.icon-link:hover img { opacity: .85; }
.page-icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 14px; }
.closing { font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--olive); margin: 0; }
.page-head > p { max-width: 70ch; }
