:root {
  --color-brand: #aa2f32;
  --color-brand-hover: #8f2528;
  --color-brand-soft: #cd6155;
  --color-brand-tint: #ffe4e1;
  --color-background: #faebd7;
  --color-background-soft: #fff7ef;
  --color-surface: #ffffff;
  --color-surface-muted: rgba(255, 255, 255, 0.62);
  --color-surface-subtle: #f0f0f0;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-text-strong: #222222;
  --color-border: #e0c1bc;
  --color-footer-link: #ffdede;
  --color-accent: #f4b400;
  --color-accent-soft: #ffd9b5;
  --color-divider: rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 16px 36px rgba(0, 0, 0, 0.14);
  --font-sans: "Segoe UI", Arial, sans-serif;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

main,
section,
article,
header,
footer,
nav {
  min-width: 0;
}

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

img,
video {
  height: auto;
}

iframe {
  border: 0;
}

p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
a {
  overflow-wrap: anywhere;
}

a {
  color: var(--color-brand);
}

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

::selection {
  background: var(--color-brand);
  color: var(--color-surface);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button,
.button,
[type="submit"] {
  background-color: var(--color-brand);
  color: var(--color-surface);
}

button:hover,
.button:hover,
[type="submit"]:hover {
  background-color: var(--color-brand-hover);
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.2;
  }

  input,
  textarea,
  select,
  button {
    font-size: 16px;
  }
}
