/* Shared chrome for HiOla Business secondary pages (legal + billing).
   Tokens mirror the landing page styles in /index.html — change both together. */
:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #617086;
  --line: #d7e4f2;
  --panel: #ffffff;
  --surface: #f4f8fd;
  --wash: #e8f3ff;
  --brand: #0878ff;
  --brand-dark: #0758c8;
  --brand-soft: #dceeff;
  --teal: var(--brand);
  --teal-dark: var(--brand-dark);
  --mint: var(--brand-soft);
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
}

.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 120, 255, 0.2);
}

.card {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card.compact {
  max-width: 640px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.card.compact h1 {
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1;
}

h2 {
  margin: 32px 0 10px;
  color: var(--teal-dark);
  font-size: 22px;
}

p,
li {
  color: #33423f;
  font-size: 16px;
}

.updated {
  margin: 14px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

a {
  color: var(--teal-dark);
  font-weight: 800;
}

ol,
ul {
  padding-left: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 950;
}

.button:hover {
  background: var(--teal-dark);
}

.lede {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
}

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

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.link-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 950;
}

.site-footer {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}
