:root {
  --bg: #f7f8f6; --surface: #ffffff; --ink: #17201b; --muted: #5b6760; --line: #dfe4e0;
  --accent: #1f6f4a; --accent-ink: #ffffff; --accent-soft: #e5f1ea;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101512; --surface: #171e1a; --ink: #e6ece8; --muted: #9aa8a0; --line: #2a342e;
    --accent: #4fb684; --accent-ink: #0d1410; --accent-soft: #1b2a22;
  }
}
:root[data-theme="dark"] {
  --bg: #101512; --surface: #171e1a; --ink: #e6ece8; --muted: #9aa8a0; --line: #2a342e;
  --accent: #4fb684; --accent-ink: #0d1410; --accent-soft: #1b2a22;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); background: var(--surface); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
nav { display: flex; gap: 16px; font-size: .92rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }
.hero { padding: 56px 0 32px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; margin: 14px 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 1.35rem; margin: 40px 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.card p, .card ul { color: var(--muted); margin: 0; font-size: .95rem; }
.card ul { padding-left: 18px; }
.price { font-size: 1.6rem; font-weight: 700; margin: 4px 0 8px; }
.price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.card.feature { border-color: var(--accent); }
.note { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; margin: 28px 0; font-size: .95rem; }
.legal h2 { font-size: 1.15rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink); }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; color: var(--muted); font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* Brand: horse head over a rising trend line. The line draws in and the head rises on load; the head nods on hover. */
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); text-decoration: none; }
.brand-mark { width: 1.45em; height: 1.45em; flex: none; }
.brand-word b { color: var(--accent); font-weight: 800; }
.brand-mark .trend { stroke-dasharray: 30; stroke-dashoffset: 30; animation: brand-draw .8s .35s ease-out forwards; }
.brand-mark .head { transform-box: fill-box; transform-origin: 40% 100%; opacity: 0; transform: translateY(3px); animation: brand-rise .5s .05s ease-out forwards; }
.brand:hover .head { animation: brand-nod .5s ease-in-out; opacity: 1; transform: none; }
@keyframes brand-draw { to { stroke-dashoffset: 0; } }
@keyframes brand-rise { to { opacity: 1; transform: none; } }
@keyframes brand-nod { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-9deg); } 70% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) {
  .brand-mark .trend { animation: none; stroke-dashoffset: 0; }
  .brand-mark .head, .brand:hover .head { animation: none; opacity: 1; transform: none; }
}
