:root {
  color-scheme: light dark;
  --ink: #111416;
  --muted: #5a6269;
  --line: #dfe4e8;
  --surface: #ffffff;
  --surface-soft: #f5f7f8;
  --panel: #ffffff;
  --panel-muted: #eef2f4;
  --nav-bg: rgba(255, 255, 255, 0.88);
  --brand: #255f85;
  --brand-strong: #163f5c;
  --brand-soft: #eaf3f8;
  --brand-line: #bed7e6;
  --accent: #14a06f;
  --inverse: #11181d;
  --inverse-text: #ffffff;
  --shadow: 0 26px 80px rgba(16, 24, 32, 0.14);
  --hero-bg:
    radial-gradient(circle at 76% 18%, rgba(37, 95, 133, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f7f8 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f8fa;
    --muted: #a8b2b9;
    --line: #263640;
    --surface: #0d1216;
    --surface-soft: #121a20;
    --panel: #141d23;
    --panel-muted: #10171d;
    --nav-bg: rgba(13, 18, 22, 0.86);
    --brand: #76b9e0;
    --brand-strong: #a8d4ee;
    --brand-soft: rgba(118, 185, 224, 0.14);
    --brand-line: rgba(118, 185, 224, 0.34);
    --accent: #32d583;
    --inverse: #f4f8fa;
    --inverse-text: #111416;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    --hero-bg:
      radial-gradient(circle at 76% 18%, rgba(118, 185, 224, 0.17), transparent 32%),
      linear-gradient(180deg, #0d1216 0%, #121a20 100%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark,
.app-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand-mark svg,
.app-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 95, 133, 0.22);
}

.button:hover {
  background: var(--brand-strong);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--hero-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: 68px;
  min-height: calc(100vh - 72px);
  padding: 74px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 10px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 850;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

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

.publisher-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px 18px;
}

.panel-top strong,
.panel-top span {
  display: block;
}

.panel-top strong {
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.panel-top span,
.signal-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--inverse);
  color: var(--inverse-text);
  font-weight: 900;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.signal-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.signal-grid strong {
  display: block;
  margin-top: 6px;
}

.release-card {
  padding: 22px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.release-card h2 {
  margin: 8px 0 10px;
  font-size: 2rem;
}

.release-card p {
  color: var(--muted);
  line-height: 1.65;
}

.release-card a {
  color: var(--brand-strong);
  font-weight: 850;
  text-decoration: none;
}

.release-label,
.status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.release-label {
  padding: 7px 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid var(--brand-line);
}

.status-pill {
  margin-bottom: 12px;
  padding: 6px 10px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 40px;
}

.section-heading h2,
.contact-box h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
}

.section-heading p,
.contact-box p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.app-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.app-icon {
  width: 64px;
  height: 64px;
}

.app-row h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.app-row p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 46px;
  align-items: start;
}

.principle-grid {
  display: grid;
  gap: 14px;
}

.principle-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.principle-grid h3 {
  margin-bottom: 8px;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner a {
  font-weight: 750;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
    padding-top: 54px;
  }

  .app-row {
    grid-template-columns: auto 1fr;
  }

  .app-row .button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .contact-box {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .nav-inner,
  .section,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav-inner {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .nav-links a[href="#apps"],
  .nav-links a[href="#approach"] {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .section {
    padding: 68px 0;
  }

  .signal-grid,
  .app-row {
    grid-template-columns: 1fr;
  }

  .app-row .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
