/* Shared appearance and responsive corrections. Loaded after component styles. */
html { scroll-padding-top: 96px; }
body { overflow-wrap: break-word; }
img, video, svg { max-width: 100%; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:is(h1,h2,h3,h4,h5,p,li,figcaption) { overflow-wrap: break-word; }
:is(h1,h2,h3) em { padding-block: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.theme-toggle { min-width:44px; min-height:44px; }
/* One wordmark layer owns appearance; the old masked overlay hid the new logo. */
.suite-logo::before { content:none!important; }
:is(.brand-lockup,.product-logo,.suite-logo,.bp-logo,.brand,.product-icon) .logo-display img { opacity:1!important; }
html[data-theme=light] :is(.brand-lockup,.product-logo,.suite-logo,.bp-logo,.brand,.product-icon) .logo-word {
  display:block!important; filter:brightness(0) saturate(100%) opacity(.85)!important;
}
.logo-display { max-width:100%; }
html[data-theme=light] :is(.product-logo,.suite-logo,.bp-logo,.product-icon) .logo-display:not(.logo-pilotx) .logo-original { filter:brightness(.62) saturate(1.1)!important; }
html[data-theme=dark] :is(.product-logo,.suite-logo,.bp-logo,.product-icon) .logo-display:not(.logo-pilotx) .logo-original { filter:brightness(1.55) saturate(.85)!important; }

.commercial-site { --muted:#aeb8cc; --purple:#bd94f2; --cyan:#7ed8ec; }
html[data-theme=light] .commercial-site { --muted:#59657b; --purple:#7846a7; --cyan:#1b718c; }
.commercial-site :is(.hero-grid,.statement-grid,.platform-layout,.copilot-layout,.suite-main,.creator-layout,.price-grid,.faq-grid)>* { min-width:0; }
.commercial-site :is(.demo-main,.demo-heading>div,.stage-columns>*,.stage-property>div,.stage-calendar>div,.stage-action>div,.suite-feature-grid>div,.am-insight>div,.am-command>div,.am-flow-output>*,.copilot-roles>div>*) { min-width:0; }
.commercial-site :is(h1,h2,h3) { line-height:1.15; }
.commercial-site .story-item { opacity:1; border-radius:10px; }
.commercial-site .story-item.is-current { transform:none; background:color-mix(in srgb,var(--purple) 8%,transparent); }
.commercial-site .story-item p { font-size:14px; }
.commercial-site .story-item:not(.is-current) .story-arrow { opacity:.65; }
.commercial-site :is(.story-foot,.stage-toggle,.visual-caption,.stage-counter,.suite-index,.creator-label,.creator-stage-top,.creator-note,.suite-note,.product-caveat,.pricing-note) { font-size:12px!important; line-height:1.65; }
.commercial-site :is(.story-foot,.stage-counter,.visual-caption,.suite-note,.creator-note,.product-caveat,.pricing-note) { color:var(--muted)!important; }
.commercial-site :is(.chapter-index,.section-number,.eyebrow,.stage-caption,.creator-label span:first-child,.creator-stage-top span:first-child,.creator-step>span,.suite-feature-grid b) { color:var(--purple); }
.commercial-site :is(.suite-index,.creator-label) { color:var(--muted); }
.commercial-site :is(.suite-copy>p,.creator-copy>p) { font-size:16px; }
.commercial-site :is(.suite-feature-grid span,.creator-step p,.copilot-roles p,.copilot-proof p,.principle-list small) { font-size:14px; line-height:1.65; }
.commercial-site :is(.suite-feature-grid strong,.creator-step strong,.copilot-proof strong) { font-size:16px; line-height:1.5; }
.commercial-site .suite-amber p { font-size:14px; }
.commercial-site .suite-amber img { margin-top:3px; }
.commercial-site :is(.creator-stage-top,.suite-heading,.creator-label,.journey-head,.demo-heading,.stage-view h3) { flex-wrap:wrap; }
.commercial-site .creator-stage-top { padding:18px 24px; }
.commercial-site .suite-index { max-width:100%; }
.commercial-site .am-video-card video { color:#f7f8fc; }
.commercial-site .am-video-card figcaption { padding:14px; }
.commercial-site .am-video-card a { min-height:44px; display:grid; place-items:center; }
.commercial-site :is(.am-step-nav button,.am-flow-tabs button,.am-choice button,.am-play,.am-flow-play,.motion-control,.stage-toggle) { min-height:44px; }
.commercial-site .am-screen-top { line-height:1.6; flex-wrap:wrap; }
.commercial-site :is(.am-message small,.am-stats span,.am-table-wrap th,.am-channel-label,.am-disclosure,.am-fine) { font-size:12px!important; }
.commercial-site .am-table-wrap { max-width:100%; overscroll-behavior-inline:contain; }
.commercial-site .am-table-wrap table { min-width:520px; }
.commercial-site .am-table-wrap:focus-visible { outline:2px solid var(--purple); outline-offset:3px; }
.commercial-site .am-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
.commercial-site .am-stats strong { font-size:clamp(24px,3vw,34px); overflow-wrap:anywhere; }
.commercial-site .am-next { background-color:#ac85ec; }
.commercial-site .platform-bottom { border-color:var(--line); }
.commercial-site .platform-bottom span { color:var(--muted); border-color:var(--line); font-size:11px; }
.commercial-site .demo-window { --white:#f7f8fc; --muted:#bdc6d8; color:#f7f8fc; background-color:#111728; }
.commercial-site :is(.demo-topbar,.demo-label,.demo-heading small,.message small,.manager-card small,.draft-card small,.side-icon) { color:#aeb8cf; }
.commercial-site :is(.demo-topbar,.demo-label,.demo-heading small,.message small,.scene-kicker,.draft-footer,.manager-card p,.manager-card>span) { font-size:11px; line-height:1.55; }
.commercial-site :is(.message p,.draft-card p,.manager-card strong) { font-size:14px; }
.commercial-site .amber-note p { font-size:12px; }
.commercial-site .demo-topbar { min-height:44px; height:auto; padding-block:10px; flex-wrap:wrap; gap:10px; }
.commercial-site .demo-footer { height:auto; min-height:52px; }
.commercial-site .demo-step { min-height:44px; }
.commercial-site .demo-body { grid-template-columns:40px minmax(0,1fr); }
.commercial-site .scene-stack { min-height:340px; }
.commercial-site .floating-tag { max-width:95%; line-height:1.5; }
.commercial-site .stage-frame { color:#f7f8fc; }
.commercial-site :is(.stage-tile strong,.stage-property strong,.stage-calendar strong,.stage-action strong) { font-size:16px; line-height:1.4; }
.commercial-site :is(.stage-tile p,.stage-property p,.stage-calendar p,.stage-action p,.stage-property em,.calendar-status) { font-size:12px; line-height:1.6; }
.commercial-site :is(.stage-tile small,.stage-property small,.stage-calendar small,.stage-action small,.stage-timeline span,.stage-caption) { font-size:11px; line-height:1.5; }
.commercial-site .stage-action { flex-wrap:wrap; }
.commercial-site .stage-action>div { flex:1 1 190px; }
.commercial-site .stage-calendar { flex-wrap:wrap; }
.commercial-site .stage-timeline span { text-align:center; overflow-wrap:anywhere; }
.commercial-site .copilot-node { color:var(--white); background:var(--panel); border-color:var(--line); }
.commercial-site .copilot-node strong { font-size:14px; line-height:1.4; }
.commercial-site .copilot-node p { font-size:12px; line-height:1.5; color:var(--muted); }
.commercial-site .copilot-node small { color:var(--purple); font-size:10px; }
.commercial-site .copilot-core { background:radial-gradient(circle at 35% 25%,#7950b6,#5b3990 65%,#382451); }
.commercial-site .chapter-super { color:var(--muted)!important; }
.commercial-site :is(.story-num,.story-arrow,.stage-counter strong) { color:var(--purple); }
.commercial-site .story-item:not(.is-current) .story-arrow { opacity:1; }
.commercial-site .sw-top span { color:#b5bed2; }
.commercial-site :is(.copilot-roles,.copilot-roles>div,.copilot-proof,.copilot-proof>div) { border-color:var(--line); }
.commercial-site :is(.copilot-roles p,.copilot-proof p) { color:var(--muted); }
.commercial-site :is(.copilot-roles span,.copilot-proof b) { color:var(--purple); }
.commercial-site .copilot-proof b { margin-bottom:18px; }
.commercial-site .price-card { background-color:var(--panel); }
.commercial-site :is(.price-card>p,.price-card li,.price-card-top,.price>span,.addons p,.addons-list span,.addons-list b,.pricing-note) { font-size:14px; line-height:1.6; }
.commercial-site .price { flex-wrap:wrap; row-gap:4px; }
.commercial-site .price strong { line-height:1.2; }
.commercial-site .price-card .button { font-size:14px; }
.commercial-site .addons-list>div { gap:16px; flex-wrap:wrap; }
.commercial-site .footer-links { flex-wrap:wrap; }
.commercial-site .site-footer { padding-bottom:100px; }

html[data-theme=light] .commercial-site :is(.pricing,.final-cta) { background:#f3f4fa; color:#30374b; }
html[data-theme=light] .commercial-site .hero-field::after { background:linear-gradient(transparent,#f3f4fa); }
html[data-theme=light] .commercial-site :is(.experience h2 em,.modules-intro h2 em,.suite-ads .suite-copy h3 em) { background-image:linear-gradient(100deg,#7846a7,#1b718c); }
html[data-theme=light] .commercial-site .suite-rentals .suite-copy h3 em { color:#1b718c; }
html[data-theme=light] .commercial-site .suite-copy h3 em { background-image:linear-gradient(100deg,#7846a7,#1b718c); background-clip:text; color:transparent; }
html[data-theme=light] .commercial-site :is(.modules-intro>p,.principle-list small) { color:#59657b; }
html[data-theme=light] .commercial-site .am-video-creator { --muted:#59657b; }
html[data-theme=light] .commercial-site .stage-app aside { color:#59657b; }
html[data-theme=light] .commercial-site .stage-app aside strong span { color:#7846a7; }
html[data-theme=light] .commercial-site .hero-edge { color:var(--muted); }
html[data-theme=light] .commercial-site :is(.hero-edge span:nth-child(2),.stage-toggle,.journey-head span,.principle-list span,.cycle-switch span) { color:#7846a7; }
html[data-theme=light] .commercial-site :is(.addons-list b,.price-card-top,.price>span) { color:#4d5870; }
html[data-theme=light] .commercial-site .addons-list a { color:#7846a7; }
html[data-theme=light] .commercial-site .featured .price-button { background:#29213c; color:#fff; }
html[data-theme=light] .commercial-site .stage-frame { color:#30374b; }
html[data-theme=light] .commercial-site :is(.stage-top,.stage-top small,.stage-timeline span,.stage-tile small,.stage-property small,.stage-calendar small,.stage-action small) { color:#59657b; }
html[data-theme=light] .commercial-site :is(.stage-property em,.stage-action>b,.calendar-date span) { color:#7846a7; }
html[data-theme=light] .commercial-site .calendar-status { color:#775327; }
html[data-theme=light] .commercial-site .suite-feature-grid span { color:#59657b; }
html[data-theme=light] .mobile-menu .mobile-portal { background:#e9e0f5; color:#47315f; border-color:#bca9d2; }
html[data-theme=light] .px-chat-topics button { color:#51446f; background:#eee8f7; border-color:#c6b5dc; }
html[data-theme=light] .px-chat-error { color:#8b3048; }

html[data-theme=dark] .commercial-site :is(.copilot-experience,.products-v3) { background:#101422; color:#f7f8fc; }
html[data-theme=dark] .commercial-site :is(.copilot-copy>p,.products-v3 .section-heading>p:last-child) { color:#b6c0d2; }
html[data-theme=dark] .commercial-site :is(.copilot-copy h2 em,.products-v3 .section-heading h2 em,.statement h2 em) { background-image:linear-gradient(100deg,#c39af7,#7ed8ec); }
html[data-theme=dark] .commercial-site .brand-product { background:linear-gradient(145deg,#24203b,#18283c); color:#f7f8fc; border-color:#494561; }
html[data-theme=dark] .commercial-site .brand-product:nth-child(2) { background:linear-gradient(145deg,#17293a,#142139); }
html[data-theme=dark] .commercial-site .brand-product:nth-child(3) { background:linear-gradient(145deg,#173135,#15232e); }
html[data-theme=dark] .commercial-site .brand-product:nth-child(4) { background:linear-gradient(145deg,#30223c,#1e2035); }
html[data-theme=dark] .commercial-site .brand-product::before { filter:brightness(2.5); opacity:.45; }
html[data-theme=dark] .commercial-site :is(.brand-product .bp-order,.brand-product .bp-copy,.bp-points span,.brand-product .bp-arrow) { color:#c3cbe0; }
html[data-theme=dark] .commercial-site .brand-product .bp-arrow { border-color:#536078; }
html[data-theme=dark] .commercial-site :is(.text-cta,.faq-list summary span,.section-number,.journey-head span,.principle-list span) { color:#bd94f2; }

/* Narrow desktop/tablet layouts stack before copy and demos become cramped. */
@media(max-width:1120px) {
  .commercial-site :is(.platform-layout,.copilot-layout,.suite-main,.creator-layout) { grid-template-columns:minmax(0,1fr); gap:40px; }
  .commercial-site :is(.platform-stage,.suite-visual,.creator-stage) { width:100%; max-width:760px; margin-inline:auto; }
  .commercial-site .copilot-visual { transform:none; width:100%; max-width:620px; margin-inline:auto; }
  .commercial-site .copilot-orbit.two { width:min(95%,540px); height:auto; aspect-ratio:1; }
  .commercial-site .copilot-orbit.one { width:min(70%,360px); height:auto; aspect-ratio:1; }
}
@media(max-width:760px) {
  html { scroll-padding-top:82px; }
  .commercial-site .shell,.commercial-site .modules-deep>.shell { width:calc(100% - 40px); }
  .commercial-site :is(.suite-chapter,.creator-feature) { padding-inline:0; }
  .commercial-site .reveal { transform:none; }
  .commercial-site :is(.demo-window,.stage-frame) { transform:none; }
  .commercial-site :is(.demo-main,.stage-content) { padding:20px 16px; }
  .commercial-site :is(.stage-columns,.suite-feature-grid) { grid-template-columns:minmax(0,1fr); }
  .commercial-site .stage-tile { min-height:0; padding:18px; }
  .commercial-site .stage-property { flex-wrap:wrap; }
  .commercial-site .stage-property .property-lines { width:100%; height:120px; }
  .commercial-site .stage-app { grid-template-columns:30px minmax(0,1fr); min-height:0; }
  .commercial-site .stage-view h3 { font-size:22px; }
  .commercial-site .stage-view h3 span { font-size:10px; }
  .commercial-site .stage-top { min-height:48px; height:auto; padding:12px; gap:8px; flex-wrap:wrap; }
  .commercial-site .stage-top small { font-size:9px; }
  .commercial-site .stage-insight { font-size:13px; }
  .commercial-site .platform-bottom { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .commercial-site .copilot-visual { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); height:auto; gap:16px; padding:30px 0; }
  .commercial-site .copilot-core { grid-column:1/-1; justify-self:center; width:130px; height:130px; margin:28px 0 42px; }
  .commercial-site .copilot-orbit { top:15px; left:50%; transform:translateX(-50%); animation:none; }
  .commercial-site .copilot-orbit.one { width:190px; height:190px; }
  .commercial-site .copilot-orbit.two { width:250px; height:250px; }
  .commercial-site .copilot-node { position:relative; inset:auto; width:auto; padding:16px; animation:none; }
  .commercial-site .copilot-proof { grid-template-columns:minmax(0,1fr); }
  .commercial-site .copilot-proof>div { border-right:0; border-bottom:1px solid var(--line); padding:22px 0!important; }
  .commercial-site .copilot-roles strong { font-size:17px; line-height:1.5; }
  .commercial-site .am-stats { grid-template-columns:minmax(0,1fr); }
  .commercial-site .am-table-wrap::before { content:'Deslize para ver todas as colunas ↔'; display:block; position:sticky; left:0; width:max-content; max-width:100%; padding:12px; font-size:12px; color:var(--muted); }
  .commercial-site .am-stats>div { display:flex; align-items:center; gap:16px; padding:16px; }
  .commercial-site .am-stats strong { flex:none; min-width:68px; }
  .commercial-site .am-stats span { margin:0; }
  .commercial-site .am-command { padding:18px 16px; }
  .commercial-site .am-command p { font-size:16px; }
  .commercial-site .am-step-nav button { font-size:13px; }
  .commercial-site .am-controls { align-items:stretch; flex-wrap:wrap; }
  .commercial-site .am-controls .am-next { flex:1 1 160px; max-width:100%; font-size:14px; }
  .commercial-site .am-back { font-size:14px; }
  .commercial-site :is(.am-message,.am-message.out) { max-width:100%; }
  .commercial-site .am-queue { flex-wrap:wrap; }
  .commercial-site .am-queue>span { flex:1 1 90px; }
  .commercial-site .am-logo-wall { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .commercial-site .am-portals { flex-wrap:wrap; }
  .commercial-site .am-portals button { flex:1 1 100px; width:auto; }
  .commercial-site .suite-feature-grid>div { padding:20px 18px; }
  .commercial-site .suite-heading { margin-bottom:30px; }
  .commercial-site .suite-logo .logo-display { height:28px; width:calc(28px * var(--logo-ratio)); }
  .commercial-site :is(.creator-label,.creator-stage-top) { gap:8px; }
  .commercial-site .creator-stage-top { padding:16px 18px; font-size:10px!important; }
  .commercial-site .creator-stage { padding:0 0 22px; }
  .commercial-site .am-video-grid { grid-template-columns:minmax(0,1fr); }
  .commercial-site .am-video-card { max-width:340px; width:100%; margin-inline:auto; }
  .commercial-site .am-video-card video { max-height:520px; }
  .commercial-site .creator-step { grid-template-columns:24px minmax(0,1fr); }
  .commercial-site :is(.am-heading h2,.am-heading h3,.creator-copy h3,.suite-copy h3,.modules-intro h2,.experience h2,.products .section-heading h2) { font-size:clamp(30px,8.7vw,44px); letter-spacing:-.055em; }
  .commercial-site :is(.chapter-heading>p:last-child,.copilot-copy>p,.am-heading>p,.creator-copy>p,.suite-copy>p) { font-size:16px; }
  .commercial-site .hero-actions .button { width:100%; gap:14px; }
  .commercial-site .hero-visual { padding-inline:0; }
  .commercial-site .message.client { max-width:100%; margin-left:0; }
  .commercial-site .demo-body { grid-template-columns:minmax(0,1fr); }
  .commercial-site .demo-sidebar { display:none; }
  .commercial-site .tag-top { left:0; }
  .commercial-site .tag-bottom { right:0; bottom:0; }
  .commercial-site .hero-visual { padding-bottom:56px; }
  .commercial-site .manager-card { flex-wrap:wrap; }
  .commercial-site .price-card { padding:24px; }
  .commercial-site .final-inner h2 { font-size:clamp(32px,9vw,48px); }
  .commercial-site .menu-toggle { width:44px; height:44px; }
  .px-chat-launch { min-height:48px; padding:6px 12px 6px 7px; right:12px; bottom:max(12px,env(safe-area-inset-bottom)); gap:8px; }
  .px-chat-launch>span:nth-child(2) { font-size:0; }
  .px-chat-launch>span:nth-child(2)::after { content:'Fale com a gente'; font-size:12px; }
  .px-chat-launch-arrow { display:none; }
  .px-chat { right:8px; width:calc(100% - 16px); bottom:72px; height:min(660px,calc(100dvh - 90px)); }
  .px-chat :is(input,select,textarea),.fields input { font-size:16px; }
}
@media(max-width:380px) {
  .commercial-site .shell,.commercial-site .modules-deep>.shell { width:calc(100% - 32px); }
  .commercial-site .copilot-visual { grid-template-columns:minmax(0,1fr); }
  .commercial-site .am-screen-top b { white-space:normal; }
  .commercial-site .am-flow-tabs button { flex:1 1 100px; }
}
/* Shared checkout/support surfaces retain their own layout and palette. */
.page-heading,.checkout-grid,.product-header,.fields { min-width:0; }
.product-header>* { min-width:0; }
.summary-row { flex-wrap:wrap; }
html[data-theme=light] .fields input::placeholder { color:#657087; }
html[data-theme=light] .fields label small { color:#657087; }
html[data-theme=light] .product-title p { color:#59657b; }
html[data-theme=light] .theme-toggle { color:#5c3e7e; }
@media(max-width:620px) {
  .product-header { grid-template-columns:minmax(0,1fr) 32px; gap:14px; }
  .product-icon { grid-column:1; width:auto; max-width:100%; }
  .product-title { grid-column:1/-1; grid-row:2; }
  .include-control { grid-column:2; grid-row:1; }
  .plan-options { margin-left:0; }
  .topbar-inner { gap:10px; }
  .topbar-actions { gap:8px; }
  .back-link { font-size:11px; }
  .brand { max-width:130px; }
  .legal-header { flex-wrap:wrap; gap:14px; }
  .legal-header nav { gap:14px; flex-wrap:wrap; }
  .legal-document { padding:20px 16px; }
  .legal-layout aside nav { grid-template-columns:minmax(0,1fr); }
  .legal-document a { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
