:root {
  color-scheme: light;
  --ink: #16251f;
  --muted: #56635d;
  --paper: #f3efe6;
  --card: #fffdf8;
  --accent: #ef5b3f;
  --line: rgba(22, 37, 31, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
}

nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 0.88rem; text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  padding: 112px 0 100px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  top: 44px;
  right: 4%;
  width: 360px;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: 48% 52% 57% 43% / 39% 46% 54% 61%;
  content: "";
  transform: rotate(12deg);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 107px;
  right: 11%;
  width: 220px;
  height: 220px;
  border-radius: 42% 58% 43% 57%;
  background: var(--accent);
  content: "";
  opacity: 0.9;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.lead {
  max-width: 580px;
  margin: 36px 0 34px;
  color: var(--muted);
  font-size: 1.04rem;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.principles article { padding: 42px 36px 46px 0; }
.principles article + article { padding-left: 36px; border-left: 1px solid var(--line); }
.principles span { color: var(--accent); font-size: 0.72rem; font-weight: 800; }
.principles h2 { margin: 12px 0 7px; font-size: 1.15rem; }
.principles p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.guides { padding: 112px 0; }
.section-heading { margin-bottom: 42px; }
.section-heading h2,
.policy h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  padding: 14px 14px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.card-art {
  display: grid;
  min-height: 240px;
  place-items: center;
  border-radius: 13px;
  overflow: hidden;
  font-family: Georgia, serif;
  font-size: 3rem;
  letter-spacing: -0.05em;
}

.card-art span { transform: rotate(-8deg); }
.art-one { background: #d7e5d8; }
.art-two { background: #f0c8b9; }
.art-three { background: #d9d3e8; }
.card .tag { margin: 21px 8px 5px; color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.card h3 { margin: 0 8px 12px; font-size: 1.18rem; line-height: 1.5; }
.card > p:not(.tag) { margin: 0 8px 18px; color: var(--muted); font-size: 0.9rem; }
.status { margin: 0 8px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); font-size: 0.78rem; font-weight: 700; }

.policy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  margin-bottom: 112px;
  padding: 70px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
}

.policy-copy p { margin-top: 0; color: rgba(255, 255, 255, 0.72); }
.policy-copy p + p { margin-top: 18px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 44px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-brand { grid-row: span 2; color: var(--ink); }
footer p { margin: 0; text-align: right; }
.copyright { opacity: 0.7; }

@media (max-width: 800px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  nav { gap: 16px; }
  .hero { padding: 76px 0 72px; }
  .hero::after, .hero::before { opacity: 0.16; }
  .lead { max-width: 92%; }
  .principles, .card-grid, .policy { grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 28px 4px; border-left: 0; }
  .principles article + article { border-top: 1px solid var(--line); }
  .guides { padding: 78px 0; }
  .policy { gap: 32px; margin-bottom: 78px; padding: 40px 26px; }
}

@media (max-width: 520px) {
  .site-header nav a:first-child { display: none; }
  h1 { font-size: 3.15rem; }
  .card-art { min-height: 190px; }
  footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-row: auto; }
  footer p { text-align: left; }
}
