:root {
  --green: #14663c;
  --green-dark: #0e4d2c;
  --ink: #1c1e20;
  --muted: #6b7280;
  --line: #e3e6e8;
  --bg: #f6f7f5;
  --card: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}
.topbar {
  background: var(--green);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand img { border-radius: 9px; }
.brand h1 { margin: 0; font-size: 1.35rem; }
.brand p { margin: 2px 0 0; opacity: .9; font-size: .92rem; }
.privacy { margin: 0; font-size: .9rem; background: rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; }
main { max-width: 880px; margin: 0 auto; padding: 18px 14px 30px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card h2 { margin: 0 0 12px; font-size: 1.1rem; display: flex; align-items: center; gap: 9px; }
.step {
  background: var(--green); color: #fff; width: 24px; height: 24px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; flex: none;
}
.hidden { display: none; }
.dropzone {
  border: 2px dashed #b9c4bc;
  border-radius: var(--radius);
  padding: 34px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--green); background: #eef6f1; }
.dz-big { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; }
.dz-small { margin: 0; color: var(--muted); font-size: .9rem; }
.btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: .95rem;
  cursor: pointer;
  margin-top: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { border-color: var(--green); }
.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  font-size: 1rem;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { color: var(--green); border-color: transparent; padding-left: 2px; }
.controls {
  display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end;
}
.controls label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.controls .control-wide { flex: 1 1 260px; }
.controls input[type="number"] {
  width: 90px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem;
}
.controls input[type="range"] { width: 100%; accent-color: var(--green); }
.controls .check { flex-direction: row; align-items: center; gap: 7px; padding-bottom: 8px; }
.hint { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.canvas-wrap { overflow: auto; text-align: center; background: #eceeec; border-radius: 10px; padding: 10px; }
canvas#preview { max-width: 100%; height: auto; image-rendering: pixelated; background: #fff; }
.actions { text-align: center; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; margin-top: 8px; font-size: .95rem; }
th, td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; }
.swatch {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18); display: inline-block; vertical-align: middle;
}
footer { max-width: 880px; margin: 0 auto; padding: 0 14px 28px; color: var(--muted); font-size: .85rem; }
/* --- info sections (features / how / examples) --- */
.feature-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.feature-list li { padding-left: 22px; position: relative; font-size: .95rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.how-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-steps li { display: flex; gap: 9px; align-items: flex-start; font-size: .95rem; }
.example { margin: 18px 0 6px; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair-imgs > div { position: relative; }
.pair-imgs img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.img-label {
  position: absolute; top: 8px; left: 8px;
  background: rgba(20, 24, 20, .72); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px;
}
.example figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; text-align: center; }
@media (max-width: 640px) {
  .feature-list, .how-steps { grid-template-columns: 1fr; }
}
/* --- pricing / tiers --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; position: relative; display: flex; flex-direction: column;
}
.price-card.popular { border: 2px solid var(--green); box-shadow: 0 4px 14px rgba(20, 102, 60, .12); }
.price-card.current { background: #f2f8f4; }
.price-card .badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.price-card .price { margin: 0 0 10px; font-size: 1.7rem; font-weight: 700; color: var(--green-dark); }
.price-card .price .per { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card ul { margin: 0 0 14px; padding-left: 18px; font-size: .92rem; }
.price-card li { margin-bottom: 7px; }
.price-card .plan-btn { margin-top: auto; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.price-card .plan-btn.disabled { opacity: .55; pointer-events: none; }
.price-card .soon { display: block; text-align: center; color: var(--muted); margin-top: 6px; }
.license-row { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.license-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; align-items: center; }
.license-controls input {
  flex: 1 1 240px; padding: 10px 12px; font-size: 1rem; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 8px; text-transform: uppercase;
  min-height: 44px;
}
.license-controls .btn { margin-top: 0; }
/* --- upgrade modal --- */
.modal {
  position: fixed; inset: 0; background: rgba(15, 20, 15, .55);
  display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px;
}
.modal.hidden { display: none; }
.modal-box {
  background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%;
  padding: 22px; box-shadow: 0 10px 34px rgba(0,0,0,.25);
}
.modal-actions { display: flex; gap: 10px; margin-top: 14px; }
.modal-actions .btn { margin-top: 0; text-decoration: none; }
/* --- batch --- */
.batch-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.batch-item canvas { max-width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.batch-item .btn { margin-top: 6px; }
/* --- print: Studio board sheets --- */
#printArea { display: none; }
@media print {
  body > header, body > main, body > footer, #upgradeModal { display: none !important; }
  #printArea { display: block; }
  .board-page { page-break-after: always; padding: 10px; }
  .board-page h3 { font-size: 12pt; margin: 0 0 8px; }
  .board-page canvas { max-width: 100%; height: auto; }
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand h1 { font-size: 1.15rem; }
  .privacy { border-radius: 10px; }
}
/* --- hero + compare slider --- */
.hero {
  background: linear-gradient(160deg, #fdfdf7 0%, #eef6f1 55%, #e3f0e6 100%);
  border-color: #cfe3d4;
  text-align: center;
}
.hero-title { font-size: 1.55rem; line-height: 1.25; margin: 4px 0 8px; display: block; }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto 16px; }
.hero-sub strong { color: var(--ink); }
.compare {
  position: relative; max-width: 520px; margin: 0 auto;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(20, 60, 35, .16); background: #fff;
  aspect-ratio: 1 / 1; touch-action: none;
}
.compare img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare .cmp-top { position: absolute; inset: 0; }
.cmp-label {
  position: absolute; top: 10px; z-index: 3;
  background: rgba(20, 24, 20, .72); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 3px 11px; border-radius: 999px;
  pointer-events: none;
}
.cmp-label-l { left: 10px; }
.cmp-label-r { right: 10px; }
.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.45); z-index: 2;
  transform: translateX(-50%); pointer-events: none;
}
.cmp-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--green); color: #fff; border: 2px solid #fff;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.cmp-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 4; margin: 0;
  touch-action: none;
}
.bead-strip { display: flex; gap: 7px; justify-content: center; margin: 16px 0 4px; flex-wrap: wrap; }
.bead-strip span {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 -2px 3px rgba(0,0,0,.18);
}
.trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px;
  justify-content: center; margin: 10px 0 0; padding: 0;
  font-size: .93rem; font-weight: 600; color: var(--green-dark);
}
.hero-cta { margin: 14px 0 2px; }
.hero-cta .btn { text-decoration: none; display: inline-block; margin-top: 0; }
/* --- examples: tip line --- */
.example-tip {
  margin: 6px auto 14px; max-width: 640px; text-align: left;
  background: #f2f8f4; border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0; padding: 9px 13px; font-size: .93rem;
}
/* --- size guide table --- */
.size-table { min-width: 540px; }
.size-table th { background: #eef6f1; color: var(--green-dark); }
.size-table td, .size-table th { vertical-align: top; }
.size-table em { color: var(--muted); font-style: normal; font-size: .88em; }
/* --- step-by-step guide --- */
.guide-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  align-items: center; padding: 16px 0; border-top: 1px solid var(--line);
}
.guide-step:first-of-type { border-top: none; }
.guide-step img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.guide-text h3 { margin: 0 0 8px; font-size: 1.02rem; display: flex; align-items: center; gap: 9px; }
.guide-text p { margin: 0; font-size: .95rem; }
.finish-note {
  margin-top: 8px; background: #fdf6e3; border: 1px solid #eadfae;
  border-radius: 10px; padding: 14px 16px;
}
.finish-note h3 { margin: 0 0 6px; font-size: 1rem; }
.finish-note p { margin: 0; font-size: .95rem; }
@media (max-width: 640px) {
  .guide-step { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.3rem; }
}
/* --- faq --- */
.faq-item { border-top: 1px solid var(--line); padding: 11px 2px; }
.faq-item:first-of-type { border-top: none; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: .98rem; }
.faq-item summary:hover { color: var(--green-dark); }
.faq-item p { margin: 8px 0 2px; font-size: .95rem; color: #33373b; }
/* --- footer nav + license status feedback --- */
.footer-nav { margin-bottom: 8px; font-size: .9rem; }
.footer-nav a { color: var(--green); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.status-ok { color: var(--green); font-weight: 600; }
.status-error { color: #b3261e; font-weight: 600; }

/* --- legal pages (privacy / terms) --- */
.legal h3 { margin: 20px 0 6px; font-size: 1rem; }
.legal p { margin: 0 0 10px; font-size: .95rem; }
.legal ul { margin: 0 0 10px; padding-left: 20px; font-size: .95rem; }
.legal li { margin-bottom: 5px; }
.legal a { color: var(--green); }

/* Downloadable editions (itch.io): the bought tier is on — no key entry, no upsell buttons */
body.edition .license-controls,
body.edition .plan-btn { display: none !important; }

/* --- language switcher (multilingual: one <a> per language, add a link to add a language) --- */
.lang-switch { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin: 0; }
.lang-switch a { color: #fff; text-decoration: none; opacity: .85; padding: 4px 6px; white-space: nowrap; }
.lang-switch a:hover { opacity: 1; text-decoration: underline; }
.lang-switch a.active { opacity: 1; font-weight: 700; text-decoration: underline; }
.lang-switch .sep { opacity: .5; color: #fff; }
/* footer text-link fallback (light background) */
.footer-lang { margin: 10px 0 4px; }
.footer-lang a { color: var(--green); opacity: 1; }
.footer-lang .sep { color: var(--muted); }
/* prominent language dropdown in the topbar (one <option> per language) */
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e4d2c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--green-dark); font-size: .98rem; font-weight: 700;
  border: 2px solid #fff; border-radius: 999px;
  padding: 9px 38px 9px 16px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.lang-select:focus { outline: 3px solid rgba(255,255,255,.55); outline-offset: 2px; }

/* --- premium upgrade (2026-11-16 benchmark pass) --- */
html { scroll-behavior: smooth; }
body { background: linear-gradient(180deg, #fcfdfb 0, #f3f6f2 340px, var(--bg) 700px); }
.topbar {
  background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 55%, #1c7a46 100%);
  box-shadow: 0 2px 16px rgba(14, 77, 44, .28);
}
.card { box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 12px 32px rgba(20, 40, 25, .05); }
.btn-primary {
  background: linear-gradient(135deg, #1c7a46, var(--green-dark));
  border-color: transparent;
  box-shadow: 0 5px 16px rgba(20, 102, 60, .30);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1c7a46, var(--green-dark));
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(20, 102, 60, .34);
}
/* index hero: richer light + bigger display type */
.hero {
  background:
    radial-gradient(420px 180px at 12% 0%, rgba(255, 255, 255, .85), rgba(255,255,255,0) 60%),
    radial-gradient(520px 240px at 88% 8%, rgba(46, 158, 91, .16), rgba(46,158,91,0) 62%),
    linear-gradient(160deg, #fdfdf7 0%, #eef6f1 55%, #e0efe3 100%);
}
.hero-title { font-size: clamp(1.65rem, 4.6vw, 2.15rem); letter-spacing: -.01em; }
/* studio hero: bigger, gradient display type (specificity beats the page inline style) */
main .hero h2 {
  font-size: clamp(2.05rem, 5.4vw, 2.95rem);
  line-height: 1.14;
  letter-spacing: -.015em;
  background: linear-gradient(100deg, #123524 5%, var(--green) 55%, #2e9e5b 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* stats band (dark, studio) */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background:
    radial-gradient(420px 160px at 85% 0%, rgba(255,255,255,.13), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #0b3520, #14663c 58%, #1c7a46);
  border-radius: var(--radius); padding: 24px 20px; margin: 28px 0 4px;
  color: #fff; box-shadow: 0 16px 36px rgba(11, 53, 32, .28);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.95rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.stat-label { display: block; margin-top: 4px; font-size: .84rem; opacity: .9; line-height: 1.45; }
/* process steps (studio) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pstep {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 10px 26px rgba(20, 40, 25, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pstep:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 102, 60, .12); }
.pstep .pnum { font-size: .82rem; font-weight: 800; letter-spacing: .22em; color: var(--green); }
.pstep .ghost {
  position: absolute; right: 8px; top: -14px; font-size: 3.4rem; font-weight: 800;
  color: rgba(20, 102, 60, .08); line-height: 1; pointer-events: none;
}
.pstep h3 { margin: 8px 0 6px; font-size: 1rem; line-height: 1.35; }
.pstep p { margin: 0; font-size: .9rem; color: #3c4145; line-height: 1.55; }
/* assurances (studio) */
.assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; }
.assure li { padding-left: 27px; position: relative; font-size: .95rem; line-height: 1.55; }
.assure li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
/* dark CTA band (studio) */
.cta-band {
  margin: 36px 0 8px; text-align: center; color: #fff;
  background:
    radial-gradient(560px 200px at 18% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #0b3520, #14663c 60%, #1c7a46);
  border-radius: var(--radius); padding: 36px 22px 32px;
  box-shadow: 0 18px 40px rgba(11, 53, 32, .30);
}
.cta-band h2 { margin: 0 0 8px; font-size: 1.65rem; color: #fff; }
.cta-band p { margin: 0 auto 20px; max-width: 560px; opacity: .93; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-light {
  background: #fff; color: var(--green-dark); border-color: #fff; font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); text-decoration: none;
}
.btn-light:hover { border-color: #fff; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.75); text-decoration: none; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.10); }
/* spec strip (index) */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 10px 13px; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 10px 26px rgba(20, 40, 25, .05);
}
.spec-num { display: block; font-size: 1.55rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.spec-label { display: block; margin-top: 3px; font-size: .82rem; color: var(--muted); line-height: 1.4; }
/* scroll reveal (progressive: content is visible if JS/IO is unavailable) */
.rv-init { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.rv-init.rv-in { opacity: 1; transform: none; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .stats-band { grid-template-columns: 1fr 1fr; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .assure { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv-init { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary:hover, .pstep:hover, .btn-light:hover { transform: none; }
}

/* ============================================================
   Round 2 — the "Forge" design language (2026-11-16)
   One system across tool, studio and guide pages:
   - Palette: deep forge green + a single amber spark accent.
     Amber is rationed — wordmark spark, signature rule, badges,
     active states — never body backgrounds.
   - Signature rule: a 3px green→amber→green line under the
     topbar and above the footer columns; the site's fingerprint.
   - Type: tight-tracked heavy display headings, wide-tracked
     uppercase eyebrows with amber ticks.
   - Shapes: 14px cards, pill badges/buttons, soft two-layer
     shadows. Bead dots (radial dot grid) are the house texture.
   ============================================================ */
:root {
  --amber: #e9a13b;
  --amber-deep: #b97a1e;
  --amber-soft: #fdf3e0;
  --shadow-card: 0 1px 3px rgba(0,0,0,.04), 0 12px 32px rgba(20, 40, 25, .05);
  --shadow-lift: 0 14px 30px rgba(20, 102, 60, .12);
}
::selection { background: var(--amber-soft); }
:focus-visible { outline: 3px solid rgba(233, 161, 59, .65); outline-offset: 2px; }
/* signature rule + wordmark */
.topbar {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--green-dark), var(--amber) 50%, var(--green-dark)) 1;
}
.brand h1 { letter-spacing: -.015em; }
.brand img { box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 4px 10px rgba(0,0,0,.25); }
.eyebrow::before {
  content: ""; display: inline-block; width: 18px; height: 2px;
  background: var(--amber); vertical-align: middle; margin-right: 8px;
}
/* hero bead-dot texture (the house pattern, behind index hero content) */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 102, 60, .13) 1.6px, transparent 1.7px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0) 46%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0) 46%);
}
.hero > * { position: relative; z-index: 1; }
/* studio hero work wall */
.wall {
  margin: 30px 0 2px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.wall img {
  width: 100%; height: 104px; object-fit: cover; display: block;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(20, 40, 25, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wall img:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lift); }
.wall figcaption {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  font-size: .86rem; margin-top: 2px; letter-spacing: .02em;
}
/* wall tiers (round 3): desktop multi-column → tablet 2 → phone 2, cover-cropped, never distorted */
@media (max-width: 1024px) { .wall { grid-template-columns: repeat(2, 1fr); } .wall img { height: 190px; } }
@media (max-width: 480px) { .wall { grid-template-columns: repeat(2, 1fr); } .wall img { height: 96px; } }
/* about grid (studio) */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; }
.about-grid h3 { margin: 0 0 7px; font-size: 1rem; line-height: 1.35; }
.about-grid h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--amber); margin-right: 9px; vertical-align: 1px;
}
.about-grid p { margin: 0; font-size: .94rem; line-height: 1.6; color: #3c4145; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
/* response-time note (studio contact) */
.response-note {
  display: inline-block; margin: 0 0 16px; padding: 7px 14px;
  background: var(--amber-soft); border: 1px solid #f0dcb2; border-radius: 999px;
  color: #7c5410; font-size: .9rem; font-weight: 600;
}
/* full footer columns */
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 30px;
  border-top: 3px solid transparent; padding-top: 18px; margin-bottom: 16px;
  border-image: linear-gradient(90deg, var(--green), var(--amber) 50%, var(--green)) 1;
}
.fcol h4 {
  margin: 0 0 9px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark);
}
.fcol a { display: block; padding: 3px 0; color: #3c4145; text-decoration: none; font-size: .92rem; }
.fcol a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 680px) { .footer-cols { grid-template-columns: 1fr; gap: 12px; } }
/* guide table of contents */
.toc h2 { font-size: 1.05rem; }
.toc-list { margin: 6px 0 2px; padding-left: 22px; columns: 2; column-gap: 34px; }
.toc-list li { margin-bottom: 7px; break-inside: avoid; }
.toc-list a { color: var(--green); text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc-list a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc-list { columns: 1; } }
/* per-cell edit bar (tool) */
.edit-bar { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; text-align: left; }
.edit-bar h3 { margin: 0 0 4px; font-size: 1rem; }
.edit-palette {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
  max-height: 138px; overflow-y: auto; padding: 4px 2px;
}
.edit-swatch {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  border: 1px solid rgba(0,0,0,.22); cursor: pointer; padding: 0;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.16);
  transition: transform .12s ease, box-shadow .12s ease;
}
.edit-swatch:hover { transform: scale(1.14); }
.edit-swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px var(--green);
  transform: scale(1.12);
}
.edit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.edit-actions .btn.active {
  background: var(--green); border-color: var(--green); color: #fff; font-weight: 600;
}
.edit-actions .btn:disabled { opacity: .45; cursor: default; }
canvas#preview { cursor: crosshair; }

/* ============================================================
   Round 3 — responsive polish (2026-11-16, REN: phone, tablet
   and desktop must all browse well). Three tiers:
     phone   ≤ 480px
     tablet  481–1024px
     desktop ≥ 1025px
   Rules below only change responsive behaviour and touch
   ergonomics — no content, prices or links are touched.
   ============================================================ */
/* safety net: media never exceeds its column */
img, video { max-width: 100%; }
/* language dropdown: full 44px touch height + 16px font (stops iOS focus zoom) */
.lang-select { min-height: 44px; font-size: 1rem; }
/* FAQ rows: the whole summary line is a comfortable tap target */
.faq-item summary { padding: 13px 2px; margin: -13px -2px; }
/* footer + TOC text links: taller tap areas without changing the words */
.footer-nav a { display: inline-block; padding: 10px 3px; margin: -6px 0; }
.fcol a { padding: 11px 0; }
.toc-list a { display: inline-block; padding: 10px 0; margin: -5px 0; }
.lang-switch a { padding: 11px 6px; margin: -6px 0; }
/* studio card links (page inline styles load after this sheet, so out-specify them) */
main .svc a.tool-link, main .work a.card-link { display: inline-block; padding: 11px 2px; margin: 3px -2px -7px; }
/* upgrade modal: let the two actions wrap instead of squeezing */
.modal-actions { flex-wrap: wrap; }
/* tool checkboxes: bigger box, taller label row */
.controls .check input[type="checkbox"] { width: 19px; height: 19px; flex: none; accent-color: var(--green); }
.controls .check { min-height: 40px; }
/* touch devices: palette swatches grow to finger size */
@media (pointer: coarse) {
  .edit-palette { gap: 8px; }
  .edit-swatch { width: 34px; height: 34px; }
}
/* --- phone tier --- */
@media (max-width: 480px) {
  .topbar { padding: 14px 14px 12px; gap: 8px; }
  .brand { gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .brand p { font-size: .84rem; }
  .privacy { font-size: .82rem; padding: 5px 10px; }
  main { padding: 14px 10px 24px; }
  .card { padding: 15px 14px; }
  footer { padding: 0 10px 24px; }
  .cta-band { padding: 28px 16px 24px; }
  .cta-band h2 { font-size: 1.38rem; }
  .stat-num { font-size: 1.55rem; }
  .spec-num { font-size: 1.32rem; }
  .price-card .price { font-size: 1.5rem; }
  .modal { padding: 10px; }
  .modal-box { padding: 18px; }
  /* export actions: one full-width button per row, easy to hit */
  .actions .btn { display: flex; width: 100%; }
  .dropzone { padding: 26px 12px; }
}
