@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Shippori+Mincho:wght@500;600;700&display=swap');

:root {
  --ink: #211a18;
  --ink-soft: #625650;
  --paper: #f8f2e7;
  --paper-deep: #efe3d1;
  --paper-light: #fffaf2;
  --vermillion: #b94232;
  --vermillion-dark: #8e2d24;
  --sakura: #dfa6aa;
  --sakura-light: #f1cbd0;
  --moss: #68725b;
  --line: rgba(74, 56, 47, 0.16);
  --shadow: 0 24px 70px rgba(82, 53, 40, 0.13);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 10%, rgba(223, 166, 170, 0.16), transparent 23rem),
    radial-gradient(circle at 93% 33%, rgba(185, 66, 50, 0.08), transparent 26rem),
    var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  z-index: 999;
}

::selection {
  color: var(--paper-light);
  background: var(--vermillion);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 100;
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--vermillion);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(33, 26, 24, .7);
  border-radius: 999px;
  color: var(--ink) !important;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 68px 0 106px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--vermillion-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
.display-serif {
  font-family: "Shippori Mincho", Georgia, serif;
  text-wrap: balance;
}

h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(55px, 7.3vw, 100px);
  font-weight: 600;
  letter-spacing: -.052em;
  line-height: .94;
}

.hero-copy {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff9f1;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(33, 26, 24, .18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--vermillion-dark);
  box-shadow: 0 16px 34px rgba(142, 45, 36, .22);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 250, 242, .48);
}

.button svg {
  width: 17px;
  height: 17px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #776a64;
  font-size: 12px;
}

.hero-note span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 5px rgba(104, 114, 91, .1);
}

.art-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.art-halo {
  position: absolute;
  width: min(100%, 530px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 250, 242, .95), rgba(239, 227, 209, .7) 55%, rgba(223, 166, 170, .18));
  box-shadow: inset 0 0 0 1px rgba(112, 87, 74, .09), var(--shadow);
}

.kokeshi-hero {
  position: relative;
  z-index: 3;
  width: min(89%, 470px);
  overflow: visible;
  filter: drop-shadow(0 32px 24px rgba(65, 43, 34, .17));
  animation: doll-float 6s ease-in-out infinite;
}

.kokeshi-hero .face-eye,
.kokeshi-hero .mouth,
.kokeshi-hero .flower-line,
.kokeshi-hero .kimono-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kokeshi-hero .blossom {
  transform-box: fill-box;
  transform-origin: center;
  animation: blossom-breathe 4s ease-in-out infinite alternate;
}

.kokeshi-hero .blossom:nth-of-type(2n) {
  animation-delay: -1.8s;
}

.sakura-branch {
  position: absolute;
  z-index: 1;
  right: -115px;
  top: -40px;
  width: 490px;
  opacity: .34;
  transform: rotate(-7deg);
}

.sakura-branch .petal-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: branch-bloom 5.4s ease-in-out infinite alternate;
}

.petal-field {
  position: absolute;
  inset: -80px -40px;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.falling-petal {
  position: absolute;
  top: -42px;
  width: var(--size, 13px);
  height: var(--size, 13px);
  opacity: 0;
  animation: petal-fall var(--duration, 10s) linear var(--delay, 0s) infinite;
}

.falling-petal svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 5px rgba(120, 68, 72, .12));
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #877971;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--ink-soft), transparent);
  animation: cue-pulse 1.8s ease-in-out infinite;
}

section {
  position: relative;
}

.intro-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, .33);
}

.intro-strip .shell {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.micro-feature {
  padding: 27px 30px;
  border-right: 1px solid var(--line);
}

.micro-feature:first-child {
  padding-left: 0;
}

.micro-feature:last-child {
  border-right: 0;
}

.micro-feature strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Shippori Mincho", Georgia, serif;
  font-size: 18px;
}

.micro-feature span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section-pad {
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.section-heading p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.step-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, .55);
  box-shadow: 0 12px 40px rgba(91, 62, 48, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 66, 50, .28);
  box-shadow: 0 22px 52px rgba(91, 62, 48, .09);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 82px;
  color: var(--vermillion-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.step-icon {
  width: 45px;
  height: 45px;
  padding: 10px;
  border-radius: 50%;
  background: var(--paper-deep);
}

.step-card h3 {
  margin: 0 0 11px;
  font-size: 27px;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.feature-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fdf6ec;
  background: var(--ink);
}

.feature-panel-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 620px;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 76px);
}

.feature-copy .eyebrow {
  color: var(--sakura-light);
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(41px, 5vw, 67px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.feature-copy > p {
  margin: 22px 0 0;
  color: rgba(255, 248, 237, .68);
  font-size: 16px;
  line-height: 1.75;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 248, 237, .86);
  font-size: 14px;
}

.detail-item::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--sakura);
}

.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 48%, rgba(223, 166, 170, .18), transparent 32%),
    linear-gradient(145deg, #2f2623, #201b19);
}

.feature-visual::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(247, 224, 203, .12);
  border-radius: 50%;
}

