:root {
  --sand-50: #faf8f5;
  --sand-100: #f5f2eb;
  --ink-900: #1c1917;
  --amber-600: #b45309;
  --amber-800: #78350f;
  --white: #ffffff;
  --stone-300: #e7e5e4;
  --heading-font: "Playfair Display", serif;
  --body-font: "Inter", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --container-max: 1200px;
  --container-pad-x: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgba(28, 25, 23, 0.08);
  --shadow-modal: 0 8px 30px rgba(28, 25, 23, 0.12);
  --transition-fast: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background-color: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-900);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-block-end: var(--space-4);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.25;
  margin-block-end: var(--space-3);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.5rem);
  line-height: 1.3;
  margin-block-end: var(--space-3);
}

h4 {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-block-end: var(--space-2);
}

h5,
h6 {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  margin-block-end: var(--space-2);
}

p {
  margin-block-end: var(--space-3);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--amber-600);
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--amber-800);
  text-decoration: underline;
  text-decoration-color: var(--amber-600);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

ul:not([class]),
ol:not([class]) {
  margin-block-end: var(--space-3);
  padding-inline-start: var(--space-4);
}

ul:not([class]) li,
ol:not([class]) li {
  margin-block-end: var(--space-1);
}

blockquote {
  margin-block-end: var(--space-3);
  padding-inline-start: var(--space-4);
  border-inline-start: 3px solid var(--amber-600);
  color: var(--ink-900);
  font-style: italic;
}

figure {
  margin-block-end: var(--space-3);
}

figcaption {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-900);
  opacity: 0.8;
  margin-block-start: var(--space-2);
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-radius: var(--radius-md);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber-600);
  outline-offset: 2px;
}

button:active {
  transform: scale(0.98);
}

input,
select,
textarea {
  border: none;
  border-bottom: 1px solid var(--stone-300);
  background-color: transparent;
  padding: var(--space-2) 0;
  border-radius: 0;
  transition: border-color var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--amber-600);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-3);
}

th,
td {
  padding: var(--space-2) var(--space-3);
  text-align: start;
  border-bottom: 1px solid var(--stone-300);
}

th {
  font-weight: 600;
  font-family: var(--body-font);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-x);
}

.section {
  padding-block: 4.5rem;
}

.surface-card {
  background-color: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
}

.surface-card > :last-child {
  margin-block-end: 0;
}

.surface-subtle {
  background-color: var(--sand-100);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.surface-subtle > :last-child {
  margin-block-end: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast),
    transform var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--amber-600);
  color: var(--white);
  border-color: var(--amber-600);
}

.btn-primary:hover {
  background-color: var(--amber-800);
  border-color: var(--amber-800);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--amber-600);
  border-color: var(--amber-600);
}

.btn-secondary:hover {
  background-color: var(--amber-600);
  color: var(--white);
  text-decoration: none;
}

.eyebrow {
  font-family: var(--body-font);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-800);
  margin-block-end: var(--space-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background-color: var(--sand-100);
  color: var(--amber-800);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
}

.nav-toggle {
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.flex-row > * {
  min-width: 0;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.flex-col > * {
  min-width: 0;
}

@media (min-width: 768px) {
  :root {
    --container-pad-x: 48px;
  }
}

@media (max-width: 767px) {
  .section {
    padding-block: 4rem;
  }
}
html, body {
  overflow-x: clip;
  max-width: 100%;
}

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