:root {
  --bg: #fff9fc;
  --surface: #ffffff;
  --surface-soft: #fff0f8;
  --ink: #30243a;
  --muted: #6f6378;
  --pink: #ff35a8;
  --magenta: #c600bd;
  --lavender: #c88cf1;
  --aqua: #62ddd7;
  --mint: #b9f1df;
  --peach: #ffc8bb;
  --line: #ead8e8;
  --shadow: 0 18px 50px rgba(90, 41, 100, .12);
  --radius: 30px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 53, 168, .11), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(98, 221, 215, .18), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h1 { max-width: 22ch; font-size: clamp(2.45rem, 3.9vw, 4.15rem); margin-bottom: 16px; }
h2 { max-width: 25ch; font-size: clamp(2.15rem, 3.6vw, 3.9rem); margin-bottom: 18px; }
h3 { max-width: 34ch; font-size: clamp(1.25rem, 1.65vw, 1.7rem); margin-bottom: 12px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(198, 0, 189, .12);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.brand img { width: 62px; height: 62px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { font-size: .83rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a:hover { color: var(--magenta); }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--surface-soft);
  font: inherit;
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 27px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, var(--pink), var(--magenta));
  box-shadow: 0 11px 0 rgba(198, 0, 189, .15);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .075em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-3px); box-shadow: 0 15px 0 rgba(198, 0, 189, .13); }
.button-small { min-height: 46px; padding: 12px 20px; white-space: nowrap; }
.button:focus-visible, a:focus-visible, summary:focus-visible, .menu-toggle:focus-visible { outline: 4px solid rgba(98, 221, 215, .55); outline-offset: 4px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
  height: calc(100svh - 84px);
  margin: 0 auto;
  padding: 14px max(24px, calc((100% - 1440px) / 2));
  overflow: hidden;
  border-bottom: 1px solid rgba(198, 0, 189, .16);
  background: linear-gradient(120deg, rgba(255,255,255,.82), rgba(255,240,248,.88) 54%, rgba(185,241,223,.46));
  box-shadow: 0 24px 55px rgba(90, 41, 100, .1);
}

.hero-content { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.hero-art {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  height: min(520px, calc(100svh - 116px));
  border: 10px solid rgba(255, 255, 255, .9);
  border-radius: 48% 52% 30% 70% / 37% 32% 68% 63%;
  background: url("assets/anime/hero.png") center 32% / cover no-repeat;
  box-shadow: var(--shadow), 28px 28px 0 var(--mint), -20px -18px 0 rgba(255, 53, 168, .17);
}

.hero::after {
  content: "✦";
  position: absolute;
  right: 42%;
  bottom: 11%;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--magenta);
  background: var(--peach);
  font-size: 1.5rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--magenta);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .19em;
}

.eyebrow::before { content: ""; width: 44px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--aqua)); }
.hero h1 span { color: var(--pink); }
.hero-content > p:nth-of-type(n+3) { display: none; }
.hero p { max-width: 760px; margin-bottom: 9px; color: var(--muted); font-size: clamp(.9rem, 1.08vw, 1.02rem); line-height: 1.46; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 16px; }
.text-link { color: var(--magenta); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.inline-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--magenta);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.inline-cta:hover { color: var(--purple); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.trust-row span::before { content: "◆"; margin-right: 8px; color: var(--aqua); }

.section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(36px, 4vw, 56px) 0;
}

.section-wide { width: min(1540px, calc(100% - 32px)); }
.section-heading { max-width: 950px; margin-bottom: 30px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered h2 { margin-right: auto; margin-left: auto; }
.section-heading p, .prose p, .visual-copy p, .creation-copy p, .adult-section p { color: var(--muted); font-size: 1.04rem; }

.character-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 1500px; margin: 0 auto; }
.character-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.character-card.featured { transform: none; }
.character-card img { width: 100%; height: 300px; object-fit: cover; }
.character-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 14px 14px;
  color: #fff;
  background: linear-gradient(transparent, rgba(38, 14, 47, .93));
}
.character-copy span { display: inline-block; margin-bottom: 7px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; color: #fff; background: rgba(198, 0, 189, .58); font-size: .6rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.character-copy h3 { margin-bottom: 5px; font-size: 1.35rem; }
.character-copy p { overflow: hidden; margin-bottom: 0; color: rgba(255,255,255,.85); font-size: .72rem; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.center-action { display: flex; justify-content: center; margin-top: 24px; }
.second-gallery { width: min(1540px, calc(100% - 48px)); padding: 36px 28px; border: 1px solid rgba(198,0,189,.1); border-radius: 36px; background: linear-gradient(135deg, rgba(255,199,187,.2), rgba(185,241,223,.35)); box-shadow: var(--shadow); }
.second-gallery .section-heading { margin-bottom: 26px; }
.second-gallery .character-card { box-shadow: 0 14px 34px rgba(90,41,100,.13); }

.soft-section {
  width: min(1380px, calc(100% - 48px));
  margin-top: 12px;
  padding-inline: clamp(28px, 5vw, 74px);
  border: 1px solid rgba(198, 0, 189, .1);
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 199, 187, .3), rgba(185, 241, 223, .55));
  box-shadow: var(--shadow);
}
.split-intro { display: grid; grid-template-columns: 1fr; gap: 4px; max-width: 980px; margin-bottom: 32px; }
.split-intro .prose { max-width: 900px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-card { display: grid; grid-template-columns: 48px 1fr; align-content: start; gap: 6px 16px; padding: 22px; border: 1px solid rgba(198, 0, 189, .13); border-radius: 24px; background: rgba(255,255,255,.74); }
.feature-card > span { grid-row: 1 / span 8; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--pink), var(--magenta)); font-weight: 900; }
.feature-card h3, .feature-card p { grid-column: 2; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.visual-story, .creation-section, .adult-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.visual-collage { position: relative; display: grid; place-items: center; min-height: 520px; isolation: isolate; }
.visual-collage::after { content: "✦"; position: absolute; right: 7%; bottom: 7%; z-index: 2; display: grid; place-items: center; width: 58px; aspect-ratio: 1; border-radius: 50%; color: var(--magenta); background: var(--peach); font-size: 1.5rem; box-shadow: var(--shadow); }
.visual-main { position: relative; overflow: hidden; width: min(86%, 510px); height: 480px; margin: 0; border: 10px solid rgba(255,255,255,.94); border-radius: 28px; background: #fff; box-shadow: var(--shadow), 20px 20px 0 var(--mint), -16px -14px 0 rgba(255,53,168,.2); }
.visual-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }

.generator-section { width: min(1380px, calc(100% - 48px)); padding-inline: clamp(28px, 5vw, 70px); border-radius: 44px; background: var(--surface); box-shadow: var(--shadow); }
.generator-section > .section-heading { max-width: 1080px; margin: 0 auto 30px; text-align: center; }
.generator-section > .section-heading .eyebrow { justify-content: center; }
.generator-section > .section-heading h2 { margin-right: auto; margin-left: auto; }
.generator-section > .section-heading p { max-width: 980px; margin-right: auto; margin-left: auto; }
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(150deg, #fff, var(--surface-soft)); }
.step > b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--pink), var(--magenta)); }
.step > div { columns: 3; column-gap: 20px; column-fill: balance; }
.step h3, .step .inline-cta { column-span: all; }
.step p { break-inside: avoid; margin-bottom: 12px; color: var(--muted); font-size: .93rem; line-height: 1.55; }

.creation-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.creation-images img { width: 100%; height: 360px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.creation-images img:last-child { margin-top: 32px; }
.adult-section { grid-template-columns: 110px 1fr; gap: 28px; width: min(1180px, calc(100% - 48px)); padding: 24px 30px; border-radius: 28px; color: #fff; background: linear-gradient(130deg, #5b2469, var(--magenta)); box-shadow: var(--shadow); }
.adult-section > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; }
.adult-section .eyebrow, .adult-section h2 { grid-column: 1 / -1; }
.adult-section .eyebrow { margin-bottom: 0; }
.adult-section h2 { max-width: none; margin-bottom: 4px; font-size: clamp(1.85rem, 2.5vw, 2.65rem); }
.adult-section p { margin-bottom: 0; color: rgba(255,255,255,.86); font-size: .86rem; line-height: 1.5; }
.adult-badge { display: grid; place-items: center; width: 104px; aspect-ratio: 1; margin: auto; border: 4px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.12); font: 900 2.75rem/1 "Arial Black", sans-serif; }

.faq-section { max-width: 1050px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 55px 23px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 17px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--magenta); background: var(--surface-soft); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 880px; padding: 0 52px 22px 0; color: var(--muted); }

