/* Clearer first impression and a consistent reading rhythm for the public site. */
main{position:relative}
.hero{position:relative;isolation:isolate;max-width:1320px;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.4fr);align-items:center;gap:40px;padding-top:46px;padding-bottom:34px}
.hero:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-80px -48px -20px;background:radial-gradient(ellipse at 95% 18%,#e0edff 0,transparent 55%),linear-gradient(120deg,#fff 30%,#f5f9ff 100%)}
.hero-copy{text-align:left;max-width:none;margin:0;min-width:0;padding-bottom:12px}
.hero .eyebrow{font-size:11px;font-weight:650;letter-spacing:.13em;color:#3563a1}
.hero h1{font-size:64px;line-height:1.02;letter-spacing:-.065em;margin:22px 0}
.hero-description{max-width:360px;font-size:17px;line-height:1.75;letter-spacing:-.2px}
.hero-actions{justify-content:flex-start;gap:10px;margin-top:28px;flex-wrap:wrap}
.hero-actions .button{font-size:12px;padding:14px 18px;min-height:48px}
.hero-proof{display:flex;align-items:center;gap:6px;font-size:12px;color:#526b83;margin-top:29px;line-height:1.5}
.hero-proof .icon{width:15px;height:15px;color:#2463d4;margin-right:3px}
.hero-proof strong{color:#193653;font-weight:650}
.hero-price{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px;font-size:12px;color:#315779;line-height:1.6;text-decoration:none}
.hero-price>span{color:#60748c}.hero-price .icon{width:13px;height:13px;color:#2463d4}.hero-price:hover{color:#2463d4}
.hero-stage{min-width:0}
.hero-stage .ap-hero-wrap{margin:0;padding:8px;border-radius:15px;background:#edf4ff;border:1px solid #d2e1f5;box-shadow:0 18px 50px -22px #244e8640,0 3px 12px #244e8610}
.hero-stage .ap-hero-app{height:580px;grid-template-columns:128px minmax(0,1fr)}
.hero-stage .ap-side{padding:16px 10px}.hero-stage .ap-brand>strong{font-size:16px}.hero-stage .ap-brand>small{font-size:5.5px}.hero-stage .ap-nav-item{font-size:8px;padding:9px 5px;gap:6px}
.hero-stage .ap-main{padding:14px}.hero-stage .ap-page-header{gap:8px;padding-bottom:13px;margin-bottom:14px}.hero-stage .ap-page-header h2{font-size:21px}
.hero-stage .ap-header-tools{font-size:6px;gap:6px}.hero-stage .ap-header-tools .ap-sync{font-size:6px;padding:5px}
.hero-stage .ap-room-head{min-height:65px;padding:12px 10px 0;gap:6px}.hero-stage .ap-room h3{font-size:16px}.hero-stage .ap-room-icon{width:24px;height:24px}.hero-stage .ap-room-icon .icon{width:16px;height:16px}.hero-stage .ap-room-head p{font-size:8px}.hero-stage .ap-room-head .ap-master{font-size:7px}.hero-stage .ap-room-head>.ap-status{top:65px;right:10px;font-size:6px}
.hero-stage .ap-clock-row{margin:24px 10px 9px}.hero-stage .ap-room-clock{font-size:32px}.hero-stage .ap-room-foot{padding:7px 10px;min-height:27px}.hero-stage .ap-signal{font-size:7px;min-height:22px}.hero-stage .ap-hero-dashboard{gap:11px}
.hero-stage .ap-walkthrough-bar{gap:4px;margin-top:8px}.hero-stage .ap-walkthrough-bar button{font-size:9px;padding:7px;min-height:36px;gap:5px}.hero-stage .ap-walkthrough-steps{gap:2px}.hero-stage .ap-walkthrough-steps button>span{font-size:7px}.hero-stage .ap-animation-toggle .icon{width:11px;height:11px}
.hero-caption{font-size:10px;line-height:1.6;margin-top:13px;gap:10px;color:#60748c}.hero-caption a{color:#315779;white-space:nowrap}.hero-caption a:hover{color:#2463d4}
.logo-section{margin-top:20px;padding-top:22px;padding-bottom:14px;background:#fff}
.logo-heading h2{font-size:14px}.logo-heading{margin-bottom:5px}
.section{padding-top:88px;padding-bottom:88px}
.section-label{font-size:11px;letter-spacing:.13em;font-weight:650;line-height:1.5;color:#3563a1;margin:0 0 16px}
.section-intro{margin-bottom:32px}.section-intro h2,.pricing-heading h2{font-size:49px;line-height:1.08;letter-spacing:-.05em}
.section-intro>p{font-size:15px;line-height:1.7;max-width:320px;padding-bottom:3px}
.nav-links>a,.login{font-size:13px}.button{transition:background .15s,color .15s,border-color .15s,box-shadow .15s,transform .15s}.button.dark{box-shadow:0 3px 8px #2463d416}.button.dark:hover{box-shadow:0 7px 18px #2463d425;transform:translateY(-1px)}
.product .ap-interactive{box-shadow:0 16px 40px -22px #183d7050;border-color:#304358}
.demo-tabs{gap:8px}.demo-tabs button{min-height:44px;font-size:12px;padding:12px 19px}
.ap-interactive button,.ap-interactive select,.ap-interactive textarea,.ap-interactive input{font-size:12px;min-height:42px}
.ap-interactive .ap-time-adjust{grid-template-columns:1fr}.ap-interactive .ap-chips button{font-size:10px;min-height:36px}
.ap-interactive .ap-current>p{font-size:12px;line-height:1.6}.ap-interactive .ap-current>small{font-size:9px}
.ap-interactive .ap-request{font-size:11px}.ap-interactive .ap-feedback{font-size:11px;line-height:1.6}.ap-preview-footer{font-size:10px;line-height:1.6}.ap-preview-footer button{font-size:10px;min-height:36px}
.ap-interactive .ap-timer-meta>p{font-size:11px}.ap-interactive .ap-mini-stats>span{font-size:8px}.ap-interactive .ap-assignment{font-size:10px}
.ap-interactive .ap-puzzle-top strong{font-size:13px}.ap-interactive .ap-puzzle-status{font-size:10px}.ap-interactive .ap-puzzle-body>p,.ap-interactive .ap-flow-hint p{font-size:12px;line-height:1.6}.ap-interactive .ap-puzzle-body>small{font-size:10px}.ap-interactive .ap-flow-hint button{font-size:11px;min-height:40px}
.ap-interactive .ap-stats-kpis small{font-size:10px}.ap-interactive .ap-stats-kpis span{font-size:9px}.ap-interactive .ap-chart-detail{font-size:11px}.ap-interactive .ap-record-row{font-size:11px}.ap-interactive .ap-record-row small{font-size:9px}
.system-section{background:#f5f9ff;border-top:1px solid #e2ebf6;border-bottom:1px solid #e2ebf6}.system-grid{gap:22px}.system-card{padding:31px 30px 25px;border-radius:15px;box-shadow:0 6px 20px #244e8605}
.card-copy h3{font-size:35px;line-height:1.1}.card-copy>p{font-size:14px;line-height:1.7;max-width:370px}.system-footnote{font-size:11px;line-height:1.7}.card-kicker{font-size:10px;letter-spacing:.1em}
.pricing-heading{align-items:center;margin-bottom:30px}.pricing-card{padding:38px 42px;background:linear-gradient(120deg,#f1f6ff,#fff 60%);border-color:#cadcf5;gap:38px;box-shadow:0 14px 36px -24px #244e8635}
.plan-name{font-size:15px;font-weight:650}.price strong{font-size:84px;color:#214b86}.price>span{font-size:14px}.price-block>p{font-size:12px;line-height:1.7}.plan-features{border-color:#d2e1f5;gap:15px}.plan-features li{font-size:13px;line-height:1.5}.plan-features .icon{color:#2463d4;flex:none}.pricing-action>.button{min-height:46px;font-size:13px}.pricing-action>p{font-size:11px;line-height:1.8}.pricing-note{font-size:12px;line-height:1.7;margin-top:18px;color:#526b83}
.faq-section{padding-bottom:88px}.faq-section h2{font-size:36px;letter-spacing:-.045em}.faq-list summary{font-size:16px;line-height:1.4;min-height:72px}.faq-list details>p{font-size:14px;line-height:1.8;color:#526b83}
.contact-inner{padding:55px 30px 44px;background:radial-gradient(ellipse at 88% 0,#437be9,transparent 58%),#2055b7;border:1px solid #3c6dcc;box-shadow:0 18px 45px -30px #17469a80}.contact-inner h2{font-size:64px;line-height:1.05;letter-spacing:-.05em}.contact-inner>p{font-size:16px;color:#e0ebff}.contact-inner>.button{font-size:14px;min-height:48px}.contact-note{font-size:12px;color:#e0ebff}.contact-note button{color:#fff}.footer{padding-top:0;padding-bottom:30px;flex-wrap:wrap}.footer nav{font-size:12px;gap:20px}.footer>span{font-size:11px}
@media(min-width:1100px) and (max-width:1279px){.hero{gap:28px}.hero h1{font-size:61px}.hero-description{font-size:16px}.hero-actions .button{padding:13px 14px;font-size:11px}.hero-stage .ap-hero-app{grid-template-columns:112px minmax(0,1fr)}.hero-stage .ap-side{padding:14px 8px}.hero-stage .ap-brand>strong{font-size:14px}.hero-stage .ap-brand>small{font-size:5px}.hero-stage .ap-nav-item{font-size:7px;gap:5px}.hero-stage .ap-header-tools>span:first-child{display:none}.hero-stage .ap-room h3{font-size:14px}.hero-stage .ap-room-head{gap:5px}.hero-stage .ap-room-icon{width:22px;height:22px}.hero-stage .ap-walkthrough-bar button{font-size:8px;padding:7px 5px}.hero-stage .ap-walkthrough-steps button>span{display:none}.hero-caption{font-size:9px}.pricing-card{gap:26px;padding:32px}.plan-features li{font-size:12px}}
@media(max-width:1099px){.hero{display:block;padding-top:44px;padding-bottom:20px}.hero:before{inset:-40px -32px -20px}.hero-copy{text-align:center;max-width:670px;margin:auto;padding:0}.hero h1{font-size:70px;margin:19px 0}.hero-description{max-width:470px;margin-left:auto;margin-right:auto;font-size:16px}.hero-actions{justify-content:center;margin-top:23px}.hero-proof{justify-content:center;margin-top:22px}.hero-price{margin-top:9px}.hero-stage{margin-top:35px}.hero-stage .ap-hero-app{height:610px;grid-template-columns:139px minmax(0,1fr)}.hero-stage .ap-room-head{min-height:72px}.hero-stage .ap-room-head>.ap-status{top:74px}.hero-stage .ap-room h3{font-size:18px}.hero-stage .ap-room-clock{font-size:35px}.hero-stage .ap-walkthrough-bar button{font-size:11px;min-height:40px;padding:8px}.hero-stage .ap-brand>strong{font-size:17px}.hero-stage .ap-nav-item{font-size:9px}.hero-stage .ap-page-header h2{font-size:24px}.hero-stage .ap-header-tools{font-size:8px}.hero-stage .ap-header-tools .ap-sync{font-size:7px}.hero-caption{font-size:11px}.section{padding-top:72px;padding-bottom:72px}.section-intro h2,.pricing-heading h2{font-size:43px}.section-intro>p{font-size:14px;max-width:280px}.system-card{padding:26px 24px 22px}.card-copy h3{font-size:32px}.card-copy>p{font-size:13px}.pricing-card{gap:25px;padding:30px}.plan-features li{font-size:12px}.faq-section{padding-bottom:72px}.faq-list summary{font-size:15px}.contact-inner h2{font-size:57px}}
@media(max-width:800px){.hero-stage .ap-hero-app{grid-template-columns:1fr;height:620px}.hero-stage .ap-side{display:none}.hero-stage .ap-room h3{font-size:21px}.hero-stage .ap-main{padding:19px}.hero-stage .ap-room-head{min-height:78px}.hero-stage .ap-room-head>.ap-status{top:80px}.hero-stage .ap-room-head p{font-size:9px}.hero-stage .ap-room-head .ap-master{font-size:8px}.hero-stage .ap-room-icon{width:28px;height:28px}.hero-stage .ap-room-clock{font-size:38px}.hero-stage .ap-room-foot{font-size:8px}.hero-stage .ap-signal{font-size:9px}.hero-stage .ap-header-tools{font-size:8px;gap:9px}.hero-stage .ap-header-tools .ap-sync{font-size:7px}.section-intro{align-items:start}.section-intro>p{max-width:230px}.pricing-card{grid-template-columns:1fr 1.1fr}.pricing-action{padding-top:22px}.system-grid{gap:17px}.card-copy h3{font-size:29px}.contact-inner h2{font-size:50px}}
@media(max-width:640px){.hero{width:calc(100% - 40px);padding-top:35px;padding-bottom:10px}.hero:before{inset:-30px -20px -15px}.hero .eyebrow{font-size:10px}.hero h1{font-size:56px;line-height:1.02;margin:17px 0}.hero-description{font-size:15px;line-height:1.65;max-width:345px}.hero-actions{gap:8px;margin-top:23px}.hero-actions .button{font-size:11px;padding:13px 15px;min-height:44px}.hero-proof{font-size:11px;margin-top:22px}.hero-price{font-size:11px;gap:5px}.hero-stage{margin-top:29px}.hero-stage .ap-hero-wrap{padding:7px;border-radius:12px}.hero-stage .ap-hero-app{height:444px;grid-template-columns:1fr}.hero-stage .ap-main{padding:12px}.hero-stage .ap-page-header h2{font-size:19px}.hero-stage .ap-header-tools{font-size:7px;gap:8px}.hero-stage .ap-header-tools .ap-sync{font-size:6px}.hero-stage .ap-room-head{min-height:50px;padding:12px 12px 0;gap:9px}.hero-stage .ap-room h3{font-size:19px}.hero-stage .ap-room-head>.ap-status{position:static;font-size:6px}.hero-stage .ap-room-head p{font-size:8px}.hero-stage .ap-room-head .ap-master{font-size:7px}.hero-stage .ap-room-icon{width:27px;height:27px}.hero-stage .ap-clock-row{margin:12px 12px 9px}.hero-stage .ap-room-clock{font-size:34px}.hero-stage .ap-room-foot{display:none}.hero-stage .ap-signal{font-size:8px}.hero-stage .ap-walkthrough-bar button{font-size:10px;padding:7px;gap:4px;min-height:40px}.hero-stage .ap-walkthrough-bar .ap-animation-toggle{font-size:11px;min-height:38px}.hero-caption{font-size:9px;align-items:start;gap:14px}.hero-caption>span{max-width:170px}.hero-caption a{font-size:9px;white-space:normal;max-width:115px;text-align:right}.logo-section{margin-top:29px}.section{padding-top:56px;padding-bottom:56px}.section-label{font-size:9px;margin-bottom:13px}.section-intro{display:block;margin-bottom:25px}.section-intro h2,.pricing-heading h2{font-size:38px}.section-intro>p{font-size:14px;margin-top:18px;max-width:320px}.demo-tabs{gap:6px}.demo-tabs button{font-size:10px;min-height:43px;padding:10px 12px}.ap-interactive button{font-size:12px;min-height:44px}.ap-interactive select,.ap-interactive textarea,.ap-interactive input{font-size:16px}.ap-interactive .ap-chips button{font-size:11px;min-height:38px}.ap-interactive .ap-request{font-size:11px}.ap-interactive .ap-feedback{font-size:11px}.ap-interactive .ap-puzzle-top strong{font-size:12px}.ap-interactive .ap-puzzle-status{font-size:9px}.ap-interactive .ap-puzzle-body>p,.ap-interactive .ap-flow-hint p{font-size:11px}.ap-interactive .ap-flow-hint button{font-size:10px}.ap-preview-footer{font-size:9px}.ap-preview-footer>span{max-width:215px}.ap-preview-footer button{font-size:9px}.ap-interactive .ap-stats-kpis small{font-size:10px}.ap-interactive .ap-stats-kpis span{font-size:9px}.ap-interactive .ap-stats-filters select{font-size:14px;max-width:154px;min-height:38px}.ap-interactive .ap-stats-filters label{display:none}.system-card{padding:27px 23px 22px}.card-copy h3{font-size:32px}.card-copy>p{font-size:14px}.system-footnote{font-size:11px}.pricing-heading{gap:15px;align-items:end}.pricing-heading .pill{font-size:8px;white-space:nowrap;padding:6px 9px;margin-bottom:4px}.pricing-card{display:block;padding:27px}.price strong{font-size:80px}.plan-features{padding:23px 0 0;margin-top:23px;border:0;border-top:1px solid #d2e1f5;gap:13px}.plan-features li{font-size:13px}.pricing-action{display:block;border:0;padding-top:25px}.pricing-action>.button{width:100%;font-size:13px}.pricing-action>p{text-align:center;margin-top:13px;font-size:12px}.pricing-note{font-size:11px;line-height:1.7}.faq-section{padding-bottom:56px;gap:22px}.faq-section h2{font-size:32px;max-width:none}.faq-list summary{font-size:15px;min-height:68px}.faq-list details>p{font-size:13px}.contact-inner{padding:40px 23px 30px}.contact-inner h2{font-size:42px}.contact-inner>p{font-size:14px;max-width:280px;margin:19px auto 0}.contact-inner>.button{font-size:13px}.contact-note{font-size:10px}.footer{gap:20px;row-gap:15px}.footer nav{flex-wrap:wrap;gap:16px;font-size:11px}.footer>span{font-size:10px}}
@media(max-width:359px){.hero{width:calc(100% - 32px)}.hero h1{font-size:44px}.hero-description{font-size:14px}.hero-actions .button{font-size:10px;padding:12px 13px}.hero-proof,.hero-price{font-size:10px}.hero-stage .ap-main{padding:10px}.hero-stage .ap-hero-app{height:430px}.hero-stage .ap-page-header h2{font-size:17px}.hero-stage .ap-room h3{font-size:16px}.hero-stage .ap-room-head{padding:12px 9px 0;gap:7px}.hero-stage .ap-room-head>.ap-status{font-size:5.5px}.hero-stage .ap-room-icon{width:24px;height:24px}.hero-stage .ap-header-tools .ap-sync{font-size:5.5px}.hero-stage .ap-walkthrough-bar button{font-size:9px;padding:7px 4px}.section-intro h2,.pricing-heading h2{font-size:33px}.demo-tabs button{font-size:9px;padding:10px}.ap-interactive .ap-puzzle-top strong{font-size:10px}.ap-interactive .ap-puzzle-status{font-size:8px}.ap-preview-footer>span{max-width:165px}.pricing-card{padding:23px}.pricing-heading .pill{font-size:7px;padding:5px 7px}.contact-inner h2{font-size:35px}}
@media(prefers-reduced-motion:reduce){.button{transition:none}.button.dark:hover{transform:none}.hero-stage .ap-hero-wrap{transition:none}}

@media(min-width:1440px){.hero h1{font-size:74px}}

@media(max-width:359px){.hero:before{left:-16px;right:-16px}}

/* Touch pass: real controls stay comfortably tappable on phones and tablets. */
.ap-demo-shortcuts { display: none; }
.ap-interactive .ap-current > p, .ap-interactive .ap-team {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.ap-check-target {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  flex: none;
  cursor: pointer;
  border-radius: 6px;
}
.ap-check-target:focus-within { outline: 2px solid #63e6ff; outline-offset: 1px; }
.ap-app .ap-check-target input { width: 22px; height: 22px; min-height: 22px; cursor: pointer; }

@media (max-width: 1099px), (pointer: coarse) {
  .hero-stage .ap-walkthrough-bar button,
  .hero-stage .ap-walkthrough-bar .ap-animation-toggle,
  .logo-heading button, .demo-tabs button, .ap-preview-footer button,
  .diagram-top #connection-toggle, .contact-note button,
  .ap-app.ap-interactive button, .ap-app.ap-interactive select,
  .ap-app.ap-interactive input:not([type=checkbox]) { min-height: 44px; }
  .ap-app.ap-interactive button { font-size: 13px; }
  .ap-app.ap-interactive select, .ap-app.ap-interactive textarea,
  .ap-app.ap-interactive input:not([type=checkbox]) { font-size: 16px; }
  .ap-app.ap-interactive .ap-chips button { font-size: 12px; }
  .ap-interactive .ap-team-edit summary { min-height: 44px; align-items: center; font-size: 13px; }
  .ap-interactive .ap-current > p, .ap-interactive .ap-feedback,
  .ap-interactive .ap-puzzle-body > p, .ap-interactive .ap-flow-hint p { font-size: 13px; }
  .ap-interactive .ap-puzzle-top strong { font-size: 14px; }
  .ap-interactive .ap-puzzle-top small, .ap-interactive .ap-puzzle-status,
  .ap-interactive .ap-puzzle-body > small { font-size: 11px; }
  .ap-interactive .ap-flow-hint button { min-width: 64px; }
  .ap-interactive .ap-flow-hint { gap: 12px; }
  .ap-interactive .ap-flow-head p, .ap-interactive .ap-flow-head > span { font-size: 12px; }
  .ap-interactive .ap-stats-kpis small { font-size: 12px; }
  .ap-interactive .ap-stats-kpis span { font-size: 11px; }
  .ap-interactive .ap-record-row { font-size: 12px; }
  .ap-interactive .ap-record-row small, .ap-interactive .ap-chart-detail { font-size: 11px; }
  .ap-interactive .ap-outcome-legend { font-size: 11px; }
  .ap-interactive .ap-bars small { font-size: 10px; }
  .ap-interactive .ap-bars > div > span:before { font-size: 11px; }
  .ap-interactive { grid-template-columns: 1fr; scroll-margin-top: 54px; }
  .ap-interactive > .ap-side { display: none; }
  .ap-interactive .ap-main { padding: 22px; }
  .ap-preview-footer { font-size: 11px; }
  .ap-preview-footer button { font-size: 12px; padding: 8px; white-space: nowrap; }
  .demo-tabs {
    position: -webkit-sticky;
    position: sticky;
    top: 79px;
    z-index: 10;
    background: #fff;
    padding: 10px 0 12px;
    margin-top: -10px;
  }
  .demo-tabs button { font-size: 13px; }
  .diagram-top #connection-toggle { font-size: 12px; padding: 10px 12px; }
  .diagram-top { flex-wrap: wrap; }
  .contact-note { font-size: 12px; line-height: 1.8; }
  .contact-note button { padding: 8px 4px; text-underline-offset: 4px; border: 0; text-decoration: underline; }
  .footer nav a, .login, .brand { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (min-width: 641px) and (max-width: 1099px) {
  .hero-stage .ap-hero-app { grid-template-columns: 1fr; }
  .hero-stage .ap-side { display: none; }
  .hero-stage .ap-room h3 { font-size: 23px; }
  .hero-stage .ap-room-head p { font-size: 11px; }
  .hero-stage .ap-room-head .ap-master { font-size: 10px; }
  .hero-stage .ap-room-head > .ap-status { font-size: 8px; }
  .hero-stage .ap-room-clock { font-size: 42px; }
  .hero-stage .ap-signal { font-size: 11px; min-height: 30px; }
  .hero-stage .ap-room-foot { font-size: 10px; min-height: 34px; }
  .hero-stage .ap-header-tools, .hero-stage .ap-header-tools .ap-sync { font-size: 10px; }
  .ap-interactive .ap-big-clock { font-size: 74px; }
  .ap-interactive .ap-time-adjust { grid-template-columns: 1fr; }
  .ap-interactive .ap-stats-kpis > div { padding: 16px 12px; }
  .ap-interactive .ap-stats-kpis strong { font-size: 32px; }
}

@media (max-width: 640px) {
  .hero-actions .button { font-size: 12px; }
  .hero-price { font-size: 12px; min-height: 44px; margin-top: 0; }
  .hero-stage { margin-top: 20px; }
  .hero-stage .ap-walkthrough-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .hero-stage .ap-walkthrough-steps button { justify-content: center; font-size: 11px; padding: 8px 3px; }
  .hero-stage .ap-walkthrough-steps button > span { display: none; }
  .hero-stage .ap-walkthrough-bar .ap-animation-toggle { font-size: 12px; margin-top: 2px; }
  .hero-caption { font-size: 10px; gap: 12px; }
  .hero-caption a { font-size: 11px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; }
  .logo-heading button { font-size: 12px; min-width: 76px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .demo-tabs button { font-size: 12px; padding: 10px 4px; min-width: 0; white-space: nowrap; }
  .demo-tabs .icon { display: none; }
  .ap-interactive .ap-main { padding: 14px; }
  .ap-interactive .ap-page-header { flex-wrap: wrap; gap: 9px; }
  .ap-interactive .ap-page-header h2 { font-size: 25px; }
  .ap-interactive .ap-page-kicker { font-size: 9px; }
  .ap-interactive .ap-sync { font-size: 9px; padding: 6px; }
  .ap-interactive .ap-card { padding: 13px; }
  .ap-interactive .ap-timer-hero { padding: 15px; }
  .ap-interactive .ap-team { font-size: 16px; }
  .ap-interactive .ap-mini-stats > span { font-size: 9px; }
  .ap-interactive .ap-assignment, .ap-interactive .ap-assignment > b { font-size: 11px; }
  .ap-interactive .ap-button-row { gap: 8px; }
  .ap-interactive .ap-chips { gap: 6px; }
  .ap-interactive .ap-time-adjust > div > span { font-size: 10px; }
  .ap-interactive .ap-request { font-size: 13px; }
  .ap-interactive .ap-current > small { font-size: 10px; }
  .ap-interactive .ap-hint-composer textarea { min-height: 118px; }
  .ap-demo-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .ap-demo-shortcuts a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; min-height: 44px; border: 1px solid #354353; border-radius: 5px; font-size: 12px; color: #b8f2ff; background: #12202b; }
  #demo-timer-controls, #demo-hint-controls { scroll-margin-top: 68px; }
  .ap-interactive .ap-control-columns { margin-top: 12px; }
  .ap-interactive .ap-puzzle-top { padding: 8px; gap: 5px; }
  .ap-interactive .ap-puzzle-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
  .ap-interactive .ap-puzzle-toggle > span:first-child { grid-column: 1; }
  .ap-interactive .ap-puzzle-toggle .ap-puzzle-status { grid-column: 1; margin: 0; }
  .ap-interactive .ap-puzzle-toggle > span:last-child { grid-column: 2; grid-row: 1 / 3; }
  .ap-interactive .ap-puzzle-top strong { font-size: 13px; }
  .ap-interactive .ap-puzzle-top small { font-size: 10px; }
  .ap-interactive .ap-puzzle-body { padding: 0 12px 14px; }
  .ap-interactive .ap-flow-hint { display: block; padding: 12px; }
  .ap-interactive .ap-flow-hint button { width: 100%; margin-top: 10px; }
  .ap-interactive .ap-flow-hint small { font-size: 10px; }
  .ap-interactive .ap-flow-head { gap: 8px; }
  .ap-interactive .ap-flow-head p, .ap-interactive .ap-flow-head > span { font-size: 11px; }
  .ap-interactive .ap-stats-filters select { max-width: none; min-width: 0; }
  .ap-interactive .ap-stats-filters > span:first-child { font-size: 12px; }
  .ap-interactive .ap-stats-kpis strong { font-size: 31px; }
  .ap-interactive .ap-record-row { grid-template-columns: minmax(0,1fr) auto; font-size: 12px; row-gap: 6px; padding: 16px 0; }
  .ap-interactive .ap-record-labels { display: none; }
  .ap-interactive .ap-record-row > span:first-child { grid-column: 1; grid-row: 1; }
  .ap-interactive .ap-record-row > span:nth-child(2) { display: block; grid-column: 1; grid-row: 2; color: #9bacbd; font-size: 11px; }
  .ap-interactive .ap-record-row > span:nth-child(3) { grid-column: 2; grid-row: 1; }
  .ap-interactive .ap-record-row > span:last-child { grid-column: 2; grid-row: 2; }
  .ap-preview-footer { align-items: center; font-size: 10px; gap: 8px; }
  .ap-preview-footer > span { max-width: none; }
  .ap-preview-footer button { font-size: 11px; }
  .faq-list summary { min-height: 72px; padding: 18px 0; }
  .faq-list details > p { font-size: 14px; }
  .contact-note { font-size: 11px; }
  .footer nav { gap: 8px 14px; flex-wrap: wrap; justify-content: flex-start; font-size: 12px; }
}

@media (max-width: 600px) {
  .demo-tabs { top: 71px; }
  .menu { min-width: 44px; min-height: 44px; }
}

@media (max-width: 359px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 250px; margin-left: auto; margin-right: auto; }
  .hero-actions .button { font-size: 13px; }
  .hero-price { font-size: 11px; }
  .demo-tabs button { font-size: 11px; }
  .ap-interactive .ap-main { padding: 12px; }
  .ap-interactive .ap-page-header h2 { font-size: 23px; }
  .ap-interactive .ap-page-header > div { flex-basis: 100%; }
  .ap-interactive .ap-big-clock { font-size: 60px; }
  .ap-app.ap-interactive .ap-chips button { font-size: 11px; }
  .ap-interactive .ap-stats-filters { display: grid; grid-template-columns: 1fr; }
  .ap-interactive .ap-stats-filters > span:first-child { justify-self: start; }
  .ap-interactive .ap-stats-filters select { width: 100%; margin: 0; }
  .ap-preview-footer { flex-wrap: wrap; }
}

/* The same comfortable tap sizes also work on wide tablets and hybrid laptops. */
.ap-app.ap-interactive button, .ap-app.ap-interactive select,
.ap-app.ap-interactive input:not([type=checkbox]), .demo-tabs button,
.hero-stage .ap-walkthrough-bar button, .logo-heading button,
.ap-preview-footer button, .diagram-top #connection-toggle,
.contact-note button { min-height: 44px; }
.ap-interactive .ap-team-edit summary { min-height: 44px; align-items: center; }
.ap-app.ap-interactive select, .ap-app.ap-interactive textarea,
.ap-app.ap-interactive input:not([type=checkbox]) { font-size: 16px; }
