:root {
  --paper: #203461;
  --ink: #fff7f0;
  --muted: #faf1fc;
  --lilac: #d1b4e3;
  --peach: #f7a5ad;
  --butter: #fff1ad;
  --green: #06c755;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --sans: "Hiragino Sans", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper) url("night-paper.jpg") repeat center top / 760px auto; color: var(--ink); font: 16px/1.95 var(--sans); }
header, .hero, .detail, footer { width: min(90%, 1080px); margin-inline: auto; }
header { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
a { color: inherit; }
.brand { font: 21px var(--serif); text-decoration: none; }
nav { display: flex; gap: 24px; font-size: 13px; }
nav a { text-underline-offset: 5px; text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: clamp(430px, 70vh, 670px); object-fit: cover; object-position: 50% 45%; }
.words small { color: var(--muted); font-size: 13px; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(32px, 3.55vw, 54px); line-height: 1.52; margin: 18px 0; }
h2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.6; margin: 0 0 1em; }
.words p { margin: 0 0 28px; }
.cta { text-decoration: none; min-height: 52px; padding: 10px 26px; background: var(--green); color: #072912; border: 0; border-radius: 40px; font: 600 16px/1.5 var(--sans); cursor: pointer; }
.cta:hover { background: #24d46b; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 4px; }
.intro { max-width: 600px; margin: clamp(64px, 9vw, 120px) auto; width: 86%; }
blockquote { margin: 24px 0; font-size: clamp(16px, 1.7vw, 21px); }
.sign { display: block; text-align: right; font: 20px var(--serif); }
.detail { padding: 64px 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 12%; }
.detail ul { margin: 0; padding-inline-start: 1.2em; list-style: circle; }
.detail li { padding: 3px 0; }
.detail li::marker { color: var(--muted); font-size: .75em; }
.flow { width: min(86%, 600px); margin: 72px auto; }
.flow p { margin: 0 0 24px; }
footer { padding: 24px 0; font: 15px var(--serif); }
dialog { width: min(88%, 360px); background: var(--paper); color: var(--ink); border: 0; padding: 24px; }
dialog button { padding: 8px 18px; font: inherit; cursor: pointer; }

.hero {
  grid-template-areas: "title photo" "words photo";
  gap: 0 6%;
  padding: 42px 0 64px;
}
.headline { grid-area: title; align-self: end; }
h1 { font-size: clamp(36px, 4vw, 62px); line-height: 1.45; margin: 0; }
h1 em { font-style: normal; background: linear-gradient(transparent 76%, #966e9e 76%); }
.words { grid-area: words; align-self: start; padding-top: 22px; }
.words small { display: block; margin-top: 10px; }
.portrait {
  grid-area: photo;
  position: relative;
  isolation: isolate;
  width: min(100%, 440px);
  padding-bottom: 22px;
}
.portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 22px;
  border-radius: 50%;
  background: var(--peach);
  transform: translate(-5%, -2%);
}
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 46%; border-radius: 50%; }
.portrait figcaption {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) rotate(-2deg);
  display: flex; gap: .085em; color: var(--paper); font: 500 clamp(36px, 5vw, 68px)/1.15 var(--serif);
}
figcaption span { padding: .04em .13em .09em; background: var(--lilac); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; position: relative; }
.cta img { flex: none; }
.intro { max-width: none; width: 100%; background: #f9dee3; color: var(--paper); padding: 64px 7%; margin: 0; }
.intro .inner { max-width: 640px; margin: auto; }
.flow { text-align: center; }
h2 { color: var(--butter); }
.intro h2 { color: var(--paper); }
footer { text-align: center; }
@media (max-width: 680px) {
  header { min-height: 44px; }
  .brand { font-size: 17px; }
  nav a:last-child { display: none; }
  .hero { display: flex; flex-direction: column; padding: 12px 0 30px; gap: 16px; text-align: center; }
  .headline, .words { width: 100%; }
  h1 { font-size: clamp(23px, 6.6vw, 39px); line-height: 1.36; }
  .portrait { width: clamp(156px, 27svh, 255px); padding-bottom: 14px; }
  .portrait::before { bottom: 14px; }
  .portrait figcaption { font-size: clamp(30px, 4.7svh, 43px); }
  .words { padding: 0; }
  .words p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
  .words small { margin-top: 6px; font-size: 12px; }
  .cta { width: min(100%, 340px); }
  .intro { padding: 40px 7%; }
  .detail { display: block; padding: 40px 0; }
  .flow { margin: 20px auto 40px; }
  .wide { display: none; }
}

.cta { padding-inline: clamp(8px, 2vw, 26px); gap: 8px; }
.cta span {
  font-size: clamp(16px, 4.9vw, 20px);
  font-weight: 700;
  color: white;
  -webkit-text-stroke: 1px #171717;
  paint-order: stroke fill;
}
@media (max-width: 360px) {
  .cta { padding-inline: 4px; gap: 3px; }
  .flow { width: 90%; }
}

html, body { overflow-x: clip; }
header { min-height: 96px; }
.hero { padding: 56px 0 100px; gap: 0 7%; }
h1 { font-size: clamp(32px, 3vw, 46px); line-height: 1.65; }
.words { padding-top: 32px; }
.words p { margin-bottom: 32px; line-height: 2; }
.cta { min-height: 72px; padding-block: 16px; isolation: isolate; box-shadow: 0 6px 0 #079c48; }
.cta img { display: block; }
.cta span { white-space: nowrap; }
.inner { width: min(100%, 640px); margin-inline: auto; }
.intro { padding: 112px 8%; }
.intro h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.8; margin-bottom: 44px; }
.intro p { line-height: 2.2; margin: 0 0 32px; }
.sign { margin-top: 40px; }
.concerns { padding: 112px 8%; }
.concerns h2 { line-height: 1.8; margin-bottom: 40px; }
.concerns ul { list-style: none; padding: 0; margin: 0 0 40px; }
.concerns li { margin: 20px 0; padding-left: 18px; border-left: 4px solid var(--lilac); }
.concerns p { color: var(--muted); line-height: 2.1; }
.invitation { padding: 104px 8% 112px; background: #f6eaf2; color: var(--paper); text-align: center; }
.invitation h2 { color: var(--paper); line-height: 1.8; margin-bottom: 36px; }
.invitation p { line-height: 2.1; }
.cta-group { margin-top: 56px; }
.cta-group .cta-note { margin: 0 0 24px; font-size: 15px; }
.cta-group .cta-help { margin: 28px 0 0; font-size: 13px; color: #655975; }
footer { padding: 44px 0; text-align: center; }
@media (max-width: 680px) {
  header { min-height: 64px; }
  .hero { padding: 20px 0 64px; gap: 28px; }
  h1 { font-size: clamp(22px, 6vw, 32px); line-height: 1.65; }
  .portrait { width: clamp(152px, 24svh, 238px); padding-bottom: 0; }
  .portrait::before { bottom: 0; }
  .words { padding: 0; }
  .words p { font-size: 14px; line-height: 1.9; margin-bottom: 26px; }
  .cta { width: min(100%, 390px); min-height: 68px; }
  .cta span { font-size: clamp(15px, 4.4vw, 19px); }
  .intro, .concerns, .invitation { padding: 76px 7%; }
  .intro h2 { margin-bottom: 32px; }
  .intro p { line-height: 2.1; }
  .concerns li { margin-block: 28px; }
  .wide { display: none; }
}
@media (max-height: 650px) and (max-width: 680px) {
  header { min-height: 48px; }
  .hero { padding-top: 8px; gap: 16px; }
  .portrait { width: 135px; }
  .words p { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -8px -5px;
    background: #b6ffce;
    border-radius: inherit;
    filter: blur(18px);
    pointer-events: none;
    animation: soft-glow 3.2s ease-in-out infinite;
  }
  @keyframes soft-glow {
    0%, 100% { transform: scale(.98); opacity: .10; }
    50% { transform: scale(1.065, 1.2); opacity: .42; }
  }
}
