@font-face {
  font-family: LocalSans;
  src: local("Avenir Next"), local("Avenir"), local("Segoe UI");
  font-display: swap;
}
:root {
  --bg: #f6f7f2;
  --paper: #fff;
  --ink: #253e32;
  --muted: #647066;
  --green: #214d3c;
  --green-dark: #173d2e;
  --lime: #e2eeaf;
  --line: #dce2d7;
  --soft: #eff3e9;
  --error: #a62f24;
  --error-bg: #fff1ed;
  --amber: #80571a;
  --radius: 12px;
  --shadow: 0 12px 42px #243a2910;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.6 LocalSans,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a,
button,
summary,
input,
select {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #6b8a3f;
  outline-offset: 3px;
}
input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  background: white;
  color: var(--ink);
  font-size: 14px;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}
input[role="switch"] {
  appearance: none;
  width: 34px;
  height: 20px;
  min-height: 20px;
  border: 0;
  border-radius: 20px;
  padding: 0;
  background: #d6ddd2;
  position: relative;
}
input[role="switch"]:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
  transition: transform 0.18s;
}
input[role="switch"]:checked {
  background: var(--green);
}
input[role="switch"]:checked:before {
  transform: translateX(14px);
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1248px;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--green);
  color: white;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1248px;
  margin: auto;
  padding: 19px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.brand svg {
  height: 32px;
  width: 32px;
  color: var(--green);
}
.brand strong {
  font-weight: 700;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
.site-header nav a {
  color: var(--muted);
  padding: 8px 0;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--green);
}
.site-header nav a[aria-current] {
  box-shadow: 0 2px var(--green);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  min-height: 46px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 1.5;
}
.button.primary {
  background: var(--green);
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: var(--green-dark);
}
.button.secondary {
  background: var(--paper);
  border: 1px solid var(--line);
}
.button.secondary:hover {
  background: var(--soft);
}
.button.lime {
  background: var(--lime);
  color: var(--green-dark);
}
.button.lime:hover:not(:disabled) {
  background: #d5e697;
}
.button.quiet {
  background: transparent;
  border: 1px solid var(--line);
  min-height: 40px;
  padding: 8px 16px;
}
.button.small {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 40px;
  gap: 12px;
}
.pro-arrow {
  font-size: 16px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
  padding: 6px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 48px;
  padding-bottom: 44px;
  gap: 60px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 750;
  margin: 0 0 18px;
}
.status-dot {
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #66864c;
  vertical-align: middle;
  margin-right: 7px;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.03;
  font-weight: 650;
  letter-spacing: -2.9px;
  margin: 0 0 20px;
}
.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.hero-description {
  max-width: 530px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.privacy-note {
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #d5ddc9;
  background: #f0f3e8;
  border-radius: 12px;
  padding: 24px 60px 24px 22px;
  min-width: 330px;
  transform: rotate(-2deg);
  margin-right: 8px;
}
.privacy-note > svg {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.privacy-note strong {
  font-size: 14px;
}
.privacy-note p {
  font-size: 12px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.privacy-stamp {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: grid;
  place-content: center;
  text-align: center;
  width: 70px;
  height: 70px;
  border: 1px solid #a7b98e;
  border-radius: 50%;
  background: var(--bg);
  font:
    9px/1.5 ui-monospace,
    monospace;
  letter-spacing: 1px;
  transform: rotate(13deg);
}
.workspace {
  scroll-margin-top: 20px;
}
.workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #edf1e6;
  border-radius: 12px 12px 0 0;
}
.steps {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.steps b {
  font:
    11px ui-monospace,
    monospace;
  margin-right: 7px;
  color: #6a7d5c;
}
.step-line {
  width: 32px;
  height: 1px;
  background: #bfcbb6;
}
.quota {
  font-size: 11px;
  color: var(--muted);
}
.workspace-body {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rules-panel {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  background: #fbfcf8;
}
.panel-heading {
  margin-bottom: 8px;
}
.panel-heading h2,
.data-toolbar h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 700;
}
.tiny-tag {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
  font-weight: 700;
}
.rule-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
}
.switch-row + .switch-row {
  margin-top: 16px;
}
.switch-row strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
}
.switch-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.preserve-note {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--soft);
  padding: 7px 8px;
  border-radius: 5px;
  margin-top: 14px;
  font-size: 10px;
  color: #526845;
}
.preserve-note svg {
  width: 14px;
  height: 14px;
}
.rule-details {
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
}
.rule-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  min-height: 44px;
  font-size: 12px;
  font-weight: 650;
}
.rule-details summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}
.rule-details[open] summary span,
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.field-hint {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0;
}
.check-list {
  max-height: 200px;
  overflow: auto;
}
.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  min-height: 40px;
  overflow-wrap: anywhere;
}
.date-rule {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.date-rule label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.date-rule select {
  font-size: 12px;
}
.date-format-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.column-row {
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.column-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.column-top label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.column-actions {
  display: flex;
  gap: 3px;
}
.icon-button {
  background: var(--soft);
  border-radius: 4px;
  width: 32px;
  min-height: 40px;
  color: var(--green);
  padding: 0;
  font-size: 16px;
}
.column-row input[type="text"] {
  font-size: 12px;
}
.merge-group {
  border-bottom: 0;
}
.recipes {
  background: #edf1e6;
  border-radius: 8px;
  padding: 14px;
  margin-top: 8px;
}
.recipes h3 {
  font-size: 12px;
  margin: 0;
}
.recipes p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 12px;
}
.inline-field {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.inline-field input {
  min-width: 0;
  font-size: 11px;
}
.inline-field button {
  background: white;
  border: 1px solid var(--line);
}
.recipes select {
  font-size: 11px;
}
.recipe-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.recipe-actions .text-button {
  font-size: 11px;
}
.data-panel {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.data-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.data-toolbar .muted {
  font-size: 11px;
}
.drop-zone {
  border: 1.5px dashed #b8c5a8;
  background: #f8faf4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 35px 20px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.drop-zone.dragging {
  background: #e9f3d7;
  border-color: var(--green);
}
.upload-icon {
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
  background: #eaf0e1;
  color: var(--green);
  border-radius: 12px;
  margin-bottom: 14px;
}
.upload-icon svg {
  width: 24px;
  height: 24px;
}
.drop-zone h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
  margin: 0 0 5px;
}
.drop-zone p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 20px;
}
.drop-zone small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.drop-zone.compact {
  padding: 18px;
  flex-direction: row;
  justify-content: space-between;
  gap: 14px;
}
.drop-zone.compact .upload-icon,
.drop-zone.compact p,
.drop-zone.compact small {
  display: none;
}
.drop-zone.compact h3 {
  font-size: 13px;
  margin: 0;
}
.drop-zone.compact .button {
  font-size: 12px;
  min-height: 40px;
  padding: 8px 12px;
}
.empty-note {
  flex: 1;
  min-height: 180px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #66735e;
}
.empty-note p {
  font-size: 12px;
  line-height: 1.8;
}
.empty-note span:not(.mini-grid) {
  font-size: 11px;
  color: var(--muted);
}
.mini-grid {
  font-size: 34px;
  color: #91a27f;
}
.file-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.file-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 4px 8px 4px 12px;
  border-radius: 7px;
  max-width: 100%;
  background: var(--paper);
}
.file-chip span {
  overflow-wrap: anywhere;
}
.file-chip button {
  background: transparent;
  color: var(--muted);
  width: 32px;
  min-height: 36px;
  font-size: 19px;
}
.file-chip small {
  color: var(--muted);
  white-space: nowrap;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  background: var(--soft);
  padding: 3px;
  border-radius: 6px;
}
.segmented button {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 11px;
  background: transparent;
  border-radius: 4px;
  color: var(--muted);
}
.segmented button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 4px #0001;
  color: var(--green);
  font-weight: 700;
}
.preview-toolbar select {
  width: auto;
  max-width: 240px;
  min-height: 36px;
  font-size: 11px;
  padding: 6px 10px;
}
.preview-toolbar > span {
  font-size: 10px;
  margin-left: auto;
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
}
#preview-area .table-scroll {
  max-height: 420px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  text-align: left;
}
th {
  font-weight: 550;
  background: #f0f3eb;
  color: #53614d;
}
th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid #e8ece3;
  white-space: pre-wrap;
  min-width: 95px;
  max-width: 260px;
  overflow-wrap: anywhere;
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
th:first-child.row-number,
td.row-number {
  min-width: 40px;
  width: 40px;
  color: #7b8575;
  text-align: center;
  background: #fbfcf9;
}
#preview-table thead {
  position: sticky;
  top: 0;
}
.table-note {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0 0;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.workspace-footer > div:first-child {
  font-size: 10px;
  color: var(--muted);
}
.footer-actions {
  display: flex;
  gap: 8px;
}
.workspace-footer .button {
  font-size: 12px;
  padding: 11px 15px;
  gap: 14px;
}
.message {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 7px;
  background: #eef4e5;
  color: var(--green);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.message.error {
  background: var(--error-bg);
  color: var(--error);
}
.report {
  margin: 22px 0;
  background: #f3f6ed;
  border: 1px solid #dbe4cf;
  border-radius: 9px;
  padding: 18px;
}
.report h3 {
  font-size: 13px;
  margin: 0 0 12px;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric b {
  display: block;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.metric span {
  font-size: 9px;
  color: var(--muted);
}
.report p,
.report summary {
  font-size: 10px;
  margin: 12px 0 0;
}
.report ul {
  font-size: 11px;
  padding-left: 18px;
  max-height: 160px;
  overflow: auto;
}
.report .text-button {
  font-size: 11px;
}
.report-warning {
  color: var(--amber);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 38px;
  padding-bottom: 64px;
  gap: 36px;
}
.benefits article + article {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.benefit-number {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
.benefits h3 {
  font-size: 14px;
  margin: 12px 0 7px;
  font-weight: 650;
}
.benefits p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  max-width: 290px;
}
.learn-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  padding-top: 60px;
  padding-bottom: 70px;
}
.learn-section h2,
.faq-section h2,
.closing h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
}
.learn-section > div > p:not(.eyebrow),
.faq-section > div > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.how-list {
  padding: 0;
  list-style: none;
  margin: 28px 0 0;
}
.how-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
}
.how-list b {
  font:
    11px ui-monospace,
    monospace;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  color: var(--green);
}
.how-list strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
}
.example-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.example-card h3 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.4px;
}
.example-card > p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.example-card .eyebrow {
  font-size: 8px;
}
.example-card table {
  font-size: 9px;
}
.example-card th,
.example-card td {
  min-width: 55px;
  padding: 8px 10px;
}
.example-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--muted);
}
.example-label span {
  font:
    9px LocalSans,
    system-ui,
    sans-serif;
  letter-spacing: 0;
}
.after-label {
  color: var(--green);
  margin-top: 24px;
}
.cell-dirty {
  background: #fff4d8;
}
.duplicate {
  background: #fff4ed;
}
.faq-section {
  border-top: 1px solid var(--line);
  padding-top: 60px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 100px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.faq-list summary {
  list-style: none;
  min-height: 44px;
  font-size: 13px;
  font-weight: 550;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary span {
  font-size: 20px;
  font-weight: 300;
}
.faq-list p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 6px 24px 18px 0;
}
.closing {
  background: #e9eedf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid #d9e1cd;
  border-bottom: 1px solid #d9e1cd;
}
.closing .eyebrow {
  font-size: 8px;
  margin-bottom: 10px;
}
.closing h2 {
  font-size: 24px;
  margin: 0;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.site-footer .brand {
  font-size: 12px;
}
.site-footer .brand svg {
  width: 23px;
  height: 23px;
}
.site-footer p {
  flex: 1;
  font-size: 10px;
  color: var(--muted);
}
.site-footer > a:not(.brand),
.site-footer > span {
  font-size: 9px;
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--bg);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 460px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 90px #152d3140;
}
dialog::backdrop {
  background: #162c2566;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 20px 0 16px;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
dialog .price {
  font-size: 42px;
  letter-spacing: -2px;
  margin: 20px 0;
}
dialog .price span {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
dialog .button {
  width: 100%;
  margin-top: 10px;
  white-space: normal;
}
dialog .dialog-close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 24px;
  background: transparent;
  color: var(--muted);
  width: 44px;
  height: 44px;
}
dialog #keep-free {
  display: flex;
  margin: auto;
}
#upgrade-feedback {
  color: var(--green);
  font-size: 12px;
}
.noscript {
  background: var(--lime);
  padding: 20px;
  text-align: center;
}
.privacy-page {
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 800px;
}
.privacy-page h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 550;
  letter-spacing: -2px;
}
.privacy-page h2 {
  font-size: 22px;
  margin-top: 36px;
}
.privacy-page p {
  color: var(--muted);
  line-height: 1.9;
}
.privacy-page .eyebrow {
  margin-top: 50px;
}
@media (min-width: 1400px) {
  .hero {
    padding-top: 58px;
    padding-bottom: 52px;
  }
  .hero h1 {
    font-size: 72px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .privacy-note {
    min-width: 280px;
    padding: 20px 34px 20px 18px;
  }
  .workspace-body {
    grid-template-columns: 255px minmax(0, 1fr);
  }
  .rules-panel {
    padding: 22px 18px;
  }
  .data-panel {
    padding: 20px;
  }
  .workspace-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-actions {
    justify-content: flex-end;
  }
  .learn-section {
    gap: 40px;
  }
  .faq-section {
    gap: 50px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .hero {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand {
    font-size: 15px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 40px;
    font-size: 13px;
  }
  .header-inner > .button {
    font-size: 12px;
    min-height: 40px;
    padding: 8px 12px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 32px;
    display: block;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -2.5px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 520px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .privacy-note {
    transform: none;
    margin: 26px 0 0;
    min-width: 0;
    max-width: 440px;
    padding: 15px 20px;
  }
  .privacy-note p {
    font-size: 11px;
  }
  .privacy-note p br {
    display: none;
  }
  .privacy-stamp {
    display: none;
  }
  .workspace-top {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .steps {
    font-size: 11px;
    gap: 10px;
  }
  .step-line {
    width: 20px;
  }
  .quota {
    font-size: 10px;
  }
  .workspace-body {
    display: flex;
    flex-direction: column;
  }
  .data-panel {
    order: 0;
    padding: 18px;
    display: contents;
  }
  .rules-panel {
    order: 1;
    padding: 20px 18px;
    border-right: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .panel-heading,
  .recipes {
    grid-column: 1/-1;
  }
  .panel-heading .tiny-tag {
    display: none;
  }
  .rule-group {
    padding: 14px 0;
  }
  .rule-group:first-of-type {
    grid-column: 1/-1;
  }
  .switch-row {
    min-height: 44px;
  }
  .switch-row strong {
    font-size: 13px;
  }
  .switch-row small {
    font-size: 11px;
  }
  .switch-row input {
    margin: 12px 4px 12px 12px;
  }
  .preserve-note {
    font-size: 11px;
  }
  .rule-details {
    grid-column: 1/-1;
  }
  .rule-details summary {
    font-size: 13px;
    min-height: 48px;
  }
  .merge-group {
    border-bottom: 1px solid var(--line);
  }
  .recipes {
    margin-top: 18px;
  }
  .recipes p {
    font-size: 12px;
  }
  .recipes input,
  .recipes select,
  .column-row input[type="text"],
  .date-rule select {
    font-size: 16px;
  }
  .recipe-actions .text-button {
    font-size: 13px;
  }
  .recipes h3 {
    font-size: 14px;
  }
  .data-toolbar {
    margin: 18px 18px 16px;
    order: 0;
  }
  .data-toolbar h2 {
    font-size: 14px;
  }
  .data-toolbar .button {
    font-size: 10px;
    padding: 8px;
  }
  .drop-zone {
    margin: 0 18px;
    order: 0;
    padding: 28px 14px;
  }
  .drop-zone p {
    font-size: 11px;
  }
  .drop-zone small {
    font-size: 9px;
  }
  .drop-zone h3 {
    font-size: 19px;
  }
  .drop-zone.compact {
    padding: 12px;
    gap: 8px;
  }
  .drop-zone.compact h3 {
    font-size: 11px;
  }
  .drop-zone.compact .button {
    font-size: 10px;
    gap: 5px;
  }
  .message {
    margin: 14px 18px 0;
    order: 0;
  }
  .file-list {
    margin: 12px 18px 0;
    order: 0;
  }
  .file-chip {
    font-size: 10px;
  }
  #preview-area {
    margin: 0 18px 20px;
    order: 0;
    min-width: 0;
  }
  .preview-toolbar {
    gap: 8px;
  }
  .preview-toolbar select {
    font-size: 16px;
    max-width: 100%;
    width: 100%;
  }
  .preview-toolbar > span {
    margin-left: 0;
  }
  .empty-note {
    margin: 0 18px;
    min-height: 115px;
    order: 0;
  }
  .report {
    order: 2;
    margin: 18px;
    padding: 16px;
  }
  .report-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metric span {
    font-size: 11px;
  }
  .report p,
  .report summary {
    font-size: 12px;
  }
  .workspace-footer {
    order: 3;
    margin: 0;
    padding: 18px;
    background: #fbfcf8;
    gap: 12px;
  }
  .footer-actions {
    justify-content: stretch;
  }
  .footer-actions .button {
    flex: 1;
    gap: 10px;
    font-size: 12px;
    padding: 11px;
  }
  .workspace-footer > div:first-child {
    font-size: 11px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .benefits article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .benefits h3 {
    font-size: 15px;
    margin-top: 8px;
  }
  .benefits p {
    max-width: none;
    font-size: 13px;
  }
  .learn-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .learn-section h2,
  .faq-section h2 {
    font-size: 30px;
  }
  .learn-section > div > p:not(.eyebrow),
  .faq-section > div > p:not(.eyebrow) {
    font-size: 14px;
  }
  .example-card {
    padding: 20px;
  }
  .example-card table {
    font-size: 10px;
  }
  .example-card > p {
    font-size: 12px;
  }
  .faq-list summary {
    font-size: 14px;
    min-height: 54px;
  }
  .faq-list p {
    font-size: 13px;
  }
  .closing {
    margin: 0 20px;
    padding: 24px;
    display: block;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .closing h2 {
    font-size: 26px;
  }
  .closing .button {
    margin-top: 22px;
  }
  .site-footer {
    gap: 12px;
    padding-top: 30px;
    padding-bottom: 26px;
  }
  .site-footer p {
    flex-basis: 100%;
    order: 3;
    margin: 0;
  }
  .site-footer > span {
    margin-left: auto;
  }
  .site-footer .brand {
    flex: 1;
  }
  .privacy-page h1 {
    font-size: 40px;
  }
  .check-row {
    min-height: 44px;
    font-size: 13px;
  }
  .column-actions .icon-button {
    width: 44px;
    height: 44px;
  }
  .field-hint {
    font-size: 12px;
  }
  .date-rule label {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .header-inner {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .brand {
    font-size: 14px;
  }
  .brand svg {
    width: 27px;
  }
  .rules-panel {
    gap: 0 14px;
  }
  .switch-row {
    gap: 4px;
  }
  .switch-row small {
    font-size: 10px;
  }
  .switch-row strong {
    font-size: 12px;
  }
  .drop-zone p {
    max-width: 200px;
  }
  .workspace-footer .button {
    font-size: 11px;
    padding: 10px;
    gap: 8px;
  }
  .report-metrics {
    gap: 14px;
  }
  .closing {
    margin: 0 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
#rule-file-control {
  margin-top: 14px;
}
#rule-file-control label {
  display: block;
  margin-bottom: 6px;
}
#rule-file {
  font-size: 12px;
}
@media (max-width: 760px) {
  .rules-panel {
    display: block;
  }
  .rules-panel .switch-row strong {
    font-size: 14px;
  }
  .rules-panel .switch-row small {
    font-size: 12px;
  }
  .rules-panel .switch-row {
    gap: 14px;
  }
  .rule-details summary {
    font-size: 14px;
  }
  .preserve-note {
    font-size: 12px;
  }
  .data-toolbar .button,
  .drop-zone.compact .button {
    min-height: 44px;
  }
  .file-chip button {
    width: 44px;
    min-height: 44px;
  }
  .segmented button {
    min-height: 44px;
  }
  .recipes .button {
    min-height: 44px;
  }
  #rule-file {
    font-size: 16px;
  }
  .switch-row input[role="switch"] {
    min-width: 34px;
  }
}
