*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: #131e10; background: #f0fee6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: #cdf5c4; }
@keyframes cpdash { to { stroke-dashoffset: -1000; } }
@keyframes cpfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cpspin { to { transform: rotate(360deg); } }
@keyframes cpfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(240,254,230,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #c9dcbd; }
.nav-inner { max-width: 1200px; margin: 0 auto; height: 60px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: #026e00; display: flex; align-items: center; justify-content: center; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.brand-name .accent { color: #026e00; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: #3b4b35; text-decoration: none; }
.nav-links a.cta { font-weight: 600; color: #fff; background: #026e00; padding: 9px 16px; border-radius: 7px; }
.nav-links a.cta-outline { font-weight: 600; color: #026e00; background: transparent; padding: 8px 15px; border-radius: 7px; border: 1px solid #026e00; transition: background .12s ease, color .12s ease; }
.nav-links a.cta-outline:hover { background: #026e00; color: #fff; }
.nav-links form.signout { margin: 0; padding: 0; display: inline; }
.nav-links form.signout button { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500; color: #3b4b35; line-height: inherit; }
.nav-links form.signout button:hover { color: #026e00; }
.nav-burger { display: none; background: none; border: none; padding: 6px; margin-right: -6px; cursor: pointer; color: #131e10; }
.nav-burger svg { display: block; }

.hero { max-width: 1200px; margin: 0 auto; padding: 64px 24px 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; background: #cdf5c4; color: #024d00; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 22px; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #026e00; box-shadow: 0 0 0 3px rgba(2,110,0,0.18); }
.hero h1 { font-size: 52px; line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; color: #131e10; text-wrap: balance; }
.hero p.lead { font-size: 17px; line-height: 1.6; color: #3b4b35; margin: 0 0 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #026e00; color: #fff; font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 9px; text-decoration: none; box-shadow: 0 6px 18px rgba(2,110,0,0.28); border: none; cursor: pointer; font-family: inherit; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #131e10; font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 9px; text-decoration: none; border: 1px solid #bccdaf; cursor: pointer; font-family: inherit; }
.trust { margin-top: 30px; display: flex; align-items: center; gap: 9px; color: #5a6b52; }
.trust span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.hero-visual { position: relative; }
.preview-tabs-row { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-bottom: 12px; }
.preview-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #6b7c63; }
.tabs { display: inline-flex; background: #e4f2db; border: 1px solid #c9dcbd; border-radius: 8px; padding: 3px; gap: 2px; }
.tab { border: none; background: transparent; color: #6b7c63; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 6px; cursor: pointer; font-family: inherit; }
.tab.active { background: #fff; color: #026e00; font-weight: 700; box-shadow: 0 1px 3px rgba(20,30,55,0.12); }

.panel { display: none; }
.panel.show { display: block; }

.spotlight-card { position: relative; background: #fff; border: 1px solid #c9dcbd; border-radius: 16px; padding: 16px; box-shadow: 0 24px 60px -28px rgba(20,30,55,0.35); }
.checker { background-color: #fafdf6; background-image: linear-gradient(45deg,#e0ecd7 25%,transparent 25%),linear-gradient(-45deg,#e0ecd7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0ecd7 75%),linear-gradient(-45deg,transparent 75%,#e0ecd7 75%); background-size: 22px 22px; background-position: 0 0,0 11px,11px -11px,-11px 0; }
.spotlight-stage { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.floater { position: relative; width: 64%; animation: cpfloat 6s ease-in-out infinite; }
.floater img { display: block; width: 100%; height: auto; }
.floater svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.corner-h { position: absolute; width: 9px; height: 9px; background: #026e00; border: 1.5px solid #fff; border-radius: 2px; }
.corner-h.tl { top: -5px; left: -5px; }
.corner-h.tr { top: -5px; right: -5px; }
.corner-h.bl { bottom: -5px; left: -5px; }
.corner-h.br { bottom: -5px; right: -5px; }
.spotlight-pill { position: absolute; left: 28px; right: 28px; bottom: 28px; background: rgba(255,255,255,0.86); backdrop-filter: blur(8px); border: 1px solid #c9dcbd; border-radius: 9px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 8px 22px -10px rgba(20,30,55,0.3); }
.spotlight-pill .left { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #3b4b35; }
.spotlight-pill .ready { display: inline-flex; align-items: center; gap: 6px; background: #026e00; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 6px; }
.spotlight-pill .ready .dot { width: 6px; height: 6px; border-radius: 50%; background: #7dffb0; }

.batch-card { background: #fff; border: 1px solid #c9dcbd; border-radius: 16px; padding: 16px; box-shadow: 0 24px 60px -28px rgba(20,30,55,0.35); }
.batch-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 0 4px; font-size: 12px; font-weight: 600; color: #3b4b35; }
.batch-head .count { font-size: 11px; font-weight: 700; color: #026e00; background: #e6f7dd; padding: 3px 9px; border-radius: 6px; }
.batch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.batch-tile { position: relative; border: 1px solid #e0ecd7; border-radius: 10px; overflow: hidden; background-color: #fafdf6; background-image: linear-gradient(45deg,#e0ecd7 25%,transparent 25%),linear-gradient(-45deg,#e0ecd7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0ecd7 75%),linear-gradient(-45deg,transparent 75%,#e0ecd7 75%); background-size: 16px 16px; background-position: 0 0,0 8px,8px -8px,-8px 0; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.batch-tile .inner { position: relative; width: 66%; }
.batch-tile .inner img { display: block; width: 100%; height: auto; }
.batch-tile .inner svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.batch-tile .label { position: absolute; bottom: 6px; left: 6px; right: 6px; font-size: 9px; font-weight: 600; color: #6b7c63; background: rgba(255,255,255,0.85); border-radius: 4px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.batch-tile .check { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: #026e00; display: flex; align-items: center; justify-content: center; }

.bp-card { position: relative; border-radius: 16px; padding: 16px; background: #0d1424; border: 1px solid #1d2740; box-shadow: 0 24px 60px -28px rgba(13,20,36,0.7); }
.bp-stage { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background-color: #0d1424; background-image: linear-gradient(#16203a 1px, transparent 1px), linear-gradient(90deg, #16203a 1px, transparent 1px); background-size: 28px 28px; display: flex; align-items: center; justify-content: center; }
.bp-stage .h-guide { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg,#00cfc2,#00cfc2 5px,transparent 5px,transparent 11px); opacity: 0.35; }
.bp-stage .v-guide { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: repeating-linear-gradient(0deg,#00cfc2,#00cfc2 5px,transparent 5px,transparent 11px); opacity: 0.35; }
.bp-art { position: relative; width: 56%; }
.bp-art img { display: block; width: 100%; height: auto; }
.bp-art svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.bp-dim { position: absolute; font-size: 10px; font-weight: 600; color: #6ff0e2; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.bp-dim.tl { top: 12px; left: 14px; }
.bp-dim.br { bottom: 12px; right: 14px; }
.bp-locked { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #0d1424; background: #00cfc2; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.05em; }
.bp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 0 4px; }
.bp-foot .label { font-size: 11px; color: #7c8aa8; font-weight: 500; }
.bp-foot .pts { font-size: 11px; color: #6ff0e2; font-weight: 600; font-variant-numeric: tabular-nums; }

.workspace-section { background: #e4f2db; border-top: 1px solid #c9dcbd; border-bottom: 1px solid #c9dcbd; padding: 40px 0; }
.workspace-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ws-header { text-align: center; margin-bottom: 24px; }
.ws-header .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #026e00; }
.ws-header h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; color: #131e10; }
.ws-header p { font-size: 16px; color: #3b4b35; max-width: 560px; margin: 0 auto; line-height: 1.55; }
.ws-grid { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }

.ctrl-panel { background: #fff; border: 1px solid #c9dcbd; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }

/* Collapsible advanced control groups */
.ctrl-acc { border-top: 1px solid #e0ecd7; padding-top: 12px; }
.ctrl-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #6b7c63; }
.ctrl-acc > summary::-webkit-details-marker { display: none; }
.ctrl-acc > summary::after { content: '+'; font-size: 15px; font-weight: 700; color: #a9bd9d; line-height: 1; }
.ctrl-acc[open] > summary { margin-bottom: 12px; }
.ctrl-acc[open] > summary::after { content: '\2013'; }
.ctrl-acc summary:hover { color: #026e00; }

/* Compact form controls used across the panel */
.mini-select, .mini-input { padding: 5px 7px; border: 1px solid #c9dcbd; border-radius: 6px; font-family: inherit; font-size: 12px; color: #131e10; background: #fff; }
.mini-select { width: auto; }
.mini-btn { border: none; background: #eef3ea; border-radius: 6px; padding: 4px 9px; cursor: pointer; font-family: inherit; font-size: 11px; color: #131e10; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5a6b52; cursor: pointer; }
.action-row { display: flex; gap: 9px; }
.action-row .btn-upload { flex: 1; }
.ctrl-label { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #6b7c63; }
.ctrl-value { font-size: 13px; font-weight: 700; color: #026e00; font-variant-numeric: tabular-nums; }
.row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.row-between.mt { margin: 16px 0 9px; }
.slider { width: 100%; accent-color: #026e00; height: 4px; cursor: pointer; }
.slider-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #6b7c63; font-variant-numeric: tabular-nums; }
.corner-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.corner-btn { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px; border-radius: 8px; cursor: pointer; font-family: inherit; transition: all 0.12s; background: #fff; border: 1px solid #c9dcbd; color: #5a6b52; }
.corner-btn.active { background: #e6f7dd; border-color: #026e00; color: #026e00; }
.corner-btn span { font-size: 9px; font-weight: 700; letter-spacing: 0.04em; }
.section-divider { border-top: 1px solid #e0ecd7; padding-top: 18px; }
.bg-card { display: flex; align-items: flex-start; gap: 9px; border-radius: 8px; padding: 10px 11px; }
.bg-card.alpha { background: #d6f7f7; border: 1px solid #b3e6e6; }
.bg-card.removed { background: #e6f7dd; border: 1px solid #bfe6a8; }
.bg-card .title { font-size: 12px; font-weight: 700; }
.bg-card.alpha .title { color: #006a6a; }
.bg-card.removed .title { color: #026e00; }
.bg-card .sub { font-size: 11px; color: #3b4b35; line-height: 1.4; margin-top: 1px; }
.cutout-toggle { border: none; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; cursor: pointer; font-family: inherit; background: #e4f2db; color: #6b7c63; }
.cutout-toggle.on { background: #026e00; color: #fff; }
.readout-rows { display: flex; flex-direction: column; gap: 9px; }
.readout-rows .r { display: flex; justify-content: space-between; font-size: 12px; }
.readout-rows .r .k { color: #5a6b52; }
.readout-rows .r .v { font-weight: 600; color: #131e10; font-variant-numeric: tabular-nums; }
.ctrl-actions { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.ctrl-actions button { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-family: inherit; cursor: pointer; }
.btn-upload { background: #fff; color: #131e10; border: 1px solid #bccdaf; padding: 11px; font-size: 13px; font-weight: 600; }
.btn-export { background: #026e00; color: #fff; border: none; padding: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 6px 16px rgba(2,110,0,0.28); }

.canvas-card { background: #fff; border: 1px solid #c9dcbd; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.canvas-bar { height: 44px; flex: none; border-bottom: 1px solid #c9dcbd; background: #eaf6e0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.canvas-bar .l { display: flex; align-items: center; gap: 12px; }
.canvas-bar .dots { display: flex; gap: 5px; }
.canvas-bar .dots span { width: 9px; height: 9px; border-radius: 50%; background: #bccdaf; }
.canvas-bar .name { font-size: 12px; font-weight: 500; color: #3b4b35; }
.canvas-bar .dims { font-size: 11px; color: #6b7c63; font-variant-numeric: tabular-nums; }
.canvas-area { position: relative; flex: 1; min-height: 380px; display: flex; align-items: center; justify-content: center; padding: 28px; background-color: #fafdf6; background-image: linear-gradient(45deg,#e0ecd7 25%,transparent 25%),linear-gradient(-45deg,#e0ecd7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0ecd7 75%),linear-gradient(-45deg,transparent 75%,#e0ecd7 75%); background-size: 22px 22px; background-position: 0 0,0 11px,11px -11px,-11px 0; }
.ws-figure { position: relative; display: inline-block; margin: 0; line-height: 0; max-width: 100%; max-height: 320px; animation: cpfade 0.4s ease; }
.ws-figure img { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; }
.ws-figure svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ws-empty { border: 2px dashed #a9bd9d; border-radius: 12px; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #6b7c63; cursor: pointer; background: rgba(255,255,255,0.4); }
.ws-empty p.t { font-size: 18px; font-weight: 600; color: #131e10; margin: 8px 0 0; }
.ws-empty p.s { font-size: 13px; margin: 0; }
.ws-drag { position: absolute; inset: 12px; border: 2.5px dashed #026e00; border-radius: 12px; background: rgba(2,110,0,0.07); display: flex; align-items: center; justify-content: center; pointer-events: none; font-size: 16px; font-weight: 700; color: #026e00; }
.ws-processing { position: absolute; inset: 0; background: rgba(251,251,252,0.7); backdrop-filter: blur(2px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.ws-processing .spin { width: 32px; height: 32px; border: 3px solid #cdf5c4; border-top-color: #026e00; border-radius: 50%; animation: cpspin 0.8s linear infinite; }
.ws-processing span { font-size: 13px; font-weight: 600; color: #026e00; }
.sample-strip { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #c9dcbd; border-radius: 999px; padding: 4px 6px; }
.sample-strip .lbl { font-size: 10px; font-weight: 600; color: #8a9b82; padding-left: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.sample-strip button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #c9dcbd; background: #fff; padding: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sample-strip button.photo { padding: 0; }
.sample-strip button img { width: 100%; height: 100%; object-fit: contain; }
.sample-strip button.photo img { object-fit: cover; }
.sample-strip .sep { width: 1px; height: 18px; background: #c9dcbd; margin: 0 1px; }
.sample-strip .jpg-tag { font-size: 9px; font-weight: 700; color: #026e00; background: #e6f7dd; border-radius: 5px; padding: 2px 6px; letter-spacing: 0.03em; }

/* ---- Full-screen editor layout (Tool page) ---- */
.editor { display: flex; flex-direction: column; height: calc(100vh - 60px); background: #e4f2db; }
.editor-toolbar { flex: none; display: flex; align-items: center; gap: 14px; padding: 9px 16px; background: #eaf6e0; border-bottom: 1px solid #c9dcbd; flex-wrap: wrap; }
.tb-file { display: flex; align-items: center; gap: 10px; }
.tb-file .dots { display: flex; gap: 5px; }
.tb-file .dots span { width: 9px; height: 9px; border-radius: 50%; background: #bccdaf; }
.tb-file .name { font-size: 13px; font-weight: 600; color: #131e10; }
.tb-file .dims { font-size: 11px; color: #6b7c63; font-variant-numeric: tabular-nums; }
.tb-actions { display: flex; align-items: center; gap: 8px; }
.tb-btn { width: auto; display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; cursor: pointer; font-family: inherit; padding: 8px 14px; font-size: 13px; }
.tb-samples { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tb-samples .lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #8a9b82; }
.editor-main { flex: 1; display: flex; min-height: 0; }
.editor-sidebar { width: 300px; flex: none; overflow-y: auto; background: #fff; border-right: 1px solid #c9dcbd; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.editor-canvas { flex: 1; min-height: 0; }

@media (max-width: 760px) {
  .editor { height: auto; }
  .editor-main { flex-direction: column; }
  .editor-sidebar { width: auto; border-right: none; border-bottom: 1px solid #c9dcbd; }
  .editor-canvas { min-height: 360px; }
  .tb-samples { margin-left: 0; }
}

.features { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.feature-card { background: #fff; border: 1px solid #c9dcbd; border-radius: 14px; padding: 28px; }
.feature-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon.a { background: #e6f7dd; color: #026e00; }
.feature-icon.b { background: #fbe0fb; color: #a900a9; }
.feature-icon.c { background: #d6f7f7; color: #006a6a; }
.feature-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: #3b4b35; margin: 0; }

.social-proof { background: #eaf6e0; border-top: 1px solid #c9dcbd; padding: 36px 0; }
.social-proof .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.social-proof p { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8a9b82; margin: 0 0 22px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; align-items: center; color: #8a9b82; }
.logos span { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.cap-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 30px; }
@media (max-width: 820px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-item { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.cap-item > svg { flex: none; color: #026e00; margin-top: 1px; }
.cap-item strong { display: block; font-size: 15px; color: #131e10; font-weight: 700; margin-bottom: 3px; }
.cap-item span { font-size: 13.5px; color: #5a6b52; line-height: 1.5; }
.cap-item a { color: #026e00; text-decoration: none; font-weight: 600; }
.cap-item a:hover { text-decoration: underline; }

.cta { position: relative; padding: 88px 24px; overflow: hidden; }
.cta .glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 720px; height: 360px; background: radial-gradient(ellipse at center, rgba(2,110,0,0.12), transparent 70%); pointer-events: none; }
.hero-shot { border-radius: 16px; overflow: hidden; border: 1px solid #c9dcbd; box-shadow: 0 26px 60px -26px rgba(2,77,0,0.45); }
.hero-shot img { display: block; width: 100%; height: auto; }
.cta-banner { position: relative; z-index: 1; max-width: 940px; margin: 0 auto 40px; border-radius: 16px; overflow: hidden; border: 1px solid #c9dcbd; box-shadow: 0 26px 60px -26px rgba(2,77,0,0.45); }
.cta-banner img { display: block; width: 100%; height: auto; }
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 16px; color: #131e10; text-wrap: balance; }
.cta-inner p { font-size: 17px; color: #3b4b35; line-height: 1.55; margin: 0 0 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta a.primary { background: #026e00; color: #fff; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 9px; text-decoration: none; box-shadow: 0 8px 22px rgba(2,110,0,0.3); }
.cta a.ghost { background: #fff; color: #131e10; font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: 9px; text-decoration: none; border: 1px solid #bccdaf; }
.cta .fine { margin-top: 22px; font-size: 12px; color: #6b7c63; }

.site-footer { background: #e4f2db; border-top: 1px solid #c9dcbd; padding: 48px 24px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand .mark { width: 24px; height: 24px; border-radius: 6px; background: #026e00; display: flex; align-items: center; justify-content: center; }
.footer-brand .row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-brand .name { font-size: 15px; font-weight: 700; }
.footer-brand .name .accent { color: #026e00; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: #5a6b52; margin: 0; max-width: 280px; }
.page-wrap { max-width: 760px; margin: 0 auto; padding: 54px 24px 64px; }
.page-wrap h1 { font-size: clamp(32px, 5.2vw, 46px); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 14px; line-height: 1.12; color: #131e10; }
.page-wrap .lead-sub { font-size: 18px; color: #3b4b35; margin: 0 0 36px; line-height: 1.6; padding: 16px 20px; background: linear-gradient(90deg, #f4fcec 0%, rgba(244,252,236,0.15) 100%); border-left: 3px solid #026e00; border-radius: 0 10px 10px 0; }

/* ---- Prose / article body ---- */
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; color: #131e10; margin: 44px 0 14px; padding-top: 28px; border-top: 1px solid #e4eede; scroll-margin-top: 80px; line-height: 1.25; }
.prose > h2:first-of-type { border-top: none; padding-top: 0; margin-top: 32px; }
.prose h3 { font-size: 17px; font-weight: 700; color: #131e10; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: #3b4b35; }
.prose p { margin: 0 0 14px; }
.prose strong { color: #131e10; font-weight: 700; }
.prose a { color: #026e00; font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
/* Buttons inside prose must keep their own colour (beat the .prose a rule above) */
.prose a.btn-primary { color: #fff; }
.prose a.btn-primary:hover { color: #fff; text-decoration: none; }
.prose .muted { color: #6b7c63; font-size: 14px; }
.prose code { background: #eef3ea; border-radius: 5px; padding: 1px 6px; font-size: 0.9em; }

/* Unordered lists get a green dot bullet inside a subtle card feel */
.prose ul { list-style: none; padding: 0; margin: 14px 0 18px; }
.prose ul > li { position: relative; padding: 4px 0 4px 24px; margin: 6px 0; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 7px; height: 7px; background: #026e00; border-radius: 50%; }

/* Ordered lists become numbered-circle steps */
.prose ol { counter-reset: step; list-style: none; padding: 0; margin: 16px 0 18px; }
.prose ol > li { counter-increment: step; position: relative; padding: 6px 0 6px 46px; margin: 8px 0; min-height: 32px; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 4px; width: 30px; height: 30px; background: #026e00; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; box-shadow: 0 2px 6px rgba(2,110,0,0.25); }

/* ---- Guides / articles ---- */
.guide-crumb { font-size: 13px; color: #6b7c63; margin: 0 0 16px; }
.guide-crumb a { color: #026e00; font-weight: 600; text-decoration: none; }
.guide-crumb span { margin: 0 7px; color: #b8c7ac; }
.guide-hero { margin: 0 0 32px; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid #d5e4c9; background: #f4fcec; box-shadow: 0 8px 30px -12px rgba(2,110,0,0.18); }
.guide-hero img { display: block; width: 100%; height: auto; }
.guide-hero figcaption { font-size: 12px; color: #6b7c63; padding: 8px 14px 10px; background: #fff; border-top: 1px solid #e4eede; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, #f4fcec, #e6f7dd); border: 1px solid #bfe6a8; border-radius: 16px; padding: 26px 28px; margin: 48px 0 28px; }
.guide-cta h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #024d00; }
.guide-cta p { margin: 0; font-size: 14px; color: #3b4b35; max-width: 470px; }
.guide-related { font-size: 14px; color: #6b7c63; background: #f9fbf6; border: 1px solid #e4eede; border-radius: 12px; padding: 16px 20px; margin-top: 32px; line-height: 1.75; }
.guide-related strong { color: #131e10; }
.guide-related a { color: #026e00; font-weight: 600; text-decoration: none; }

/* Guides index */
.guides-hero { max-width: 900px; margin: 0 auto; padding: 56px 24px 6px; text-align: center; }
.guides-hero h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; color: #024d00; }
.guides-hero p { font-size: 17px; line-height: 1.6; color: #3b4b35; margin: 0 auto; max-width: 580px; }
.guides-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 24px 80px; }
.guides-cluster { margin-top: 40px; }
.guides-cluster > h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #6b7c63; margin: 0 0 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #d5e4c9; border-radius: 14px; padding: 20px 20px 18px; text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; overflow: hidden; }
.guide-card:hover { border-color: #026e00; transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(2,110,0,0.25); }
.guide-card .thumb { margin: -20px -20px 14px; aspect-ratio: 16 / 10; overflow: hidden; background: #f4fcec; border-bottom: 1px solid #e4eede; }
.guide-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.guide-card:hover .thumb img { transform: scale(1.03); }
.guide-card .tag { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #026e00; background: #e6f7dd; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.guide-card h3 { font-size: 16px; font-weight: 700; color: #131e10; margin: 0 0 6px; line-height: 1.32; }
.guide-card p { font-size: 13px; color: #5c6d54; line-height: 1.5; margin: 0; }
.guide-card .go { margin-top: 14px; font-size: 13px; font-weight: 700; color: #026e00; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } }
/* Scrolling parallax story (homepage) */
.story { max-width: 1120px; margin: 0 auto; padding: 40px 24px 24px; }
.story-head { text-align: center; margin-bottom: 12px; }
.story-head h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; color: #131e10; }
.story-head p { font-size: 16px; color: #3b4b35; max-width: 560px; margin: 0 auto; line-height: 1.55; }
.story-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 52px 0; }
.story-panel:nth-of-type(even) .story-media { order: 2; }
@media (max-width: 820px) {
  .story-panel { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .story-panel:nth-of-type(even) .story-media { order: 0; }
}
.story-media { border: 1px solid #d5e4c9; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(2,110,0,0.35), 0 8px 24px rgba(19,30,16,0.06); }
.story-media img { display: block; width: 100%; height: auto; transform: scale(1.06); will-change: transform; }
.story-step { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #026e00; background: #e6f7dd; border: 1px solid #cdeabc; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.story-text h3 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: #131e10; }
.story-text p { font-size: 16px; line-height: 1.65; color: #3b4b35; margin: 0; max-width: 440px; }

/* Reveal-on-scroll (only active when JS marks the page) */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-anim .reveal { opacity: 0; transform: translateY(28px); }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .story-media img { transform: none; }
}
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #eaf6e0; color: #3b4b35; transition: background .12s, color .12s; }
.footer-social a:hover { background: #026e00; color: #fff; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #131e10; margin: 0 0 14px; }
.footer-col .links { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: #5a6b52; text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid #bccdaf; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #8a9b82; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 24px 48px; }
  .hero h1 { font-size: 38px; }
  .ws-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-burger { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #f0fee6; border-bottom: 1px solid #c9dcbd;
    padding: 6px 20px 16px;
    box-shadow: 0 14px 26px -14px rgba(19,30,16,0.25);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a, .nav-links form.signout button { padding: 13px 2px; border-bottom: 1px solid #e2eedb; font-size: 15px; text-align: left; }
  .nav-links a.cta, .nav-links a.cta-outline { text-align: center; border-bottom: none; margin-top: 10px; padding: 12px; }
}
