:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #66706a;
  --line: rgba(24, 33, 29, 0.13);
  --paper: #f3f1e9;
  --surface: rgba(255, 255, 255, 0.58);
  --accent: #2c6b51;
  --accent-soft: #a7c4b5;
  --warning: #8a4d22;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(167, 196, 181, 0.38), transparent 28rem),
    radial-gradient(circle at 10% 92%, rgba(255, 255, 255, 0.72), transparent 30rem),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom right, black, transparent 72%);
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding: clamp(24px, 6vw, 80px);
}

.notice {
  width: min(100%, 920px);
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(43, 59, 51, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.brand-name {
  letter-spacing: 0.16em;
  font-size: 14px;
  font-weight: 750;
}

.notice-copy {
  max-width: 700px;
  margin-top: clamp(72px, 12vw, 132px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  letter-spacing: -0.045em;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 640;
  line-height: 0.98;
}

.lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.65;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(56px, 9vw, 96px);
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(44, 107, 81, 0.11);
}

.text-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-header {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding-top: clamp(30px, 6vw, 64px);
}

.legal-page {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 124px) 0 100px;
}

.legal-page h1 {
  margin-bottom: 72px;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 8vw, 68px);
}

.legal-page section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin: 0 0 16px;
  letter-spacing: -0.018em;
  font-size: 20px;
  font-weight: 650;
}

.legal-page p,
.legal-page address {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-style: normal;
  line-height: 1.75;
}

.placeholder {
  color: var(--warning);
}

.legal-note {
  margin-top: 48px !important;
  padding: 20px 22px;
  border: 1px solid rgba(138, 77, 34, 0.26);
  border-radius: 14px;
  color: var(--warning) !important;
  background: rgba(255, 248, 238, 0.68);
}

.legal-footer {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 640px) {
  .page-shell {
    min-height: calc(100vh - 116px);
    padding: 16px;
  }

  .notice {
    padding: 28px 24px 32px;
    border-radius: 20px;
  }

  .notice-copy {
    margin-top: 72px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .site-footer {
    min-height: 116px;
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .legal-page h1 {
    margin-bottom: 52px;
    font-size: clamp(32px, 8vw, 44px);
  }
}

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