:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #151514;
  --muted: #6c675f;
  --line: #ded8ce;
  --panel: #ffffff;
  --accent: #c8ff4d;
  --accent-ink: #213100;
  --cyan: #1fb6a6;
  --coral: #ff6b55;
  --blue: #315bdc;
  --shadow: 0 24px 80px rgba(40, 34, 24, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#tool,
#preview,
#use-cases,
#privacy,
#faq {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(21, 21, 20, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(21, 21, 20, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(21, 21, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.top-nav a {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.top-nav a {
  color: var(--muted);
}

.top-nav a:hover {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(52px, 8vw, 98px) clamp(18px, 4vw, 56px) 36px;
}

.hero-copy {
  max-width: 640px;
  padding-top: clamp(110px, 11vw, 165px);
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 780;
}

.lede {
  max-width: 570px;
  margin: 24px 0 0;
  color: #48443e;
  font-size: clamp(1.02rem, 1.8vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(21, 21, 20, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #3c3832;
  font-weight: 650;
}

.tool-shell {
  position: relative;
  padding: 14px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.tool-shell::before {
  content: "";
  position: absolute;
  inset: -10px 34px auto auto;
  width: 44%;
  height: 10px;
  background: var(--accent);
  border-radius: 999px 999px 0 0;
}

.drop-zone {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(200, 255, 77, 0.18), rgba(31, 182, 166, 0.12)),
    #f7f7ef;
  border: 2px dashed rgba(21, 21, 20, 0.32);
  border-radius: var(--radius);
  color: var(--ink);
  text-align: center;
  transition:
    border-color 150ms ease,
    transform 150ms ease,
    background 150ms ease;
}

.tool-shell.has-files .drop-zone {
  min-height: 132px;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  justify-items: start;
  padding: 20px 24px;
  text-align: left;
}

.tool-shell.has-files .drop-icon {
  grid-row: span 3;
  width: 52px;
  height: 62px;
  margin-bottom: 0;
  box-shadow: 5px 5px 0 var(--accent);
  font-size: 0.82rem;
}

.tool-shell.has-files .drop-title {
  font-size: 1.3rem;
}

.tool-shell.has-files .drop-subtitle,
.tool-shell.has-files .drop-note {
  margin-top: 0;
}

.drop-zone.is-dragover {
  border-color: var(--blue);
  background:
    linear-gradient(135deg, rgba(200, 255, 77, 0.38), rgba(31, 182, 166, 0.2)),
    #ffffff;
  transform: translateY(-2px);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.drop-icon {
  display: inline-grid;
  width: 74px;
  height: 88px;
  place-items: center;
  margin-bottom: 14px;
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 8px 8px 18px 8px;
  box-shadow: 8px 8px 0 var(--accent);
  color: var(--coral);
  font-weight: 900;
}

.drop-title,
.drop-subtitle,
.drop-note {
  display: block;
}

.drop-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 840;
}

.drop-subtitle {
  margin-top: 4px;
  color: var(--blue);
  font-weight: 720;
}

.drop-note {
  max-width: 440px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.upload-feedback {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.upload-feedback p {
  margin: 0;
}

.upload-feedback strong {
  color: var(--accent);
}

.upload-feedback-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clear-files-button,
.file-remove-button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 760;
}

.clear-files-button:hover,
.file-remove-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.feedback-link {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.feedback-link a {
  color: var(--accent);
  font-weight: 760;
}

.file-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.preset-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.preset-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(21, 21, 20, 0.14);
  border-radius: 999px;
  background: #f6f2e9;
  color: #38342f;
  font-size: 0.86rem;
  font-weight: 760;
}

.advanced-rules {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.advanced-rules summary {
  display: inline-flex;
  cursor: pointer;
  color: var(--blue);
  font-weight: 820;
}

.advanced-rules .helper {
  margin-bottom: 10px;
}

.compact-button {
  min-height: 36px;
  margin: 10px 0 0;
  padding: 0 12px;
}

.file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.mode-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 820;
}

.mode-tab:hover {
  color: #fff;
}

.mode-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.mode-panels {
  display: grid;
}

.mode-panel {
  min-width: 0;
}

.template-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.template-panel .panel-heading {
  display: block;
}

.template-panel .template-controls {
  min-width: 0;
}

.panel {
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(21, 21, 20, 0.08);
  border-radius: var(--radius);
}

.panel-heading,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.rule-list {
  display: none;
  gap: 10px;
  margin-top: 18px;
}

.rules-panel.show-rules .rule-list {
  display: grid;
}

.rule-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(150px, 0.9fr) minmax(120px, 1fr) 38px;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #f8f5ef;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.rule-row button {
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(21, 21, 20, 0.16);
  border-radius: 7px;
  background: #fff;
  color: var(--coral);
  font-weight: 900;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  color: #3f3b36;
  font-size: 0.78rem;
  font-weight: 760;
}

.text-input,
.select-input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(21, 21, 20, 0.18);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.text-input:focus,
.select-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 91, 220, 0.16);
}

.helper {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.template-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.template-chips button {
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 20, 0.14);
  border-radius: 999px;
  background: #f6f2e9;
  color: #3e3932;
  font-size: 0.82rem;
  font-weight: 680;
}

.zone-panel {
  display: grid;
  gap: 12px;
}

