:root {
  --wine: #5a1421;
  --wine-dark: #321017;
  --gold: #b8894d;
  --cream: #fffaf4;
  --cream-deep: #f2e5d8;
  --ink: #38251f;
  --muted: #6b5149;
  --line: #dcc8b5;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, #f8efe6 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--wine); font-weight: 650; }
a:hover { color: var(--wine-dark); }

.site-header {
  border-bottom: 1px solid rgba(90, 20, 33, .12);
  background: rgba(255, 250, 244, .94);
  backdrop-filter: blur(10px);
}
.header-inner, main, .footer-inner {
  width: calc(100% - 36px);
  max-width: 920px;
  margin: 0 auto;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: linear-gradient(145deg, var(--wine), var(--wine-dark));
  box-shadow: 0 8px 22px rgba(90, 20, 33, .18);
  font: 800 23px/1 Georgia, serif;
}
.brand-copy strong { display: block; line-height: 1.1; }
.brand-copy span { color: var(--muted); font-size: .78rem; }
nav { display: flex; flex-wrap: wrap; gap: 14px; }
nav a { font-size: .9rem; text-decoration: none; }

main { padding: 58px 0 70px; }
.hero {
  width: 100%;
  min-width: 0;
  padding: 42px;
  color: var(--cream);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 137, 77, .32), transparent 28%),
    linear-gradient(145deg, var(--wine), var(--wine-dark));
  box-shadow: 0 24px 70px rgba(50, 16, 23, .18);
}
.eyebrow { margin: 0 0 8px; color: #e6cda9; text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.18; color: var(--wine-dark); }
.hero h1 { margin: 0 0 14px; color: var(--cream); font-family: Georgia, serif; font-size: clamp(2rem, 6vw, 3.5rem); overflow-wrap: anywhere; }
.hero p { max-width: 720px; margin-bottom: 0; color: #f4e8dc; font-size: 1.06rem; }

.content-card {
  width: 100%;
  min-width: 0;
  margin-top: 28px;
  padding: 34px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 44px rgba(56, 37, 31, .07);
}
h2 { margin-top: 2.2rem; font-family: Georgia, serif; font-size: 1.65rem; }
h2:first-child { margin-top: 0; }
h3 { margin-top: 1.5rem; font-size: 1.1rem; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .35rem; }
.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #fff7ea;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  background: var(--wine);
  box-shadow: 0 10px 24px rgba(90, 20, 33, .18);
}
.button.secondary { color: var(--wine); background: var(--cream-deep); box-shadow: none; }
.meta { color: var(--muted); font-size: .9rem; }
code { padding: .12em .35em; border-radius: 5px; background: var(--cream-deep); }

footer { padding: 28px 0 40px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { font-size: .86rem; text-decoration: none; }

@media (max-width: 720px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  nav { gap: 10px; }
  main { padding-top: 28px; }
  .hero, .content-card { padding: 24px; border-radius: 20px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .content-card { overflow-wrap: anywhere; }
}
