/* Copo: an animated counter scene, framed like the product it serves. */
:root { --hero-ink: #15243b; --hero-muted: #42516a; --hero-paper: #f4f6fa; }
body { background: var(--surface); }
nav.site-nav { position: absolute; top: 38px; left: 50%; right: auto; transform: translateX(-50%); width: min(900px, calc(100% - 80px)); height: 66px; padding: 8px 10px 8px 22px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); box-shadow: 0 8px 30px #14243b08; backdrop-filter: none; }
.nav-links { gap: 25px; }
.nav-links a:not(.btn-nav):not(.btn-ghost) { font-size: 13px; }
.nav-actions { gap: 8px; }
.nav-actions .dashboard-link { display: none; }
.nav-actions .btn-nav { display: inline-flex; gap: 18px; align-items: center; min-height: 46px; border-radius: 999px; box-shadow: none; }
.theme-toggle, .hamburger { width: 44px; height: 44px; }
.mobile-panel { position: absolute; inset: 112px 28px auto; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 12px 30px #15243b15; }
.hero { margin: 16px; padding: 136px 28px 0; height: calc(100svh - 32px); min-height: 700px; max-height: 1100px; border-radius: 28px; isolation: isolate; background: #e8e9e6; }
.hero .counter-scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.counter-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; animation: counter-drift 24s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #eff3f5a6, #f2f4f5e8 30%, #f2f4f5e8 70%, #eff3f5a6); }
@keyframes counter-drift { from { transform: scale(1.06) translateX(-1%); } to { transform: scale(1.18) translateX(1%); } }
.hero-copy { max-width: 850px; margin: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: #ffffffda; color: var(--hero-ink); font-size: 12px; font-weight: 600; border: 1px solid #ffffff; }
.hero-badge > span { width: 6px; height: 6px; border-radius: 50%; background: #2e5cf6; }
.hero h1 { margin: 20px auto 18px; max-width: 850px; font-family: 'Manrope', sans-serif; font-size: clamp(44px, 5.8vw, 82px); font-weight: 500; line-height: 1.04; letter-spacing: -.055em; color: var(--hero-ink); }
.hero h1 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: #2a50c6; letter-spacing: -.025em; }
.hero p.lead { max-width: 570px; font-size: 15px; line-height: 1.7; margin: 0 auto 23px; color: var(--hero-muted); }
.hero-cta { align-items: center; gap: 20px; margin: 0; }
.hero-contact { display: inline-flex; align-items: center; gap: 18px; background: var(--hero-ink); color: #fff; padding: 8px 8px 8px 23px; border-radius: 999px; min-height: 52px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background 180ms, transform 180ms; }
.hero-contact > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffffff21; font-size: 21px; }
.hero-demo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--hero-ink); }
.hero-specialties { margin: 20px 0 0; color: var(--hero-muted); font-size: 11px; line-height: 1.7; }
.product-window { max-width: 980px; margin: 35px auto 0; border-radius: 20px 20px 0 0; padding: 10px; background: #f6f7f9; border: 1px solid #ffffff; box-shadow: 0 18px 75px #14243b26; text-align: left; color: var(--hero-ink); }
.product-window-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 12px 10px; font-size: 11px; }
.preview-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.preview-label { color: var(--hero-muted); }
.product-window-bar a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: #244ac2; font-weight: 700; }
.product-window-content { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; align-items: start; }
.pos-preview { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e1e6ee; }
.preview-benefits { background: #e8edff; border-radius: 12px; padding: 24px 20px; min-height: 330px; }
.benefit-number { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #3654a6; }
.preview-benefits h2 { font-size: 24px; line-height: 1.16; letter-spacing: -.045em; font-weight: 600; margin: 15px 0 12px; }
.preview-benefits p { font-size: 12px; line-height: 1.65; color: var(--hero-muted); }
.benefit-offline { display: flex; gap: 10px; border-top: 1px solid #cbd5f3; padding-top: 18px; margin-top: 22px; }
.benefit-offline > span { color: #236344; }
.benefit-offline strong { font-size: 12px; }
.preview-benefits > a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 10px; text-decoration: none; font-weight: 700; color: #244ac2; margin-top: 12px; }
.hero .scene-toggle { position: absolute; bottom: 16px; left: 16px; z-index: 3; padding: 10px 13px; min-height: 44px; border: 1px solid #ffffffb0; border-radius: 999px; background: #ffffffeb; color: var(--hero-ink); font: 11px 'Manrope', sans-serif; }
.hero.is-paused .counter-scene img { animation-play-state: paused; }
:is(a,button,input,select):focus-visible { outline: 3px solid #4169e8; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.btn-primary, .btn-secondary, .btn-white, .btn-outline-white { border-radius: 999px; }
.fab { text-decoration: none; background: #167847; }
.fab-ring { display: none; }
html[data-theme="dark"] .hero::after { background: linear-gradient(90deg, #0c172bb5, #0c172bea 30%, #0c172bea 70%, #0c172bb5); }
html[data-theme="dark"] .hero-copy { --hero-ink: #f3f6fc; --hero-muted: #d0d9e9; }
html[data-theme="dark"] .hero h1 em { color: #a9bdff; }
html[data-theme="dark"] .hero-badge { color: #e7edff; background: #182844; border-color: #34496a; }
html[data-theme="dark"] .hero-contact { background: #e8edff; color: #15243b; }
html[data-theme="dark"] .hero-contact > span { background: #15243b15; }
@media (hover: hover) and (pointer: fine) { .hero-contact:hover { transform: translateY(-2px); background: #294578; } .hero-demo:hover { text-decoration: underline; text-underline-offset: 5px; } }
.hero-contact:active { transform: scale(.98); }
@media (min-width: 1500px) and (min-height: 950px) { .hero { padding-top: 160px; } .product-window { margin-top: 50px; } }
@media (max-width: 1000px) { .nav-links { gap: 16px; } .hero { padding-top: 135px; } .product-window { max-width: 840px; } }
@media (max-width: 767px) {
 nav.site-nav { top: 28px; width: calc(100% - 56px); padding-left: 16px; }
 .nav-links { display: none; } .hamburger { display: flex; border-radius: 50%; }
 .hero { margin: 12px; height: calc(100svh - 24px); min-height: 760px; border-radius: 22px; padding: 124px 18px 0; }
 .hero h1 { font-size: clamp(43px, 8vw, 62px); margin-top: 24px; }
 .hero p.lead { font-size: 15px; max-width: 440px; }
 .hero-specialties { max-width: 320px; margin: 15px auto 0; }
 .product-window { margin-top: 28px; width: 100%; padding: 7px; }
 .product-window-content { grid-template-columns: 1fr; }
 .preview-benefits, .preview-label { display: none; }
 .product-window-bar { padding: 0 6px 6px; font-size: 10px; }
 .hero::after { background: #f2f4f5dd; }
 .hero .scene-toggle { bottom: 12px; left: 12px; }
}
@media (max-width: 420px) {
 .nav-actions .btn-nav { font-size: 12px !important; padding: 10px 13px; gap: 9px; }
 .nav-actions { gap: 4px; } .brand { gap: 5px; } .brand span { font-size: 19px; }
 .theme-toggle { width: 40px; height: 44px; border-color: transparent; background: transparent; }
 .hero { padding-left: 16px; padding-right: 16px; min-height: 790px; }
 .hero-badge { font-size: 11px; }
 .hero-cta { gap: 3px; flex-direction: column; }
 .hero h1 { font-size: clamp(37px, 10.9vw, 45px); }
 .hero p.lead { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .counter-scene img { animation: none; transform: none; } .scene-toggle { display: none; } }

@media (max-width: 360px) {
 nav.site-nav { width: calc(100% - 44px); padding-left: 12px; padding-right: 7px; }
 .nav-actions .btn-nav { padding: 10px 12px; gap: 0; }
 .nav-actions .btn-nav span { display: none; }
 .nav-actions { gap: 2px; }
 .brand img { width: 26px; height: 26px; }
 .brand span { font-size: 18px; }
}
.hero-contact > span { flex-shrink: 0; }

/* Local businesses: two real brands, each with room to be recognized. */
.local-businesses { padding: 40px 5% 56px; }
.local-businesses__inner { max-width: 1180px; margin: auto; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--border); border-radius: 28px; background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; align-items: center; }
.local-businesses__eyebrow { display: block; margin-bottom: 18px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.local-businesses__intro h2 { font-family: 'Manrope', sans-serif; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.045em; line-height: 1.2; text-wrap: balance; }
.local-businesses__intro h2 span { color: var(--text-muted); }
.local-businesses__intro > p { color: var(--text-muted); max-width: 350px; margin-top: 18px; font-size: 15px; line-height: 1.7; }
.local-businesses__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; gap: 20px; margin: 0; padding: 0; }
.business-brand { min-width: 0; text-align: center; }
.business-brand__image { display: grid; place-items: center; aspect-ratio: 1.18; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.business-brand__image img { width: clamp(82px, 8.5vw, 112px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 22%; }
.business-brand__caption { padding-top: 16px; }
.business-brand__caption h3 { font-size: 17px; font-weight: 750; letter-spacing: -.035em; line-height: 1.4; }
.business-brand__caption > span { display: block; margin-top: 5px; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.local-businesses__footer { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.local-businesses__footer p { font-size: 13px; color: var(--text-muted); }
.local-businesses__footer a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.local-businesses__footer a span { font-size: 20px; }
@media (hover: hover) and (pointer: fine) { .local-businesses__footer a:hover { text-decoration: underline; text-underline-offset: 5px; } }
@media (max-width: 920px) {
 .local-businesses__inner { grid-template-columns: 1fr; gap: 30px; }
 .local-businesses__intro { text-align: center; }
 .local-businesses__intro > p { max-width: 440px; margin-left: auto; margin-right: auto; }
 .local-businesses__list { width: 100%; max-width: 460px; margin: 0 auto; gap: 24px; }
 .business-brand__image img { width: 112px; }
}
@media (max-width: 480px) {
 .local-businesses { padding: 24px 5% 40px; }
 .local-businesses__inner { padding: 30px 20px 20px; border-radius: 22px; gap: 26px; }
 .local-businesses__intro h2 { font-size: 27px; }
 .local-businesses__intro > p { font-size: 14px; }
 .local-businesses__list { gap: 14px; }
 .business-brand__image { border-radius: 16px; aspect-ratio: 1; }
 .business-brand__image img { width: 70%; max-width: 96px; }
 .business-brand__caption h3 { font-size: 16px; }
 .business-brand__caption > span { font-size: 11px; }
 .local-businesses__footer { flex-direction: column; gap: 2px; text-align: center; padding-top: 20px; }
}

/* Seven brands share a continuous rail; illustrative brands remain explicit. */
.local-businesses__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.local-businesses__intro { text-align: center; }
.local-businesses__intro > p { max-width: 540px; margin-left: auto; margin-right: auto; }
.business-carousel { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.business-carousel.is-ready { overflow: hidden; }
.business-carousel__track { display: flex; width: max-content; gap: 24px; }
.business-carousel .local-businesses__list { display: flex; flex: 0 0 auto; width: auto; max-width: none; margin: 0; gap: 24px; }
.business-carousel .business-brand { flex: 0 0 176px; width: 176px; }
.business-carousel .business-brand__image { aspect-ratio: 1.08; }
.business-carousel .business-brand__image img { width: 112px; max-width: none; }
.business-brand__label { display: inline-block; margin-top: 10px; padding: 4px 8px; font-size: 10px; line-height: 1.4; border: 1px solid var(--border); border-radius: 99px; color: var(--text-muted); background: var(--surface); }
.business-brand__label--client { color: var(--blue); background: var(--blue-light); }
.business-carousel.is-ready .business-carousel__track { animation: business-loop 42s linear infinite; }
.business-carousel.is-paused .business-carousel__track { animation-play-state: paused; }
@keyframes business-loop { to { transform: translateX(calc(-50% - 12px)); } }
.business-carousel-controls { display: flex; justify-content: center; }
.business-carousel-controls button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 99px; color: var(--text-muted); background: var(--bg); font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .business-carousel:hover .business-carousel__track { animation-play-state: paused; } .business-carousel-controls button:hover { color: var(--blue); border-color: var(--blue); } }
@media (max-width: 480px) { .business-carousel .business-brand { flex-basis: 152px; width: 152px; } .business-carousel .business-brand__image img { width: 100px; } }
@media (prefers-reduced-motion: reduce) {
 .business-carousel.is-ready { overflow-x: auto; }
 .business-carousel.is-ready .business-carousel__track { animation: none; transform: none; }
 .business-carousel__track > [aria-hidden="true"], .business-carousel-controls { display: none; }
}