.zone-panel .panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.zone-actions,
.zone-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.zone-actions {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: start;
  gap: 8px;
}

.zone-actions .compact-button {
  margin-top: 0;
  padding: 0 11px;
  white-space: nowrap;
}

.zone-controls label {
  width: min(260px, 100%);
}

.area-field-builder {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f5ef;
}

.zone-status {
  flex: 1;
  min-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.template-viewer {
  position: relative;
  max-height: min(68vh, 640px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ebe7df;
}

.template-viewer canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.selection-layer {
  position: absolute;
  top: 0;
  left: 0;
  cursor: crosshair;
  touch-action: none;
}

.zone-box {
  position: absolute;
  border: 2px solid var(--blue);
  border-radius: 6px;
  background: rgba(49, 91, 220, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.zone-box.is-draft {
  border-style: dashed;
  background: rgba(200, 255, 77, 0.2);
}

.zone-box-label {
  position: absolute;
  top: 50%;
  z-index: 1;
  max-width: 180px;
  overflow: hidden;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
}

.zone-box.label-right .zone-box-label {
  left: calc(100% + 6px);
}

.zone-box.label-left .zone-box-label {
  right: calc(100% + 6px);
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px 6px 11px;
  border: 1px solid rgba(21, 21, 20, 0.14);
  border-radius: 999px;
  background: #f6f2e9;
  color: #38342f;
  font-size: 0.84rem;
  font-weight: 720;
}

.zone-pill button {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(21, 21, 20, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--coral);
  font-weight: 900;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 42px;
  border-radius: 7px;
  font-weight: 800;
}

.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 4px 4px 0 var(--accent);
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.secondary-button,
.ghost-button {
  border: 1px solid rgba(21, 21, 20, 0.16);
  background: #fff;
  color: var(--ink);
}

.ghost-button {
  padding: 0 12px;
}

.full-width {
  width: 100%;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px clamp(18px, 4vw, 56px) 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
}

.status-strip div {
  display: grid;
  gap: 2px;
  min-height: 92px;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}

.status-strip strong {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1;
}

.status-strip span {
  font-weight: 760;
}

.preview-section,
.faq,
.content-section {
  padding: clamp(44px, 7vw, 72px) clamp(18px, 4vw, 56px);
}

.preview-section {
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.section-highlight {
  background-color: rgba(200, 255, 77, 0.16);
  box-shadow: inset 0 0 0 2px rgba(49, 91, 220, 0.12);
}

.compact-content {
  padding-top: clamp(34px, 5vw, 58px);
}

.section-summary {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.mini-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.mini-card h3,
.copy-columns h3,
.article-card h2,
.article-card h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

.mini-card p,
.copy-columns p,
.article-card p,
.article-card li {
  color: var(--muted);
}

.mini-card a,
.article-card a,
.footer-links a {
  color: var(--blue);
  font-weight: 760;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid rgba(21, 21, 20, 0.08);
}

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

.copy-columns p {
  margin: 8px 0 0;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 56px) 34px;
}

.landing-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.landing-panel {
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--accent);
}

.landing-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 56px);
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.toc a {
  color: var(--muted);
  font-weight: 680;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
}

.article-stack {
  display: grid;
  gap: 14px;
}

.article-card {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.article-card p:last-child,
.article-card ul:last-child,
.landing-panel p:last-child {
  margin-bottom: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 clamp(18px, 4vw, 56px) clamp(44px, 7vw, 72px);
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.cta-band p {
  margin: 8px 0 0;
}

.cta-band .primary-button {
  min-width: 190px;
  background: var(--ink);
  text-align: center;
  text-decoration: none;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.empty-preview {
  display: grid;
  min-height: 250px;
  place-items: center;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  text-align: center;
}

.table-wrap {
  margin-top: 22px;
  max-height: none;
  overflow-x: auto;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
}

.is-hidden {
  display: none;
}

table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f5f0e8;
  color: #4b453d;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: #2c2925;
  font-size: 0.92rem;
}

.cell-input {
  width: 100%;
  min-width: 130px;
  padding: 8px 9px;
  border: 1px solid rgba(21, 21, 20, 0.14);
  border-radius: 7px;
  background: #fffdfa;
}

.filename-input {
  min-width: 260px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(31, 182, 166, 0.14);
  color: #075e56;
  font-weight: 780;
}

.status-pill.warn {
  background: rgba(255, 107, 85, 0.12);
  color: #9a291a;
}

.warnings {
  color: #8a2b20;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 6vw, 54px) clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}

.privacy-band .kicker {
  color: var(--accent);
}

.privacy-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(21, 21, 20, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    padding-top: 0;
  }

  .tool-grid,
  .privacy-band,
  .faq-grid,
  .use-case-grid,
  .split-content,
  .landing-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .rule-row button {
    width: 100%;
  }

  .panel-heading,
  .section-heading,
  .download-actions,
  .site-footer,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .zone-panel .panel-heading {
    grid-template-columns: 1fr;
  }

  .zone-actions {
    grid-template-columns: 1fr;
  }

  .copy-columns {
    grid-template-columns: 1fr;
  }

  .download-actions button {
    width: 100%;
  }

  .file-list li,
  .area-field-builder {
    grid-template-columns: 1fr;
  }
}