.final-cta { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(34px, 6vw, 80px); width: min(1380px, calc(100% - 48px)); margin: 20px auto 48px; padding: clamp(30px, 5vw, 66px); border-radius: 46px; background: linear-gradient(120deg, var(--mint), var(--peach) 52%, #f9c5ee); box-shadow: var(--shadow); }
.final-cta img { width: 100%; height: 420px; object-fit: cover; border: 9px solid rgba(255,255,255,.7); border-radius: 44px 44px 130px 44px; }
.final-cta p { color: #55435d; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px clamp(18px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.footer-brand img { width: 54px; height: 54px; }
.site-footer p { margin: 0; font-size: .84rem; }

@media (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .75rem; }
  .hero { grid-template-columns: 1.1fr .9fr; gap: 28px; }
  .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .character-card.featured { transform: none; }
  .step > div { columns: 2; }
}

@media (min-width: 781px) and (max-height: 700px) {
  .hero .eyebrow, .hero .trust-row { display: none; }
  .hero h1 { max-width: 22ch; font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
  .hero-art { height: calc(100svh - 110px); }
}

@media (max-width: 780px) {
  h1 { font-size: clamp(2.6rem, 13vw, 4.7rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.35rem); }
  .site-header { min-height: 74px; padding: 8px 16px; }
  .brand img { width: 52px; height: 52px; }
  .brand span { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 74px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; text-align: center; }
  .site-header > .button { margin-left: 0; min-height: 42px; padding: 10px 15px; font-size: .72rem; }
  .hero { grid-template-columns: 1fr; gap: 14px; width: 100%; height: calc(100svh - 74px); padding: 16px 14px 22px; text-align: center; }
  .hero-art { grid-column: 1; grid-row: 1; width: min(100% - 20px, 430px); height: min(270px, 32svh); margin: 0 auto; border-width: 7px; border-radius: 45% 55% 26px 26px; background-position: center 30%; box-shadow: var(--shadow), 10px 10px 0 var(--mint); }
  .hero-content { grid-column: 1; grid-row: 2; }
  .hero-content > p:nth-of-type(n+3) { display: none; }
  .hero h1 { max-width: 18ch; margin-right: auto; margin-left: auto; font-size: clamp(2rem, 8vw, 3rem); }
  .hero p { margin-right: auto; margin-left: auto; font-size: .88rem; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-actions { margin-top: 14px; }
  .trust-row { margin-top: 17px; }
  .hero::after { display: none; }
  .eyebrow { justify-content: center; }
  .hero-actions, .trust-row { justify-content: center; }
  .section, .section-wide, .soft-section, .generator-section, .final-cta { width: min(100% - 28px, 680px); }
  .section { padding: 34px 0; }
  .soft-section, .generator-section { padding-inline: 22px; }
  .character-grid { display: flex; overflow-x: auto; gap: 14px; padding: 4px 2px 18px; scroll-snap-type: x mandatory; }
  .character-card { flex: 0 0 58%; min-height: 300px; scroll-snap-align: center; }
  .character-card img { height: 300px; }
  .split-intro, .visual-story, .creation-section, .adult-section, .final-cta { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .visual-collage { min-height: 430px; }
  .visual-collage::after { right: 5%; bottom: 5%; width: 48px; }
  .visual-main { width: min(84%, 410px); height: 400px; }
  .creation-images img { height: 310px; }
  .creation-copy, .visual-copy, .adult-section { text-align: center; }
  .adult-section { padding: 24px 20px; }
  .adult-section > div:last-child { grid-template-columns: 1fr; }
  .adult-badge { width: 90px; font-size: 2.35rem; }
  .step > div { columns: 1; }
  .final-cta { padding: 25px; text-align: center; }
  .final-cta img { height: 330px; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .site-header > .button { max-width: 128px; }
  .hero-art { height: min(220px, 28svh); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .character-card { flex-basis: 72%; }
  .visual-collage { min-height: 370px; }
  .visual-main { width: 88%; height: 340px; border-width: 7px; box-shadow: var(--shadow), 12px 12px 0 var(--mint), -10px -9px 0 rgba(255,53,168,.2); }
  .step { grid-template-columns: 1fr; }
  .creation-images { grid-template-columns: 1fr; }
  .creation-images img:last-child { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
