/* Renova website: same look as the app (white, near-black text, one terracotta accent). */
@font-face { font-family: "Inter"; src: url("/fonts/Inter_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/SourceSerif4_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/SourceSerif4_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --text: #1f1e1b;
  --muted: #6b6862;
  --border: #e5e2da;
  --soft: #faf9f5;
  --accent: #c96442;
  --accent-text: #b5532f;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--accent-text); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: "Source Serif 4", Georgia, serif; font-size: 22px;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); }
nav.site a {
  color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 20px;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

main { padding: 48px 0 64px; }

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: 36px; margin: 0 0 8px; font-weight: 400; }
h2 { font-size: 23px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }

p, ul, ol, table { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.lede { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 0 0 16px;
  background: var(--bg);
}
.card.soft { background: var(--soft); }
.card h2, .card h3 { margin-top: 0; }

.button {
  display: inline-block;
  background: var(--text); color: #fff;
  padding: 11px 20px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.button:hover { color: #fff; opacity: 0.9; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; border: 1px solid var(--border); margin-bottom: 18px; }
.hero h1 { font-size: 44px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.features .card { margin: 0; }
.features h3 { margin: 0 0 4px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; background: var(--soft); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; }
.table-scroll table { margin: 0; }
.table-scroll tr:last-child td { border-bottom: none; }

details { border-bottom: 1px solid var(--border); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  h1 { font-size: 30px; }
  .hero h1 { font-size: 36px; }
  .features { grid-template-columns: 1fr; }
  nav.site a { margin-left: 14px; font-size: 14px; }
  main { padding-top: 32px; }
}
