:root {
  --pink: #ff3e86;
  --pink-dark: #e92a73;
  --coral: #ff785a;
  --purple: #7a5cff;
  --ink: #21172d;
  --muted: #6d6574;
  --wash: #fff7fb;
  --line: #eee6f1;
  --shadow: 0 22px 60px rgba(88, 46, 105, .14);
}

* { box-sizing: border-box; }
.seo-section { max-width: 1080px; margin: auto; padding: 64px 30px; line-height: 1.9; }
.seo-section h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.5; margin: 0 0 24px; }
.seo-section h3 { font-size: 1.08rem; line-height: 1.6; }
.seo-section p { color: var(--muted); }
.seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.seo-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--wash); }
.content-note { font-size: .85rem; }
.text-link { color: var(--pink-dark); font-weight: 700; text-underline-offset: 4px; }
.faq-section { padding-top: 20px; }
.faq-section details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-section summary { cursor: pointer; font-weight: 700; line-height: 1.7; }
.faq-section details p { margin-bottom: 0; }
.site-footer { padding: 32px 24px; text-align: center; background: var(--wash); }
.site-footer a { color: var(--ink); text-underline-offset: 4px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 20px; }
.site-footer p { font-size: .8rem; color: var(--muted); }
@media (max-width: 800px) { .seo-grid { grid-template-columns: 1fr; gap: 16px; } .seo-section { padding: 40px 20px; } }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, label { -webkit-tap-highlight-color: transparent; }

.nav {
  height: 76px;
  max-width: 1180px;
  margin: auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 900 1.45rem/1 "Nunito", sans-serif; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--pink), var(--purple)); border-radius: 13px; box-shadow: 0 8px 20px rgba(255,62,134,.3); }
.nav-link { color: var(--muted); font-weight: 700; text-decoration: none; }

