:root {
  --ink: #10221c;
  --muted: #60706a;
  --paper: #f7f8f4;
  --white: #ffffff;
  --forest: #173e31;
  --forest-2: #205342;
  --lime: #b8ef67;
  --lime-dark: #79ad35;
  --sky: #7ec9df;
  --gold: #f6c85f;
  --stone: #dce1d9;
  --line: #d7ddd5;
  --shadow: 0 16px 40px rgba(16, 34, 28, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, canvas { max-width: 100%; }
.container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 36px)); margin-inline: auto; }
.eyebrow { margin: 0 0 10px; color: var(--lime-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-title { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; }
.section-copy { max-width: 670px; margin: 0; color: var(--muted); font-size: 17px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section { padding: 84px 0; }
.surface { background: var(--white); }
.icon { width: 18px; height: 18px; stroke-width: 2; }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #0d241b; background: var(--lime); border-color: #9bd04d; }
.btn-primary:hover { background: #c8f984; }
.site-header .nav-links .btn-primary { color: #10221c; }
.site-header .nav-links .btn-primary:hover { color: #10221c; background: #cdfb89; }
.site-header .nav-links .btn-primary:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.btn-primary .icon { color: currentColor; }
.btn-dark { color: white; background: var(--forest); }
.btn-dark:hover { background: var(--forest-2); }
.btn-quiet { background: #f4f6f2; border-color: var(--line); }
.btn-quiet:hover { background: #e9eee7; }
.btn-icon { width: 42px; padding: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.12); color: white; background: rgba(21, 44, 36, .96); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; min-height: 68px; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 700; white-space: nowrap; }
.brand-mark { display: grid; width: 34px; height: 34px; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); overflow: hidden; border: 2px solid #d4ff9c; border-radius: 4px; background: #9ce252; }
.brand-mark i { background: #346b3c; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4), .brand-mark i:nth-child(6), .brand-mark i:nth-child(8) { background: #72b64d; }
.brand-mark i:nth-child(5) { background: #bdf469; }
.brand-mark.has-logo { display: block; border: 0; background: transparent; }
.brand-mark.has-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { color: #dbe8e2; font-size: 14px; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--lime); }
.menu-btn { display: none; margin-left: auto; border: 0; color: white; background: transparent; }

.hero { position: relative; overflow: hidden; padding: 68px 0 78px; color: white; background-color: var(--forest); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .15; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 32px 32px; }
.hero::after { position: absolute; right: -90px; bottom: -170px; width: 420px; height: 420px; content: ""; border: 55px solid rgba(184,239,103,.14); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 52px; }
.hero h1 { max-width: 700px; margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(42px, 6vw, 72px); line-height: .98; }
.hero-lead { max-width: 620px; margin: 22px 0 28px; color: #cee0d8; font-size: 18px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 24px 0 0; list-style: none; color: #e7f0ec; font-size: 13px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--lime); }
.hero-preview { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(8, 24, 18, .72); box-shadow: 0 25px 70px rgba(0,0,0,.28); }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: #d8e5e0; font-size: 12px; font-weight: 700; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #73857d; }
.window-dots i:first-child { background: var(--gold); }
.hero-canvas-wrap { display: grid; aspect-ratio: 1.25; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background-color: #0e2a21; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 20px 20px; }
.hero-pixel-circle { display: grid; width: min(64%, 260px); aspect-ratio: 1; grid-template-columns: repeat(15, 1fr); gap: 2px; }
.hero-pixel-circle i { background: transparent; }
.hero-pixel-circle i.on { border: 1px solid #d8ff9b; background: #8fd34b; box-shadow: inset 0 -2px rgba(28,80,42,.35); }
.preview-stat { position: absolute; right: 32px; bottom: 30px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; color: #dfffb3; background: rgba(10,33,24,.9); font-size: 12px; font-weight: 700; }

.generator-section { position: relative; z-index: 5; margin-top: -28px; padding-bottom: 74px; }
.generator-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.tool-tabs { display: flex; min-height: 58px; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: #f3f6f1; }
.tool-tab { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 5px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 700; }
.tool-tab.active { color: white; background: var(--forest); }
.tool-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 570px; }
.controls { padding: 24px; border-right: 1px solid var(--line); background: #fbfcfa; }
.control-section + .control-section { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.control-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.control-heading h3 { margin: 0; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: #3e5149; font-size: 12px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 88px; gap: 10px; align-items: center; }
input[type="range"] { width: 100%; accent-color: var(--forest-2); }
.number-input, .text-input, .select-input, textarea { width: 100%; border: 1px solid #cbd4ca; border-radius: 5px; color: var(--ink); background: white; outline: none; }
.number-input { height: 40px; padding: 0 10px; font-weight: 700; }
.text-input, .select-input { height: 46px; padding: 0 13px; }
textarea { min-height: 150px; padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #579570; box-shadow: 0 0 0 3px rgba(87,149,112,.15); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: #edf1eb; }
.segment { min-height: 36px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.segment.active { background: white; box-shadow: 0 2px 6px rgba(20,40,32,.08); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; font-size: 13px; font-weight: 600; }
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 12px; background: #cbd2c9; cursor: pointer; transition: .18s; }
.switch span::after { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; content: ""; border-radius: 50%; background: white; transition: .18s; }
.switch input:checked + span { background: var(--forest-2); }
.switch input:checked + span::after { transform: translateX(18px); }
.swatches { display: flex; gap: 9px; }
.swatch { width: 28px; height: 28px; border: 2px solid white; border-radius: 50%; outline: 1px solid #cbd2c9; cursor: pointer; }
.swatch.active { outline: 2px solid var(--ink); }
.canvas-panel { display: flex; min-width: 0; flex-direction: column; }
.canvas-toolbar { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.canvas-toolbar-group { display: flex; align-items: center; gap: 7px; }
.zoom-label { min-width: 48px; text-align: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.blueprint-wrap { display: grid; min-height: 410px; flex: 1; place-items: center; overflow: auto; padding: 20px; background: #e8ede5; }
#circleCanvas { width: min(100%, 650px); height: auto; border: 1px solid #bdc7ba; background: #f8faf6; image-rendering: pixelated; box-shadow: 0 7px 20px rgba(26,49,40,.08); }
.stats-bar { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: white; }
.stat { padding: 15px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.stat strong { font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.step-output { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); background: #f8faf6; font-size: 12px; }
.step-output strong { color: var(--ink); }

.feature-band { padding: 34px 0; color: white; background: #102c23; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item { display: flex; gap: 12px; padding: 10px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.feature-item:first-child { padding-left: 0; }
.feature-item:last-child { border-right: 0; }
.feature-item .icon { flex: 0 0 auto; color: var(--lime); }
.feature-item strong { display: block; font-size: 13px; }
.feature-item span { color: #aabdb5; font-size: 12px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 42px; counter-reset: steps; }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--stone); counter-increment: steps; }
.step::before { position: absolute; top: -17px; left: 0; display: grid; width: 32px; height: 32px; place-items: center; content: counter(steps); border: 4px solid var(--paper); border-radius: 50%; color: white; background: var(--forest); font-size: 12px; font-weight: 700; }
.step h3 { margin: 18px 0 7px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.blueprint-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.blueprint-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; transition: transform .18s ease, box-shadow .18s ease; }
.blueprint-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-canvas { display: block; width: 100%; aspect-ratio: 1.25; background: #e8eee5; image-rendering: pixelated; }
.blueprint-card footer { display: flex; align-items: center; justify-content: space-between; padding: 14px; }
.blueprint-card strong { font-size: 14px; }
.blueprint-card span { color: var(--muted); font-size: 11px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.prose h2 { margin: 48px 0 14px; font-family: "Space Grotesk", sans-serif; font-size: 30px; line-height: 1.15; }
.prose h3 { margin: 28px 0 9px; font-size: 20px; }
.prose p, .prose li { color: #52645d; }
.prose ul, .prose ol { padding-left: 22px; }
.callout { padding: 19px 20px; margin: 28px 0; border-left: 4px solid var(--lime-dark); background: #eef5e8; }
.callout strong { display: block; margin-bottom: 4px; }
.toc { position: sticky; top: 92px; padding-left: 22px; border-left: 2px solid var(--line); }
.toc h3 { margin: 0 0 13px; font-size: 13px; text-transform: uppercase; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--forest); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::after { content: "+"; font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: -4px 0 20px; color: var(--muted); }

.page-hero { padding: 68px 0; color: white; background-color: var(--forest); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 30px 30px; }
.page-hero h1 { max-width: 780px; margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; }
.page-hero p { max-width: 650px; margin: 18px 0 0; color: #c9dbd3; font-size: 18px; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; color: #a9c1b7; font-size: 12px; }
.breadcrumb a:hover { color: var(--lime); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }
.post-art { position: relative; display: grid; aspect-ratio: 1.65; place-items: center; overflow: hidden; background-color: #dce8d9; background-image: linear-gradient(rgba(33,83,66,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(33,83,66,.12) 1px, transparent 1px); background-size: 20px 20px; }
.post-art .pixel-shape { width: 42%; }
.post-art img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 20px; }
.tag { display: inline-flex; padding: 4px 8px; border-radius: 3px; color: #36582f; background: #e4f2d6; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin: 11px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 20px; line-height: 1.2; }
.post-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.post-meta { display: flex; justify-content: space-between; color: #7b8a84; font-size: 11px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.blog-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.blog-tools .filters { margin-bottom: 0; }
.blog-query { display: flex; align-items: center; gap: 10px; }
.blog-query .select-input { width: 150px; }
.filter { padding: 8px 13px; border: 1px solid var(--line); border-radius: 5px; background: white; cursor: pointer; font-size: 12px; font-weight: 700; }
.filter.active { color: white; background: var(--forest); border-color: var(--forest); }
.filter span { margin-left: 4px; opacity: .7; }
.search-field { display: flex; width: min(100%, 260px); min-height: 42px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.search-field .icon { color: var(--muted); }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.cms-status { display: flex; min-height: 180px; grid-column: 1 / -1; align-items: center; justify-content: center; gap: 10px; padding: 30px; border: 1px dashed #bdc9bc; border-radius: 7px; color: var(--muted); background: #f7f9f5; text-align: center; }
.cms-status .icon[data-lucide="loader-circle"] { animation: spin 1s linear infinite; }
.cms-status.error { color: #8a322e; border-color: #ddaaa6; background: #fff5f4; }
.cms-status-page { width: min(760px, calc(100% - 36px)); min-height: 360px; margin: 70px auto; }
.pagination { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.pagination button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.archive-list { border-top: 1px solid var(--line); }
.archive-item { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.archive-item time, .archive-item span { color: var(--muted); font-size: 12px; }
.archive-item h2 { margin: 0; font-size: 17px; }
.archive-item:hover h2 { color: var(--forest-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-visual { position: relative; min-height: 430px; border-radius: 7px; background-color: #c6dfb1; background-image: linear-gradient(rgba(24,62,49,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(24,62,49,.12) 1px, transparent 1px); background-size: 28px 28px; box-shadow: inset 0 -80px #7f9c6a; }
.story-circle { position: absolute; inset: 15% 18%; border: 28px solid #315e3c; border-radius: 50%; box-shadow: 12px 12px 0 rgba(16,34,28,.12); }
.story-block { position: absolute; width: 72px; height: 72px; border: 4px solid #214632; background: #8ac955; box-shadow: inset -8px -8px #649a3e; }
.story-block.one { left: 6%; bottom: 12%; }
.story-block.two { right: 8%; top: 15%; background: #e5b957; box-shadow: inset -8px -8px #bd8937; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 50px; border: 1px solid var(--line); background: var(--line); }
.value { padding: 28px; background: white; }
.value .icon { color: var(--lime-dark); }
.value h3 { margin: 12px 0 6px; }
.value p { margin: 0; color: var(--muted); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.contact-method { display: flex; gap: 13px; margin-top: 26px; }
.contact-method .icon { color: var(--lime-dark); }
.contact-method strong { display: block; font-size: 14px; }
.contact-method span { color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.form-field.full { grid-column: 1 / -1; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.form-success { display: none; padding: 14px; margin-bottom: 16px; border: 1px solid #a5cc8b; border-radius: 5px; color: #24542e; background: #edf8e6; }
.form-success.show { display: block; }
.form-success.error { color: #812d28; border-color: #dea6a1; background: #fff2f1; }

.article-header { padding: 60px 0 42px; background: white; }
.article-header h1 { max-width: 850px; margin: 14px 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 12px; }
.article-visual { display: grid; min-height: 360px; place-items: center; margin-bottom: 44px; background-color: #dfe9da; background-image: linear-gradient(rgba(31,80,61,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(31,80,61,.13) 1px, transparent 1px); background-size: 28px 28px; }
.article-visual .pixel-shape { width: min(280px, 55%); }
.article-visual.article-image { min-height: 0; padding: 0; background: none; }
.article-visual.article-image img { display: block; width: 100%; max-height: 600px; object-fit: cover; }
.cms-content img { width: auto; max-width: 100%; height: auto; border-radius: 6px; }
.cms-content a { color: var(--forest-2); text-decoration: underline; text-underline-offset: 3px; }
.cms-content blockquote { padding: 8px 0 8px 20px; margin: 28px 0; border-left: 4px solid var(--lime-dark); color: var(--muted); }
.share-row { display: flex; align-items: center; gap: 8px; margin: 36px 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.author-box { display: flex; align-items: flex-start; gap: 16px; padding: 20px; margin: 34px 0; border: 1px solid var(--line); border-radius: 7px; background: white; }
.author-box img, .author-placeholder { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; }
.author-box img { object-fit: cover; }
.author-placeholder { display: grid; place-items: center; color: white; background: var(--forest); }
.author-box span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.author-box strong { display: block; margin-top: 2px; }
.author-box p { margin: 6px 0 0; font-size: 13px; }
.related-section { padding-block: 64px; }

.error-page { display: grid; min-height: calc(100vh - 68px); place-items: center; padding: 50px 0; text-align: center; }
.error-code { margin: 0; color: var(--forest); font-family: "Space Grotesk", sans-serif; font-size: clamp(110px, 20vw, 220px); line-height: .75; text-shadow: 8px 8px 0 #c8e1ad; }
.error-page h1 { margin: 35px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 34px; }
.error-page p { max-width: 500px; margin: 0 auto 25px; color: var(--muted); }

.site-footer { padding: 54px 0 24px; color: #d8e5e0; background: #0d241b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 54px; }
.footer-about p { max-width: 350px; color: #8fa69c; font-size: 13px; }
.footer-contact { margin-top: 14px; color: #a9bbb3; font-size: 12px; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.footer-socials a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; color: #b8c8c1; }
.footer-socials a:hover { color: var(--lime); border-color: rgba(184,239,103,.5); }
.footer-col h3 { margin: 0 0 13px; color: white; font-size: 13px; }
.footer-col a { display: block; padding: 4px 0; color: #91a79d; font-size: 13px; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); color: #71887e; font-size: 11px; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-preview { max-width: 670px; }
  .tool-grid { grid-template-columns: 280px minmax(0,1fr); }
  .stats-bar { grid-template-columns: repeat(3,1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .feature-strip, .steps-grid, .blueprint-grid { grid-template-columns: repeat(2,1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(n+3) { margin-top: 22px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 18px 22px; border-bottom: 1px solid #2d4e42; background: #112d23; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .menu-btn { display: inline-flex; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: 44px; }
  .hero-inner { gap: 36px; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; }
  .tool-tabs { overflow-x: auto; }
  .tool-grid { grid-template-columns: 1fr; }
  .controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .blueprint-wrap { min-height: 330px; padding: 12px; }
  .canvas-toolbar { align-items: flex-start; flex-direction: column; padding-block: 12px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: 0; }
  .section { padding: 64px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .feature-strip, .steps-grid, .blueprint-grid, .posts-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .feature-item:nth-child(n+3) { margin-top: 0; }
  .archive-item { grid-template-columns: 80px 1fr; }
  .archive-item span { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .story-visual { min-height: 330px; }
  .form-grid { grid-template-columns: 1fr; }
  .blog-tools { align-items: stretch; flex-direction: column; }
  .blog-query { align-items: stretch; flex-direction: column; }
  .blog-query .select-input { width: 100%; }
  .search-field { width: 100%; }
  .form-field.full { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .container, .narrow { width: min(100% - 24px, 1180px); }
  .brand span:last-child { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
  .hero h1 { font-size: 38px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-preview { padding: 11px; }
  .controls { padding: 18px; }
  .canvas-toolbar-group:last-child .btn span { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 16px; }
}

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