:root {
  color-scheme: light dark;
  --background: #f7f5f1;
  --surface: #ffffff;
  --surface-muted: #f1eee8;
  --border: #ddd8cf;
  --primary: #0d5a73;
  --primary-strong: #083f51;
  --text: #171b21;
  --muted: #54606d;
  --success: #1e6a4f;
  --shadow: 0 18px 55px rgba(23, 27, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

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

.shell {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 92%, transparent);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: clamp(70px, 10vw, 128px) 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 800px;
  font-size: clamp(44px, 8vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 23px);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--primary);
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.app-tile {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 38px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--success);
  font-size: 14px;
  font-weight: 800;
}

.status::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.section {
  padding: 64px 0;
}

.section-muted {
  border-block: 1px solid var(--border);
  background: var(--surface-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.card p {
  margin: 10px 0 0;
}

.legal {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
  padding: 72px 0 96px;
}

.legal h1 {
  font-size: clamp(38px, 7vw, 60px);
}

.legal h2 {
  margin-top: 48px;
  font-size: 27px;
}

.legal h3 {
  margin-top: 30px;
}

.legal ul {
  padding-left: 24px;
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  background: var(--surface-muted);
}

.footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111416;
    --surface: #1b1f22;
    --surface-muted: #252a2e;
    --border: #3b4247;
    --primary: #57b8d0;
    --primary-strong: #86d0e1;
    --text: #f1f4f5;
    --muted: #b5bec5;
    --success: #71d4ae;
    --shadow: none;
  }

  .button {
    color: #101416;
  }

  .button:hover {
    color: #101416;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

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

  .topbar-inner {
    padding-block: 16px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }
}
