:root {
  --bg: #fff8f1;
  --ink: #2a1f1a;
  --muted: #6b5b52;
  --accent: #b4532c;
  --accent-soft: #fbe3d6;
  --line: #eaddd2;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1714;
    --ink: #f5ece6;
    --muted: #c2b2a8;
    --accent: #f0996c;
    --accent-soft: #3a2a22;
    --line: #3a2f29;
    --card: #251e1a;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); }

header.bar, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

header.bar .brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

header.bar nav a, footer a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.bar nav a:hover, footer a:hover { color: var(--accent); }
header.bar nav { display: flex; gap: 16px; flex-wrap: wrap; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 16px 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; }

.box {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 20px 0;
}

/* Product page */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding-top: 8px;
}
@media (min-width: 700px) {
  .hero { grid-template-columns: 1.2fr 1fr; }
}
.hero .lead { font-size: 20px; color: var(--muted); margin: 0 0 20px; }
.hero ul { list-style: none; padding: 0; margin: 0 0 20px; }
.hero li { padding: 6px 0 6px 30px; position: relative; }
.hero li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
}
.hero .phone {
  width: 100%;
  max-width: 300px;
  justify-self: center;
  border-radius: 36px;
  border: 8px solid #1c1b1a;
  display: block;
  height: auto;
}
.pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
}
.small { font-size: 14px; color: var(--muted); }

footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
