/* PentaOrbit — static site. No external fonts, scripts or trackers. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --surface: #ffffff;
  --ink: #12201f;
  --ink-soft: #4a5a58;
  --line: #dde7e5;
  --teal: #1fa99f;
  --teal-ink: #0b7a72;
  --teal-soft: #e3f4f2;
  --on-teal: #ffffff;
  --shadow: 0 1px 2px rgba(18, 32, 31, 0.06), 0 8px 24px rgba(18, 32, 31, 0.06);
  --radius: 14px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1514;
    --bg-soft: #121d1c;
    --surface: #152221;
    --ink: #e7f0ef;
    --ink-soft: #a7b8b6;
    --line: #233533;
    --teal: #36c3b8;
    --teal-ink: #5ad6cc;
    --teal-soft: #173230;
    --on-teal: #04211f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 33px; }
.brand-name { font-weight: 800; letter-spacing: 0.06em; font-size: 18px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--on-teal); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--teal-ink); color: var(--on-teal); text-decoration: none; font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); filter: none; }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--teal-soft), var(--bg) 70%); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0 0 22px; letter-spacing: -0.02em; max-width: 16ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 60ch; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 30px;
  font-size: 14px; color: var(--ink-soft); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 18px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-ink);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icon svg { width: 22px; height: 22px; }

.note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }

/* Recovery band */
.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.band > div { padding: 28px; border-right: 1px solid var(--line); }
.band > div:last-child { border-right: 0; }
.band strong { display: block; font-size: 20px; margin-bottom: 6px; }
.band p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Principles */
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.principles li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; padding: 20px 22px; }
.principles strong { display: block; margin-bottom: 4px; font-size: 18px; }
.principles span { color: var(--ink-soft); font-size: 16px; }
.roadmap { margin-top: 26px; padding: 18px 22px; border-radius: 10px; background: var(--teal-soft); color: var(--ink); font-size: 16px; }

/* Company / contact */
.company { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
dl.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; }
dl.facts dt { color: var(--ink-soft); font-size: 15px; }
dl.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-card { text-align: left; }
.contact-card .btn { margin-top: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
.tagline { letter-spacing: 0.04em; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 6px; }
.legal .updated { color: var(--ink-soft); margin: 0 0 34px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 900px) {
  .grid, .band { grid-template-columns: 1fr 1fr; }
  .band > div:nth-child(2) { border-right: 0; }
  .band > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .company { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
  .grid, .grid.two, .band, .principles { grid-template-columns: 1fr; }
  .band > div { border-right: 0; border-top: 1px solid var(--line); }
  .band > div:first-child { border-top: 0; }
  .band > div:nth-child(3) { grid-column: auto; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 10px; }
}
