:root {
  --green: #059669;
  --green-dark: #047857;
  --green-light: #ecfdf5;
  --dark: #1c1917;
  --text: #44403c;
  --muted: #78716c;
  --bg: #fafaf9;
  --white: #ffffff;
  --border: #e7e5e4;
  --radius: 14px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(28,25,23,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .75rem; color: var(--dark); text-decoration: none; }
.logo:hover { color: var(--dark); }
.logo-mark { width: 40px; height: 40px; background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .85rem; }
.logo-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.15; }
.logo-tagline { font-size: .68rem; color: var(--muted); font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.main-nav a { color: var(--text); font-size: .875rem; font-weight: 600; padding: .45rem .8rem; border-radius: 999px; }
.main-nav a:hover, .main-nav a.active { background: var(--green-light); color: var(--green-dark); }
.nav-cta { background: var(--green) !important; color: #fff !important; margin-left: .35rem; }
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: .35rem .6rem; font-size: 1.2rem; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(160deg, #064e3b 0%, #047857 45%, #10b981 100%); color: #fff; padding: 4.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.hero p { opacity: .88; font-size: 1.05rem; max-width: 520px; margin-bottom: 1.75rem; }
.hero-img { background: rgba(255,255,255,.1); border-radius: 20px; padding: 2rem; border: 1px solid rgba(255,255,255,.15); text-align: center; }
.hero-img .pill { display: inline-block; background: rgba(255,255,255,.15); padding: .5rem 1rem; border-radius: 999px; font-size: .8rem; margin-bottom: 1rem; }
.product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.product-mini { background: rgba(255,255,255,.12); border-radius: 12px; padding: 1rem; font-size: .8rem; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem 1.5rem; font-family: inherit; font-size: .9375rem; font-weight: 700; border-radius: 10px; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(5,150,105,.35); }
.btn-primary:hover { color: #fff; background: var(--green-dark); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { color: var(--green-dark); }

/* Sections */
.section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 580px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: 1.85rem; font-weight: 800; color: var(--dark); letter-spacing: -.03em; margin-bottom: .5rem; }
.section-head p { color: var(--muted); }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; align-items: stretch; }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .2s; }
.product-card:hover { transform: translateY(-4px); }
.product-img { height: 220px; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: .75rem; overflow: hidden; border-bottom: 1px solid var(--border); }
.product-img img { width: auto; height: auto; max-width: 160px; max-height: 190px; object-fit: contain; object-position: center; }
.product-card .product-body { min-height: 140px; display: flex; flex-direction: column; }
.product-card .product-body p { flex: 1; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-grid-archive { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.article-hero-img { width: 100%; max-width: 720px; border-radius: var(--radius); margin: 0 auto 1.5rem; display: block; box-shadow: var(--shadow); }
.article-cta-subscribe { background: var(--green-light); border-color: #a7f3d0; }
.article-product-img { max-width: 220px; max-height: 280px; width: auto; height: auto; object-fit: contain; margin: 0 auto 1.5rem; display: block; border-radius: 12px; background: #fff; padding: .75rem; border: 1px solid var(--border); }
.article-cta { background: var(--green-light); border: 1px solid #a7f3d0; border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; text-align: center; }
.article-cta h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.article-cta p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.article-cta .btn { width: 100%; max-width: 320px; }
.article-byline { font-size: .875rem; color: var(--muted); margin-bottom: .5rem; }
.product-body { padding: 1.25rem; }
.product-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .35rem; }
.product-body p { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.product-tag { font-size: .72rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .06em; }
.product-link { display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--green-dark); margin-top: .25rem; }
.product-link:hover { color: var(--green); }
.blog-author { font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.recaptcha-box { margin: .25rem 0; }
.recaptcha-notice { font-size: .72rem; opacity: .7; margin-top: .25rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; transition: transform .2s; }
.blog-card:hover { transform: translateY(-3px); color: inherit; }
.blog-thumb { height: 180px; background: #e7e5e4; display: flex; align-items: flex-end; padding: 1rem; overflow: hidden; position: relative; }
.blog-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,25,23,.45) 0%, transparent 55%); pointer-events: none; z-index: 0; }
.blog-thumb .blog-cat { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; }
.blog-thumb img { position: relative; z-index: 0; }
.blog-cat { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); background: rgba(255,255,255,.85); padding: .25rem .6rem; border-radius: 999px; }
.blog-body { padding: 1.25rem; }
.blog-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; line-height: 1.35; }
.blog-body p { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.blog-meta { font-size: .75rem; color: var(--muted); }

/* Subscribe strip */
.subscribe-strip { background: var(--dark); color: #fff; padding: 3.5rem 0; }
.subscribe-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.subscribe-inner h2 { font-size: 1.65rem; font-weight: 800; margin-bottom: .5rem; }
.subscribe-inner p { opacity: .75; font-size: .9375rem; }
.subscribe-form { display: flex; flex-direction: column; gap: .65rem; }
.subscribe-form input { padding: .7rem .875rem; border: 1px solid #44403c; border-radius: 10px; background: #292524; color: #fff; font-family: inherit; font-size: .9375rem; }
.subscribe-form input::placeholder { color: #a8a29e; }
.consent-check { display: flex; gap: .5rem; align-items: flex-start; font-size: .78rem; opacity: .85; margin: .25rem 0; }
.consent-check input { margin-top: .2rem; }
.form-msg { font-size: .875rem; padding: .65rem .875rem; border-radius: 8px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(16,185,129,.15); color: #6ee7b7; }
.form-msg.err { background: rgba(239,68,68,.15); color: #fca5a5; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Article */
.article-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.article-hero h1 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; color: var(--dark); max-width: 720px; line-height: 1.15; margin-bottom: .75rem; }
.article-content { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.article-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 2rem 0 .75rem; }
.article-content p { margin-bottom: 1rem; color: var(--text); }
.article-content ul { margin: 0 0 1rem 1.25rem; color: var(--text); }

/* Page header */
.page-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.page-hero h1 { font-size: 1.85rem; font-weight: 800; color: var(--dark); }

/* Footer */
.site-footer { background: var(--dark); color: #a8a29e; margin-top: auto; padding: 3rem 0 1.5rem; font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .name { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: .5rem; }
.footer-brand .operator { font-size: .78rem; color: #78716c; margin-top: .75rem; }
.footer-col h4 { color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .875rem; }
.footer-col a { display: block; color: #a8a29e; margin-bottom: .5rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #44403c; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; }

/* Legal */
.legal { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 2.5rem; max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 1.75rem 0 .65rem; }
.legal p, .legal li { font-size: .9375rem; color: var(--text); margin-bottom: .75rem; }
.legal ul { padding-left: 1.25rem; }

/* Subscriber account */
.account-box-wrap { max-width: 560px; margin: 0 auto; }
.account-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .875rem; }
.account-form-secondary { margin-top: .5rem; }
.account-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--dark); }
.account-form input, .account-form textarea { padding: .65rem .875rem; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: .9375rem; font-weight: 400; }
.account-form textarea { resize: vertical; min-height: 100px; }
.account-section-title { font-size: 1rem; font-weight: 800; color: var(--dark); margin: .5rem 0 0; padding-top: .5rem; border-top: 1px solid var(--border); }
.account-section-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.account-hint { font-size: .8125rem; color: var(--muted); font-weight: 400; }
.account-hint a { color: var(--green); }
.field-note { font-weight: 400; color: var(--muted); font-size: .75rem; }
.account-status { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.badge-subscribed { background: #ecfdf5; color: #047857; font-size: .75rem; font-weight: 800; padding: .35rem .75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.account-meta { font-size: .8125rem; color: var(--muted); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--dark); }
.consent-check a { color: inherit; text-decoration: underline; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: .75rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .hero-grid, .subscribe-inner, .footer-grid { grid-template-columns: 1fr; }
}