.hero {
  overflow: clip;
  min-height: calc(100svh - 76px);
  max-width: 1180px;
  margin: auto;
  padding: 42px 30px 70px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 74px;
  align-items: center;
}
.eyebrow { display: inline-block; color: var(--pink); font: 900 .78rem/1 "Nunito", sans-serif; letter-spacing: .16em; }
h1 { margin: 16px 0 20px; font-size: clamp(2.8rem, 5vw, 4.75rem); line-height: 1.13; letter-spacing: -.045em; }
h1 span { color: transparent; background: linear-gradient(100deg, var(--pink) 10%, var(--coral) 53%, var(--purple)); -webkit-background-clip: text; background-clip: text; }
.lead { max-width: 570px; margin: 0 0 28px; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.creator { padding: 18px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.style-row { display: flex; gap: 8px; margin-bottom: 14px; }
.style-chip { border: 0; padding: 9px 15px; border-radius: 999px; color: #776d7c; background: #f7f2f8; font: 700 .86rem/1 "M PLUS Rounded 1c", sans-serif; cursor: pointer; transition: .2s ease; }
.style-chip.active { color: #fff; background: var(--ink); }
.upload { min-height: 78px; padding: 13px 16px; display: flex; align-items: center; gap: 14px; border: 2px solid var(--pink); border-radius: 18px; background: linear-gradient(100deg, #fff, #fff5fa); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.upload:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255,62,134,.15); }
.upload-icon { flex: 0 0 45px; height: 45px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--pink), var(--coral)); border-radius: 14px; font-size: 1.8rem; }
.upload-text { display: grid; gap: 4px; }
.upload-text strong { font-size: 1.02rem; }
.upload-text small { color: var(--muted); font-size: .75rem; }
.upload-arrow { margin-left: auto; color: var(--pink); font-size: 2rem; }
.privacy { margin-top: 10px; color: #8b818f; font-size: .73rem; text-align: center; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.image-card picture { display: block; width: 100%; }
.image-card picture img { height: auto; }
.image-card { position: relative; width: min(100%, 520px); padding: 14px; border-radius: 44px; background: linear-gradient(145deg, #fff 25%, #ffeaf4); box-shadow: 0 28px 80px rgba(123,66,143,.2); transform: rotate(1.8deg); }
.image-card::before { content: ""; position: absolute; inset: -15px; z-index: -1; border: 2px solid #ffd1e3; border-radius: 52px; transform: rotate(-4deg); }
.image-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 33px; }
.mini-label { position: absolute; right: -18px; bottom: 32px; padding: 11px 17px; color: #fff; background: var(--purple); border: 4px solid #fff; border-radius: 999px; font: 800 .8rem/1 "Nunito", sans-serif; box-shadow: 0 10px 24px rgba(122,92,255,.25); transform: rotate(-4deg); }
.spark { position: absolute; z-index: 2; font-weight: 900; }
.spark-one { left: -10px; top: 9%; color: var(--pink); font-size: 2.7rem; animation: float 3s ease-in-out infinite; }
.spark-two { right: -8px; top: 22%; color: var(--coral); font-size: 1rem; }

.how { min-height: 92svh; padding: 86px 30px 64px; text-align: center; background: radial-gradient(circle at 12% 30%, #ffe8f2 0 7%, transparent 7.2%), radial-gradient(circle at 90% 72%, #eeeaff 0 9%, transparent 9.2%), var(--wash); }
.section-heading h2 { margin: 12px 0 44px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.035em; }
.steps { max-width: 1000px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; min-height: 250px; padding: 30px 26px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 14px 36px rgba(77,44,88,.07); }
.step.featured { border-color: #ffc6da; transform: translateY(-10px); box-shadow: 0 20px 45px rgba(255,62,134,.12); }
.step-no { position: absolute; top: 19px; left: 22px; color: #c7bccb; font: 900 .76rem/1 "Nunito", sans-serif; letter-spacing: .1em; }
.step-icon { width: 68px; height: 68px; margin: 12px auto 20px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg, #fff0f6, #f1edff); font-size: 2rem; }
.step h3 { margin: 0 0 10px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.bottom-cta { margin-top: 44px; min-width: 290px; padding: 17px 27px; border: 0; border-radius: 17px; color: #fff; background: linear-gradient(100deg, var(--pink), var(--coral)); box-shadow: 0 14px 30px rgba(255,62,134,.28); font: 800 1rem/1 "M PLUS Rounded 1c", sans-serif; cursor: pointer; transition: transform .2s; }
.bottom-cta:hover { transform: translateY(-2px); }
.bottom-cta span { margin-left: 12px; }
.fineprint { margin: 12px 0 0; color: #978c9b; font-size: .75rem; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 20; padding: 12px 18px; color: #fff; background: var(--ink); border-radius: 999px; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s; font-size: .85rem; box-shadow: 0 12px 30px rgba(33,23,45,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes float { 50% { transform: translateY(-10px) rotate(12deg); } }

@media (max-width: 800px) {
  .nav { height: 66px; padding: 0 20px; }
  .hero { min-height: auto; padding: 32px 20px 60px; grid-template-columns: 1fr; gap: 44px; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.5rem); }
  .lead { font-size: .98rem; line-height: 1.75; }
  .hero-visual { padding: 0 12px; }
  .image-card { width: min(100%, 430px); border-radius: 34px; }
  .image-card img { border-radius: 25px; }
  .mini-label { right: -5px; }
  .how { min-height: auto; padding: 72px 20px 58px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; padding: 25px 24px; }
  .step.featured { transform: none; }
}

@media (max-width: 430px) {
  .brand { font-size: 1.28rem; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-link { font-size: .88rem; }
  .style-chip { flex: 1; padding-inline: 8px; }
  .creator { padding: 13px; border-radius: 22px; }
  .upload { padding: 11px; }
  .upload-text small { font-size: .68rem; }
  .bottom-cta { width: 100%; min-width: 0; }
}

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

[hidden]{display:none!important} #preview img{width:96px;height:96px;object-fit:cover;border-radius:20px;margin-top:16px} #generate{width:100%;margin:16px 0 0} button:disabled{opacity:.5;cursor:default} .upload[aria-disabled="true"]{opacity:.5;pointer-events:none} #status{font-size:14px;line-height:1.6;overflow-wrap:anywhere} #result img{display:block;width:100%;border-radius:24px} #download{display:flex;text-decoration:none;justify-content:center;margin:16px 0} #result{margin-top:20px} .privacy{line-height:1.6}
