/* Purlio site: the app's own palette (Purlio/DesignSystem/Theme.swift) and fonts (OFL, self-hosted). */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/fonts/Fraunces_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("/fonts/DMSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url("/fonts/DMSans_600SemiBold.ttf") format("truetype"); }

:root {
  --bg: #FBF6EF; --surface: #FFFFFF; --ink: #2A1E26; --muted: #5E5057; --line: #EADFD3;
  --accent: #B83A32; --accent-ink: #FFFFFF; --soft: #F1E8DD;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1C1418; --surface: #271D22; --ink: #F5ECE4; --muted: #C4B5BB; --line: #3A2E34;
          --accent: #E0675E; --accent-ink: #1C1418; --soft: #31252B; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "DM Sans", -apple-system, system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 22px/1 "Fraunces", Georgia, serif; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 16px; }
nav a:hover, nav a[aria-current] { color: var(--ink); }

main { padding: 40px 0 64px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: 36px; margin: 0 0 8px; }
h2 { font-size: 23px; margin: 36px 0 8px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
.updated { color: var(--muted); font-size: 15px; margin-top: 0; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Landing */
.hero { display: grid; gap: 32px; align-items: center; padding: 8px 0 24px; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 20px rgba(42, 30, 38, .15); }
.hero h1 { font-size: 44px; margin-top: 18px; }
.lead { font-size: 20px; color: var(--muted); margin-bottom: 22px; }
.badge { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 15px; }
.shots { display: flex; gap: 16px; justify-content: center; }
.shots img { width: 46%; max-width: 250px; height: auto; border-radius: 20px; border: 1px solid var(--line); }
.features { display: grid; gap: 14px; margin-top: 40px; padding: 0; list-style: none; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0; }
.features b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 19px; font-weight: 600; margin-bottom: 2px; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { padding-top: 20px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }
