:root {
  --bg: #131613;        /* cedar shade */
  --bg-raise: #1A1E1A;
  --ink: #ECE8DF;       /* bark paper */
  --ink-2: #A3A89F;     /* lichen */
  --ink-3: #6E746B;
  --rule: #2B302A;
  --moss: #A8BE9F;      /* moss on old cedar */
  --measure: 34rem;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  
}
a { color: var(--ink); text-decoration-color: var(--ink-3); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--moss); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-head { display: flex; align-items: baseline; justify-content: space-between; padding: 1.75rem 0; }
.wordmark {
  font-stretch: 125%; font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.02em; text-decoration: none;
}
.site-nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  padding: 3rem 0 5rem; border-bottom: 1px solid var(--rule);
}
.hero h1 {
  font-stretch: 125%; font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
}
.hero p { color: var(--ink-2); font-size: 1.2rem; max-width: 30rem; margin: 0 0 2rem; }
.status { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--ink); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.rings { width: 100%; height: auto; max-width: 34rem; justify-self: end; }
.ring { stroke: var(--ink-3); opacity: 0.55; }
.ring.yr { stroke: var(--moss); opacity: 0.9; }
.pith { fill: var(--moss); }
@media (prefers-reduced-motion: no-preference) {
  .ring { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: grow 1.6s cubic-bezier(.3,.7,.2,1) forwards; animation-delay: calc(var(--i) * 45ms); }
  @keyframes grow { to { stroke-dashoffset: 0; } }
}

/* Sections */
.section { padding: 4.5rem 0; border-bottom: 1px solid var(--rule); }
.section:last-of-type { border-bottom: 0; }
.section h2 {
  font-stretch: 115%; font-weight: 500; font-size: 1.75rem; line-height: 1.2;
  margin: 0 0 2.25rem; max-width: var(--measure);
}
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.25rem 4rem; margin: 0; }
.topics dt { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.35rem; }
.topics dd { margin: 0; color: var(--ink-2); max-width: var(--measure); }

.how { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.how h2 { margin-bottom: 0; }
.how ul { list-style: none; padding: 0; margin: 0; }
.how li { padding: 1.1rem 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.how li:first-child { border-top: 0; padding-top: 0; }
.how li strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 0.2rem; }

/* Document pages (support, privacy, terms) */
.doc { max-width: 42rem; padding: 3rem 0 5rem; }
.doc h1 {
  font-stretch: 125%; font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.75rem;
}
.doc .lede { color: var(--ink-2); font-size: 1.15rem; margin: 0 0 3rem; }
.doc h2 { font-stretch: 110%; font-weight: 600; font-size: 1.2rem; margin: 2.5rem 0 0.6rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: 0.3rem 0; }
.doc .effective { color: var(--ink-3); font-size: 0.95rem; margin-top: 3rem; }

.contact {
  background: var(--bg-raise); border: 1px solid var(--rule); border-radius: 6px;
  padding: 1.5rem 1.75rem; margin: 0 0 3rem;
}
.contact p { margin: 0 0 0.4rem; }
.contact .email { font-size: 1.35rem; font-stretch: 115%; font-weight: 500; }

details { border-top: 1px solid var(--rule); padding: 1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0.75rem 0 0; }

/* Footer */
.site-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem 0 3rem; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 0.9rem;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-foot nav a { white-space: nowrap; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 1rem; gap: 2rem; }
  .rings { order: -1; max-width: 18rem; justify-self: start; }
  .topics, .how { grid-template-columns: 1fr; }
  .how { gap: 1.75rem; }
  .site-nav { gap: 1rem; }
  .section { padding: 3.5rem 0; }
}
