/* Interactive states layered over the original, fully compiled design CSS. */
[hidden] { display: none !important; }
header.is-scrolled { border-bottom-color: var(--color-line); background: color-mix(in srgb, var(--color-bg) 80%, transparent); }
[aria-controls="mobile-menu"][aria-expanded="true"] .top-0 { transform: translateY(5px) rotate(45deg); }
[aria-controls="mobile-menu"][aria-expanded="true"] .bottom-0 { transform: translateY(-5px) rotate(-45deg); }

/* Home hero: a quiet introduction to the actual product. */
.product-hero { position: relative; overflow: hidden; background: #f7f9fd; border-bottom: 1px solid #e3e9f2; }
.product-hero__layout { max-width: 1360px; margin: 0 auto; padding: 100px 32px 84px; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); align-items: center; gap: 46px; }
.product-hero__copy { position: relative; z-index: 2; }
.product-hero__eyebrow { display: flex; align-items: center; gap: 9px; color: #52627b; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
.product-hero__eyebrow > span { width: 7px; height: 7px; background: #007bff; border-radius: 50%; box-shadow: 0 0 0 4px #007bff0c; }
.product-hero__title { margin: 23px 0 0; font-size: clamp(52px, 5.3vw, 76px); line-height: 1.08; letter-spacing: -0.055em; font-weight: 600; color: #10213b; }
.product-hero__line { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.product-hero__line > span { display: inline-block; }
.product-hero__line--blue { color: #0879ef; }
.product-hero__description { max-width: 440px; margin-top: 26px; font-size: 18px; line-height: 1.75; color: #5a687e; }
.product-hero__actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.product-hero__primary, .product-hero__secondary { display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 15px; font-weight: 600; min-height: 52px; }
.product-hero__primary { padding: 0 23px; border-radius: 10px; color: white; background: #0879ef; box-shadow: 0 4px 10px #0879ef16; transition: background 200ms, box-shadow 200ms, transform 200ms; }
.product-hero__primary:hover { background: #0069d9; transform: translateY(-2px); box-shadow: 0 8px 20px #0879ef24; }
.product-hero__primary svg { transition: transform 250ms; }
.product-hero__primary:hover svg { transform: translateX(3px); }
.product-hero__secondary { color: #253854; gap: 10px; transition: color 200ms; }
.product-hero__secondary:hover { color: #0879ef; }
.product-hero__secondary span { font-size: 20px; transition: transform 200ms; }
.product-hero__secondary:hover span { transform: translate(2px, -2px); }
.product-hero__note { display: flex; gap: 6px; align-items: center; margin-top: 15px; font-size: 12px; color: #748095; }
.product-hero__note svg { flex-shrink: 0; color: #47705f; }
.product-hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 38px; }
.product-hero__avatars { display: flex; padding-left: 0; }
.product-hero__avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #f7f9fd; object-fit: cover; }
.product-hero__avatars img + img { margin-left: -10px; }
.product-hero__rating { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; color: #34445c; }
.product-hero__rating > span { color: #b37d27; font-size: 11px; letter-spacing: 1.5px; }
.product-hero__rating strong { font-weight: 600; }
.product-hero__trust-copy { margin-top: 3px; font-size: 12px; color: #748095; }
.product-hero__visual { position: relative; min-width: 0; padding: 65px 0 78px; }
.product-hero__backdrop { position: absolute; inset: 0 -70px 0 22px; overflow: hidden; border-radius: 48% 44% 42% 38%; background: #eaf1fd; }
.product-hero__orbit { position: absolute; width: 610px; height: 610px; border: 1px solid #d9e5f7; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.product-hero__orbit--inner { width: 460px; height: 460px; }
.product-hero__workspace { position: relative; width: calc(100% + 22px); animation: hero-drift 9s ease-in-out infinite; }
.product-hero__window { position: relative; overflow: hidden; border: 1px solid #dce4f1; border-radius: 12px; background: white; transform: perspective(1600px) rotateY(-7deg) rotateZ(-1deg); box-shadow: 0 30px 65px -25px #1a407a35, 0 3px 10px #1a407a08; }
.product-hero__window-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; color: #7b879a; background: #fff; border-bottom: 1px solid #e6ecf4; font-size: 10px; }
.product-hero__window-dots { display: flex; gap: 5px; }
.product-hero__window-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #dce4ef; }
.product-hero__window-divider { margin: 0 7px; color: #c8d1dd; }
.product-hero__screenshot { display: block; width: 100%; height: auto; }
.product-hero__connected { position: absolute; right: 26px; bottom: -31px; display: flex; align-items: center; gap: 12px; padding: 16px 21px 16px 15px; border: 1px solid #e1e8f2; border-radius: 13px; background: white; box-shadow: 0 12px 32px -12px #20395c26; }
.product-hero__connected-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #0879ef; background: #edf5ff; }
.product-hero__connected strong { display: block; color: #263952; font-size: 13px; font-weight: 600; }
.product-hero__connected > span > span { display: block; color: #8490a1; font-size: 11px; margin-top: 2px; }
.product-hero__visual-caption { position: relative; display: flex; align-items: center; gap: 9px; padding-left: 30px; margin-top: 58px; color: #7a8ca5; font-size: 11px; letter-spacing: 0.01em; }
.product-hero__caption-line { width: 25px; height: 1px; background: #a5bad5; }
.product-hero__foot { max-width: 1296px; margin: 0 auto; padding: 21px 0; border-top: 1px solid #e3e9f2; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #77859a; }
.product-hero__foot > a { display: inline-flex; align-items: center; gap: 12px; color: #34445c; transition: color 200ms; }
.product-hero__foot > a:hover { color: #0879ef; }
@keyframes hero-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1399px) { .product-hero__foot { margin-inline: 32px; } }
@media (max-width: 1100px) {
  .product-hero__layout { gap: 25px; padding-top: 76px; padding-bottom: 64px; }
  .product-hero__title { font-size: 58px; }
  .product-hero__description { font-size: 16px; }
  .product-hero__visual { padding-top: 70px; padding-bottom: 55px; }
}
@media (max-width: 850px) {
  .product-hero__layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 56px 24px 35px; }
  .product-hero__copy { max-width: 550px; margin: 0 auto; text-align: center; }
  .product-hero__eyebrow, .product-hero__actions, .product-hero__note, .product-hero__trust { justify-content: center; }
  .product-hero__description { margin-inline: auto; max-width: 440px; }
  .product-hero__trust { margin-top: 28px; text-align: left; }
  .product-hero__visual { width: 100%; max-width: 660px; margin: 0 auto; padding: 35px 0 20px; }
  .product-hero__backdrop { inset: 0 0 0; border-radius: 36px; }
  .product-hero__workspace { width: 100%; }
  .product-hero__window { transform: none; }
  .product-hero__visual-caption { justify-content: center; padding: 0; }
  .product-hero__foot { margin-inline: 24px; }
}
@media (max-width: 480px) {
  .product-hero__layout { padding: 44px 20px 27px; gap: 32px; }
  .product-hero__eyebrow { font-size: 11px; }
  .product-hero__title { font-size: clamp(44px, 12.5vw, 58px); margin-top: 22px; }
  .product-hero__description { font-size: 15px; line-height: 1.7; margin-top: 22px; }
  .product-hero__actions { gap: 23px; margin-top: 25px; }
  .product-hero__primary, .product-hero__secondary { font-size: 14px; }
  .product-hero__note { font-size: 10px; }
  .product-hero__connected { right: 12px; bottom: -30px; padding: 10px 12px; gap: 9px; border-radius: 10px; }
  .product-hero__connected-icon { width: 32px; height: 32px; }
  .product-hero__connected strong { font-size: 11px; }
  .product-hero__connected > span > span { font-size: 10px; }
  .product-hero__visual-caption { font-size: 10px; margin-top: 48px; gap: 6px; }
  .product-hero__foot { margin-inline: 20px; gap: 16px; font-size: 10px; padding-block: 18px; }
  .product-hero__foot > a { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .scroll-smooth { scroll-behavior: auto !important; }
  .product-hero__workspace { animation: none; }
  .product-hero__primary:hover { transform: none; }
}

/* InnCentral: Terms / Privacy text (sync.py LEGAL_CSS). */
.inn-legal { max-width: 760px; margin: 0 auto; color: #1d2433; font-size: 16px; line-height: 1.75; }
.inn-legal p { margin: 0 0 1rem; }
.inn-legal h2 { margin: 2.75rem 0 0.75rem; font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: #0a0d16; scroll-margin-top: 96px; }
.inn-legal ul, .inn-legal ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.inn-legal ul { list-style: disc; }
.inn-legal ol { list-style: decimal; }
.inn-legal li { margin: 0.4rem 0; padding-left: 0.2rem; }
.inn-legal a { color: #0066dd; text-decoration: underline; text-underline-offset: 3px; }
.inn-legal a:hover { color: #0047b3; }
.inn-legal-meta { color: #5a6473; font-size: 14px; }
.inn-legal-toc { margin: 1.5rem 0 0.5rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid #dce4ef; border-radius: 20px; }
.inn-legal-toc p { margin: 0 0 0.5rem; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #5a6473; }
.inn-legal-toc ol { margin: 0; columns: 2; column-gap: 2rem; font-size: 15px; }
.inn-legal-toc li { margin: 0.25rem 0; break-inside: avoid; }
@media (max-width: 640px) { .inn-legal-toc ol { columns: 1; } }

/* InnCentral: FAQ topics + help card (sync.py FAQ_CSS). */
.inn-faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.inn-faq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid #dce4ef; border-radius: 9999px; background: #fff; color: #5a6473; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.inn-faq-chip:hover { border-color: #007bff; color: #0a0d16; }
.inn-faq-chip[aria-pressed="true"] { background: #0a0d16; border-color: #0a0d16; color: #fff; }
.inn-faq-chip:focus-visible { outline: 3px solid rgba(0, 123, 255, .45); outline-offset: 2px; }
.inn-faq-chip span { font-size: 12px; opacity: .65; }
.inn-faq-empty { padding: 20px; color: #5a6473; font-size: 15px; }
.inn-faq-help--side { display: none; }
.inn-faq-help--after { margin-top: 20px; }
.inn-faq-help { margin-top: 28px; padding: 22px; background: #fff; border: 1px solid #dce4ef; border-radius: 20px; box-shadow: 0 8px 30px rgba(15, 23, 42, .05); }
.inn-faq-help h3 { margin: 0; font-size: 17px; font-weight: 700; color: #0a0d16; }
.inn-faq-help p { margin: 6px 0 16px; font-size: 14.5px; line-height: 1.55; color: #5a6473; }
.inn-faq-help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.inn-faq-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9999px; background: #0a0d16; color: #fff; font-size: 15px; font-weight: 600; transition: background-color .2s; }
.inn-faq-btn:hover { background: #1b2230; }
.inn-faq-link { font-size: 15px; font-weight: 600; color: #0066dd; }
.inn-faq-link:hover { color: #0047b3; }
[data-faq-answer] a { color: #0066dd; text-decoration: underline; text-underline-offset: 3px; }
[data-faq-answer] a:hover { color: #0047b3; }
@media (min-width: 1024px) { .inn-faq-aside { position: sticky; top: 96px; align-self: start; } .inn-faq-help--side { display: block; } .inn-faq-help--after { display: none; } }

/* InnCentral: WCAG AA contrast (sync.py A11Y_CSS). */
p.text-accent { color: #0066dd; }
/* Inactive workflow-tab names were 1.2:1 (#dce4ef): still muted, now readable (3.3:1). The active one stays ink. */
[data-workflow-tab].text-line { color: #7b8aa0; }

/* InnCentral: "Explore the details" strip + anchored sections (sync.py EXPLORE_CSS). */
section[id] { scroll-margin-top: 84px; }
.inn-explore-card { text-decoration: none; }
.inn-explore-card:focus-visible { outline: 3px solid rgba(0, 123, 255, .45); outline-offset: 3px; }
.inn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: #0066dd; }
.inn-more span { display: inline-block; transition: transform .2s; }
.inn-explore-card:hover .inn-more { color: #0047b3; }
.inn-explore-card:hover .inn-more span { transform: translateX(3px); }

/* InnCentral: footer (sync.py FOOTER_CSS). */
.inn-ftr-by { margin-top: 12px; font-size: 14px; color: #5a6473; }
.inn-ftr-by a { color: #0a0d16; font-weight: 600; text-decoration: underline; text-decoration-color: #b8c4d6; text-underline-offset: 4px; }
.inn-ftr-by a:hover { color: #0066dd; text-decoration-color: currentColor; }
footer ul a svg { display: block; width: 16px; height: 16px; }
/* Directory badges: one height and an even grid so edges line up. 2 columns on phones,
   4 on tablets, a single row from 1280px, where the eight fit across the container. */
.inn-badges { padding: 0 0 40px; text-align: center; }
.inn-badges__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 16px 18px; max-width: 440px; margin: 0 auto; }
.inn-badges a { display: flex; align-items: center; justify-content: center; width: 100%; line-height: 0; border-radius: 8px; transition: transform .2s, opacity .2s; }
.inn-badges a:hover { transform: translateY(-2px); opacity: .9; }
.inn-badges a:focus-visible { outline: 3px solid rgba(0, 123, 255, .45); outline-offset: 3px; }
.inn-badges img { display: block; width: 100%; height: 40px; object-fit: contain; }
@media (min-width: 640px) { .inn-badges__row { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 860px; gap: 20px 24px; } }
@media (min-width: 1280px) {
  .inn-badges__row { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0 20px; max-width: 1160px; }
  .inn-badges a { width: auto; }
  .inn-badges img { width: auto; height: 36px; }
}

/* InnCentral: changelog timeline (sync.py CHANGELOG_CSS). */
.inn-log { max-width: 860px; margin: 0 auto; padding: 0; list-style: none; }
.inn-log-item { display: grid; gap: 14px; padding: 36px 0; border-top: 1px solid #dce4ef; }
.inn-log-item:first-child { padding-top: 0; border-top: 0; }
.inn-log-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #5a6473; }
.inn-log-tag { display: inline-block; padding: 3px 10px; border-radius: 9999px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.inn-log-tag--new { background: #e6f0ff; color: #0047b3; }
.inn-log-tag--improved { background: #e0f5ea; color: #0b6a3a; }
.inn-log-tag--fixed { background: #fff1d6; color: #8a4500; }
.inn-log-body h2 { margin: 0; font-size: 1.375rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: #0a0d16; }
.inn-log-body p { margin: 8px 0 0; font-size: 16px; line-height: 1.65; color: #5a6473; }
.inn-log-body ul { margin: 14px 0 0; padding-left: 1.25rem; list-style: disc; font-size: 15.5px; line-height: 1.65; color: #1d2433; }
.inn-log-body li { margin: 6px 0; }
@media (min-width: 768px) {
  .inn-log-item { grid-template-columns: 190px 1fr; gap: 32px; }
  .inn-log-meta { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 4px; position: sticky; top: 96px; align-self: start; }
}

/* InnCentral: phone-sized product screenshots (sync.py PHONE_CSS). */
@media (max-width: 640px) { .inn-shot { aspect-ratio: 780 / 1040 !important; } }
