:root {
  --primary: #B22222;
  --secondary: #2E8B57;
  --accent: #4682B4;
  --bg: #1C1C1C;
  --surface: #262626;
  --surface-2: #2f2f2f;
  --text: #ececec;
  --muted: #a8a8a8;
  --border: #3a3a3a;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.site {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header.site .brand { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .3px; }
header.site nav a { color: #fff; margin-left: 22px; font-size: .95rem; }
header.site nav a:hover { color: #ffd9d9; }

main { padding: 48px 0 72px; }

h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: 1.6rem; margin: 44px 0 12px; color: var(--accent); }
h3 { font-size: 1.15rem; margin: 26px 0 6px; }
p { margin: 0 0 14px; color: var(--text); }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); }

.hero { padding: 40px 0 8px; }
.hero .tag { color: var(--secondary); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; font-size: .82rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 8px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .98rem;
  border: 1px solid transparent;
}
.btn.primary { background: var(--secondary); color: #fff; }
.btn.primary:hover { background: var(--accent); text-decoration: none; }
.btn.ghost { border-color: var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); text-decoration: none; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.card h3 { margin-top: 0; color: var(--text); }
.card p { margin-bottom: 0; color: var(--muted); font-size: .96rem; }

.pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.pill.free { background: #21402f; color: #7fd8a4; border: 1px solid #2E8B57; }
.pill.pro { background: #3a2430; color: #f0a0a0; border: 1px solid #B22222; }

.notice { background: var(--surface-2); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 6px; margin: 22px 0; color: var(--muted); font-size: .95rem; }

ul.clean { list-style: none; padding: 0; }
ul.clean li { padding: 6px 0 6px 26px; position: relative; color: var(--text); }
ul.clean li::before { content: "›"; position: absolute; left: 6px; color: var(--secondary); font-weight: 700; }
ul.clean li em { color: var(--muted); font-style: normal; }

footer.site { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer.site a { color: var(--muted); }

.doc { max-width: 760px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.25rem; margin-top: 34px; }
.doc .effective { color: var(--muted); font-size: .92rem; margin-top: -6px; }
.doc .short { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px 20px 12px; margin: 22px 0; }

.q { margin: 22px 0; }
.q strong { display: block; color: var(--text); margin-bottom: 2px; }
.q p { color: var(--muted); margin-bottom: 0; }
