:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --border: #232327;
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --faint: #6b6b73;
  --accent: #ff233a;
  --radius: 14px;
  --maxw: 760px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 40px 0 8px;
}

.site-header a.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 88px 0 72px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero .tagline {
  font-size: 22px;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 52ch;
}

/* Button */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 12px;
}

.btn:hover {
  background: #ff3a4e;
}

/* Sections */
main section {
  padding: 8px 0 48px;
}

h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin: 0 0 20px;
}

/* Feature list */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.features li:hover {
  border-color: #313137;
  background: #18181c;
}

.features .icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 35, 58, 0.12);
  color: var(--accent);
}

.features .icon svg {
  width: 20px;
  height: 20px;
}

.features h3 {
  margin: 2px 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.features p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

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

/* Article / legal pages */
article h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 56px 0 8px;
}

article .updated {
  color: var(--faint);
  font-size: 14px;
  margin: 0 0 32px;
}

article h2 {
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 36px 0 12px;
}

article h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 8px;
}

article p,
article li {
  color: var(--muted);
}

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

article a:hover {
  text-decoration: underline;
}

article ul {
  padding-left: 20px;
}

article li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 28px 0 56px;
}

.site-footer nav {
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer .sep {
  color: var(--faint);
  font-size: 13px;
  margin: 0 8px;
}

.site-footer .attribution {
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-width: 56ch;
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    padding: 56px 0 48px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero .tagline {
    font-size: 20px;
  }
}
