/* Every route is rendered as HTML; navigation and theme never wait for JS. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 120ms; }
html { background: var(--bg, #080b12); scrollbar-gutter: stable; }
.bot-homepage .reveal { opacity: 1; transform: none; animation: none; }
.bot-homepage .site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: 0s; }
.bot-homepage main:focus { outline: none; }
.bot-homepage main { min-height: 50vh; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-size: 13px; font-weight: 600; line-height: 1.8; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-link { margin-top: 24px; }
.catalog-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.catalog-bottom p { margin: 0; color: var(--soft-text); font-size: 13px; line-height: 1.9; }
.catalog-link { display: flex; align-items: flex-start; gap: 14px; min-height: 132px; padding: 23px 20px; }
.catalog-link .catalog-teaser { font-size: 12px; line-height: 1.8; color: var(--soft-text); }
.catalog-arrow { flex: none; margin-top: 2px; font-size: 17px; color: var(--lime); }
.bot-homepage .quick-bar a { display: grid; width: 100%; height: 100%; place-items: center; }
.bot-homepage .quick-bar a:hover { color: var(--lime); background: var(--accent-bg); }
.site-home .catalog-section { padding-top: 65px; padding-bottom: 55px; }
.site-home .protection-section { border-top: 1px solid var(--line); }
.start-teaser, .detail-cta { width: min(100%, var(--page)); margin: auto; padding: 55px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 35px; border-top: 1px solid var(--line); }
.start-teaser h2, .detail-cta h2 { font-size: 28px; }
.start-teaser p:not(.kicker), .detail-cta p { color: var(--soft-text); font-size: 14px; line-height: 1.9; margin: 16px 0 0; }
.start-teaser .button { flex: none; }
.detail-cta .hero-actions { flex: none; margin: 0; }
.site-subpage h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.45; }
.directory-page, .feature-page, .guide-heading, .updates-page { width: min(100%, var(--page)); padding: 50px var(--pad) 75px; margin: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--subtle-text); font-size: 12px; line-height: 1.8; margin-bottom: 45px; }
.breadcrumbs a:hover { color: var(--lime); }
.feature-page-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); align-items: start; gap: 65px; }
.feature-page-heading .kicker { margin-bottom: 16px; }
.feature-lead { font-size: 20px; font-weight: 600; line-height: 1.8; color: var(--lime); margin: 22px 0 14px; }
.feature-description { color: var(--soft-text); font-size: 15px; line-height: 2; max-width: 650px; margin: 0 0 24px; }
.feature-page-heading .hero-actions { align-items: center; gap: 24px; }
.feature-at-a-glance { margin-top: 36px; padding: 27px; border: 1px solid var(--accent-border); border-radius: 12px; background: var(--accent-bg); }
.feature-at-a-glance ul { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 1.8; }
.feature-at-a-glance li::before { content: "✓"; color: var(--lime); margin-right: 9px; }
.feature-benefits { margin-top: 60px; }
.feature-benefits > div { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); }
.feature-step-number { color: var(--lime); font-size: 12px; margin-top: 7px; }
.bot-homepage .feature-page h2 { font-size: 23px; letter-spacing: -.03em; line-height: 1.6; }
.feature-benefits p { color: var(--soft-text); font-size: 14px; line-height: 2; max-width: 800px; margin: 12px 0 0; }
.feature-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; padding: 40px 0 50px; border-top: 1px solid var(--line); }
.feature-guide ol, .feature-guide ul { display: grid; gap: 16px; padding-left: 21px; font-size: 14px; line-height: 2; color: var(--soft-text); }
.feature-guide li::marker { color: var(--lime); }
.feature-conditions { padding: 25px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.feature-conditions ul { font-size: 13px; margin-bottom: 0; }
.related-features { padding-top: 20px; border-top: 1px solid var(--line); }
.related-features > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.related-features a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 22px; }
.related-features a:hover { border-color: var(--lime); }
.related-features strong { font-size: 15px; line-height: 1.7; }
.related-features a > span:not(.related-arrow) { font-size: 12px; line-height: 1.8; color: var(--soft-text); grid-column: 1; }
.related-arrow { color: var(--lime); grid-column: 2; grid-row: 1 / 3; align-self: center; }
.guide-heading { padding-bottom: 20px; }
.guide-heading > p:not(.kicker) { max-width: 650px; margin: 25px 0 0; color: var(--soft-text); font-size: 15px; line-height: 2; }
.site-subpage .setup-section { padding-top: 35px; }
.updates-status { color: var(--subtle-text); font-size: 11px; line-height: 1.8; min-height: 20px; margin: 0 0 18px; }
.bot-homepage .update-card > summary { align-items: start; }
.bot-homepage .update-card > summary strong { font-size: 14px; }
.update-body h3 { font-size: 13px; color: var(--text); margin: 20px 0 8px; }
.update-body ul { margin: 0; padding-left: 20px; color: var(--soft-text); font-size: 13px; line-height: 2; }
.update-body li + li { margin-top: 7px; }
.update-body .text-link { margin-top: 20px; }
.bot-homepage .plans-page, .bot-homepage .tokuho-page { padding-top: 60px; }
.bot-homepage .plans-hero > p:last-child, .bot-homepage .plan-card > p:not(.kicker):not(.plan-price), .bot-homepage .plan-card li, .bot-homepage .lite-note p:last-child, .bot-homepage .plan-legal-note p, .bot-homepage .legal-list dd { color: var(--soft-text); }
.bot-homepage .plan-price { color: var(--text); }
.bot-homepage .plan-price small, .bot-homepage .legal-list dt { color: var(--subtle-text); }
.bot-homepage .plan-card { background: var(--surface); }
.bot-homepage .plan-card-lite { background: var(--accent-bg); border-color: var(--accent-border); }
@media (max-width: 860px) {
  .feature-page-heading, .feature-guide { grid-template-columns: 1fr; gap: 28px; }
  .feature-at-a-glance { margin-top: 0; }
  .related-features > div { grid-template-columns: 1fr; }
  .start-teaser, .detail-cta { flex-direction: column; align-items: flex-start; }
  .detail-cta .hero-actions { margin: 0; }
  .feature-page-heading .hero-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .directory-page, .feature-page, .guide-heading, .updates-page { padding-top: 32px; padding-bottom: 40px; }
  .breadcrumbs { margin-bottom: 30px; }
  .feature-lead { font-size: 18px; }
  .feature-description { font-size: 14px; }
  .feature-benefits { margin-top: 40px; }
  .feature-benefits > div { grid-template-columns: 25px 1fr; gap: 14px; }
  .feature-benefits p { font-size: 13px; }
  .feature-conditions { padding: 20px; }
  .feature-page-heading .hero-actions { align-items: stretch; width: 100%; margin-inline: 0; }
  .feature-page-heading .text-link { justify-content: center; }
  .start-teaser h2, .detail-cta h2 { font-size: 24px; }
  .catalog-bottom { align-items: stretch; flex-direction: column; }
  .catalog-bottom .button { width: 100%; }
  .catalog-link { min-height: 105px; padding: 21px 18px; }
  .bot-homepage .update-card > summary { grid-template-columns: 1fr auto; }
  .bot-homepage .update-card > summary > strong { grid-column: 1; grid-row: 2; }
  .bot-homepage .update-card time { display: block; grid-column: 1; grid-row: 3; }
  .bot-homepage .update-card .update-toggle { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .update-body { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
