:root {
  --ink: #111827;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --line: #e5e7eb;
  --violet: #6d28d9;
  --pink: #db2777;
  --orange: #f97316;
  --shadow: 0 24px 70px rgba(25, 16, 55, .14);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--surface); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); border-bottom: 1px solid rgba(229,231,235,.85); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 1.18rem; }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; padding: 2px; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink) 55%, var(--orange)); box-shadow: 0 8px 20px rgba(219,39,119,.22); }
.brand-mark > span { width: 18px; height: 18px; border: 2px solid white; border-radius: 50%; position: relative; }
.brand-mark > span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; position: absolute; right: -5px; top: -4px; }
nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 600; color: #475569; }
nav a:hover { color: var(--violet); }
.hero { min-height: 620px; display: grid; align-items: center; position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfaff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding-block: 80px 70px; position: relative; z-index: 1; }
.hero-copy { max-width: 680px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: var(--violet); }
.eyebrow::before, .section-kicker::before { content: ""; width: 24px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--pink)); margin-right: 10px; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .99; letter-spacing: -.065em; margin: 20px 0 24px; max-width: 800px; }
h1 span { background: linear-gradient(100deg, var(--violet), var(--pink) 60%, var(--orange)); color: transparent; -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #526074; max-width: 680px; margin: 0 0 32px; }
.search-card { background: #fff; border: 1px solid #ececf4; box-shadow: var(--shadow); border-radius: 22px; padding: 20px; }
.search-card > label { display: block; font-size: .84rem; font-weight: 800; margin-bottom: 9px; }
.search-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; border: 1.5px solid #dfe2eb; border-radius: 15px; overflow: hidden; transition: .2s; background: #fbfcfe; }
.search-row:focus-within { border-color: #8b5cf6; box-shadow: 0 0 0 4px rgba(139,92,246,.12); background: #fff; }
.at-sign { color: #8b5cf6; font-weight: 800; padding-left: 18px; font-size: 1.05rem; }
.search-row input { min-width: 0; padding: 16px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-row button { border: 0; border-radius: 12px; margin: 5px; padding: 12px 16px; background: linear-gradient(105deg, var(--violet), var(--pink)); color: #fff; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 10px 24px rgba(109,40,217,.22); }
.search-row button[disabled] { opacity: .65; cursor: wait; }
.form-hint { margin: 10px 3px 0; font-size: .76rem; color: #7c8799; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: #526074; font-size: .82rem; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row svg { color: #16a34a; width: 17px; }
.preview-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.avatar-card { width: min(340px, 90%); aspect-ratio: .83; border-radius: 42px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 40px 100px rgba(75,31,125,.22); display: grid; place-items: center; align-content: center; gap: 28px; position: relative; transform: rotate(2deg); }
.avatar-ring { width: 190px; height: 190px; padding: 7px; border-radius: 50%; background: linear-gradient(145deg, #7c3aed, #ec4899, #fb923c); }
.avatar-placeholder { width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(145deg, #e9e7f8, #cfd5eb); border: 6px solid #fff; overflow: hidden; position: relative; }
.avatar-placeholder span { position: absolute; width: 58px; height: 58px; background: #a8b0ce; border-radius: 50%; left: 50%; top: 28%; transform: translate(-50%,-50%); }
.avatar-placeholder i { position: absolute; width: 125px; height: 90px; border-radius: 70px 70px 20px 20px; background: #a8b0ce; left: 50%; bottom: -15px; transform: translateX(-50%); }
.mock-lines { display: grid; gap: 10px; justify-items: center; }
.mock-lines b, .mock-lines span { display: block; height: 10px; border-radius: 99px; background: #d7d9e4; }
.mock-lines b { width: 130px; } .mock-lines span { width: 90px; height: 8px; background: #e6e7ee; }
.zoom-badge { position: absolute; right: -26px; bottom: 70px; width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--violet), var(--pink)); box-shadow: 0 18px 35px rgba(109,40,217,.32); transform: rotate(-2deg); }
.zoom-badge svg { width: 34px; height: 34px; }
.orbit { position: absolute; border: 1px dashed rgba(139,92,246,.28); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; animation: spin 26s linear infinite; }
.orbit-two { width: 520px; height: 520px; animation: spin 36s linear reverse infinite; }
.orbit::after { content: ""; width: 15px; height: 15px; background: #f472b6; border-radius: 50%; position: absolute; top: 28px; left: 84px; box-shadow: 0 0 0 8px rgba(244,114,182,.14); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); opacity: .7; }
.hero-glow-one { width: 500px; height: 500px; background: radial-gradient(circle, rgba(192,132,252,.26), transparent 68%); right: 3%; top: 7%; }
.hero-glow-two { width: 340px; height: 340px; background: radial-gradient(circle, rgba(251,146,60,.16), transparent 70%); left: -8%; bottom: -10%; }
@keyframes spin { to { transform: rotate(360deg); } }
.ad-section { padding-block: 24px 10px; }
.ad-slot { min-height: 120px; border: 1px dashed #d5d9e3; border-radius: 16px; background: #fafbfc; display: grid; place-items: center; position: relative; overflow: hidden; color: #a1a8b5; }
.ad-slot > span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.ad-mount { width: 100%; text-align: center; }
.result-section { padding-block: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.result-section[hidden] { display: none; }
.result-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 60px rgba(15,23,42,.08); background: #fff; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.result-head h2 { margin: 6px 0 0; font-size: 1.65rem; letter-spacing: -.03em; }
.result-head p { margin: 2px 0 0; color: var(--muted); }
.icon-button { border: 0; background: #f3f4f6; color: #475569; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.viewer { border-radius: 22px; overflow: hidden; background: #0d1018; }
.image-stage { min-height: 480px; max-height: 68vh; overflow: auto; display: grid; place-items: center; background-image: linear-gradient(45deg,#151925 25%,transparent 25%),linear-gradient(-45deg,#151925 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#151925 75%),linear-gradient(-45deg,transparent 75%,#151925 75%); background-size: 28px 28px; background-position: 0 0,0 14px,14px -14px,-14px 0; }
.image-stage img { display: block; width: min(100%, 680px); height: auto; max-width: none; transform-origin: center; transition: width .18s ease; user-select: none; }
.viewer-controls { min-height: 64px; padding: 12px 16px; display: grid; grid-template-columns: 38px 1fr 38px 58px; align-items: center; gap: 12px; background: #171b27; color: #fff; }
.viewer-controls button { border: 1px solid #303647; background: #222838; color: #fff; border-radius: 10px; height: 38px; font-size: 1.2rem; }
.viewer-controls input { accent-color: #c026d3; width: 100%; }
.viewer-controls output { font-size: .78rem; font-weight: 800; color: #cbd5e1; text-align: right; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; padding: 13px 18px; font-weight: 800; }
.button.primary { color: #fff; background: linear-gradient(105deg,var(--violet),var(--pink)); }
.button.secondary { color: #334155; background: #f1f5f9; }
.result-ad { min-height: 250px; position: sticky; top: 96px; }
.info-section, .faq-section { padding-block: 100px; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-intro h2, .feature-grid h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.045em; margin: 13px 0 16px; }
.section-intro p, .feature-grid > div > p { color: var(--muted); margin: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.steps-grid article { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: #fff; transition: .2s; }
.steps-grid article:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.step-number { position: absolute; right: 22px; top: 18px; font-size: 2.2rem; font-weight: 800; color: #f1eefc; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--violet); background: #f2effe; font-size: 1.2rem; font-weight: 800; }
.steps-grid h3 { margin: 22px 0 8px; font-size: 1.08rem; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.content-ad-wrap { padding-bottom: 80px; }
.content-ad-wrap .ad-slot { min-height: 280px; }
.feature-section { padding-block: 100px; background: #f7f7fb; }
.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; color: #3f4b5d; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li span { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 1px; }
.notice-card { border-radius: 26px; padding: 34px; background: linear-gradient(145deg,#1e1b4b,#3b1768); color: #fff; box-shadow: 0 28px 70px rgba(49,22,91,.23); }
.notice-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-weight: 800; font-family: serif; font-size: 1.35rem; }
.notice-card h3 { margin: 22px 0 10px; font-size: 1.3rem; }
.notice-card p { margin: 0; color: #ddd6fe; }
.section-intro.compact { margin-bottom: 32px; }
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 20px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--violet); font-size: 1.3rem; transition: .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: 0; padding: 0 0 20px; color: var(--muted); }
.site-footer { background: #0f1220; color: #fff; padding-top: 66px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 70px; padding-bottom: 50px; }
.footer-brand { margin-bottom: 14px; }
.footer-grid p { color: #9fa8bd; max-width: 440px; margin: 0; }
.footer-grid h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #aeb6c9; margin: 4px 0 16px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:not(.brand), .footer-link { color: #d8deeb; font-size: .9rem; background: none; border: 0; padding: 0; }
.footer-grid a:hover, .footer-link:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #252a3a; padding-block: 20px; display: flex; justify-content: space-between; gap: 20px; color: #7f899e; font-size: .76rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); z-index: 50; background: #111827; color: #fff; border-radius: 13px; padding: 12px 18px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; max-width: min(90vw, 560px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.toast.error { background: #991b1b; }
.image-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; border: 0; padding: 0; background: rgba(4,6,12,.95); }
.image-dialog::backdrop { background: rgba(4,6,12,.95); }
.image-dialog img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.image-dialog button { position: fixed; right: 20px; top: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; z-index: 2; }
.legal-main { padding-block: 80px 110px; }
.legal-copy { max-width: 820px; }
.legal-copy h1 { font-size: clamp(2.3rem,5vw,4rem); }
.legal-copy h2 { margin-top: 38px; font-size: 1.35rem; }
.legal-copy p, .legal-copy li { color: #526074; }
.legal-copy .placeholder { background: #fff7ed; border: 1px solid #fed7aa; padding: 16px; border-radius: 12px; color: #9a3412; }
@media (max-width: 900px) {
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 35px; padding-top: 64px; }
  .preview-art { min-height: 390px; }
  .result-section { grid-template-columns: 1fr; }
  .result-ad { position: static; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header nav { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 50px 34px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .search-card { padding: 14px; }
  .search-row { grid-template-columns: auto 1fr; }
  .search-row button { grid-column: 1 / -1; width: calc(100% - 10px); justify-content: center; }
  .preview-art { min-height: 340px; }
  .avatar-card { width: 250px; border-radius: 32px; }
  .avatar-ring { width: 145px; height: 145px; }
  .orbit-one { width: 315px; height: 315px; } .orbit-two { width: 380px; height: 380px; }
  .zoom-badge { width: 60px; height: 60px; right: -12px; }
  .result-section, .info-section, .faq-section, .feature-section { padding-block: 64px; }
  .result-card { padding: 16px; border-radius: 18px; }
  .image-stage { min-height: 350px; }
  .viewer-controls { grid-template-columns: 38px 1fr 38px; }
  .viewer-controls output { grid-column: 1 / -1; text-align: center; }
  .result-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
