:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #edf5f2;
  --ink: #122033;
  --muted: #596579;
  --primary: #0a66c2;
  --primary-strong: #074e95;
  --teal: #147d73;
  --coral: #d85b4a;
  --amber: #b37710;
  --border: #d8e1ec;
  --shadow: 0 18px 48px rgba(18, 32, 51, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(10, 102, 194, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}

.site-header__inner,
.section,
.footer__inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  font-weight: 820;
}

.brand__mark--image {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
}

.brand__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.75rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  font-weight: 680;
  padding: 0.35rem 0.1rem;
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(180deg, rgba(18, 32, 51, 0.32), rgba(18, 32, 51, 0.82)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero--baeri,
.hero--splix {
  --hero-image: url("/assets/splix-dashboard.png");
}

.hero--compact {
  min-height: 360px;
}

.hero__inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  padding: 5rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-title h1 {
  margin: 0;
  max-width: 860px;
  font-size: 2.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 680px;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #ffffff;
  font-weight: 760;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-strong);
  color: #ffffff;
}

.button--light {
  background: #ffffff;
  color: var(--ink);
}

.button--light:hover {
  background: #edf4ff;
  color: var(--ink);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.section {
  padding-block: 4rem;
}

.section--tight {
  padding-block: 2.5rem;
}

.section__header {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.section__header p,
.muted {
  color: var(--muted);
}

.section h2,
.page-title h2 {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--two,
.grid--three {
  grid-template-columns: 1fr;
}

.card,
.callout,
.legal-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.card {
  padding: 1.2rem;
}

.card h3,
.card h2,
.legal-block h2,
.legal-block h3 {
  margin-top: 0;
}

.card h2,
.card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p:last-child,
.legal-block p:last-child,
.legal-block ul:last-child {
  margin-bottom: 0;
}

.card__accent {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: var(--primary);
}

.card:nth-child(2n) .card__accent {
  background: var(--teal);
}

.card:nth-child(3n) .card__accent {
  background: var(--coral);
}

.product-strip {
  background: var(--surface-soft);
  border-block: 1px solid var(--border);
}

.product-strip__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.phone-shot {
  width: min(100%, 330px);
  margin-inline: auto;
  border-radius: 8px;
  border: 1px solid rgba(18, 32, 51, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #ffffff;
}

.status-list,
.legal-list {
  padding-left: 1.2rem;
}

.status-list li,
.legal-list li {
  margin: 0.45rem 0;
}

.callout {
  padding: 1.25rem;
  background: #fff9ef;
  border-color: #f0d7a6;
}

.page-title {
  background: var(--ink);
  color: #ffffff;
  padding: 4rem 0;
}

.page-title__inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.legal-block {
  padding: 1.1rem;
  margin-top: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-item strong {
  color: var(--ink);
}

.footer {
  background: #101a2b;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 3rem;
}

.footer__inner {
  padding-block: 2rem;
  display: grid;
  gap: 1rem;
}

.footer a {
  color: #ffffff;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.small {
  font-size: 0.92rem;
}

.eyebrow--muted {
  color: var(--muted);
}

.support-grid {
  margin-top: 1rem;
}

@media (min-width: 760px) {
  .site-header__inner,
  .section,
  .footer__inner,
  .hero__inner,
  .page-title__inner {
    width: min(100% - 56px, var(--max));
  }

  .site-header__inner {
    min-height: 76px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 4rem;
  }

  .hero p,
  .page-title p {
    font-size: 1.2rem;
  }

  .section h2,
  .page-title h2 {
    font-size: 2.2rem;
  }

  .card h2,
  .card h3 {
    font-size: 1.3rem;
  }

  .legal-block {
    padding: 1.5rem;
  }

  .grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-strip__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  }

  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .hero h1,
  .page-title h1 {
    font-size: 5.4rem;
  }

  .hero p,
  .page-title p {
    font-size: 1.3rem;
  }

  .section h2,
  .page-title h2 {
    font-size: 2.5rem;
  }

  .card h2,
  .card h3 {
    font-size: 1.35rem;
  }

  .legal-block {
    padding: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
