/* Shared appearance. Brand ink/bone stay fixed for existing dark panels and accents. */
:root{color-scheme:light;--calm-surface:#ecebe4;--calm-text:#1b1d1a;--calm-muted:#545b4e;--calm-emphasis:#596949;--calm-line:#c9cbbf}
.aucoto-nav .an-theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:1px solid #c4c9bc;border-radius:50%;background:transparent;color:#252b21;cursor:pointer;transition:background .2s,border-color .2s}
.aucoto-nav .an-theme-toggle:hover{background:#e9eddf;border-color:#84936d}
.an-theme-toggle svg{display:block;width:22px;height:22px;pointer-events:none}
.an-theme-toggle .theme-sun{display:none}
[data-theme="dark"] .an-theme-toggle .theme-moon{display:none}
[data-theme="dark"] .an-theme-toggle .theme-sun{display:block}
@media(max-width:1100px){.aucoto-nav .an-bar{gap:14px}.aucoto-nav .an-brand>span{font-size:15px}}
@media(max-width:600px){.aucoto-nav .an-bar{gap:10px}.aucoto-nav .an-brand>span{display:none}.aucoto-nav .an-book{gap:14px;padding-inline:12px}.aucoto-nav .an-book-label{font-size:13px}}
@media(max-width:380px){.aucoto-nav .an-bar{width:90%;gap:8px}.aucoto-nav .an-book{padding-inline:10px}.aucoto-nav .an-book>span:last-child{display:none}.aucoto-nav .an-brand img{width:38px;height:38px}.aucoto-nav .an-theme-toggle{flex-basis:42px;width:42px;height:42px}}

html[data-theme="dark"]{
  color-scheme:dark;
  --theme-bg:#171b16;--theme-surface:#22281f;--theme-raised:#2d3528;
  --theme-text:#f1f3e9;--theme-muted:#bac4b0;--theme-line:#46503f;
  --calm-surface:var(--theme-surface);--calm-text:var(--theme-text);--calm-muted:var(--theme-muted);--calm-emphasis:#c0d0ac;--calm-line:var(--theme-line);
  --muted:var(--theme-muted);--line:var(--theme-line);--stone:var(--theme-line);
  --soft:var(--theme-surface);--deep:var(--theme-surface);--paper:var(--theme-surface);--olive:#c0d88c;
  background:var(--theme-bg);
}
[data-theme="dark"] body{background:var(--theme-bg);color:var(--theme-text)}
[data-theme="dark"] .community-page{--muted:var(--theme-muted)}
[data-theme="dark"] ::selection{background:#c7f94b;color:#191d17}
[data-theme="dark"] :is(a,button,summary,input):focus-visible{outline-color:#c7f94b}
[data-theme="dark"] :is(.button,.skip,.skip-link){color:#1a1a1a}
[data-theme="dark"] .button-dark{color:#f7f5f0}
[data-theme="dark"] .button.small{color:var(--theme-text)}

/* Header, all three mega menus and mobile navigation. */
[data-theme="dark"] header.aucoto-nav{--an-bone:#22281f;--an-ink:#f1f3e9;--an-line:#46503f;background:#171b16f5;color:var(--an-ink);border-bottom-color:var(--an-line)}
[data-theme="dark"] .aucoto-nav .an-panel{border-color:var(--an-line);box-shadow:0 28px 70px #0007}
[data-theme="dark"] .aucoto-nav :is(.an-feature,.an-manifesto){--an-bone:#f7f5f0}
[data-theme="dark"] .aucoto-nav :is(.an-panel-top>p,.an-label,.an-item p,.an-item h3 small,.an-foundation-note,.an-panel-bottom,.an-muted,.an-topics>div>span,.an-unavailable small){color:#b8c2ac}
[data-theme="dark"] .aucoto-nav .an-item h3 small.an-live{color:#c7f94b}
[data-theme="dark"] .aucoto-nav :is(.an-close,.an-theme-toggle){color:var(--an-ink);border-color:#647257}
[data-theme="dark"] .aucoto-nav :is(.an-disclosure>summary:hover,.an-disclosure[open]>summary,.an-shop:hover,.an-close:hover,.an-theme-toggle:hover,a.an-item:hover,.an-soon:hover,.an-item[aria-current=page]){background:#343e2c}
/* Link titles and arrows share the same readable ink as non-link menu items. */
[data-theme="dark"] .aucoto-nav :is(.an-item h3,.an-item[aria-current=page] h3,.an-link-arrow,.an-panel-bottom>a,.an-small-link){color:var(--an-ink)}
[data-theme="dark"] .aucoto-nav .an-topics>div>span{border-color:var(--an-line)}
[data-theme="dark"] .aucoto-nav .an-book{color:#1a1a1a}
[data-theme="dark"] .aucoto-nav .an-mobile-toggle{border-color:#647257}
[data-theme="dark"] .aucoto-nav .an-mobile-toggle>span{background:var(--an-ink)}
[data-theme="dark"] .aucoto-nav .an-backdrop{background:#080d0880}

/* Shared light surfaces become layered charcoal; images are never inverted. */
[data-theme="dark"] :is(.browser,.feature-visual,.messaging-visual,.image-dialog,.community-footer,.school-features,.academy-showcase){background:var(--theme-bg)}
[data-theme="dark"] :is(.hero-showcase,.mobile-visual,.messaging-section,.community-final,.human-section,.solution,.experience-section,.workload-section,.welcome-section,.start-simple,.volunteer-flow,.faq-section,.feedback-loop,.team-section,.school-feature-image,.feature-image){background:var(--theme-surface)}
[data-theme="dark"][data-page="community"] .feature-section{background:var(--theme-surface)}
[data-theme="dark"][data-page="schools"] .setup-section{background:var(--theme-surface)}
[data-theme="dark"] :is(.product-image,.team-showcase figure,.feature-panel figure,.learning-chapter figure){background:var(--theme-surface);border-color:var(--theme-line)}
[data-theme="dark"] :is(.preview-window,.church-window,.demo-shell,.example-post,.hero-note){background:var(--theme-surface);color:var(--theme-text)}
[data-theme="dark"] :is(.learning-note,.parent-reply,.resource-row,.demo-feed,.file-card,.workflow-before,.demo-list>div,.platform-main .members-demo){background:var(--theme-raised)}
[data-theme="dark"] :is(.home-prompt,.mini-resource,.welcome-steps span,.workflow-after){background:#34412a}
[data-theme="dark"] :is(.avatar,.initial-avatar,.avatar.parent,.feed-reply .initial-avatar){background:#414c35;color:#e1eccf}
[data-theme="dark"] .hero-visual:before,[data-theme="dark"] .hero-arch{background:var(--theme-raised)}
[data-theme="dark"] :is(.signal,.tiny-square,.hero-kicker .signal-square){background:#c7f94b}
[data-theme="dark"] :is(.gallery-tag,.gallery-label){background:#20271eed;color:#edf2e5}

/* Text that originally used fixed light-theme colours. */
[data-theme="dark"] :is(.starting,.available,.sidebar-note,.preview-cards p,.concept-note,.feature-grid p,.problem-body p,.chapter-copy p,.status,.stage p,.services>div>p:not(.eyebrow),.service-num,.service-list details p,.founder-visual>span,.founder-copy>p:not(.eyebrow),.founder-story>p,.faq-list details p,.footer-grid a:not(.wordmark),.footer-bottom,.tour-description,.demo-list p,.demo-list .demo-icon,.demo-tag,.solution-heading>p,.solution-count,.solution-shift>.shift-from,.kicker-right,.hero-verbs,.hero-signoff,.showcase-domain,.three-principles .eyebrow,.feature-tabs button span,.question-list article>span){color:var(--theme-muted)}
[data-theme="dark"] :is(.community-page em,.section-heading h2 em,.intro-section h2 em,.section-heading em,.split-intro em,.reality h2 em,.school-reality em,.release-heading h2 em,.split-heading h2 em,.team-copy h2 em,.setup-section h2 em,.boundaries-layout h2 em,.closing-section em,.intro-grid h2 em,.workload-section h2 em,.belonging-heading h2 em,.hero-content h1 em,.hero-heading h1 em,.hero-heading em,.feature-heading h2 em,.guide-heading h2 em,.beyond-layout h2 em){color:#c0d88c}
[data-theme="dark"] :is(.platform-brand span,.intro-section .large-copy,.intro-grid .large-copy,.education-intro .large-copy,.beyond-layout .large-copy,.belonging-section .large-copy,.reality-copy .large-copy,.reality-copy .text-link,.learning-copy>.section-lead,.team-copy .large-copy,.friction-grid .friction-answer,.hero-use-cases,.dialog-close,.pull-line,.motion-on .word.lit){color:var(--theme-text)}
[data-theme="dark"] :is(.outcome-strip span,.pixel-mark,.journey-number,.system-plus,.value-grid .eyebrow,.setup-list .eyebrow,.feature-tabs .eyebrow,.offers-grid .eyebrow,.launch-steps .eyebrow,.friction-grid .eyebrow,.chapter-number,.chapter-heading .eyebrow,.resource-number,.large-number,.care-points article>span,.setup-steps li>span,.feature-benefits .eyebrow,.feature-use-cases .eyebrow,.welcome-art>.eyebrow,.volunteer-flow i){color:#aebf94}
[data-theme="dark"] :is(.audience-story>p,.post-person strong,.journey-grid article>p:not(.eyebrow),.journey-detail,.hero-bottom,.feedback-loop>p,.feedback-loop li p,.system-grid article>p:last-child,.system-note,.mini-nav,.demo-top>span:last-child,.demo-sidebar>.eyebrow,.demo-sidebar>span:not(.eyebrow),.sidebar-signoff,.demo-chip,.post-label,.example-post>p,.home-prompt p,.demo-reply p,.mini-resource .eyebrow,.mini-event .eyebrow,.mini-resource p,.mini-event p,.mini-event>span:last-child,.scene-caption p,.experience-section .example-note,.file-card div>span,.welcome-steps b,.workflow-before,.workflow-before .workflow-steps,.workflow-steps i,.workflow-comparison p,.outcomes-note,.school-feature-image figcaption,.school-feature-image figcaption .eyebrow,.feature-image figcaption .eyebrow,.reality-line span:last-child,.resource-row>span,.volunteer-flow strong){color:var(--theme-muted)}
[data-theme="dark"] .welcome-story :is(.large-copy,.welcome-belief){color:var(--theme-text)!important}
[data-theme="dark"] .feature-tabs button,[data-theme="dark"] .school-feature-tabs button,[data-theme="dark"] .experience-tabs button,[data-theme="dark"] .audience-tabs button{color:var(--theme-text)}
[data-theme="dark"] :is(.feature-tabs button:hover,.school-feature-tabs button:hover,.experience-tabs button:hover,.audience-tabs button:hover,.platform-links button:hover){background:#35422b;color:var(--theme-text)}
[data-theme="dark"] :is(.feature-tabs button[aria-selected=true],.school-feature-tabs button[aria-selected=true],.experience-tabs button[aria-selected=true],.audience-tabs button[aria-selected=true],.platform-links button[aria-selected=true],.platform-links button.active){background:#c7f94b;color:#1a1a1a}
[data-theme="dark"] :is(.feature-tabs button[aria-selected=true],.school-feature-tabs button[aria-selected=true]) :is(span,small,.eyebrow,.feature-icon){color:#35471f}
[data-theme="dark"] :is(.platform-links button,.alignment-control output){color:var(--theme-muted)}
[data-theme="dark"] :is(.principle-directory nav a[aria-current=true],.learning-index a:hover,.learning-index a[aria-current=true]){background:#344329;color:var(--theme-text);border-color:#a5c568}
[data-theme="dark"] .demo-sidebar>.demo-selected{background:#344329;color:var(--theme-text)!important}
[data-theme="dark"] .mini-nav .selected,[data-theme="dark"] .faq-list details[open] summary{color:#c7f94b}
[data-theme="dark"] .motion-on .word{color:#7f8b73}
[data-theme="dark"] .belonging-grid .eyebrow{color:#aebf94}

/* Quiet full-width fields in both themes. Lime is reserved for smaller accents.
   Scope the shared closing/setup names to the two pages that had lime fields. */
:is(.founding-section,.rollout-section,.method-band,.creator-manifesto,.brand-band,[data-page="gyms"] .closing-section,[data-page="saas"] .setup-section){background:var(--calm-surface);color:var(--calm-text);--muted:var(--calm-muted)}
:is(.founding-section,.rollout-section,.method-band,.creator-manifesto,.brand-band,[data-page="gyms"] .closing-section,[data-page="saas"] .setup-section) :is(p,.eyebrow){color:var(--calm-muted)}
:is(.founding-section,.rollout-section,.method-band,.creator-manifesto,.brand-band,[data-page="gyms"] .closing-section,[data-page="saas"] .setup-section) :is(h2 em,.step-number){color:var(--calm-emphasis)}
:is(.rollout-section,.method-band,[data-page="saas"] .setup-section) :is(.rollout-steps li,.method-flow>div,.setup-steps li){border-color:var(--calm-line)}
.founding-card{box-shadow:0 20px 40px #20271b12}
[data-theme="dark"] .founding-card{background:var(--theme-bg);color:var(--theme-text);--muted:var(--theme-muted);box-shadow:0 20px 40px #0002}
[data-theme="dark"] .founding-card li:before{color:#c7f94b}
[data-theme="dark"][data-page="gyms"] .closing-section .button-dark{border-color:var(--calm-line)}
html[data-theme="dark"] :is(.highlight,.lime-highlight,.problem-body strong){color:#1a1a1a!important;background:#c7f94b;box-decoration-break:clone;-webkit-box-decoration-break:clone}
[data-theme="dark"][data-page="schools"] .school-hero h1 em{color:#1a1a1a;background:#c7f94b}
[data-theme="dark"][data-page="philosophy"] h1 em{color:#1a1a1a;background:#c7f94b}
[data-theme="dark"] .solution-nav a:hover,[data-theme="dark"] .solution-nav a:focus-visible{color:#1a1a1a}
[data-theme="dark"] .solution-shift>.shift-to{color:var(--theme-text)}

/* Editorial and product-specific treatments. */
[data-theme="dark"][data-page="home"] .hero:before{background:linear-gradient(90deg,#171b16f5 0%,#171b16dc 29%,#171b1650 65%,#171b1620 100%)}
[data-theme="dark"][data-page="home"] .hero-bottom{background:transparent}
[data-theme="dark"][data-page="home"] .alignment-control{background:#22281ff0;color:var(--theme-text)}
[data-theme="dark"][data-page="home"] #problem .alignment{background:var(--theme-bg)}
/* This art-led CTA intentionally keeps its light-mode composition in both themes. */
[data-theme="dark"][data-page="home"] #next.final-cta{color-scheme:light;color:var(--ink);--muted:#6b6b6b}
[data-theme="dark"][data-page="home"] .footer-big{color:#46503d}
[data-theme="dark"][data-page="home"] .browser{border-color:var(--theme-line)}
[data-theme="dark"][data-page="home"] .member-circles span{background:#414c35}
[data-theme="dark"][data-page="saas"] .saas-hero{background:linear-gradient(var(--theme-bg) 70%,var(--theme-surface))}
[data-theme="dark"][data-page="businesses"] .team-showcase{background:linear-gradient(var(--theme-bg) 25%,var(--ink) 25%)}
[data-theme="dark"][data-page="educators"] .showcase-label{color:#c2d3ab}
[data-theme="dark"][data-page="creators"] .text-link,
[data-theme="dark"][data-page="educators"] .text-link{color:var(--theme-text)}
[data-theme="dark"][data-page="philosophy"] .text-link{border-color:var(--theme-line)}
[data-theme="dark"][data-page="philosophy"] .principle details strong{color:var(--theme-text)}
[data-theme="dark"][data-page="philosophy"] .big-number{color:#9aaa88}
[data-theme="dark"] :is(.hero-showcase,.messaging-visual,.feature-visual,.mobile-visual,.preview-window,.church-window,.demo-shell,.example-post,.feature-image,.school-feature-image,.hero-note){border-color:var(--theme-line)}
[data-theme="dark"] :is(.feature-tabs,.feature-tabs button,.school-feature-tabs,.school-feature-tabs button,.experience-tabs,.experience-tabs button,.audience-tabs,.audience-tabs button,.browser-bar,.platform-sidebar,.preview-cards,.feature-grid article,.messaging-benefits article,.question-list article,.support-list>p,.founder-sign,.footer-base,.founding-card li,.all-features details,.app-upgrade,.feature-list details,.capability-grid p,.service-list details,.solution-story,.solution-nav,.footer-bottom){border-color:var(--theme-line)}
@media(max-width:700px){[data-theme="dark"][data-page="home"] .hero:before{background:linear-gradient(#171b16 55%,#171b16d0 66%,#171b1600 91%)}}
