:root {
  --ink: #17211b;
  --muted: #667068;
  --paper: #f5f2e9;
  --card: #fffdf8;
  --line: #dcd8cc;
  --green: #2f684d;
  --green-dark: #214b38;
  --lime: #d9f068;
  --shadow: 0 18px 60px rgba(36, 49, 40, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(217, 240, 104, .22), transparent 24rem),
    linear-gradient(rgba(23, 33, 27, .035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 100% 28px, auto;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, textarea, select { font: inherit; }
button, select, label { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 32px;
}

.hero { padding: 0 0 58px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: var(--paper);
  background: var(--green);
  font-family: Georgia, serif;
  font-size: 19px;
}

.brand-logo-link {
  gap: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 152px;
  height: 34px;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
}

.site-navigation { margin-left: auto; }

.site-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  color: var(--green);
  background: var(--card);
  cursor: pointer;
}

.site-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav-link {
  border-radius: 9px;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.site-nav-link:hover {
  color: var(--green);
  background: rgba(47, 104, 77, .05);
}

.site-nav-link.is-active {
  color: var(--green-dark);
  background: rgba(47, 104, 77, .08);
  box-shadow: inset 0 -2px 0 var(--green);
}

.site-nav-toggle:focus-visible,
.site-nav-link:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.eyebrow {
  margin: 56px 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .93;
}

h1 span { color: var(--green); }

.hero-blocks {
  display: grid;
  gap: 24px;
  margin-top: 68px;
}

.hero-blocks > * { margin: 0; }

.hero-blocks h1 {
  max-width: 1020px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .96;
}

.hero-blocks p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-blocks .text-style-grande {
  max-width: 1020px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .96;
}

.hero-blocks .text-style-medio {
  max-width: 820px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.hero-blocks .text-style-piccolo {
  max-width: 760px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.hero-blocks .text-style-paragrafo {
  max-width: 760px;
  color: var(--muted);
  font-family: inherit;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
}

.intro {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.cleaner-intro {
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  gap: 22px 70px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.section-kicker {
  margin: 0 0 11px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cleaner-intro > .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -7px;
}

.cleaner-intro h2,
.directory-heading h2,
.closing-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.cleaner-intro-copy {
  display: grid;
  gap: 13px;
}

.cleaner-intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, .94);
  box-shadow: var(--shadow);
}

.panel:focus-within {
  border-color: rgba(47, 104, 77, .65);
  box-shadow: 0 18px 60px rgba(36, 49, 40, .09), 0 0 0 3px rgba(47, 104, 77, .08);
}

.panel-head, .panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.panel-head {
  border-bottom: 1px solid var(--line);
}

.panel-head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.output-panel-head {
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px 12px 18px;
}

.output-panel-head .panel-title-row {
  flex: 0 0 auto;
}

.step {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -.01em;
}

textarea {
  display: block;
  width: 100%;
  height: 330px;
  resize: vertical;
  border: 0;
  outline: 0;
  padding: 18px;
  color: var(--ink);
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
  tab-size: 4;
}

textarea::placeholder { color: #9a9d97; }
.output-panel textarea { background: rgba(47, 104, 77, .025); }

.output-tabs {
  display: flex;
  gap: 5px;
  flex: 1 1 260px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
}

.output-tab {
  border-radius: 8px;
  padding: 6px 9px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.output-tab:hover { color: var(--green); }

.output-tab.active {
  color: white;
  background: var(--green);
}

.output-tab:focus-visible {
  outline: 3px solid rgba(47, 104, 77, .18);
  outline-offset: 2px;
}

.output-views { background: rgba(47, 104, 77, .025); }

.output-view {
  width: 100%;
  height: 300px;
  min-height: 300px;
}

.output-view[hidden] { display: none; }

.rich-preview {
  overflow: auto;
  padding: 22px;
  color: var(--ink);
  background: var(--card);
  font-size: 14px;
  line-height: 1.65;
}

.rich-preview > :first-child { margin-top: 0; }
.rich-preview > :last-child { margin-bottom: 0; }
.rich-preview a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.rich-preview blockquote { margin-left: 0; border-left: 3px solid var(--green); padding-left: 16px; }
.rich-preview code { border-radius: 4px; padding: 2px 4px; background: rgba(47, 104, 77, .08); }
.rich-preview ol, .rich-preview ul { padding-left: 25px; }
.rich-preview li > ul, .rich-preview li > ol { margin-top: 4px; }
.rich-preview table { width: 100%; border-collapse: collapse; }
.rich-preview th, .rich-preview td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.rich-preview th { background: rgba(47, 104, 77, .08); }

.preview-placeholder {
  color: #9a9d97;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.html-source-preview {
  overflow: auto;
  margin: 0;
  border: 0;
  padding: 22px;
  color: var(--ink);
  background: var(--card);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
}

.panel-foot {
  min-height: 60px;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  color: var(--muted);
  font-size: 12px;
}

.panel-foot > span {
  white-space: nowrap;
}

.panel-foot .copy-button,
.panel-foot .clear-button {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  line-height: 1;
}

button {
  border: 0;
  cursor: pointer;
}

.text-button, .clear-button {
  padding: 5px 0;
  color: var(--green);
  background: none;
  font-size: 12px;
  font-weight: 750;
}

.clear-button { color: var(--muted); }

.panel-foot .clear-button,
.output-panel .copy-button-secondary {
  border: 1px solid rgba(47, 104, 77, .22);
  padding: 0 10px;
  color: rgba(47, 104, 77, .82);
  background: rgba(47, 104, 77, .025);
  font-size: 11px;
  font-weight: 700;
}

.copy-button {
  border-radius: 9px;
  padding: 10px 14px;
  color: white;
  background: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.copy-button:hover:not(:disabled) { background: var(--green-dark); }
.copy-button:disabled { cursor: not-allowed; opacity: .4; }

.copy-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.output-panel .copy-actions {
  gap: 5px;
}

.output-panel .copy-button {
  height: 34px;
  border-radius: 9px;
  padding-block: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.output-panel .copy-button-secondary {
  padding-inline: 10px;
}

.output-panel .copy-button:not(.copy-button-secondary) {
  padding-inline: 12px;
}

.copy-button-secondary {
  border: 1px solid var(--line);
  color: var(--green);
  background: transparent;
}

.copy-button-secondary:hover:not(:disabled) {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.panel-foot .clear-button:hover {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

#counterPasteButton {
  color: var(--ink);
  background: var(--lime);
}

#counterPasteButton:hover:not(:disabled) {
  color: var(--ink);
  background: var(--lime);
}

.action-column { text-align: center; }

.clean-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  padding: 15px 14px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 9px 22px rgba(97, 113, 37, .18);
  font-size: 13px;
  font-weight: 850;
  transition: transform .16s ease, box-shadow .16s ease;
}

.clean-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(97, 113, 37, .25);
}

.clean-button:active { transform: translateY(0); }

.action-column p {
  margin: 12px -10px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.controls {
  display: inline-grid;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--line);
}

.toggle-row, .preset-row {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 15px;
  background: var(--card);
}

.toggle-row { cursor: pointer; }
.toggle-row > span:first-child, .preset-row > span:first-child { display: grid; gap: 5px; }
.toggle-row strong, .preset-row strong { font-size: 13px; }
.toggle-row small, .preset-row small { max-width: 265px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }

.toggle {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 99px;
  background: #d5d5cd;
  transition: background .2s ease;
}

.toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  content: "";
  transition: transform .2s ease;
}

.toggle-row input:checked + .toggle { background: var(--green); }
.toggle-row input:checked + .toggle::after { transform: translateX(18px); }
.toggle-row input:focus-visible + .toggle { outline: 3px solid rgba(47, 104, 77, .2); outline-offset: 2px; }

select {
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  padding: 9px 30px 9px 10px;
  color: var(--ink);
  background: white;
  font-size: 12px;
  font-weight: 700;
}

.report {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-top: 18px;
  border-radius: 16px;
  padding: 25px;
  color: white;
  background: var(--green);
  box-shadow: var(--shadow);
}

.report[hidden] { display: none; }
.report-title { display: flex; align-items: center; gap: 16px; }
.report-number { color: var(--lime); font-family: Georgia, serif; font-size: 58px; line-height: 1; }
.report-title h2 { font-size: 16px; }
.report-title p { margin: 5px 0 0; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.4; }

.report ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report li {
  border-bottom: 1px solid rgba(255,255,255,.16);
  padding: 8px 0;
  font-size: 12px;
}

.report li::before { margin-right: 8px; color: var(--lime); content: "✓"; }

.before-after-demo {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.demo-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--card);
  box-shadow: 0 12px 38px rgba(36, 49, 40, .06);
}

.demo-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.demo-label {
  margin: -8px 0 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.demo-text {
  overflow: auto;
  margin: 0;
  border-radius: 12px;
  padding: 18px;
  color: var(--ink);
  background: rgba(47, 104, 77, .035);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.demo-rich {
  border-radius: 12px;
  padding: 18px;
  color: var(--ink);
  background: rgba(47, 104, 77, .035);
  font-size: 14px;
  line-height: 1.7;
}

.demo-rich h4 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.demo-rich .demo-subtitle {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.demo-rich p {
  margin: 0 0 13px;
  color: var(--ink);
}

.demo-rich p:last-child {
  margin-bottom: 0;
}

.demo-rich ul {
  display: grid;
  gap: 5px;
  margin: 0 0 13px;
  padding-left: 20px;
}

.demo-note {
  margin: 16px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.editorial-content {
  display: grid;
  gap: 0;
  margin-top: 88px;
  border-top: 1px solid var(--line);
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 1.45fr);
  gap: 30px 70px;
  border-bottom: 1px solid var(--line);
  padding: 54px 0;
}

.section-heading {
  display: grid;
  align-content: start;
  gap: 14px;
}

.section-heading > span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
}

.section-heading h2 {
  max-width: 500px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.section-heading .text-style-grande,
.directory-heading .text-style-grande {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.section-heading .text-style-medio,
.directory-heading .text-style-medio {
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.section-heading .text-style-piccolo,
.directory-heading .text-style-piccolo {
  max-width: 520px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.14;
}

.section-copy {
  display: grid;
  align-content: start;
  gap: 17px;
}

.section-copy p,
.editorial-subsection p,
.tool-card p,
.faq-item p,
.closing-section > p:last-child,
.legal-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-copy p { font-size: 16px; }

.subsection-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.editorial-subsection {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 253, 248, .72);
}

.editorial-subsection h3,
.tool-card h3,
.faq-item h3 {
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.editorial-subsection h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.editorial-subsection .text-style-medio {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.editorial-subsection .text-style-piccolo {
  font-size: 16px;
}

.section-copy .text-style-grande,
.section-copy .text-style-medio,
.section-copy .text-style-piccolo {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.24;
}

.section-copy .text-style-grande { font-size: 30px; }
.section-copy .text-style-medio { font-size: 24px; }
.section-copy .text-style-piccolo { font-size: 18px; }
.section-copy .text-style-paragrafo { font-size: 16px; }

.editorial-subsection p { font-size: 14px; }

.editorial-section-accent {
  margin-top: 36px;
  border: 0;
  border-radius: 20px;
  padding: 42px;
  color: white;
  background: var(--green);
  box-shadow: var(--shadow);
}

.editorial-section-accent .section-heading > span { color: var(--lime); }
.editorial-section-accent .section-copy p { color: rgba(255, 255, 255, .78); }

.tools-directory,
.faq-section {
  margin-top: 88px;
}

.directory-heading {
  display: grid;
  justify-items: start;
  margin-bottom: 30px;
}

.directory-intro {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.tool-card {
  display: flex;
  height: 100%;
  min-height: 230px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
  background: var(--card);
  box-shadow: 0 12px 38px rgba(36, 49, 40, .06);
}

a.tool-card {
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

a.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 104, 77, .45);
  box-shadow: 0 16px 42px rgba(36, 49, 40, .09);
}

a.tool-card:focus-visible {
  outline: 3px solid rgba(47, 104, 77, .18);
  outline-offset: 3px;
}

.tool-card-wide {
  grid-column: span 3;
  min-height: 230px;
}

.tool-number {
  margin-bottom: 24px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
}

.tool-card h3 {
  max-width: 360px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.tool-card p {
  max-width: 620px;
  font-size: 14px;
}

.tool-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tool-support {
  border-top: 1px solid var(--line);
  padding: 18px 4px 0;
}

.tool-support h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.tool-support p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tool-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.faq-item {
  min-height: 150px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.faq-item:nth-child(odd) { border-right: 1px solid var(--line); }
.faq-item:nth-last-child(-n + 2) { border-bottom: 0; }

.faq-item h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

.faq-item p { font-size: 14px; }

.closing-section {
  margin-top: 88px;
  border-radius: 22px;
  padding: 42px 52px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .5), transparent 20rem),
    var(--lime);
}

.closing-section h2 { max-width: 760px; }

.closing-section > p:not(.section-kicker) {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(23, 33, 27, .72);
  font-size: 17px;
}

.closing-section h3 {
  max-width: 760px;
  margin: 30px 0 0;
  font-size: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.shell:not(.legal-shell) > footer { margin-top: 44px; }

.site-footer {
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.legal-shell { min-height: 100vh; }

.utility-shell .hero { padding-bottom: 54px; }

.utility-content { margin-top: 0; }

.counter-tool {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "compose compose compose compose compose compose compose stats stats stats stats stats"
    "compose compose compose compose compose compose compose ai ai ai ai ai"
    "format format format format time time time time editorial editorial editorial editorial"
    "terms terms terms terms terms terms terms terms terms terms terms terms"
    "alerts alerts alerts alerts alerts alerts alerts alerts alerts alerts alerts alerts";
  gap: 18px;
  align-items: stretch;
  margin-bottom: 58px;
}

.counter-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, .94);
  box-shadow: var(--shadow);
}

.counter-compose {
  grid-area: compose;
}

.counter-stats-panel { grid-area: stats; }

.counter-ai-panel { grid-area: ai; }

.counter-format-panel { grid-area: format; }

.counter-time-panel { grid-area: time; }

.counter-editorial-mode { grid-area: editorial; }

.recurring-terms-panel { grid-area: terms; }

.counter-panel-head {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.counter-panel-head .section-kicker { margin: 0; }

.counter-panel-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.counter-panel-head-compact { padding-bottom: 14px; }

.counter-panel-head-compact h2 { font-size: 22px; }

.counter-textarea {
  height: 380px;
  min-height: 320px;
  border-bottom: 1px solid var(--line);
  background: rgba(47, 104, 77, .02);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.counter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
}

.counter-feedback {
  min-height: 18px;
  margin: -4px 18px 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.counter-stats {
  display: grid;
  margin: 0;
  padding: 0;
}

.counter-stats-compact {
  overflow: hidden;
  border: 1px solid rgba(220, 216, 204, .75);
  border-radius: 12px;
}

.counter-stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid rgba(220, 216, 204, .75);
  padding: 12px 18px;
}

.counter-stat-row:first-child { border-top: 0; }

.counter-stat-row dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.counter-stat-row dd {
  margin: 0;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.counter-ai-panel .counter-stat-row {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.counter-ai-panel .counter-stat-row dd {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.counter-fields {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.counter-limit-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, .45fr);
  gap: 10px;
}

.counter-field {
  display: grid;
  gap: 8px;
}

.counter-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.counter-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  padding: 10px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.counter-field input:focus,
.counter-field select:focus {
  border-color: rgba(47, 104, 77, .65);
  box-shadow: 0 0 0 3px rgba(47, 104, 77, .08);
}

.counter-limit-message {
  margin: 0;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--green);
  background: rgba(47, 104, 77, .08);
  font-size: 12px;
  font-weight: 850;
}

.counter-limit-message.is-over {
  color: #7a3a19;
  background: rgba(122, 58, 25, .08);
}

.counter-note {
  margin: 0;
  border-top: 1px solid rgba(220, 216, 204, .75);
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.recurring-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  background: rgba(47, 104, 77, .025);
}

.recurring-tab {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.recurring-tab.active,
.recurring-tab:hover {
  border-color: rgba(47, 104, 77, .28);
  color: var(--green);
  background: rgba(47, 104, 77, .06);
}

.recurring-table-wrap {
  overflow-x: auto;
}

.recurring-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.recurring-table th,
.recurring-table td {
  border-top: 1px solid rgba(220, 216, 204, .75);
  padding: 11px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.recurring-table th {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.recurring-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.counter-demo {
  position: relative;
  display: block;
  clear: both;
  overflow: visible;
  visibility: visible;
  opacity: 1;
  margin: 0 0 62px;
  border: 1px solid rgba(47, 104, 77, .18);
  border-radius: 22px;
  padding: 36px;
  background: rgba(47, 104, 77, .055);
  box-shadow: 0 18px 54px rgba(36, 49, 40, .08);
}

.counter-demo-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 1;
  min-height: 260px;
}

.counter-demo-inner {
  display: grid;
  gap: 24px;
}

.counter-demo .directory-heading {
  margin: 0;
  max-width: 860px;
}

.counter-demo-intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.counter-demo-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 18px;
  align-items: stretch;
}

.counter-demo-card {
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(36, 49, 40, .07);
}

.counter-demo-card-head {
  display: grid;
  gap: 7px;
}

.counter-demo-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.18;
}

.counter-demo-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.counter-demo-source pre {
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(220, 216, 204, .75);
  border-radius: 12px;
  padding: 18px;
  color: var(--ink);
  background: rgba(47, 104, 77, .035);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.counter-demo-result-list {
  display: grid;
  gap: 10px;
}

.counter-demo-check {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(220, 216, 204, .78);
  border-radius: 12px;
  padding: 15px;
  background: rgba(255, 253, 248, .78);
}

.counter-demo-check h4 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .01em;
  line-height: 1.25;
}

.counter-demo-check p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.counter-cta {
  display: grid;
  gap: 22px;
  margin: 12px 0 58px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.counter-cta-head {
  margin: 0;
  max-width: 820px;
}

.counter-cta-head p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.counter-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.counter-cta-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  color: inherit;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 12px 38px rgba(36, 49, 40, .06);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.counter-cta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 104, 77, .35);
  box-shadow: 0 16px 42px rgba(36, 49, 40, .09);
}

.counter-cta-title {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.16;
}

.counter-cta-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.counter-cta-action {
  justify-self: start;
  border: 1px solid rgba(47, 104, 77, .28);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--green);
  background: rgba(47, 104, 77, .07);
  font-size: 12px;
  font-weight: 850;
}

.counter-alerts {
  grid-area: alerts;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
}

.counter-alerts h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.03em;
}

.counter-alerts ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.counter-alerts li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 253, 248, .72);
  font-size: 14px;
  line-height: 1.5;
}

.legal-page {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
}

.legal-page > * + * { margin-top: 16px; }

.legal-page h2 {
  margin-top: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.16;
}

.legal-page ul {
  display: grid;
  gap: 9px;
  margin-bottom: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-page a {
  color: var(--green);
  font-weight: 750;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  transform: translateY(20px);
  border-radius: 10px;
  padding: 13px 17px;
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show { transform: translateY(0); opacity: 1; }

@media (min-width: 901px) {
  .workspace {
    align-items: stretch;
  }

  .workspace > .panel {
    display: flex;
    flex-direction: column;
  }

  .input-panel textarea {
    flex: 1;
  }

  .output-panel .output-views {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .output-panel .output-view {
    flex: 1;
  }

  .action-column {
    align-self: center;
  }
}

@media (max-width: 900px) {
  .workspace { grid-template-columns: 1fr; }
  .action-column { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
  .action-column p { margin: 0; text-align: right; }
  .controls { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1fr; }
  .counter-tool,
  .counter-demo-comparison,
  .counter-cta-grid { grid-template-columns: 1fr; }
  .counter-tool { grid-template-areas: none; }
  .counter-compose,
  .counter-stats-panel,
  .counter-ai-panel,
  .counter-format-panel,
  .counter-time-panel,
  .counter-editorial-mode,
  .recurring-terms-panel,
  .counter-alerts {
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
  }
  .cleaner-intro,
  .editorial-section { grid-template-columns: 1fr; gap: 24px; }
  .subsection-grid,
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card-wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .site-header { gap: 14px; }
  .site-nav-toggle { display: grid; }
  .site-nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(290px, calc(100vw - 24px));
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    background: var(--card);
    box-shadow: var(--shadow);
  }
  .site-nav-links.is-open { display: grid; }
  .site-nav-link {
    width: 100%;
    padding: 12px 13px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1240px); padding-top: 18px; }
  .hero { padding-bottom: 42px; }
  .hero-blocks { margin-top: 48px; }
  .eyebrow { margin-top: 40px; }
  .hero-blocks h1 { font-size: 45px; }
  .intro { font-size: 15px; }
  .cleaner-intro { margin-bottom: 22px; padding-top: 30px; }
  .cleaner-intro-copy p,
  .section-copy p { font-size: 15px; }
  textarea { height: 310px; padding: 17px; font-size: 13px; }
  .counter-textarea { height: 360px; min-height: 320px; font-size: 16px; }
  .counter-actions .copy-button { flex: 1 1 calc(50% - 8px); }
  .counter-limit-fields { grid-template-columns: 1fr; }
  .output-panel .panel-foot { align-items: flex-start; gap: 10px; }
  .copy-actions { flex-wrap: wrap; }
  .copy-button { padding: 9px 10px; font-size: 11px; }
  .action-column { grid-template-columns: 1fr; }
  .action-column p { text-align: center; }
  .report ul { grid-template-columns: 1fr; }
  .editorial-content,
  .tools-directory,
  .faq-section,
  .before-after-demo,
  .closing-section { margin-top: 62px; }
  .editorial-section { padding: 42px 0; }
  .editorial-section-accent { padding: 28px 24px; }
  .subsection-grid,
  .tool-grid,
  .demo-grid,
  .tool-support-grid,
  .faq-list { grid-template-columns: 1fr; }
  .tool-card,
  .tool-card-wide { grid-column: auto; min-height: 230px; }
  .tool-number { margin-bottom: 24px; }
  .faq-item,
  .faq-item:nth-child(odd),
  .faq-item:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq-item:last-child { border-bottom: 0; }
  .closing-section { padding: 34px 25px; }
  .site-footer { align-items: flex-start; }
  footer { display: grid; gap: 8px; }
}

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