:root {
  --paper: #f5f0e7;
  --paper-soft: #fffdf8;
  --ink: #182621;
  --ink-soft: #42534c;
  --ink-faint: #5a6862;
  --forest: #234b3f;
  --terracotta: #ad4c31;
  --line: rgba(24, 38, 33, 0.16);
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 8%, rgba(203, 216, 201, 0.72), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest);
  font-weight: 700;
  text-decoration-color: rgba(35, 75, 63, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

.panel a,
footer a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

:where(a, button):focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 231, 0.88);
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.brand {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand a:first-child {
  flex: 0 1 230px;
}

.brand-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
}

.brand a:last-child {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

main {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 24px clamp(72px, 10vw, 120px);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 24px 64px rgba(42, 52, 47, 0.1);
  padding: clamp(28px, 6vw, 68px);
}

.panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--forest) 0 68%, var(--terracotta) 68% 100%);
  content: "";
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.96;
}

h2 {
  margin: 42px 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.15;
}

p,
li {
  color: var(--ink-soft);
}

li + li {
  margin-top: 8px;
}

.notice,
.rights-callout {
  border-left: 4px solid var(--terracotta);
  border-radius: 0 16px 16px 0;
  background: rgba(173, 76, 49, 0.07);
  padding: 18px 22px;
}

.notice {
  margin: 30px 0 8px;
}

.notice p,
.rights-callout {
  margin-bottom: 0;
}

.notice strong,
.rights-callout strong {
  color: var(--ink);
}

.meta {
  margin-bottom: 34px;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

footer p {
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  header {
    padding-inline: 14px;
  }

  .brand a:last-child {
    font-size: 0;
  }

  .brand a:last-child::after {
    content: "Contact";
    font-size: 0.78rem;
  }

  main {
    padding-inline: 14px;
  }

  .panel {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
