/* Shared brand shell. Product content and accents stay within each section. */
.product-name { padding-left: 1rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.2; }
.header-inner > .brand { flex-shrink: 0; }
.no-js-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-block: .75rem; }
.doc-content { min-width: 0; overflow-wrap: anywhere; }
.manual-start { display: grid; gap: .7rem; margin-bottom: 2rem; }
.prose .manual-start a { padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.manual-start a span { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; margin-top: .2rem; }
.manual-mobile-toc { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; }
.manual-mobile-toc summary { cursor: pointer; font-weight: 600; }
.manual-mobile-toc nav { display: grid; gap: .65rem; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.product-intercom .prose table { max-width: 100%; }
@media (min-width: 980px) {
  .manual-mobile-toc { display: none; }
  .product-intercom .doc-toc-inner { max-height: calc(100vh - 6.4rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 1rem; }
}
.brand-page .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
.brand-page .footer-cols { display: block; }
.brand-page .footer-col h3 { display: none; }
.product-intercom { --accent: #9090c7; --accent-bright: #b5b5e4; --accent-deep: #7777b7; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .85rem; }
  .product-name { max-width: 7rem; }
}

/* Brand home: two independent product chapters, not a card catalogue. */
.home-page { background: #0c0e12; --maxw: 1380px; }
.home-page::before { opacity: .018; }
.home-footer { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.6rem 2rem; color: var(--muted); font-size: .8rem; }
.home-footer a:hover { color: var(--ink); }
.product-chapter { position: relative; isolation: isolate; scroll-margin-top: 1rem; }
.product-chapter > .container { position: relative; }
.choice-transport { background: radial-gradient(ellipse at 80% 48%, #23395155 0, #141b2430 40%, transparent 70%); }
.choice-intercom { background: radial-gradient(ellipse at 25% 50%, #39314c66 0, #1a182430 43%, transparent 70%); }
.chapter-heading { display: flex; justify-content: flex-end; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid #ffffff22; font: .62rem var(--mono); letter-spacing: .1em; color: #939eac; }
.chapter-heading > span:last-child { letter-spacing: 0; color: #818a96; }
.chapter-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.65fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.choice-copy { min-width: 0; position: relative; z-index: 2; }
.choice-copy h2 { font-size: clamp(3rem, 6.3vw, 5.6rem); font-weight: 600; line-height: 1.1; letter-spacing: 0; color: #f3f5f8; }
.choice-description { max-width: 28rem; font-size: 1.08rem; line-height: 1.65; color: #c0c8d3; margin-top: 1.7rem; }
.choice-audience { max-width: 26rem; font-size: .88rem; line-height: 1.65; color: #8f9aaa; margin-top: 1rem; }
.choice-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.6rem; margin-top: 2rem; padding: .85rem 1.1rem; min-height: 48px; border: 1px solid #ffffff22; border-radius: 6px; background: #e4ebf2; color: #18212b; font-size: .83rem; font-weight: 650; }
.choice-link span { font-size: 1.25rem; line-height: 1; }
.choice-link:hover { background: #fff; }
.choice-intercom .choice-link { background: #dedbea; }
.choice-intercom .choice-link:hover { background: #f4f0ff; }
.choice-visual { position: relative; min-width: 0; }
.transport-windows { position: relative; width: 100%; aspect-ratio: 1.45; }
.transport-capture, .receive-capture { position: absolute; overflow: hidden; border: 1px solid #ffffff39; border-radius: 10px; background: #191c21; box-shadow: 0 35px 65px -25px #000d, 0 0 0 5px #ffffff03; }
.transport-capture { width: 94%; right: 0; top: 0; aspect-ratio: 1808 / 958; z-index: 2; --window-pose: none; --window-opacity: 1; transform: var(--window-pose); opacity: var(--window-opacity); }
.transport-capture img, .transport-capture video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.receive-capture { width: 94%; right: 0; top: 0; aspect-ratio: 1652 / 959; z-index: 1; --window-pose: translate(-7%, 30%) scale(.8) rotate(-3deg); --window-opacity: .65; transform: var(--window-pose); opacity: var(--window-opacity); }
.capture-brand { position: absolute; z-index: 3; left: .77%; top: 4.38%; width: 2.6%; aspect-ratio: 1; background: #1f2023 url('/assets/brand-mark-128.png') center / 94% no-repeat; }
.receive-capture .capture-brand { left: .85%; top: 4.38%; width: 2.84%; }
.receive-capture img { width: 100%; height: 100%; object-fit: contain; }
.showcase-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; min-height: 44px; margin-top: 1.5rem; color: #8d99a8; font: .58rem var(--mono); letter-spacing: .05em; }
.home-preview-video { opacity: 0; pointer-events: none; }
.home-preview-video.has-frame { opacity: 1; }
.choice-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 1.8rem 0 3.6rem; border-top: 1px solid #ffffff12; }
.choice-facts li { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.choice-facts li > span { font: .59rem var(--mono); text-transform: uppercase; letter-spacing: .09em; color: #8995a5; }
.choice-facts strong { font-size: 1rem; font-weight: 500; color: #d1d9e3; }
.choice-intercom .chapter-stage { grid-template-columns: minmax(0, 1.65fr) minmax(0, .9fr); padding-block: clamp(3rem, 6vw, 5rem); }
.choice-intercom .choice-copy { grid-column: 2; grid-row: 1; }
.choice-intercom .choice-visual { grid-column: 1; grid-row: 1; }
.intercom-devices { position: relative; width: 100%; aspect-ratio: 1.15; }
.server-capture { position: absolute; width: 100%; left: 0; top: 8%; border: 1px solid #ffffff30; border-radius: 12px; box-shadow: 0 0 0 1px #63616e, 0 40px 65px -25px #000e; background: #14161a; overflow: hidden; transform: rotate(-3deg); }
.server-capture img { width: 100%; }
.phone-capture { position: absolute; width: 30%; right: 0; bottom: 0; border: clamp(4px, .6vw, 7px) solid #08090b; border-radius: clamp(18px, 2.3vw, 32px); box-shadow: 0 0 0 1px #797780, 0 25px 45px -15px #000; overflow: hidden; background: #14161a; transform: rotate(4deg); }
.phone-capture img { width: 100%; display: block; }
.phone-capture video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .choice-link, .choice-link span, .product-index a { transition: background .2s, color .2s, transform .25s; }
  .choice-link:hover span { transform: translate(2px, -2px); }
  .transport-capture, .receive-capture, .server-capture, .phone-capture { transition: transform .65s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
  .stage-entering .transport-capture { animation: home-transmit-enter 1s cubic-bezier(.2, .7, .2, 1) both; }
  .stage-entering .receive-capture { animation: home-receive-enter 1.15s cubic-bezier(.2, .7, .2, 1) .28s both; }
  .stage-entering .server-capture { animation: home-server-enter 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .stage-entering .phone-capture { animation: home-phone-enter 1.1s cubic-bezier(.2, .7, .2, 1) .24s both; }
  .stage-entering:not(.motion-running) .transport-capture,
  .stage-entering:not(.motion-running) .receive-capture,
  .stage-entering:not(.motion-running) .server-capture,
  .stage-entering:not(.motion-running) .phone-capture { animation-play-state: paused; }
  @media (max-width: 759px) {
    .stage-entering .transport-capture, .stage-entering .receive-capture,
    .stage-entering .server-capture, .stage-entering .phone-capture { animation-name: home-mobile-enter; animation-duration: .6s; }
    .stage-entering .receive-capture, .stage-entering .phone-capture { animation-delay: .15s; }
  }
}
@keyframes home-transmit-enter { from { opacity: 0; transform: perspective(1100px) translate3d(0, 24px, -50px) rotateX(3deg); } to { opacity: var(--window-opacity); transform: var(--window-pose); } }
@keyframes home-receive-enter { from { opacity: 0; transform: translate(28px, -32px) rotate(0); } to { opacity: var(--window-opacity); transform: var(--window-pose); } }
@keyframes home-server-enter { from { opacity: 0; transform: perspective(1100px) translate3d(-16px, 18px, -30px) rotate(-1deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes home-phone-enter { from { opacity: 0; transform: translate(-18px, 28px) rotate(0); } to { opacity: 1; transform: rotate(4deg); } }
/* Individual translate keeps each screenshot's static rotation on mobile. */
@keyframes home-mobile-enter { from { opacity: 0; translate: 0 10px; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .home-preview-video { display: none; } }
@media (max-width: 1000px) {
  .chapter-stage, .choice-intercom .chapter-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; }
  .choice-intercom .chapter-stage { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .choice-copy h2 { font-size: clamp(2.9rem, 6vw, 4rem); }
  .choice-description { font-size: 1rem; }
}
@media (max-width: 759px) {
  .chapter-heading { font-size: .53rem; letter-spacing: .05em; padding-top: 1rem; }
  .chapter-stage, .choice-intercom .chapter-stage { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.5rem 1.8rem; }
  .choice-intercom .choice-copy, .choice-intercom .choice-visual { grid-column: auto; grid-row: auto; }
  .choice-copy h2 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .choice-description { margin-top: 1.3rem; }
  .choice-audience { margin-top: .7rem; }
  .choice-link { margin-top: 1.4rem; }
  .choice-visual { width: 100%; max-width: 38rem; margin-inline: auto; }
  .showcase-caption { margin-top: 1rem; font-size: .52rem; }
  .choice-facts { grid-template-columns: 1fr; gap: 0; padding: .5rem 0 2.5rem; }
  .choice-facts li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .8rem; }
  .choice-facts li + li { border-top: 1px solid #ffffff0a; }
  .choice-facts strong { font-size: .8rem; text-align: right; max-width: 65%; }
  .choice-facts li > span { font-size: .5rem; }
  .server-capture { border-radius: 12px; }
}

/* Intercom landing. */
.intercom-hero { padding-block: clamp(2.8rem, 7vw, 5rem); background: radial-gradient(ellipse at 80% 40%, #65658812, transparent 60%); }
.intercom-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.intercom-hero-copy h1 { font-size: clamp(3rem, 6.3vw, 4.6rem); letter-spacing: -.05em; }
.intercom-hero-copy h1 > span { color: var(--accent-bright); }
.intercom-hero-copy > p { color: var(--muted); font-size: 1.15rem; max-width: 29rem; margin-top: 1.5rem; }
.intercom-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.intercom-hero-copy .hero-product-name { font-family: var(--mono); color: var(--faint); font-size: .7rem; letter-spacing: .08em; margin-top: 2rem; }
.intercom-showcase { max-width: 28rem; width: 100%; margin-inline: auto; }
.intercom-showcase figcaption { margin-top: .8rem; text-align: center; font-size: .65rem; color: var(--muted); }
.console-panel { padding: clamp(.85rem, 2vw, 1.2rem); background: #141619; border: 1px solid #393b45; border-radius: 22px; box-shadow: 0 32px 65px -32px #000b; }
.console-top { display: flex; align-items: center; justify-content: space-between; font-size: .55rem; color: #9ca3ad; letter-spacing: .06em; padding: .15rem .1rem .7rem; }
.console-top strong { color: #e6b451; font-size: .75rem; }
.console-dot { width: 6px; height: 6px; background: #54ab7b; border-radius: 50%; }
.console-group { display: flex; align-items: center; justify-content: space-between; color: #9ca3ad; font-size: .85rem; margin-bottom: .7rem; }
.console-group span { width: 78%; background: #101215; border: 1px solid #ffffff09; border-radius: 5px; color: #d4d7db; text-align: center; font-size: .65rem; padding: .2rem; }
.console-channels { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.console-channel { min-width: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: .5rem .3rem; padding: .55rem .55rem .85rem .7rem; background: #202229; border: 1px solid #ffffff09; border-radius: 8px; }
.console-channel::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; background: var(--channel-color); border-radius: 3px; }
.console-channel > strong { font-size: clamp(.8rem, 1.6vw, 1.15rem); line-height: 1.1; }
.console-channel > small { color: #a2a6af; font-size: .46rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-listen, .console-arm { font-size: .52rem; text-align: center; border-radius: 5px; padding: .23rem .3rem; min-width: 2.55rem; }
.console-listen { background: #52aa79; color: #102a1c; font-weight: 700; }
.console-arm { color: #9195a0; background: #17191e; border: 1px solid #ffffff0a; }
.console-meter { position: absolute; bottom: 4px; left: .8rem; right: .6rem; height: 3px; background: #111215; border-radius: 4px; }
.console-meter i { width: var(--meter); height: 100%; display: block; border-radius: inherit; background: #54ab7b; opacity: .8; }
.console-talk { position: relative; text-align: center; background: #3e3c61; border: 1px solid #7d78ac; border-radius: 8px; padding: .8rem; margin-top: .65rem; font-weight: 750; font-size: 1.65rem; letter-spacing: .12em; line-height: 1.5; }
.console-talk small { position: absolute; right: 6px; top: 6px; border-radius: 4px; padding: .1rem .25rem; background: #302e49; color: #b6b3cc; font-size: .45rem; letter-spacing: 0; }
.console-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.console-bottom span { text-align: center; padding: .5rem; background: #2c2f35; border: 1px solid #ffffff06; border-radius: 7px; font-size: .72rem; font-weight: 650; letter-spacing: .08em; }
.console-volume { display: flex; align-items: center; gap: .6rem; color: #9aa4b5; font-size: .53rem; padding-top: .9rem; }
.console-volume span { flex: 1; height: 3px; border-radius: 3px; background: #62b3e6; position: relative; }
.console-volume span::after { content: ""; position: absolute; right: 0; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: #e4e7ed; }
.channel-purple { --channel-color: #9275d4; }
.channel-red { --channel-color: #db666b; }
.channel-green { --channel-color: #57b46d; }
.channel-blue { --channel-color: #638cd9; }
.channel-yellow { --channel-color: #d6c757; }
.channel-orange { --channel-color: #e59b52; }
.channel-pink { --channel-color: #d97ea6; }
.channel-cyan { --channel-color: #59ced8; }
.channel-violet { --channel-color: #ba6cd7; }
.channel-silver { --channel-color: #c3c8d0; }
.intercom-stats { border-block: 1px solid var(--line); background: #ffffff02; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding-block: 2rem; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2.4rem); }
.stat-context { color: var(--muted); font-family: var(--mono); text-transform: uppercase; font-size: .62rem; letter-spacing: .15em; }
.stat-number { display: flex; align-items: baseline; gap: .45rem; margin-block: .5rem .25rem; }
.stat-number strong { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 650; line-height: 1.2; }
.stat-number > span { color: var(--muted); font-size: .75rem; }
.stat p { color: var(--muted); font-size: .88rem; padding-right: .4rem; }
.feature-number { display: block; color: var(--accent-bright); font-family: var(--mono); font-size: .8rem; margin-bottom: 1.5rem; }
.hosting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.hosting-card { padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #ffffff02; }
.hosting-card h3 { font-size: 2rem; }
.hosting-card > p { color: var(--muted); margin-top: 1rem; }
.hosting-card .hosting-capacity { color: var(--accent-bright); font-weight: 600; }
.hosting-card .feature-list { margin-top: 1.4rem; }
.intercom-hosting, .intercom-faq { background: #ffffff02; border-block: 1px solid var(--line-soft); }
.intercom-faq-intro, .intercom-faq-support { color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.intercom-faq-intro { margin-bottom: 2.5rem; }
.intercom-faq-group { margin-bottom: 2.5rem; }
.intercom-faq-group h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: 1rem; scroll-margin-top: 6rem; }
.intercom-faq-group .faq-q { overflow-wrap: anywhere; }
.intercom-faq-group summary::after { flex-shrink: 0; }
.section-link { margin-top: 2rem; }
.intercom-reading-width { max-width: 50rem; }
.download-group + .download-group { margin-top: 2.5rem; }
.download-group > h2 { font-size: 1.25rem; color: var(--muted); margin-bottom: 1rem; }
.intercom-download-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.intercom-download-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.2rem; background: var(--card); }
.intercom-download-card h3 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.availability { display: inline-block; color: var(--muted); font-size: .85rem; }
.draft-note { margin-top: 2rem; color: var(--muted); font-size: .95rem; }

@media (max-width: 759px) {
  .intercom-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intercom-hero-copy { text-align: center; }
  .intercom-hero-copy h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
  .intercom-hero-copy > p { margin-inline: auto; }
  .intercom-actions { justify-content: center; }
  .intercom-hero-copy .hero-product-name { margin-top: 1.4rem; }
  .console-channel > strong { font-size: 1.05rem; }
  .hosting-grid { grid-template-columns: 1fr; }
  .intercom-download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-context { font-size: .55rem; letter-spacing: .04em; }
  .stat p { font-size: .76rem; }
  .stat-number { display: block; }
  .stat-number > span { display: block; }
  .stat:first-child .stat-number { padding-top: 1.2rem; }
}
@media (max-width: 420px) {
  .product-name { padding-left: .65rem; font-size: .76rem; }
  .brand-wm { font-size: 1.1rem; }
  .header-inner { gap: .6rem; }
  .header-inner .brand-mark { width: 28px; }
  .brand-page .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .intercom-download-card { padding: 1.2rem .85rem; }
}
