:root {
  --ink: #201b18;
  --charcoal: #171717;
  --muted: #6e645f;
  --paper: #f8f4ed;
  --cream: #fffaf2;
  --rose: #b86f6a;
  --rose-dark: #814541;
  --sage: #5f7a66;
  --moss: #263b30;
  --line: rgba(32, 27, 24, 0.14);
  --shadow: 0 24px 80px rgba(32, 27, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow-x: hidden;
}

.site-header {
  align-items: center;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255, 250, 242, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 72px;
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  color: #fffaf2;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  min-width: 0;
}

.menu-mark {
  height: 22px;
  left: 36px;
  position: absolute;
  top: 24px;
  width: 26px;
}

.menu-mark::before,
.menu-mark::after {
  background: #fffaf2;
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 26px;
}

.menu-mark::before {
  top: 4px;
}

.menu-mark::after {
  bottom: 4px;
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0)),
    var(--rose);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(184, 111, 106, 0.35);
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

.nav a {
  color: rgba(255, 250, 242, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.nav a:hover {
  color: #fffaf2;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.52), rgba(23, 23, 23, 0.18)),
    url("https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=1800&q=82") center / cover;
  clip-path: polygon(0 12%, 100% 0, 100% 84%, 0 100%);
  color: #fffaf2;
  display: flex;
  justify-content: center;
  min-height: 540px;
  overflow: hidden;
  padding: 112px 40px 126px;
  text-align: center;
}

.hero-inner {
  margin: 0 auto;
  max-width: 940px;
  width: min(100%, 1100px);
}

.eyebrow,
.section-label {
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5beb7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-family: Georgia, "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  max-width: none;
}

h1 span {
  display: inline-block;
}

.lead {
  color: rgba(255, 250, 242, 0.9);
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #06c755;
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.2);
  color: #fff;
}

.button-primary:hover {
  background: #05a847;
}

.button-secondary {
  background: rgba(255, 250, 242, 0.14);
  border: 1px solid rgba(255, 250, 242, 0.48);
  color: #fffaf2;
}

.button-secondary:hover {
  background: rgba(255, 250, 242, 0.22);
}

.notice-band {
  background: var(--moss);
  color: rgba(255, 250, 242, 0.92);
  padding: 18px 40px;
}

.notice-band p {
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto;
  max-width: 1100px;
}

.section {
  padding: 82px 40px;
}

.paper-panel {
  background: var(--cream);
  margin: 0 auto 72px;
  max-width: 1140px;
  position: relative;
}

.paper-panel::before,
.paper-panel::after {
  background: inherit;
  content: "";
  height: 48px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
}

.paper-panel::before {
  top: -26px;
  transform: skewY(-4deg);
  transform-origin: left top;
}

.paper-panel::after {
  bottom: -26px;
  transform: skewY(-4deg);
  transform-origin: right bottom;
}

.split-section {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin: 72px auto;
  max-width: 1140px;
}

.section h2,
.contact-section h2 {
  font-size: 34px;
  line-height: 1.32;
  margin: 0;
}

.text-column p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
}

.text-column p:last-child {
  margin-bottom: 0;
}

.muted-section {
  background: #f2eee7;
}

.section-heading {
  margin: 0 auto 32px;
  max-width: 1100px;
}

.policy-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1100px;
}

.policy-card {
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid rgba(32, 27, 24, 0.1);
  border-radius: 8px;
  min-height: 244px;
  padding: 24px;
}

.card-number {
  color: var(--sage);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 26px;
}

.policy-card h3 {
  font-size: 18px;
  line-height: 1.44;
  margin: 0 0 12px;
}

.policy-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.flow-section {
  background: var(--cream);
}

.concerns-section {
  background: #f9f3ea;
}

.concern-grid,
.consent-grid,
.search-grid,
.journal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1100px;
}

.concern-card,
.consent-card,
.search-card,
.journal-card {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(32, 27, 24, 0.1);
  border-radius: 8px;
  min-height: 190px;
  padding: 28px;
}

