/* Halo website. No web fonts, no scripts: system fonts and this file only.
   Light mode only, like the home page. */

:root {
  color-scheme: light;
  --page: #F2F2F7;
  --card: #FFFFFF;
  --text: #1C1C1E;
  --text-2: #6C6C70;
  --border: #E5E5EA;
  --table-head: #F7F7FA;
  --accent: #8C12FF;
  --link: #8C12FF;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

main { flex: 1; }

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .table-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header */
.site-header { padding: 20px 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand img { width: 40px; height: auto; }

/* Cards */
.card {
  background: var(--card);
  border-radius: 20px;
  padding: 40px 44px;
}

/* Long-form pages */
.prose { overflow-wrap: anywhere; }
.prose h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.prose h3 {
  margin: 1.8em 0 0.5em;
  font-size: 17px;
  line-height: 1.35;
}
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--text-2); }
.prose h1 + p { color: var(--text-2); font-size: 15px; }

/* Tables: only the wrapper scrolls horizontally, never the page. */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25em 0 1.5em;
  border: 1px solid var(--border);
  border-radius: 12px;
}
table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: normal;
}
th, td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
th { background: var(--table-head); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }

/* Home */
.hero { text-align: center; padding-top: 56px; padding-bottom: 48px; }
.hero-logo { width: 120px; height: auto; }
.hero h1 {
  margin: 16px 0 6px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.tagline { margin: 0 0 28px; color: var(--text-2); font-size: 18px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.store-badge-placeholder {
  border: 1.5px dashed var(--border);
  color: var(--text-2);
}
.hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 32px 0 40px;
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}
.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-footer p { margin: 12px 0 0; }
[aria-current="page"] { font-weight: 600; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { padding: 16px 0; }
  .card { padding: 28px 20px; border-radius: 16px; }
  .prose h1 { font-size: 28px; }
  .prose h2 { font-size: 19px; }
  .hero { padding-top: 40px; padding-bottom: 36px; }
  .hero h1 { font-size: 34px; }
}
