html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
}
[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}
[hidden] {
  display: none;
}

:root {
  --primary: #14524b;
  --primary-strong: #0d3a35;
  --accent: #c8502b;
  --danger: #a12a1a;
  --success: #1d6b3a;

  --surface-base: #fff8f2;
  --surface-raised: #ffffff;
  --surface-peach: #fee0cd;
  --surface-mist: #dfe6e9;
  --surface-straw: #ffeaa7;
  --surface-deep: #14332f;
  --surface-overlay: rgba(20, 51, 47, 0.55);

  --text-main: #23201d;
  --text-soft: #4d4640;
  --text-invert: #f1f6f2;
  --text-invert-link: #ffd9bf;

  --action-primary: #14524b;
  --action-hover: #0d3a35;
  --action-disabled: #7d8a87;
  --action-on: #ffffff;

  --border-soft: rgba(35, 32, 29, 0.16);

  --space-1: 0.618em;
  --space-2: 1em;
  --space-3: 1.618em;
  --space-4: 2.618em;
  --space-5: 4.236em;

  --radius-card: 0.78em;
  --radius-btn: 0.44em;
  --radius-pill: 62em;
  --shadow-rest: 0 0.33em 1.1em rgba(35, 32, 29, 0.08);
  --shadow-lift: 0 0.9em 2.2em rgba(35, 32, 29, 0.14);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5em;
}

body {
  font-family: var(--font-body);
  font-size: 1.125em;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--surface-base);
  padding-bottom: 5em;
}

h1 {
  font-size: 1.8em;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 0;
}

h2 {
  font-size: 1.6em;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}

h3 {
  font-size: 1.1em;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 var(--space-1);
}

p {
  margin: 0 0 var(--space-2);
}

ul,
ol {
  margin: 0 0 var(--space-2);
  padding-left: 1.2em;
}

a {
  color: var(--action-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--action-hover);
}

img {
  max-width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 0.17em solid var(--accent);
  outline-offset: 0.17em;
}

@media (min-width: 56em) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2.3em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
