/* Child-page layout only. Brand tokens and shared components come from ../styles.css. */
html.plugin-document { scroll-behavior: auto; }
.plugin-page { text-rendering: optimizeLegibility; }
.plugin-page p, .plugin-page h1, .plugin-page h2, .plugin-page h3,
.plugin-page figure, .plugin-page blockquote, .plugin-page dl, .plugin-page dd { margin: 0; }
.plugin-page p + p { margin-top: 16px; }
.plugin-page :focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.plugin-page .site-header { background: var(--ink); }
.plugin-page .site-header nav a[aria-current=page] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.plugin-page .site-header .brand img { height: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; color: var(--white); background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(calc(100% - 80px), var(--content)); margin-inline: auto; }
.plugin-page:not(.plugin-home) main { padding-top: 82px; }
.breadcrumb { padding-top: 24px; display: flex; gap: 12px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb { align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.status { padding-left: 16px; border-left: 1px solid currentColor; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.small { color: var(--muted); font-size: 13px; line-height: 1.85; }
.inline-link { display: inline-flex; align-items: center; min-height: 44px; gap: 24px; color: var(--teal); text-decoration: underline; text-underline-offset: 5px; font-size: 14px; font-weight: 700; }

/* Same dark introduction, headline weight and green CTA as the main LP. */
.plugin-hero { color: var(--white); background: var(--ink); }
.hero-layout { width: min(calc(100% - 80px), var(--content)); padding-block: 124px 44px; }
.hero-copy { max-width: 840px; }
.hero-copy .eyebrow { font-size: clamp(21px, 2vw, 28px); font-weight: 500; letter-spacing: 0; }
.hero-copy h1 { margin-top: 16px; font-size: clamp(44px, 5.2vw, 64px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.plugin-page .hero-lead { margin-top: 24px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.8; }
.plugin-page .hero-link { margin-top: 24px; }
.plugin-hero :focus-visible { outline-color: #e6f2df; }
.plugin-page .hero-status { margin-top: 18px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.75; }
.plugin-page .usecase-screenshot { display: block; overflow: hidden; margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.usecase-screenshot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; }
.plugin-page .demo-note { margin-top: 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.plugin-page .demo-history-note { margin-top: 7px; font-size: 13px; }

.home-uses { padding-block: 50px 54px; scroll-margin-top: 110px; }
.home-uses > h2 { margin-bottom: 30px; font-size: clamp(25px,2.5vw,30px); font-weight: 700; line-height: 1.6; letter-spacing: -.02em; }
.usecase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; }
.usecase { padding-top: 18px; border-top: 1px solid var(--line); }
.usecase h3 { display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.usecase h3 span { color: var(--teal); font-size: 13px; font-weight: 700; }
.usecase blockquote { margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.75; letter-spacing: -.02em; }
.usecase p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.home-conditions { border-block: 1px solid var(--line); background: var(--white); }
.conditions-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; padding-block: 34px 38px; }
.conditions-layout h2 { margin-bottom: 10px; font-size: 20px; font-weight: 700; line-height: 1.7; }
.conditions-layout .inline-link { gap: 20px; font-size: 14px; }
.conditions-layout ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 15px; line-height: 1.85; }
.conditions-layout li + li { margin-top: 8px; }

/* The footer uses the original site component, with a child-page link layout. */
.plugin-page .site-footer { grid-template-columns: 170px minmax(0,1fr) auto; gap: 12px 38px; align-items: start; padding-block: 36px; font-size: 12px; }
.plugin-page .site-footer > img { grid-row: 1 / 3; }
.plugin-page .site-footer nav { grid-column: 2 / -1; grid-row: 1; flex-wrap: wrap; gap: 4px 24px; }
.plugin-page .site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; }
.plugin-page .site-footer p { grid-column: 2; grid-row: 2; }
.plugin-page .site-footer small { grid-column: 3; grid-row: 2; }

/* Support and consent content is unchanged. */

.intro { padding: 38px 0 36px; max-width: 850px; }
.intro .eyebrow { margin-bottom: 16px; }
.intro h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.5; letter-spacing: -.025em; font-weight: 700; margin-bottom: 16px; }
.intro .lead { font-size: 16px; max-width: 660px; }
.plugin-page .intro .lead { color: var(--muted); font-weight: 400; }
.intro .small { max-width: 650px; }
.support-jump { margin-top: 22px; display: flex; gap: 16px 30px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.support-jump a { display: inline-flex; min-height: 44px; align-items: center; gap: 18px; }
.support-content { max-width: 800px; padding-bottom: 56px; }
.support-content > section { margin-bottom: 42px; }
.support-content h2 { font-size: 22px; margin-bottom: 20px; line-height: 1.6; }
#faq-title, #contact, .article-body section { scroll-margin-top: 110px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 19px 0; min-height: 60px; font-size: 16px; font-weight: 700; line-height: 1.7; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '＋'; color: var(--teal); font-size: 21px; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '−'; }
.answer { padding: 0 0 23px; max-width: 700px; font-size: 15px; }
.answer a { font-weight: 600; }
.contact { border-top: 1px solid var(--line); padding-top: 30px; }
.contact .email { display: inline-block; font-weight: 700; font-size: clamp(19px, 3.5vw, 27px); margin: 10px 0 20px; min-height: 44px; overflow-wrap: anywhere; }
.contact ul { padding-left: 1.3em; font-size: 15px; }
.contact li + li { margin-top: 7px; }
.notice { border-left: 3px solid var(--teal); padding-left: 18px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: 200px minmax(0, 720px); justify-content: space-between; gap: 56px; padding-bottom: 56px; }
.toc { font-size: 13px; align-self: start; position: sticky; top: 110px; border-top: 1px solid var(--line); padding-top: 15px; }
.toc p { font-weight: 700; margin-bottom: 10px; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; text-decoration: none; }
.mobile-toc, .legal-title-break { display: none; }
.article-body { min-width: 0; }
.article-body section { margin-bottom: 32px; }
.article-body h2 { font-size: 20px; line-height: 1.6; margin-bottom: 14px; }
.article-body p { overflow-wrap: anywhere; }
.plugin-page .legal-version { background: var(--teal-pale); padding: 16px 20px; font-size: 13px; margin-bottom: 28px; color: var(--ink); }
.original { padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.original a { display: inline-block; min-height: 44px; padding: 8px 0; }
.original p + p { margin-top: 4px; }


@media (max-width: 1080px) {
  .hero-copy h1 { font-size: clamp(36px,5vw,54px); }
}
@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 44px),var(--content)); }
  .plugin-page:not(.plugin-home) main { padding-top: 68px; }
  .plugin-page .site-header .header-cta { display: inline-grid; }
  .hero-layout { width: min(calc(100% - 44px),680px); padding-block: 112px 36px; }
  .hero-copy .eyebrow { font-size: 21px; }
  .hero-copy h1 { font-size: clamp(40px,7vw,54px); }
  .home-uses { scroll-margin-top: 90px; }
  #faq-title, #contact, .article-body section { scroll-margin-top: 90px; }
  .usecase-grid { grid-template-columns: 1fr; gap: 26px; }
  .usecase blockquote { margin-top: 12px; font-size: 19px; }
  .usecase p { margin-top: 10px; }
  .usecase-screenshot img { aspect-ratio: auto; }
  .desktop-break { display: none; }
  .conditions-layout { grid-template-columns: 1fr; gap: 16px; padding-block: 28px 32px; }
  .conditions-layout > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .conditions-layout h2 { margin-bottom: 0; }
  .article-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: none; }
  .mobile-toc { display: block; border-block: 1px solid var(--line); }
  .mobile-toc summary { padding: 14px 0; min-height: 48px; font-size: 15px; }
  .mobile-toc nav { padding-bottom: 10px; }
  .mobile-toc a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; font-size: 14px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
  .plugin-page .site-footer { grid-template-columns: 1fr; gap: 12px; }
  .plugin-page .site-footer > img,
  .plugin-page .site-footer nav,
  .plugin-page .site-footer p,
  .plugin-page .site-footer small { grid-column: 1; grid-row: auto; }
  .plugin-page .site-footer p { display: block; }
}
@media (max-width: 560px) {
  .hero-layout { width: min(calc(100% - 36px),520px); padding-block: 106px 32px; }
  .hero-copy .eyebrow { font-size: 15px; }
  .status { padding-left: 13px; font-size: 11px; }
  .hero-copy h1 { margin-top: 18px; font-size: clamp(28px,8.8vw,36px); }
  .plugin-page .hero-lead { font-size: 16px; margin-top: 20px; }
  .plugin-page .hero-link { margin-top: 22px; font-size: 15px; }
  .home-uses { padding-block: 34px 36px; }
  .home-uses > h2 { margin-bottom: 22px; font-size: 23px; }
  .usecase { padding-top: 15px; }
  .usecase h3 { font-size: 16px; }
  .usecase blockquote { font-size: 18px; }
  .conditions-layout h2 { font-size: 18px; flex-shrink: 0; }
  .conditions-layout .inline-link { font-size: 13px; gap: 12px; }
  .breadcrumb { padding-top: 18px; font-size: 12px; gap: 8px; }
  .intro { padding: 26px 0 28px; }
  .intro h1 { font-size: 29px; line-height: 1.55; margin-bottom: 12px; }
  .intro .eyebrow { margin-bottom: 12px; }
  .intro .lead { font-size: 15px; }
  .support-jump { margin-top: 12px; gap: 14px 24px; font-size: 12px; }
  .support-content h2 { font-size: 20px; margin-bottom: 15px; }
  summary { font-size: 15px; gap: 12px; }
  .article-body h2 { font-size: 19px; }
  .plugin-page .legal-version { padding: 14px 16px; }
  .legal-title-break { display: initial; }
  .article-grid { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Unified guide: keep the original brand and make long documents optional. */
.plugin-onepage #top,
.plugin-onepage [id] { scroll-margin-top: 110px; }
.plugin-onepage .site-header a[aria-current=location],
.plugin-onepage .site-footer a[aria-current=location] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.plugin-onepage .site-menu-panel a[aria-current=location] { background: rgba(255,255,255,.1); }
.onepage-support { border-top: 1px solid var(--line); background: var(--white); }
.onepage-support-layout { display: grid; grid-template-columns: 250px minmax(0,800px); justify-content: space-between; gap: 64px; padding-block: 64px 20px; }
.onepage-support-heading { align-self: start; position: sticky; top: 110px; }
.onepage-support-heading h2,
.legal-section > h2 { font-size: clamp(23px,2.5vw,28px); font-weight: 700; line-height: 1.6; letter-spacing: -.02em; }
.plugin-page .onepage-support-heading p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.onepage-support-heading .inline-link { margin-top: 16px; }
.plugin-onepage .support-content { width: 100%; min-width: 0; padding-bottom: 20px; }
.plugin-onepage .support-content h3 { margin-bottom: 20px; font-size: 22px; line-height: 1.6; }
.onepage-legal { background: var(--paper); }
.onepage-legal-layout { max-width: 1000px; padding-block: 12px 40px; }
.legal-section { padding-block: 32px; }
.legal-section + .legal-section { border-top: 1px solid var(--line); }
.plugin-page .legal-introduction { margin-top: 12px; max-width: 46em; font-size: 15px; line-height: 1.85; color: var(--muted); }
.legal-disclosure { margin-top: 22px; border-bottom: 1px solid var(--line); }
.legal-disclosure > summary { padding-block: 16px; min-height: 60px; }
.legal-disclosure .article-body { max-width: 800px; padding: 4px 0 28px; font-size: 16px; line-height: 1.9; }
.legal-disclosure .article-body h3 { margin-bottom: 14px; font-size: 20px; line-height: 1.6; }

@media (max-width: 1080px) {
  .onepage-support-layout { grid-template-columns: 210px minmax(0,1fr); gap: 40px; }
}
@media (max-width: 820px) {
  .plugin-onepage [id] { scroll-margin-top: 90px; }
  .onepage-support-layout { grid-template-columns: 1fr; gap: 26px; padding-block: 36px 12px; }
  .onepage-support-heading { position: static; }
  .plugin-page .onepage-support-heading p { margin-top: 12px; }
  .onepage-support-heading .inline-link { margin-top: 8px; }
  .plugin-onepage .support-content h3 { font-size: 20px; margin-bottom: 16px; }
  .onepage-legal-layout { padding-block: 0 22px; }
  .legal-section { padding-block: 28px; }
  .legal-disclosure > summary { font-size: 15px; }
  .legal-disclosure .article-body h3 { font-size: 19px; }
}

/* 2026-10-31: Published plugin. Steps reuse the use-case grid and type scale. */
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 24px; }
.plugin-page .hero-links .hero-link { margin-top: 0; }
.home-start { border-top: 1px solid var(--line); }
.start-steps { margin: 0; padding: 0; list-style: none; }
.start-action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.plugin-page .start-action p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.start-action p a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .hero-links { flex-direction: column; margin-top: 22px; }
  .hero-links .button, .start-action .button { width: 100%; }
  .start-action { margin-top: 26px; }
}
