/* Feder.archi — minimalist-ui: warm monochrome editorial */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&display=swap");

:root {
  --bg: #e9e5dc;
  --surface: #f7f4ef;
  --text: #1c1916;
  --muted: #9a9490;
  --border: #ddd8cf;
  --ink: #1c1916;
  --ink-hover: #333333;
  --accent: #9f2f2d;
  --accent-bg: #fdebec;
  --accent-blue-bg: #e1f3fe;
  --accent-blue: #1f6c9f;
  --accent-green-bg: #edf3ec;
  --accent-green: #346538;
  --dot-grid: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  --dot-size: 24px 24px;
  --max: 40rem;
  --max-wide: 50rem;
  --max-page: 72rem;
  --font-sans: "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", "Cascadia Mono", "Consolas", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--dot-grid);
  background-size: var(--dot-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ——— Layout ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.1rem 1.5rem;
  max-width: var(--max-page);
  margin: 0 auto;
  background: rgba(237, 233, 225, 0.58);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1rem;
}
.wordmark-main { font-weight: 600; }

.site-header nav {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}
.site-header nav a {
  margin-left: 1.35rem;
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
main.wide { max-width: var(--max-wide); }
main.page { max-width: var(--max-page); padding-left: 1.5rem; padding-right: 1.5rem; }

/* ——— Typography ——— */
h1, h2, h3, .display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 2.85rem);
  margin: 0 0 1.25rem;
}
h2 {
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
}
h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.eyebrow--green { background: var(--accent-green-bg); color: var(--accent-green); }
.eyebrow--blue { background: var(--accent-blue-bg); color: var(--accent-blue); }
.eyebrow--red { background: var(--accent-bg); color: var(--accent); }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 36rem;
  line-height: 1.55;
}
.lead strong { color: var(--text); font-weight: 600; }

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.note { font-size: 0.88rem; color: var(--muted); }

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }

.text-link {
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ——— Buttons ——— */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ink-hover);
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

.hero-cta {
  margin: 2.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ——— Hero ——— */
.hero {
  padding-bottom: 3.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.hero--compact {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

/* ——— Bento ——— */
.bento {
  display: grid;
  gap: 1rem;
  margin: 3rem 0;
}
.bento-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.85rem;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.bento-cell:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.bento-cell h2 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}
.bento-cell .cell-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--text);
  text-transform: none;
}
.bento-cell p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.bento-cell .cell-footer {
  margin-top: 1.15rem;
}

.bento-cell--feature {
  background: var(--surface);
}

.credentials {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.credentials p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 38rem;
}
.credentials strong { color: var(--text); font-weight: 600; }
.credentials .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}
.tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ——— Sections ——— */
.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }
.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.stat-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
.stat-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
}
.stat-cell .stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
  line-height: 1.1;
}
.stat-cell .stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(234, 234, 234, 0.7);
  font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.process-steps {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 2.75rem;
  border-left: 1px solid var(--border);
  margin-left: 0.65rem;
  font-size: 0.95rem;
}
.process-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -0.55rem;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  padding: 0 0.25rem;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.85rem;
  margin: 2rem 0;
}

.faq { margin: 0; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  padding-right: 1.5rem;
  font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-mono);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 36rem;
}

.cta-block {
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 2.75rem 2rem;
  margin: 3.5rem 0 0;
  text-align: center;
  border: 1px solid var(--border);
  /* solid panel — no dot bleed on dark CTA */
  background-image: none;
}
.cta-block h2 {
  color: #fff;
  margin-top: 0;
  font-size: 1.65rem;
}
.cta-block p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-block strong { color: #fff; }
.cta-block .btn-primary {
  background: #fff;
  color: var(--ink);
  margin-top: 0.5rem;
}
.cta-block .btn-primary:hover {
  background: var(--bg);
  color: var(--ink);
}

/* ——— Blog ——— */
.post-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.post-body h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
}
.post-body p { margin: 0 0 1rem; }

.post-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.post-list li {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}
.post-list a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.post-list a:hover { color: var(--accent); }
.post-list .date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
}

/* ——— Footer ——— */
.site-footer {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover { color: var(--text); }

/* ——— Motion ——— */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:active { transform: none; }
  .bento-cell:hover { box-shadow: none; }
}

/* ——— Responsive ——— */
@media (min-width: 640px) {
  .bento {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
  }
  .bento-cell--feature {
    grid-row: span 2;
  }
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  main { padding-left: 2rem; padding-right: 2rem; }
  .site-header { padding-left: 2rem; padding-right: 2rem; }
}
