:root {
  --page: #f3f6f4;
  --panel: #ffffff;
  --ink: #172126;
  --muted: #63737a;
  --line: #d5dfdc;
  --accent: #2f7d57;
  --accent-strong: #1e5d41;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 90px;
}

.demo-hero,
.panel {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(23, 33, 38, 0.1);
}

.demo-hero {
  padding: 34px;
}

.panel {
  padding: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 680px;
  font-size: 48px;
}

h2 {
  font-size: 28px;
}

p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

button,
select,
input,
textarea {
  font: inherit;
}

.primary-action,
select,
input[type="text"],
textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
}

.primary-action {
  min-height: 42px;
  padding: 0 18px;
  background: var(--accent-strong);
  color: #ffffff;
  font-weight: 800;
}

a {
  color: var(--accent-strong);
  font-weight: 750;
}

label {
  color: var(--ink);
  font-weight: 650;
}

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

.form-grid label {
  display: grid;
  gap: 6px;
}

.wide {
  grid-column: 1 / -1;
}

select,
input[type="text"],
textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fbfdfc;
  color: var(--ink);
}

[contenteditable="true"] {
  min-height: 80px;
  padding: 14px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: #f8fbfa;
}

.dense p {
  max-width: 860px;
}
