/* Requested Moxie brand accents; the original layout remains in styles.css. */
:root{--ink:#171717;--soft:#f6f5f1;--red:#f04438;--blue:#246bfd;--yellow:#f5c542;--green:#169b62}
.wordmark img{width:140px;height:auto}
.brand-dots{position:relative;display:flex;justify-content:space-between;align-items:center;width:176px;max-width:100%;height:24px;margin:0 0 28px}
.brand-dots:before{content:"";position:absolute;inset:50% 10px auto;height:1px;background:var(--line)}
.brand-dots span{position:relative;display:block;width:18px;height:18px;border-radius:50%;background:var(--red)}
.brand-dots span:nth-child(2){background:var(--blue)}
.brand-dots span:nth-child(3){background:var(--yellow)}
.brand-dots span:nth-child(4){background:var(--green)}
.role-card .role:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--blue);margin-right:9px}
.role-card:nth-child(3n+2) .role:before{background:var(--yellow)}
.role-card:nth-child(3n) .role:before{background:var(--green)}
.home-video{margin:0;width:100%}
.home-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}

/* Simplified hero: one video on the right, with a small dot accent. */
.hero .hero-media{align-self:center;min-width:0;border:0;padding:0}
.hero-media .brand-dots{width:104px;height:12px;margin:22px auto 0}
.hero-media .brand-dots span{width:10px;height:10px}
.video-frame{position:relative}
.video-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:68px;height:68px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--ink);color:#fff;box-shadow:0 4px 22px #0003;cursor:pointer}
.video-play[hidden]{display:none}
.video-play svg{margin-left:4px}
.video-play:hover{background:var(--yellow);color:var(--ink)}
.video-play:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
@media(max-width:620px){.video-play{width:58px;height:58px}}

