/* Isosceles website: same colors as the app's Palette.swift. No web fonts, no scripts, no trackers. */

:root {
  --background: #0E0F11;
  --surface: #17191C;
  --surface-raised: #22252A;
  --text-primary: #ECECEA;
  --text-secondary: #8B9098;
  --accent: #4ADE9A;
  --accent-soft: rgba(74, 222, 154, 0.15);
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
header.site .name { color: var(--text-primary); font-weight: 600; letter-spacing: 0.2px; }
header.site nav { display: flex; gap: 20px; font-size: 15px; }
header.site nav a { color: var(--text-secondary); }
header.site nav a:hover { color: var(--text-primary); text-decoration: none; }

h1 { font-size: 30px; line-height: 1.25; font-weight: 600; margin: 0 0 16px; }
h2 { font-size: 20px; font-weight: 600; margin: 40px 0 8px; }
h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

.muted { color: var(--text-secondary); }
.small { font-size: 14px; }

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
}

/* The home page: one calm screen. */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { font-size: 36px; }
.hero .mark {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
}
.badge {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

footer.site {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-raised);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer.site a { color: var(--text-secondary); }
