:root {
  --color-canvas: #f6f4ef;
  --color-surface: #ffffff;
  --color-text: #1d2528;
  --color-muted: #657275;
  --color-line: #d8d6ce;
  --color-accent: #285f70;
  --color-accent-soft: #e6f0f2;
  --color-warm: #8c5f2f;
  --shadow-soft: 0 18px 45px rgba(18, 31, 35, 0.08);
  --radius: 8px;
  --shell: min(1120px, calc(100vw - 32px));
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-text);
  background: var(--color-canvas);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #173f4c;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 2.75rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

p {
  color: var(--color-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  h1 {
    font-size: 2rem;
  }
}