/* October 20 copy review: preserve layout; make actions and accents clearer. */
:root{--button-red:#cf3025;--action-highlight:var(--yellow)}
.btn-red,.card-button{background:var(--button-red);border-color:var(--button-red);color:#fff}
.btn:not(:disabled):hover,.btn:not(:disabled):focus-visible{background:var(--action-highlight);border-color:var(--action-highlight);color:var(--ink)}
.btn:focus-visible,.card:focus-visible,.prompt-detail summary:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.btn:disabled{cursor:default;opacity:.65}
a.role-card:hover,a.role-card:focus-visible{background:var(--action-highlight);border-color:var(--action-highlight);color:var(--ink)}
a.role-card:hover p,a.role-card:focus-visible p,a.role-card:hover .role,a.role-card:focus-visible .role{color:var(--ink)}
.card-button{display:inline-flex;align-self:flex-start;width:fit-content;border:1px solid var(--button-red);border-radius:999px;padding:11px 15px;font-size:14px;line-height:1.4;margin-top:18px}
a.role-card:hover .card-button,a.role-card:focus-visible .card-button{background:#fff;border-color:#fff;color:var(--ink)}
a.role-card:hover .role:before,a.role-card:focus-visible .role:before{box-shadow:0 0 0 1px #fff}
.card>.btn{align-self:flex-start;margin-top:20px}
.section-dots{width:112px;height:12px;margin:28px 0 0}
.section-dots span{width:10px;height:10px}
.connected-steps .step{position:relative;padding-top:25px}
.connected-steps .step:before{content:"";position:absolute;left:0;top:-6px;width:11px;height:11px;border-radius:50%;background:var(--red)}
.connected-steps .step:nth-child(2):before{background:var(--blue)}
.connected-steps .step:nth-child(3):before{background:var(--green)}
.connected-stats .stat:before{content:"";display:block;width:10px;height:10px;border-radius:50%;background:var(--red);margin-bottom:14px}
.connected-stats .stat:nth-child(2):before{background:var(--blue)}
.connected-stats .stat:nth-child(3):before{background:var(--yellow)}
.connected-stats .stat:nth-child(4):before{background:var(--green)}
.work-flow{display:flex;flex-wrap:wrap;gap:18px 30px;margin:0 0 30px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px;font-weight:700}
.work-flow span:before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--red);margin-right:9px}
.work-flow span:nth-child(2):before{background:var(--blue)}
.work-flow span:nth-child(3):before{background:var(--green)}
.result-number{display:block;font-size:clamp(40px,5vw,66px);letter-spacing:-.04em;margin-top:16px}
.result-unit{display:block;font-size:20px;letter-spacing:0;font-weight:500;margin-top:7px}
.ai-actions{display:flex;gap:12px;flex-wrap:wrap}
.prompt-detail{margin-top:20px}
.prompt-detail summary{cursor:pointer;font-size:14px;font-weight:700}
.prompt-detail p{font-size:15px;line-height:1.6}
.copy-status{display:block;font-size:14px;margin-top:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.card,.reveal{transition:none}.reveal{opacity:1;transform:none}}

/* October 20 consolidation: connected dots and human + AI chart. */
.main-nav .nav-link{font-weight:650}
.site-footer a:hover,.site-footer a:focus-visible,.article-main a:hover,.article-main a:focus-visible,.prompt-detail summary:hover,.faq summary:hover,.menu-toggle:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:5px}
.menu-toggle:focus-visible,.faq summary:focus-visible,a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
input:focus,textarea:focus,select:focus{outline:2px solid var(--ink);outline-offset:2px;border-color:var(--ink)}
.section-head .section-dots{margin:0 0 22px}
.section-dark .brand-dots:before{background:#555}
.example-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.example-actions .btn{font-size:13px}
[id]{scroll-margin-top:28px}
.team-chart{margin:0 0 30px}
.team-chart-wide{width:100%;height:auto}
.team-chart figcaption{max-width:760px;margin:20px auto 0;color:#666;font-size:14px;line-height:1.6;text-align:center}
.team-chart-mobile{display:none}
.founder-photo figure{margin:0}
.founder-photo img{width:100%;height:auto;border-radius:var(--radius)}
.founder-photo .brand-dots{margin:24px auto 0}
.card:not(a):hover{transform:none;box-shadow:none}
.page-hero .method-title{line-height:1.06;max-width:1100px}
.method-title>span{display:block}
.method-title>span+span{margin-top:.12em}
.measurement-head{display:block}
.measurement-head>p{margin-top:30px;max-width:760px}
.section-head .measurement-title{display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(8px,1.7vw,22px);font-size:clamp(24px,4.8vw,58px);line-height:1.15;max-width:none}
.measurement-title span{flex:1}
.measurement-title b{font-size:.65em;font-weight:400;color:var(--red)}
.measurement-cards .proof-card{padding:28px}
.measurement-cards h3{font-size:27px;margin-top:12px}
.cost-story{border-top:1px solid var(--line);padding-top:48px;margin-top:48px}
.cost-story-heading{max-width:760px}
.cost-story h3{font-size:clamp(28px,3.4vw,42px);letter-spacing:-.035em;line-height:1.1;margin:12px 0}
.cost-comparison{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin:32px 0 22px}
.cost-label{display:block;font-size:13px;font-weight:700;margin-bottom:16px}
.cost-before strong{font-size:clamp(44px,5vw,66px);letter-spacing:-.04em;line-height:1.1}
.spend-bar{height:28px;max-width:100%;margin:20px 0 12px}
.spend-bar span{display:block;width:100%;height:100%;background:var(--red);border-radius:4px 12px 6px 5px}
.cost-after{border-left:3px solid var(--green);padding-left:26px}
.cost-after strong{display:block;font-size:clamp(26px,3vw,38px);line-height:1.12;letter-spacing:-.03em}
.cost-after p{color:#555;max-width:400px}
.outcome-card .tag{margin-bottom:18px}
@media(max-width:900px){.founder-photo{order:-1;width:100%;max-width:420px;margin:0 auto}}
@media(max-width:760px){
  .team-chart-wide{display:none}.team-chart-mobile{display:block}
  .team-chart-mobile ul{list-style:none;margin:0;padding:0}
  .team-chart-mobile .team-branches{border-left:2px solid #c8c6bf;margin:0 0 0 14px;padding:22px 0 0 20px}
  .team-chart-mobile .team-branches>li{position:relative;margin-bottom:22px}
  .team-chart-mobile .team-branches>li:before{content:"";position:absolute;left:-21px;top:18px;width:14px;height:2px;background:#c8c6bf}
  .team-chart-mobile h3{font-size:13px;text-transform:uppercase;letter-spacing:.1em;margin:0 0 16px}
  .team-role{border:1.5px solid var(--ink);border-radius:17px 20px 16px 18px;padding:18px;background:#fff}
  .team-role>strong{display:block;font-size:21px;letter-spacing:-.025em;margin-bottom:15px}
  .team-chart-mobile .ai-helpers{display:grid;gap:8px}
  .ai-helper{font-size:14px;line-height:1.45;padding:9px 12px;border-radius:12px;background:#e8f6ef;border-left:4px solid var(--green)}
  .ai-helper span{display:block;font-size:11px;font-weight:700}
  .ai-helper.helper-red{background:#fdece9;border-color:var(--red)}
  .ai-helper.helper-blue{background:#eaf0ff;border-color:var(--blue)}
  .ai-helper.helper-yellow{background:#fff8d9;border-color:var(--yellow)}
  .team-chart-mobile .manager-branches>li+li{margin-top:28px}
  .team-chart figcaption{text-align:left}
}
@media(max-width:620px){
  .section-head .measurement-title{font-size:clamp(15px,4.2vw,25px);gap:7px;letter-spacing:-.04em}
  .cost-comparison{grid-template-columns:1fr;gap:28px}
  .founder-photo{max-width:420px;margin:0 auto}
  .example-actions .btn{white-space:normal;text-align:center}
}

/* Yellow rollover review: black text for legibility; all four dot colors remain. */

/* Services and detailed role review. The original template remains intact. */
.main-nav .nav-link,.footer-nav-link{position:relative;display:inline-block;padding-top:10px;padding-bottom:12px;text-decoration:none}
.main-nav .nav-link.active{font-weight:800;text-decoration:none}
.main-nav .nav-link:hover,.main-nav .nav-link:focus-visible,.site-footer .footer-nav-link:hover,.site-footer .footer-nav-link:focus-visible{text-decoration:none;color:var(--ink)}
.nav-hover-dots{position:absolute;display:flex;justify-content:space-between;width:39px;height:6px;left:50%;bottom:0;transform:translateX(-50%);opacity:0;pointer-events:none}
.nav-hover-dots:before{content:"";position:absolute;left:3px;right:3px;top:3px;height:1px;background:var(--line)}
.nav-hover-dots i{position:relative;width:6px;height:6px;border-radius:50%;background:var(--red)}
.nav-hover-dots i:nth-child(2){background:var(--blue)}
.nav-hover-dots i:nth-child(3){background:var(--yellow)}
.nav-hover-dots i:nth-child(4){background:var(--green)}
.nav-link:hover .nav-hover-dots,.nav-link:focus-visible .nav-hover-dots,.footer-nav-link:hover .nav-hover-dots,.footer-nav-link:focus-visible .nav-hover-dots{opacity:1}
.capability-list{grid-template-columns:1fr 1fr;gap:12px 44px}
.capability-list h3{font-size:23px;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}
.capability-list .job p{margin:0;color:#444}
.detail-heading{font-size:42px;letter-spacing:-.04em;line-height:1.05}
.detail-copy{font-size:18px}
.role-example{border-top:1px solid var(--line);margin-top:42px;padding-top:28px;max-width:900px}
.role-example p{font-size:20px;line-height:1.55}
.section-red{background:var(--red);color:var(--ink)}
.section-red .quote{max-width:1050px}
.credentials{display:grid;gap:10px;margin-top:30px}
.credential-badge{border:1px solid var(--line);border-radius:999px;padding:12px 15px;font-size:13px;font-weight:700;line-height:1.3;text-align:center;background:#fff}
.credential-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);margin-right:6px}
.credential-planned{color:#555;background:var(--soft);border-style:dashed}
.credential-planned small{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;margin-top:4px;font-weight:500}
.service-options h2{font-size:30px;line-height:1.05;letter-spacing:-.035em;margin:12px 0}
.service-options ul{padding-left:19px;line-height:1.55;color:#444}
.service-options li{margin:10px 0}
.service-options li::marker{color:var(--red)}
.service-pricing{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
.service-pricing strong,.service-pricing span{display:block}
.service-pricing span{font-size:14px;margin-top:5px}
.service-links{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:620px){.capability-list{grid-template-columns:1fr}.capability-list .job{grid-template-columns:34px 1fr;gap:8px}.detail-heading{font-size:36px}}

/* Separate AI roles with the lighter doodle treatment. */
.team-chart-section .service-links{justify-content:center}
.chart-section-divider{border:0;border-top:1px solid var(--line);width:calc(100% - 56px);max-width:calc(var(--max) - 56px);margin:0 auto}
.team-chart-mobile .team-role,.team-chart-mobile .ai-team-card{position:relative;border:1.5px solid #383838;border-radius:17px 20px 16px 18px;padding:20px 15px;box-sizing:border-box;background:#fff;color:var(--ink);text-align:center}
.team-chart-mobile .team-role{border-radius:18px 15px 20px 17px}
.team-chart-mobile .team-kind{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;color:#777}
.team-chart-mobile .team-role>strong,.team-chart-mobile .ai-team-card>strong{display:block;font-size:18px;letter-spacing:-.02em;line-height:1.3;margin:0;overflow-wrap:break-word}
.team-chart-mobile .ai-role-name{display:block;font-size:14px;font-weight:700;color:#555;margin-top:8px}
.team-chart-mobile .ai-team-card:before{content:"";position:absolute;left:12px;top:12px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.team-chart-mobile .ai-team-card[data-accent="blue"]:before{background:var(--blue)}
.team-chart-mobile .ai-team-card[data-accent="yellow"]:before{background:var(--yellow)}
.team-chart-mobile .ai-team-card[data-accent="green"]:before{background:var(--green)}
.team-chart-mobile .team-branches{margin-left:10px;padding-left:14px}
.team-chart-mobile .team-branches>li:before{left:-15px;width:14px}
@media(max-width:620px){.chart-section-divider{width:calc(100% - 40px)}}

/* Result stories reuse the existing page structure and brand treatment. */
.work-result{display:flex;flex-direction:column;align-items:flex-start}
.work-result .tag{margin-bottom:20px}
.work-result h3{font-size:clamp(28px,3.2vw,42px);line-height:1.08}
.work-result p{color:#444;line-height:1.65;margin-bottom:26px}
.work-result .btn{margin-top:auto}
.result-story .step h3{font-size:28px}
.result-story .step p{color:#444;line-height:1.65}

/* One responsive font size for every main page heading. */
:root{--page-title-size:clamp(52px,7vw,92px)}
.hero h1,.page-hero h1{font-size:var(--page-title-size)}
@media(max-width:620px){:root{--page-title-size:54px}}

/* Earned OpenAI Academy credential, October 22. */
.credential-earned{display:flex;align-items:center;justify-content:center;gap:14px;border-radius:20px;text-align:left;color:var(--ink);text-decoration:none;transition:background .2s,border-color .2s}
.credential-earned img{width:56px;height:56px;flex:none;border-radius:50%;object-fit:contain}
.credential-earned strong,.credential-earned span span,.credential-earned small{display:block}
.credential-earned strong{font-size:13px;margin-bottom:3px}
.credential-earned small{margin-top:5px;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.credential-earned:hover,.credential-earned:focus-visible{background:var(--yellow);border-color:var(--ink);color:var(--ink)}
.credential-earned:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* Explicit mobile menu colors prevent platform-default blue button text. */
.menu-toggle,.menu-toggle:visited,.menu-toggle:active{color:var(--ink);-webkit-text-fill-color:var(--ink);-webkit-appearance:none;appearance:none;background:transparent}
@media(max-width:1100px){.menu-toggle{display:block}.main-nav{position:absolute;left:16px;right:16px;top:70px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:none;flex-direction:column;align-items:stretch;z-index:20;box-shadow:var(--shadow)}.main-nav.open{display:flex}}