.concern-card h3,
.consent-card h3,
.search-card h3,
.journal-card h3 {
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.concern-card p,
.consent-card p,
.search-card p,
.journal-card p {
  color: var(--muted);
  margin: 0;
}

.search-section {
  background: #fff5eb;
}

.search-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.search-card {
  min-height: 234px;
}

.search-card > p {
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 14px;
}

.search-card a,
.related-links a {
  color: var(--sage);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.consent-section {
  background: #f6efe7;
}

.consent-card {
  min-height: 218px;
}

.journal-card > p {
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.journal-card a {
  color: var(--sage);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.outline-section {
  background: #fff7ec;
}

.outline-list {
  display: grid;
  gap: 0;
  margin: 0 auto;
  max-width: 980px;
}

.outline-list div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 20px 0;
}

.outline-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.outline-list dt {
  color: var(--rose-dark);
  font-weight: 900;
}

.outline-list dd {
  color: var(--muted);
  margin: 0;
}

.flow-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0;
}

.flow-list li {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 20px 0;
}

.flow-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.flow-list span {
  align-items: center;
  background: var(--sage);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.flow-list p {
  color: var(--muted);
  margin: 0;
}

.timeline-section {
  background: #f7f1e8;
}

.section-note {
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 720px;
}

.timeline-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0 auto;
  max-width: 980px;
  padding: 0;
}

.timeline-list li {
  display: grid;
  gap: 24px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 24px 0;
  position: relative;
}

.timeline-list li::after {
  background: var(--line);
  bottom: 0;
  content: "";
  height: 1px;
  left: 64px;
  position: absolute;
  right: 0;
}

.timeline-list li:last-child::after {
  display: none;
}

.timeline-list span {
  color: var(--rose-dark);
  font-family: Georgia, "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 42px;
  line-height: 1;
  padding-top: 3px;
  text-align: center;
}

.timeline-list h3 {
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.timeline-list p {
  color: var(--muted);
  margin: 0;
}

.faq-section {
  background: #fff8ef;
}

.faq-list {
  display: grid;
  gap: 0;
  margin: 0 auto;
  max-width: 980px;
}

.faq-list article {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list h3 {
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 8px;
}

.faq-list p {
  color: var(--muted);
  margin: 0;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.95), rgba(23, 23, 23, 0.74)),
    url("https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=1600&q=78") center / cover;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  color: #fffaf2;
  padding: 112px 40px 92px;
}

.contact-inner {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.contact-inner p {
  color: rgba(255, 250, 242, 0.86);
  margin: 18px 0 28px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-secondary {
  background: rgba(255, 250, 242, 0.12);
  border: 1px solid rgba(255, 250, 242, 0.46);
  box-shadow: none;
}

.contact-secondary:hover {
  background: rgba(255, 250, 242, 0.2);
}

.contact-email-note {
  font-size: 14px;
  line-height: 1.8;
}

.contact-email-note a {
  color: #fffaf2;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-note {
  background: rgba(255, 250, 242, 0.1);
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 8px;
  margin: 24px auto 0;
  padding: 22px;
  text-align: left;
}

.privacy-note h3 {
  color: #fffaf2;
  font-size: 18px;
  margin: 0 0 12px;
}

.privacy-note ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.privacy-note li {
  color: rgba(255, 250, 242, 0.86);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.privacy-note li::before {
  background: #f2b8a8;
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 11px;
  width: 6px;
}

.form-embed {
  background: rgba(255, 250, 242, 0.12);
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  margin-top: 30px;
  overflow: hidden;
}

.form-embed iframe {
  background: #fffaf2;
  border: 0;
  display: block;
  height: 740px;
  width: 100%;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 250, 242, 0.72);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 40px;
}

.site-footer p {
  font-size: 12px;
  margin: 0;
}

.subpage {
  padding: 80px 24px 20px;
}

.article-shell {
  color: var(--ink);
  max-width: 940px;
}

.article-shell h1 {
  color: var(--ink);
  font-size: 46px;
  line-height: 1.22;
  margin: 0 0 24px;
  text-align: left;
}

.article-shell h2 {
  font-size: 26px;
  line-height: 1.45;
  margin: 34px 0 10px;
}

.article-shell p {
  color: var(--muted);
  margin: 0 0 16px;
}

.article-lead {
  font-size: 18px;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-list article {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.article-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.article-list time {
  color: var(--rose-dark);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.article-list h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.article-list a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.article-cta {
  background: #f6efe7;
  border: 1px solid rgba(32, 27, 24, 0.1);
  border-radius: 8px;
  margin-top: 38px;
  padding: 24px;
}

.article-cta h2,
.related-links h2 {
  font-size: 24px;
  margin-top: 0;
}

.article-cta .button {
  margin-top: 8px;
}

.related-links {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding-top: 24px;
}

.related-links a {
  display: block;
  margin-top: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px 18px 58px;
  }

  .menu-mark {
    left: 20px;
    top: 20px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: normal;
    width: 100%;
  }

  .hero {
    clip-path: polygon(0 5%, 100% 0, 100% 92%, 0 100%);
    min-height: 640px;
    padding: 94px 22px 88px;
  }

  .hero-inner {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }

  h1 span {
    display: block;
  }

  .lead {
    font-size: 16px;
  }

  .section,
  .contact-section {
    padding: 64px 22px;
  }

  .paper-panel {
    margin-bottom: 54px;
  }

  .notice-band {
    padding: 16px 22px;
  }

  .split-section,
  .policy-grid,
  .concern-grid,
  .consent-grid,
  .search-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .section h2,
  .contact-section h2 {
    font-size: 28px;
  }

  .policy-card {
    min-height: 0;
  }

  .concern-card,
  .consent-card,
  .search-card,
  .journal-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .article-shell h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 13px;
  }

  .nav a {
    font-size: 11px;
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 300px;
  }

  .hero-inner,
  .notice-band p,
  .section-heading,
    .policy-grid,
  .concern-grid,
  .consent-grid,
  .search-grid,
  .journal-grid,
  .outline-list,
    .flow-list,
  .timeline-list,
  .faq-list,
  .contact-inner {
    max-width: 100%;
    width: 300px;
  }

  .form-embed iframe {
    height: 680px;
  }

  .paper-panel {
    max-width: 100%;
  }

  .paper-panel::before,
  .paper-panel::after {
    display: none;
  }

  .split-section {
    margin: 0 auto 44px;
    max-width: 100%;
    width: 300px;
  }

  .outline-list div {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 32px;
  }

  .timeline-list li {
    gap: 14px;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 22px 0;
  }

  .timeline-list li::after {
    left: 44px;
  }

  .timeline-list span {
    font-size: 34px;
  }

  .timeline-list h3 {
    font-size: 19px;
  }

  .article-shell {
    width: 300px;
  }

  .article-shell h1 {
    font-size: 30px;
  }

  .article-shell h2,
  .article-list h2 {
    font-size: 21px;
  }
}
