:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.topbar {
  min-height: 72px;
  padding: 16px 20px;
  background: linear-gradient(120deg, #111b2c 0%, #17253a 58%, #15352f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(18, 32, 51, 0.16);
}

.topbar > div {
  min-width: 0;
}

.topbar a {
  border: 1px solid #b7c2d0;
  background: #fff;
  color: #172b4d;
  border-radius: 6px;
  padding: 8px 12px;
  text-decoration: none;
}

.topbar a:hover {
  background: #edf2f7;
}

.eyebrow {
  margin: 0 0 2px;
  color: #b7c2d0;
  font-size: 13px;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 18px;
}

.terms {
  max-width: 860px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  gap: 14px;
}

section {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 18px;
}

p {
  margin: 10px 0 0;
  color: #52606d;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid #2563eb;
  border-radius: 6px;
  padding: 7px 12px;
  background: linear-gradient(#ffffff, #f3f6fb);
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.text-link:hover {
  background: #eff6ff;
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .topbar .app-nav a {
    min-height: 28px !important;
    padding: 4px 7px !important;
    font-size: 12px !important;
    text-align: center;
  }

  .terms {
    padding: 12px;
  }
}