.study-doll {
  position: relative;
  z-index: 2;
  width: min(70%, 360px);
  opacity: .94;
}

.callout-label {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 248, 237, .8);
  font-size: 11px;
  letter-spacing: .06em;
}

.callout-label::before {
  content: "";
  width: 48px;
  height: 1px;
  background: rgba(241, 203, 208, .65);
}

.callout-one {
  top: 26%;
  right: 8%;
}

.callout-two {
  left: 5%;
  top: 54%;
  flex-direction: row-reverse;
}

.callout-three {
  right: 8%;
  bottom: 22%;
}

.manifesto {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.manifesto-mark {
  position: sticky;
  top: 50px;
  min-height: 450px;
  display: grid;
  place-items: center;
}

.enso {
  width: min(100%, 390px);
  opacity: .82;
}

.manifesto-copy blockquote {
  margin: 0;
  font-family: "Shippori Mincho", Georgia, serif;
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -.035em;
  line-height: 1.18;
}

.manifesto-copy blockquote em {
  color: var(--vermillion);
  font-style: normal;
}

.manifesto-copy p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.cta-section {
  padding: 28px 0 112px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(36px, 7vw, 76px);
  border: 1px solid rgba(121, 75, 62, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #f3dddb, #f7eadb 58%, #efe0cf);
  box-shadow: var(--shadow);
}

.cta-card::after {
  content: "桜";
  position: absolute;
  right: 2%;
  bottom: -44%;
  color: rgba(185, 66, 50, .06);
  font-family: "Shippori Mincho", serif;
  font-size: 300px;
  line-height: 1;
  pointer-events: none;
}

.cta-card h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 4.7vw, 65px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.cta-card p {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-brand p {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--vermillion);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8a7d76;
  font-size: 11px;
}

/* Legal / support pages */
.page-hero {
  padding: 78px 0 55px;
}

.page-hero-inner {
  max-width: 830px;
}

.page-hero h1 {
  font-size: clamp(52px, 7vw, 88px);
}

.page-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.policy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 70px;
  padding: 48px 0 112px;
  border-top: 1px solid var(--line);
}

.policy-aside {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.policy-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.policy-body {
  min-width: 0;
}

.policy-body section {
  margin-bottom: 48px;
}

.policy-body h2 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -.02em;
}

.policy-body p,
.policy-body li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.policy-body p {
  margin: 0 0 16px;
}

.policy-body ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.policy-body li + li {
  margin-top: 8px;
}

.policy-body a {
  color: var(--vermillion-dark);
  text-underline-offset: 3px;
}

.notice-box {
  margin: 0 0 48px;
  padding: 20px 22px;
  border: 1px solid rgba(185, 66, 50, .18);
  border-radius: 16px;
  background: rgba(223, 166, 170, .09);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.support-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  padding: 48px 0 112px;
  border-top: 1px solid var(--line);
}

.support-card,
.faq-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, .52);
}

.support-card h2,
.faq-card h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.support-card p,
.faq-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--vermillion-dark);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
}

@keyframes doll-float {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-13px) rotate(.5deg); }
}

@keyframes blossom-breathe {
  from { transform: scale(.94) rotate(-2deg); opacity: .82; }
  to { transform: scale(1.06) rotate(2deg); opacity: 1; }
}

@keyframes branch-bloom {
  from { transform: scale(.93); opacity: .75; }
  to { transform: scale(1.08); opacity: 1; }
}

@keyframes petal-fall {
  0% { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  8% { opacity: .85; }
  50% { transform: translate3d(var(--drift, 70px), 47vh, 0) rotate(210deg); }
  100% { transform: translate3d(calc(var(--drift, 70px) * -.7), 102vh, 0) rotate(470deg); opacity: .08; }
}

@keyframes cue-pulse {
  0%, 100% { opacity: .2; transform: scaleY(.7); transform-origin: top; }
  50% { opacity: .8; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 42px;
  }

  .hero-grid,
  .feature-panel-grid,
  .manifesto,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .art-stage {
    min-height: 570px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 250px;
  }

  .step-number {
    margin-bottom: 48px;
  }

  .manifesto-mark {
    position: relative;
    top: 0;
    min-height: 320px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .policy-aside {
    max-width: 500px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding-top: 16px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 36px 0 82px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .art-stage {
    min-height: 470px;
  }

  .art-halo {
    width: 96%;
  }

  .sakura-branch {
    right: -175px;
    top: -55px;
    width: 440px;
  }

  .intro-strip .shell {
    grid-template-columns: 1fr;
  }

  .micro-feature,
  .micro-feature:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .micro-feature:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 82px 0;
  }

  .feature-panel {
    border-radius: 24px;
  }

  .feature-copy {
    padding: 40px 26px;
  }

  .feature-visual {
    min-height: 460px;
  }

  .callout-label::before {
    width: 28px;
  }

  .cta-section {
    padding-bottom: 82px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    flex-direction: column;
  }

  .page-hero {
    padding: 52px 0 38px;
  }

  .policy-layout,
  .support-grid {
    padding-bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .petal-field {
    display: none;
  }
}
