css

/* ─────────────────────────────────────────────────────────────────────────────
   Lamcraft PMC Insert Generator — Stylesheet
   Aesthetic: refined utilitarian. Funeral-home professional.
   Single typeface stack: Georgia serif throughout.
───────────────────────────────────────────────────────────────────────────── */

/* ── Reset & base ─────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink:         #1a1a1a;
  --ink-mid:     #444444;
  --ink-light:   #767676;
  --rule:        #d4d0cb;
  --bg:          #f5f3ef;
  --bg-card:     #ffffff;
  --bg-inset:    #f0ede8;
  --accent:      #2c4a6e;
  --accent-dark: #1a2f46;
  --accent-pale: #e8eef5;
  --warn-bg:     #fdf6e3;
  --warn-border: #c8a84b;
  --danger:      #8b2020;
  --success:     #1a5c35;
  --success-bg:  #eaf4ee;
  --radius:      3px;
  --shadow:      0 1px 4px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.05);
  --font:        Georgia, 'Times New Roman', serif;
  --font-ui:     Georgia, 'Times New Roman', serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

/* ── Site header ──────────────────────────────────────────────────────────── */

.site-header {
  background-color: var(--accent);
  border-bottom: 3px solid var(--accent-dark);
  padding: 0 24px;
}

.site-header__inner {
  max-width: 760px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__logo {
  font-family: var(--font);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.site-header__title {
  font-family: var(--font);
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ── Main layout ──────────────────────────────────────────────────────────── */

main {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Card ─────────────────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
}

.card__heading {
  font-family: var(--font);
  font-size: 20px;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card__heading--sm {
  font-size: 15px;
  margin-bottom: 12px;
}

.card__sub {
  font-size: 14px;
  color: var(--ink-mid);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 560px;
}

/* Instructions card */

.card--instructions {
  background: var(--bg-inset);
  border-color: var(--rule);
  box-shadow: none;
  padding: 24px 32px;
}

.card--instructions-inline {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-mid);
  padding: 16px 20px;
}

.instructions-list {
  list-style: decimal;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 2;
}

.instructions-list strong {
  color: var(--ink);
}

/* ── Form fields ──────────────────────────────────────────────────────────── */

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.field-label {
  font-size: 13px;
  font-weight: bold;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.field-hint {
  font-size: 11px;
  font-weight: normal;
  color: var(--ink-light);
  font-style: italic;
}

.field-input {
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-inset);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  line-height: 1.5;
}

.field-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
  background: #ffffff;
}

.field-input::placeholder {
  color: var(--ink-light);
}

.field-input--textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 11px 24px;
  letter-spacing: 0.01em;
  transition: background-color 0.15s, opacity 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn--primary:hover:not(:disabled) {
  background-color: var(--accent-dark);
  box-shadow: 0 2px 8px rgba(44,74,110,0.25);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover:not(:disabled) {
  background-color: var(--accent-pale);
}

.btn--ghost {
  background-color: transparent;
  color: var(--ink-mid);
  border: 1px solid var(--rule);
  padding: 7px 14px;
}

.btn--ghost:hover:not(:disabled) {
  background-color: var(--bg-inset);
  color: var(--ink);
}

.btn--sm {
  font-size: 13px;
  padding: 7px 14px;
}

/* ── Action row ───────────────────────────────────────────────────────────── */

.action-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* ── Status messages ──────────────────────────────────────────────────────── */

.status {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  margin-top: 12px;
  line-height: 1.5;
}

.status[hidden] { display: none; }

.status--info {
  background: var(--accent-pale);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.status--error {
  background: #fdf0f0;
  border-color: var(--danger);
  color: var(--danger);
}

.status--success {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

/* ── Alerts ───────────────────────────────────────────────────────────────── */

.alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.alert[hidden] { display: none; }

.alert strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.alert ul {
  padding-left: 18px;
}

.alert ul li + li {
  margin-top: 4px;
}

.alert--warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: #5a4a10;
}

.alert--warn strong {
  color: #7a620a;
}

.alert--info {
  background: var(--accent-pale);
  border: 1px solid #b0c4de;
  color: var(--accent-dark);
}

.alert--info strong {
  color: var(--accent);
}

/* ── Screen B header ──────────────────────────────────────────────────────── */

.screen-b-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.screen-b-header .card__heading {
  margin-bottom: 0;
}

/* ── Meta row ─────────────────────────────────────────────────────────────── */

.meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* ── Confidence badge ─────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.badge--high {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #a8d5b8;
}

.badge--medium {
  background: #fef9e7;
  color: #7a620a;
  border: 1px solid #f0d060;
}

.badge--low {
  background: #fdf0f0;
  color: var(--danger);
  border: 1px solid #e0a0a0;
}

.method-label {
  font-size: 12px;
  color: var(--ink-light);
  font-style: italic;
}

/* ── Horizontal rule ──────────────────────────────────────────────────────── */

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 24px 0;
}

/* ── Site footer ──────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 18px 24px;
  text-align: center;
}

.site-footer p {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 0.02em;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  main {
    padding: 20px 16px 40px;
  }

  .card {
    padding: 24px 20px;
  }

  .card--instructions {
    padding: 18px 20px;
  }

  .screen-b-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
```