/* WordAce legal / support site — GitHub Pages */
:root {
  --ink: #2b1e15;
  --muted: #7a6a5e;
  --paper: #fbf3ea;
  --surface: #fff;
  --accent: #e8511d;
  --teal: #0e8583;
  --line: #f0dfda;
  --max: 720px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 81, 29, 0.12), transparent),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--accent); text-decoration-thickness: 1px; }
a:hover { color: var(--teal); }
header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--font);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.9rem; font-weight: 600; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px 64px;
}
.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: 0 18px 40px rgba(43, 30, 21, 0.06);
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.hero p { margin: 0; color: var(--muted); max-width: 38ch; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 22px 0 8px;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(43, 30, 21, 0.08);
  color: inherit;
}
.card strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.card span { color: var(--muted); font-size: 0.92rem; }
article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 36px;
  box-shadow: 0 18px 40px rgba(43, 30, 21, 0.05);
}
article h1 {
  font-family: var(--font);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
article h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}
article p, article li { color: #3f3228; }
article ul { padding-left: 1.2rem; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8a4d, var(--accent));
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(232, 81, 29, 0.28);
}
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 40px;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 560px) {
  header { flex-direction: column; align-items: flex-start; }
}
