/* Shared landing-page tokens, fonts and background come from ../styles.css. */
[hidden] { display: none !important; }
.embed-page { line-height: 1.8; }
.embed-page main { padding-bottom: 48px; }
.embed-page .site-header { gap: 16px; }
.embed-page .site-header .hero-button { min-height: 42px; font-size: .76rem; }
.embed-hero { max-width: 800px; margin: 42px auto 48px; text-align: center; }
.embed-icon { border-radius: 18px; box-shadow: 0 16px 40px rgba(121,63,105,.18); }
.embed-page .eyebrow { margin: 14px 0 10px; color: #806475; font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.embed-page h1 { margin: 12px 0 24px; font-size: clamp(2rem,5.3vw,3.8rem); line-height: 1.3; letter-spacing: -.035em; }
.embed-page h2 { margin: 8px 0 16px; font-size: clamp(1.35rem,3vw,1.85rem); line-height: 1.5; letter-spacing: -.025em; }
.embed-page p { color: var(--ink-soft); }
.embed-page .intro { font-size: 1.02rem; }
.embed-page .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.embed-hero .actions { justify-content: center; margin-top: 28px; }
.embed-page .actions a, .embed-page button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); box-shadow: 0 8px 24px rgba(103,59,94,.08); color: var(--ink); font: 800 .82rem/1.6 "Nunito", sans-serif; cursor: pointer; transition: background .2s, transform .2s; }
.embed-hero .actions a:first-child, .embed-page #next { background: linear-gradient(112deg,#3e2e50,#513762 66%,#38445e); color: #fff8ff; }
.embed-page .actions a:hover, .embed-page button:hover { transform: translateY(-2px); background-color: rgba(255,255,255,.8); }
.embed-page button:disabled { opacity: .5; cursor: default; }
.guide-section { margin: 22px 0; padding: clamp(22px,4.5vw,48px); border: 1px solid var(--glass-line); border-radius: 34px; background: linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,255,255,.3)); box-shadow: 0 26px 70px rgba(103,59,94,.08), inset 0 1px rgba(255,255,255,.72); scroll-margin-top: 24px; }
.embed-page #try { padding-bottom: 24px; }
.embed-page #guide-reader { margin: 26px 0 18px; }
.embed-page .guide-note, .embed-page small, #notice { font-size: .8rem; color: var(--ink-soft); }
.embed-page p a { text-decoration: underline; text-underline-offset: 4px; }
.code-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-top: 22px; border: 1px solid var(--glass-line); border-radius: 18px 18px 0 0; background: rgba(183,148,255,.13); font-size: .8rem; font-weight: 800; }
.embed-page .code-heading button { min-height: 36px; padding: 6px 14px; }
.embed-page code { overflow-wrap: anywhere; }
.embed-page p code { padding: 2px 5px; border-radius: 5px; background: rgba(183,148,255,.12); font-size: .9em; }
.embed-page pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 400px; overflow: auto; padding: 22px; border: 1px solid var(--glass-line); border-radius: 18px; background: rgba(255,255,255,.65); font: .84rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-heading + pre { margin-top: 0; border-top: 0; border-radius: 0 0 18px 18px; }
.steps { display: flex; gap: 32px; border-bottom: 1px solid var(--line); padding: 20px 0; color: var(--ink-soft); }
#step-label { font-weight: 800; color: var(--ink); }
#notice[data-error=true] { color: #b72d42; }
#reader { height: 560px; border: 1px solid var(--glass-line); border-radius: 20px; box-shadow: 0 18px 48px rgba(103,59,94,.1); overflow: hidden; }
#image-step { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 24px; padding: 28px; }
.embed-page label { display: block; margin: 16px 0; }
.embed-page input { display: block; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.7); color: var(--ink); font: inherit; }
.embed-page details { margin: 30px 0; color: var(--ink-soft); font-size: .9rem; }
@media (max-width:600px) {
 .embed-page main { width: calc(100% - 24px); }
 .embed-page .product-home-logo { width: 128px; }
 .embed-page .site-header .hero-button { padding: 0 14px; }
 .embed-hero { margin: 24px auto 32px; }
 .embed-page .intro, .embed-page p { font-size: .9rem; }
 .guide-section { padding: 20px 16px; border-radius: 24px; }
 .embed-page .actions { gap: 8px; }
 .embed-page .actions a { padding: 9px 14px; }
 .embed-page pre { padding: 16px; font-size: .76rem; }
 #reader { height: 70dvh; }
 .steps { gap: 18px; }
 #image-step { padding: 18px; }
}
@media (prefers-reduced-motion:reduce) { .embed-page .actions a, .embed-page button { transition: none; } }

.embed-options {display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:12px 20px;padding:20px;border:1px solid var(--glass-line);border-radius:18px;background:rgba(255,255,255,.3);font-size:.9rem;}
.embed-options dt {font-weight:700;overflow-wrap:anywhere;}
.embed-options dd {margin:0;color:var(--ink-soft);}
@media(max-width:600px){.embed-options{grid-template-columns:minmax(0,1fr);gap:6px;padding:14px;}.embed-options dd{margin-bottom:14px;}}
