:root {
  --bg: #eceef3;
  --surface: #f5f1eb;
  --text: #1b1f2f;
  --muted: #626878;
  --brand: #f18a00;
  --brand-deep: #d66a00;
  --brand-dark: #1d2a57;
  --line: #dacdb8;
  --focus: #0f4c81;
  --shadow-soft: 0 12px 30px rgba(16, 24, 52, 0.12);
}

html {
  zoom: 0.9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at -10% -20%, #f4e7cc 0%, transparent 60%),
    radial-gradient(900px 450px at 120% -15%, #f0e7d9 0%, transparent 58%),
    var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

main {
  padding: 1.4rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
  margin-bottom: 1.1rem;
}

.hero {
  background:
    radial-gradient(420px 180px at 88% 15%, rgba(241, 138, 0, 0.09), transparent 70%),
    linear-gradient(135deg, #f6f4f1, #eee2cc);
}

h1,
h2,
h3 {
  font-family: "Merriweather", serif;
  line-height: 1.3;
  margin-top: 0;
  color: #1d2a57;
}

h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h2 {
  font-size: clamp(1.12rem, 2.25vw, 1.55rem);
}

h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.lead {
  color: var(--muted);
  max-width: 84ch;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  border: 1px solid #cdbfa8;
  border-radius: 0.75rem;
  padding: 0.7rem 0.82rem;
  font: inherit;
  background: #f1f0ee;
  color: #17213f;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

button,
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary,
button.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(241, 138, 0, 0.28);
}

.btn-secondary,
button.btn-secondary {
  border-color: #cebfa8;
  color: #213164;
  background: #f4eee3;
}

.summary-card {
  background: linear-gradient(145deg, #203470, #273f83);
  color: #fff;
  border-radius: 1.2rem;
  padding: 1rem;
  min-height: 100%;
  box-shadow: 0 14px 30px rgba(29, 42, 87, 0.24);
}

.summary-card h2,
.summary-card h3 {
  color: #fff;
}

.summary-card p {
  margin: 0.25rem 0;
  color: #eef2ff;
}

.pill {
  border-radius: 999px;
  background: #f6ead8;
  border: 1px solid #e6cda6;
  padding: 0.35rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #24315f;
}

.meta {
  color: #5f677d;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
