:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #f1ece4;
  --text: #1b2430;
  --muted: #5b6675;
  --border: rgba(27, 36, 48, 0.12);
  --primary: #e86a2f;
  --primary-contrast: #ffffff;
  --success: #2f9e72;
  --warning: #e4a23a;
  --danger: #d64545;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 6px 16px rgba(27, 36, 48, 0.12);
  --shadow-md: 0 18px 40px rgba(27, 36, 48, 0.16);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --focus-ring: 0 0 0 3px rgba(232, 106, 47, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #fff6e8 0%, #f6f3ee 45%, #eef2f6 100%);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}

h4 {
  font-size: 1.2rem;
  line-height: 1.3;
}

p {
  margin-top: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 180ms ease-in-out;
}

a:hover,
a:focus {
  color: #c85721;
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

input,
select,
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface-2);
}

tbody tr:hover {
  background: rgba(232, 106, 47, 0.04);
}
