:root {
  --bg: #f5efe4;
  --bg-deep: #eadfce;
  --surface: rgba(255, 250, 243, 0.82);
  --surface-strong: #fff8ef;
  --text: #1d221b;
  --muted: #586056;
  --line: rgba(29, 34, 27, 0.12);
  --accent: #0f766e;
  --accent-strong: #0a4f49;
  --accent-warm: #d96b2b;
  --shadow: 0 24px 80px rgba(57, 43, 24, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 107, 43, 0.16), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.14), transparent 24%),
    linear-gradient(180deg, #f9f5ee 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 34, 27, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 34, 27, 0.024) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin: 4px 0 28px;
  background: rgba(255, 248, 239, 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: #fff8ef;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.top-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.hero,
.card,
.footer {
  background: var(--surface);
  border: 1px solid rgba(29, 34, 27, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: clamp(28px, 5vw, 44px);
  border-radius: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  max-width: 10ch;
}

.hero p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(29, 34, 27, 0.08);
  font-size: 0.94rem;
}

.content {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.card h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: 16px;
}

.card h3 {
  margin: 22px 0 10px;
  font-size: 1.06rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.75;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.notice {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 24px;
}

.footer p,
.footer a {
  margin: 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 20px, 980px);
    padding-top: 10px;
  }

  .topbar,
  .footer {
    display: grid;
  }

  .topbar {
    border-radius: 28px;
  }

  .hero,
  .card {
    padding: 22px 20px;
    border-radius: 26px;
  }

  h1 {
    max-width: none;
  }
}
