:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #666d63;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --line: #dce1d6;
  --green: #176c45;
  --green-dark: #105236;
  --lime: #c4f26a;
  --soft-green: #e8f2e6;
  --amber: #9d5b13;
  --soft-amber: #fff0d8;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(32, 45, 30, 0.08);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: var(--green-dark); text-underline-offset: 0.2em; }
a:hover { color: #0c432c; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #80ae31; outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; padding: 0.75rem 1rem; background: white; z-index: 10; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; font-size: 1.06rem; font-weight: 760; letter-spacing: -0.04em; white-space: nowrap; }
.brand-mark { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 9px; color: #102d20; background: var(--lime); font-size: 0.77rem; font-weight: 900; letter-spacing: -0.08em; }
.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.site-nav a { color: var(--muted); font-size: 0.92rem; font-weight: 620; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-cta { padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink) !important; background: var(--surface); }
.container { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.main { min-height: 66vh; }
.hero { position: relative; overflow: hidden; margin: 1.1rem auto 4.4rem; width: min(1160px, calc(100% - 2rem)); padding: clamp(2rem, 6vw, 5rem); border-radius: 28px; color: white; background: #17291f; box-shadow: var(--shadow); }
.hero::after { position: absolute; content: ""; width: min(42vw, 460px); aspect-ratio: 1; border-radius: 50%; right: -10%; top: -45%; background: radial-gradient(circle, rgba(196,242,106,0.24), rgba(196,242,106,0) 68%); pointer-events: none; }
.eyebrow { margin: 0 0 0.8rem; color: #477655; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.15rem; font-size: clamp(2.55rem, 7vw, 5.3rem); line-height: 0.99; letter-spacing: -0.067em; }
.hero-copy { max-width: 690px; margin-bottom: 1.7rem; color: #d3ddd3; font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1rem; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: 0.93rem; font-weight: 750; text-decoration: none; transition: transform 140ms ease, background-color 140ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #14251a; background: var(--lime); }
.button-primary:hover { color: #14251a; background: #d0ff79; }
.button-quiet { color: white; border-color: #526157; background: transparent; }
.button-quiet:hover { color: white; background: rgba(255,255,255,0.08); }
.button-outline { color: var(--ink); border-color: var(--line); background: var(--surface); }
.button-outline:hover { color: var(--ink); background: #f0f4e9; }
.section { margin: 0 auto 4.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.4rem; }
.section-heading h2, .page-title { margin-bottom: 0; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.08; letter-spacing: -0.055em; }
.section-heading p { max-width: 570px; margin: 0.55rem 0 0; color: var(--muted); }
.text-link { font-weight: 750; text-decoration: none; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(32,45,30,0.035); }
.product-card { display: flex; flex-direction: column; min-height: 100%; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.2rem; }
.category { color: var(--muted); font-size: 0.79rem; font-weight: 720; letter-spacing: 0.04em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.32rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 760; line-height: 1.25; white-space: nowrap; }
.pill-free { color: var(--green-dark); background: var(--soft-green); }
.pill-waiting { color: var(--amber); background: var(--soft-amber); }
.pill-live { color: #114d31; background: var(--lime); }
.card h3 { margin-bottom: 0.45rem; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.035em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--muted); }
.card .button-row { margin-top: auto; padding-top: 0.4rem; }
.offer-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.88rem; }
.empty-state { padding: clamp(1.5rem, 4vw, 2.3rem); border: 1px dashed #bec8b7; border-radius: var(--radius); background: rgba(255,255,255,0.58); }
.empty-state p:last-child { margin-bottom: 0; }
.empty-state h3 { margin-bottom: 0.35rem; }
.author-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.author-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.author-card a { color: var(--ink); text-decoration: none; font-weight: 770; }
.author-card a:hover { color: var(--green); }
.author-card p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.88rem; }
.page-intro { padding: clamp(2rem, 5vw, 3.6rem) 0 2.2rem; }
.page-intro .eyebrow { margin-bottom: 0.7rem; }
.page-title { margin-bottom: 0.75rem; }
.page-lede { max-width: 730px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.lead-filter { max-width: 760px; margin: 0 0 1.4rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lead-filter-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 0.75rem; min-width: 0; }
.lead-filter-field { flex: 1 1 16rem; min-width: 0; }
.lead-filter label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; font-weight: 740; }
.lead-filter select { display: block; width: 100%; max-width: 100%; min-height: 2.85rem; padding: 0.55rem 0.75rem; border: 1px solid #aeb8a6; border-radius: 9px; color: var(--ink); background: white; font: inherit; }
.lead-filter .button { flex: 0 0 auto; }
.lead-filter .prose-small { margin: 0.65rem 0 0; }
.product-lead { margin: 0.7rem 0 1rem; color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.product-lead a { font-weight: 750; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.2rem 0; color: var(--muted); font-size: 0.87rem; }
.breadcrumbs a { text-decoration: none; }
.product-detail { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.8fr); gap: 1.4rem; align-items: start; }
.product-main, .product-aside { padding: clamp(1.25rem, 3.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-main { min-width: 0; }
.product-main h2, .product-aside h2 { margin-bottom: 0.7rem; font-size: 1.3rem; letter-spacing: -0.04em; }
.product-main p, .product-aside p { color: var(--muted); }
.product-about { min-width: 0; overflow-wrap: anywhere; }
.product-about pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.product-about pre code { white-space: pre; }
.product-capabilities { margin: 1.25rem 0; }
.product-capabilities h2 { margin-bottom: 0.55rem; }
.capability-list, .product-public-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.capability-list { list-style: none; }
.capability-list li { max-width: 100%; padding: 0.3rem 0.6rem; border-radius: 999px; color: #475043; background: #e9ede4; font-size: 0.84rem; overflow-wrap: anywhere; }
.product-public-links { margin: 1rem 0; gap: 0.9rem; }
.product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin: 1.6rem 0 0; }
.fact { padding: 0.9rem; border-radius: 12px; background: var(--paper); }
.fact dt { margin-bottom: 0.25rem; color: var(--muted); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.fact dd { margin: 0; font-size: 0.95rem; font-weight: 700; }
.post-list { display: grid; gap: 0.85rem; }
.post-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.55rem 1rem; margin-bottom: 0.6rem; color: var(--muted); font-size: 0.82rem; }
.post-card h2 { margin-bottom: 0.4rem; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.04em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--green); }
.post-card p { margin-bottom: 0; color: var(--muted); }
.article { width: min(760px, 100%); margin: 0 auto 4rem; }
.article-header { padding: 2.5rem 0 1.2rem; }
.article-header h1 { max-width: 850px; margin-bottom: 0.85rem; font-size: clamp(2.25rem, 6vw, 4rem); }
.article-body { padding: clamp(1.3rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 1.04rem; }
.article-body h2, .article-body h3 { margin: 1.65em 0 0.55em; line-height: 1.2; letter-spacing: -0.035em; }
.article-body p, .article-body ul, .article-body blockquote { color: #41483f; }
.article-body li + li { margin-top: 0.35rem; }
.article-body code { padding: 0.1rem 0.34rem; border-radius: 5px; background: #eff2eb; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.article-body pre { overflow: auto; padding: 1rem; border-radius: 10px; background: #17291f; color: #ecf2e8; }
.article-body pre code { padding: 0; color: inherit; background: transparent; }
.article-body blockquote { margin: 1rem 0; padding: 0.1rem 1rem; border-left: 3px solid var(--lime); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag { padding: 0.25rem 0.55rem; border-radius: 999px; color: #475043; background: #e9ede4; font-size: 0.77rem; }
.author-profile { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem; padding: clamp(1.3rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.author-avatar { flex: 0 0 4.25rem; width: 4.25rem; height: 4.25rem; display: grid; place-items: center; border-radius: 16px; color: #163620; background: var(--lime); font-size: 1.45rem; font-weight: 850; letter-spacing: -0.07em; }
.author-info { flex: 1 1 260px; }
.author-info h1 { margin-bottom: 0.35rem; font-size: clamp(2.1rem, 5vw, 3.2rem); }
.author-info p { margin-bottom: 0.4rem; color: var(--muted); }
.alias-line { font-size: 0.88rem; }
.prose-small { color: var(--muted); font-size: 0.89rem; }
.site-footer { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; padding: 1.6rem 0 2.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; color: var(--muted); font-size: 0.84rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.not-found { padding: 5rem 0; text-align: center; }
.not-found h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: 0.7rem; }
  .site-nav a { font-size: 0.86rem; }
  .hero { margin-bottom: 3.5rem; }
  .card-grid, .product-detail { grid-template-columns: minmax(0, 1fr); }
  .author-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-aside { order: -1; }
}

@media (max-width: 420px) {
  .container, .site-header, .site-footer { width: min(100% - 1.25rem, 1080px); }
  .hero { width: min(100% - 1.25rem, 1160px); padding: 1.65rem 1.25rem; border-radius: 21px; }
  .site-nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 1rem; row-gap: 0.45rem; }
  .nav-cta { padding: 0.4rem 0.65rem; }
  .product-facts { grid-template-columns: 1fr; }
  .lead-filter-controls { align-items: stretch; flex-direction: column; }
  .lead-filter .button { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
