/* Fridgit — legal/support site. Warm, dark-first, no external deps, no tracking. */
:root {
  --base:    #16130F;
  --surface: #211C16;
  --bone:    #F4EEE4;
  --accent:  #C8603C;
  --text:    #EDE6D9;
  --muted:   #928678;
  --hairline: rgba(244, 238, 228, 0.08);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 22px 96px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--base);
  font-weight: 800;
  font-size: 19px;
  flex: none;
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--text);
}

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 36px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  color: var(--bone);
}

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

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

ul { padding-left: 22px; }
li { margin: 6px 0; }

strong { color: var(--bone); font-weight: 650; }

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

.lede { font-size: 19px; color: var(--bone); }

hr { border: none; border-top: 1px solid var(--hairline); margin: 44px 0; }

footer.site {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site .spacer { flex: 1; }

/* Landing page */
.hero { text-align: center; padding: 40px 0 8px; }
.hero .mark { width: 64px; height: 64px; border-radius: 18px; font-size: 38px; margin: 0 auto 22px; }
.hero h1 { font-size: 40px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 30ch; margin: 8px auto 28px; }
.links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-weight: 600;
}
.btn.primary { background: var(--accent); color: var(--base); border-color: transparent; }
