:root {
  --paper: #fbf8f4;
  --ink: #5c5c5c;
  --muted: #7a736c;
  --sage: #6b7f62;
  --sage-soft: #e8eee4;
  --taupe: #c9b8ad;
  --line: #e6ddd4;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
}

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, #fff 0%, var(--paper) 55%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}

.page {
  box-sizing: border-box;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: clamp(0.75rem, 2.4vh, 1.75rem);
  padding: clamp(1rem, 3vh, 2rem) 1.25rem max(1.75rem, env(safe-area-inset-bottom));
}

.notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 44rem;
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--sage-soft);
  border: 1px solid #d5e0cf;
  border-radius: 999px;
  color: #4d5c47;
}

.notice-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.05rem;
}

.notice-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.notice-icon circle:first-child {
  fill: #fff;
}

.notice-icon circle:last-child {
  fill: var(--sage);
  stroke: none;
}

.notice p {
  margin: 0;
  font-size: 0.95rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  width: 100%;
  flex-shrink: 0;
}

.logo {
  width: auto;
  height: auto;
  max-width: min(24rem, 78vw);
  max-height: min(24rem, 48svh);
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

h1 {
  margin: 0.1rem 0 0.9rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: 0.01em;
  color: #5a5a5a;
}

.contact {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 0.12rem;
  font-size: 1.05rem;
}

.contact:hover,
.contact:focus-visible {
  color: var(--sage);
  border-bottom-color: var(--sage);
  outline: none;
}

.notice,
.site-footer {
  flex-shrink: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  margin-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.08rem;
  font-size: 0.88rem;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current="page"] {
  color: var(--sage);
  border-bottom-color: var(--sage);
  outline: none;
}

.page-legal {
  justify-content: flex-start;
  padding-top: 1.6rem;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 42rem;
  width: 100%;
  margin-bottom: 0.35rem;
  text-decoration: none;
  color: inherit;
}

.legal-brand img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.legal-brand span {
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #5a5a5a;
}

.legal {
  max-width: 42rem;
  width: 100%;
  text-align: left;
}

.legal h1 {
  margin: 0.4rem 0 1.35rem;
  text-align: left;
}

.legal h2 {
  margin: 1.85rem 0 0.55rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #4d5c47;
}

.legal p,
.legal li,
.legal dd,
.legal address {
  font-size: 0.98rem;
  color: var(--ink);
}

.legal p,
.legal ul {
  margin: 0 0 0.85rem;
}

.legal ul {
  padding-left: 1.15rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal address {
  font-style: normal;
  margin: 0 0 0.85rem;
}

.facts {
  display: grid;
  grid-template-columns: minmax(8.5rem, 11.5rem) 1fr;
  gap: 0.55rem 1.1rem;
  margin: 0 0 1.1rem;
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.facts dd {
  margin: 0;
}

.legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe);
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--sage);
  border-bottom-color: var(--sage);
  outline: none;
}

.page-legal .site-footer {
  margin-top: 2.2rem;
  padding-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .notice {
    border-radius: 1.1rem;
    align-items: flex-start;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .facts dt {
    margin-top: 0.55rem;
  }
}

@media (max-height: 740px) {
  .logo {
    max-height: min(18rem, 38svh);
  }

  h1 {
    margin-bottom: 0.7rem;
  }
}

@media (max-height: 560px) {
  .page {
    justify-content: flex-start;
  }

  .logo {
    max-height: min(14rem, 32svh);
  }
}
