:root {
  --bg: #f2efeb;
  --surface: #fffdfa;
  --text: #1f2833;
  --muted: #5f6975;
  --line: #d0d8de;
  --brand: #2f6f74;
  --brand-strong: #25585d;
  --brand-soft: #e6efec;
  --radius: 16px;
  --layout-pad: clamp(14px, 2.3vw, 40px);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 14% 10%, rgba(203, 184, 169, 0.28), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(136, 168, 160, 0.20), transparent 30%),
    var(--bg);
  position: relative;
  isolation: isolate;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

.page-main {
  min-height: calc(100vh - 180px);
  position: relative;
  z-index: 0;
}

.page-main > * {
  margin-top: 0;
  margin-bottom: 0;
}

.page-main > * + * {
  margin-top: 0;
}

.site-footer {
  position: relative;
  z-index: 0;
}

.page-hero {
  padding: 2rem 0 0.4rem;
}

.page-hero__content {
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  box-shadow: 0 12px 32px rgba(24, 34, 46, 0.08);
}

.page-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.page-hero__title {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.page-hero__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.template-note {
  padding: 0 0 1rem;
}

.template-note p {
  margin: 0;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 0;
  color: var(--muted);
  font-size: 0.96rem;
  padding: 0.9rem 1rem;
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: 2.6rem;
  }

  .page-hero__content {
    padding: 1.4rem;
  }
}
