/* DunkFinder public home. Brand colours live in tokens.css; the app illustration is separate. */
:root { --ink: #1e1e1e; --soft: #675d56; --peach: #fbd5bc; --line: #dcd3cd; --shadow-card: 0 3px 10px #3c23140f; --shadow-lift: 0 32px 55px -25px #3c231466; --font: 'Archivo', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
body.modal-open, body.contact-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex: none; }
[hidden] { display: none !important; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.06; }
h1, h2 { font-weight: 900; letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.6vw, 66px); }
h3 { font-size: 22px; letter-spacing: -.035em; }
:focus-visible { outline: 3px solid #a63108; outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 12px 22px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: #f7f0ecf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav { height: 94px; display: flex; align-items: center; gap: 36px; }
.nav-brand { flex: none; }
.nav-logo { width: 172px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .foot-links a:hover { color: #b03b0c; }
.nav-actions { display: flex; gap: 20px; align-items: center; }
.nav-contact { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: #9c3d1b; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nav-contact:hover { text-decoration: underline; text-underline-offset: 5px; }
.language-control { position: relative; display: flex; align-items: center; gap: 4px; }
.language-control svg { width: 16px; height: 16px; }
.language-control select { position: absolute; inset: 0; opacity: 0; width: 100%; height: 44px; font-size: 14px; color: var(--ink); cursor: pointer; }
.language-current { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 6px; height: 44px; font-size: 12px; font-weight: 700; }
.language-control:focus-within { outline: 3px solid #a63108; outline-offset: 3px; border-radius: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 15px 24px; border-radius: 100px; border: 1px solid transparent; font-size: 14px; line-height: 1.3; font-weight: 700; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #21150d; }
.button-primary:hover { background: #f47740; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #3d3935; }
.button-light { background: var(--bg); color: var(--ink); }
.button-arrow { font-size: 24px; font-weight: 400; line-height: .8; }
.nav-cta { min-height: 43px; padding: 12px 18px; font-size: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; align-items: center; justify-content: center; }
.hero { position: relative; padding: 38px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 52px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(54px, 6.4vw, 92px); line-height: .98; margin: 26px 0; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); margin-top: .1em; }
.hero .lede { max-width: 390px; color: var(--soft); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.video-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; }
.play-icon { width: 36px; height: 36px; border: 1px solid #b7aaa1; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.video-link:hover .play-icon { background: var(--peach); }
.hero-note { margin-top: 28px; font-size: 11px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: #a73c14; }
.hero-visual { position: relative; min-width: 0; height: 630px; border-radius: 12px; overflow: hidden; background: #78614a; }
.hero-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track:focus-visible { outline: 3px solid var(--peach); outline-offset: -6px; }
.hero-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-action-photo { object-position: 50% 50%; }
.hero-visual::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #171a1ecc); pointer-events: none; }
.photo-label { position: absolute; top: 20px; left: 20px; z-index: 1; background: var(--bg); border-radius: 100px; padding: 9px 14px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; pointer-events: none; }
.photo-label svg { color: #c54412; }
.photo-caption { position: absolute; z-index: 1; bottom: 26px; left: 28px; right: 28px; display: flex; align-items: flex-end; justify-content: space-between; color: white; gap: 30px; pointer-events: none; }
.hero-visual.is-carousel .photo-caption { bottom: 86px; }
.photo-caption p { font-size: 25px; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; max-width: 250px; }
.photo-caption > span { font-size: 11px; letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-controls { position: absolute; z-index: 2; bottom: 18px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.hero-dots, .hero-arrows { display: flex; align-items: center; pointer-events: auto; }
.hero-dots { border-radius: 30px; background: #171a1e99; }
.hero-arrows { gap: 8px; }
.hero-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: white; background: transparent; border-radius: 50%; }
.hero-controls button:focus-visible { outline-color: var(--peach); outline-offset: 2px; }
.hero-dots button span { width: 6px; height: 6px; border-radius: 10px; background: #ffffff80; transition: width .2s, background .2s; }
.hero-dots button[aria-current="true"] span { width: 22px; background: white; }
.hero-arrows button { border: 1px solid #ffffff80; background: #171a1e99; }
.hero-controls button:hover { background: #171a1ed9; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 30px 0 20px; color: var(--soft); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-foot a { display: flex; align-items: center; gap: 12px; min-height: 30px; }
.section { padding: 90px 0; }
.contact-section { padding: 0 0 8px; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 36px 40px; border: 1px solid #dfc8b9; border-radius: 12px; background: #f3e3d8; }
.contact-copy > .eyebrow { color: #9c3d1b; margin-bottom: 18px; }
.contact-copy h2 { font-size: clamp(36px, 3.8vw, 54px); margin-bottom: 18px; }
.contact-intro { max-width: 570px; color: var(--soft); font-size: 14px; line-height: 1.8; }
.contact-direct { margin-top: 26px; }
.contact-direct > p { color: var(--soft); font-size: 12px; }
.contact-direct .text-link { margin: 4px 0 14px; }
.contact-addresses { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 11px; color: var(--soft); }
.contact-addresses li { user-select: all; overflow-wrap: anywhere; }
.contact-form-area, #contact-form { min-width: 0; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-fields label, .contact-message { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; }
.contact-fields input, .contact-message textarea { min-width: 0; width: 100%; border: 1px solid #c8b7aa; border-radius: 7px; padding: 11px 12px; background: #fffdfb; color: var(--ink); font-size: 15px; font-weight: 400; line-height: 1.5; }
.contact-message { margin-top: 16px; }
.contact-message textarea { resize: vertical; min-height: 118px; max-height: 400px; }
.contact-message textarea::placeholder { color: #786d64; }
.contact-privacy { display: flex; align-items: start; gap: 9px; margin: 14px 0 18px; font-size: 11px; line-height: 1.6; color: var(--soft); }
.contact-privacy input { width: 17px; height: 17px; flex: none; accent-color: #9c3d1b; margin: 1px 0 0; }
.contact-privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.contact-form-actions .button { min-height: 48px; padding: 12px 22px; font-size: 13px; }
.contact-form-actions .button:disabled { cursor: wait; opacity: .65; transform: none; }
.contact-retry { border: 0; background: none; padding: 12px 0; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: #843311; }
.contact-status { margin-top: 14px; font-size: 12px; line-height: 1.7; color: #843311; }
.contact-status[data-state='success'] { color: #285d34; font-weight: 600; }
.contact-status[data-state='pending'] { color: var(--soft); }
.contact-note { margin-top: 13px; font-size: 10px; line-height: 1.7; color: var(--soft); }
.contact-nojs { padding: 20px; border: 1px solid #dfc8b9; border-radius: 8px; color: var(--soft); font-size: 14px; }
.contact-inner > noscript { grid-column: 1 / -1; }
.contact-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.contact-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px 16px; background: var(--bg); }
.contact-dialog-head h2 { font-size: 42px; }
#contact-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 28px; line-height: 1; }
#contact-close:hover { background: #f3e3d8; }
.contact-dialog-body { padding: 0 32px 28px; }
.contact-dialog-body > .contact-intro { margin-bottom: 24px; }
.contact-email-option { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; color: var(--soft); }
.contact-email-option summary { cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; }
.contact-email-option .contact-direct { margin-top: 12px; }
.intro-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 90px; align-items: end; }
.intro-head .eyebrow, .steps-copy > .eyebrow, .courts-copy > .eyebrow, .faq-head > .eyebrow { margin-bottom: 24px; color: #9c3d1b; }
.intro-head p:not(.eyebrow) { color: var(--soft); max-width: 420px; line-height: 1.8; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; border-top: 1px solid var(--line); }
.benefit { padding: 28px 28px 0 0; }
.benefit + .benefit { border-left: 1px solid var(--line); padding-left: 32px; }
.benefit .number { color: #a64722; display: block; font-size: 12px; margin-bottom: 20px; }
.benefit h3 { font-size: 23px; margin-bottom: 12px; }
.benefit p { font-size: 14px; color: var(--soft); max-width: 310px; }
.community { padding-top: 20px; }
.community-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.community-header h2 { font-size: clamp(34px, 3.6vw, 48px); }
.community-header .eyebrow { margin-bottom: 16px; color: #9c3d1b; }
.text-link { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid currentColor; }
.gallery { display: grid; grid-template-columns: 1.1fr 1.5fr 1.1fr; gap: 18px; }
.gallery figure { min-width: 0; }
.gallery img { height: 350px; width: 100%; object-fit: cover; border-radius: 8px; }
.gallery .game-photo { object-position: 50% 62%; }
.gallery .community-photo { object-position: 50% 61%; }
.video-frame { position: relative; height: 350px; overflow: hidden; border-radius: 8px; background: #141414; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #141414; }
.video-frame.is-enhanced:not(.has-started) video { object-fit: cover; object-position: 50% 52%; }
.inline-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; background: #0003; color: white; font-size: 13px; font-weight: 600; text-shadow: 0 1px 8px #000; }
.inline-play-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg); color: var(--ink); transition: transform .2s, background .2s; }
.inline-play:hover .inline-play-icon { transform: scale(1.08); background: var(--peach); }
.inline-play:focus-visible { outline-color: var(--peach); outline-offset: -5px; }
.gallery .video-original { display: grid; place-items: center; flex: none; width: 30px; min-height: 30px; margin-top: -7px; color: #9c3d1b; font-size: 18px; }
.mate-video-status { font-size: 12px; line-height: 1.6; padding-top: 12px; color: var(--soft); }
.mate-video-status a, .video-status a { text-decoration: underline; text-underline-offset: 3px; }
.gallery figcaption { padding-top: 13px; display: flex; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 11px; }
.gallery figcaption span:last-child { color: #9c3d1b; font-size: 10px; }
.steps { background: #eee5de; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.steps-copy h2 { max-width: 520px; margin-bottom: 34px; }
.step-list { list-style: none; padding: 0; margin: 0 0 30px; }
.step-list li { display: grid; grid-template-columns: 34px 1fr; gap: 20px; border-top: 1px solid #d3c8c0; padding: 23px 0; }
.step-list .number { padding-top: 2px; font-size: 12px; color: #9c3d1b; }
.step-list h3 { margin-bottom: 10px; font-size: 22px; }
.step-list p { color: var(--soft); font-size: 14px; line-height: 1.7; }
.app-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-width: 0; position: relative; padding: 16px 0; }
.app-stage::before { content: ''; position: absolute; width: min(460px, 100%); aspect-ratio: 1; border: 1px solid #c9b2a1; border-radius: 50%; }
.device { transform: rotate(3deg); }
.demo-note { text-align: center; font-size: 10px; color: var(--soft); position: relative; letter-spacing: .03em; }
.trust-row { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.trust-row svg { color: #a84623; }
.trust-row h3 { font-size: 13px; margin-bottom: 4px; letter-spacing: 0; }
.trust-row p { font-size: 11px; color: var(--soft); }
.courts-grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: 70px; align-items: center; }
.courts-copy h2 { margin-bottom: 24px; }
.courts-copy > p:not(.eyebrow) { color: var(--soft); font-size: 15px; }
.court-names { list-style: none; padding: 0; margin: 30px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.court-names li { border: 1px solid var(--line); border-radius: 40px; padding: 7px 12px; font-size: 11px; }
.courts-map img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.courts-map figcaption { display: flex; flex-direction: column; align-items: start; gap: 10px; margin-top: 14px; font-size: 11px; color: var(--soft); }
.courts-map figcaption a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-head h2 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 24px; }
.faq-head p:not(.eyebrow) { color: var(--soft); font-size: 14px; }
.faq-head a { margin-top: 12px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 42px 22px 0; font-size: 16px; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 17px; font-size: 24px; font-weight: 400; color: #a64722; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: 14px; line-height: 1.8; color: var(--soft); padding: 0 32px 24px 0; }
.faq-list details a { text-decoration: underline; text-underline-offset: 3px; }
.download { padding: 0 0 28px; }
.download-inner { background: var(--ink); color: var(--bg); border-radius: 12px; padding: 66px 70px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 80px; position: relative; overflow: hidden; }
.download-inner .eyebrow { color: #eaa381; margin-bottom: 22px; }
.download-inner h2 { font-size: clamp(40px, 5vw, 70px); }
.download-copy { color: #dbd2cd; font-size: 14px; margin-bottom: 24px; line-height: 1.8; }
.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.store { display: flex; align-items: center; gap: 12px; min-height: 70px; background: var(--bg); border: 1px solid transparent; border-radius: 8px; padding: 12px 16px; color: var(--ink); transition: background .2s; }
.store:hover { background: var(--peach); }
.store-top { display: block; font-size: 10px; line-height: 1.4; }
.store-name { display: block; font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.store-web { grid-column: 1 / -1; color: var(--bg); background: transparent; border-color: #82766d; }
.store-web:hover { background: #36312e; }
.store-arrow { margin-left: auto; font-size: 22px; }
.download-inner a:focus-visible { outline-color: var(--peach); }
.stores-note { font-size: 11px; color: #bbb1aa; line-height: 1.7; max-width: 350px; }
.foot { display: flex; align-items: start; justify-content: space-between; gap: 40px; padding: 48px 0 34px; }
.foot-brand img { width: 160px; height: auto; margin-bottom: 15px; }
.foot-note { font-size: 11px; color: var(--soft); }
.foot-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 15px; font-size: 11px; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 10px; color: var(--soft); }
dialog { padding: 0; border: 0; border-radius: 14px; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 40px); background: var(--ink); color: white; box-shadow: 0 30px 100px #0006; }
dialog::backdrop { background: #151313cf; backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; }
.dialog-head h2 { font-size: 17px; letter-spacing: -.02em; }
.dialog-head button { display: grid; place-items: center; height: 38px; width: 38px; border: 1px solid #777; border-radius: 50%; color: white; background: none; font-size: 22px; }
dialog video { display: block; width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; background: #111; }
.video-status { font-size: 12px; padding: 12px 18px; }
@media (min-width: 1500px) { .hero-visual { height: 690px; } .hero h1 { font-size: 100px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); } .nav { gap: 22px; } .site-nav { gap: 20px; } .nav-logo { width: 148px; }
  .nav-actions { gap: 12px; } .nav-cta { display: none; } .hero-grid { gap: 32px; } .hero-visual { height: 570px; }
  .hero h1 { font-size: clamp(52px, 7.1vw, 77px); } .intro-head { gap: 50px; } .steps-grid { gap: 50px; }
  .courts-grid { gap: 40px; } .faq-grid { gap: 60px; } .download-inner { padding: 52px 40px; gap: 50px; }
  .download-options { grid-template-columns: 1fr; }
  .gallery img, .video-frame { height: 290px; }
  .contact-inner { gap: 32px; padding: 32px; }
}
@media (min-width: 761px) and (max-width: 950px) {
  .nav { gap: 16px; } .site-nav { gap: 14px; } .site-nav a { font-size: 12px; } .nav-actions { gap: 8px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; } .wrap { width: calc(100% - 40px); } .nav { height: 76px; gap: 16px; }
  .nav-logo { width: 142px; } .nav-actions { margin-left: auto; gap: 10px; } .language-control select { font-size: 14px; }
  .language-control svg { display: none; } .menu-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; margin: 0; padding: 18px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 20px #0001; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 30px 0 26px; } .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(49px, 11vw, 74px); max-width: 590px; margin: 23px 0; letter-spacing: -.06em; }
  .hero .lede { font-size: 15px; max-width: 440px; } .hero-actions { gap: 22px; margin-top: 24px; }
  .hero-note { margin-top: 22px; } .hero-visual { height: 450px; }
  .photo-caption p { font-size: 28px; } .hero-foot { font-size: 9px; padding-top: 22px; letter-spacing: .06em; }
  .section { padding: 60px 0; } .intro-head { grid-template-columns: 1fr; gap: 24px; }
  .contact-inner { grid-template-columns: 1fr; padding: 26px; gap: 28px; }
  #contact-open { justify-self: start; }
  .contact-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .contact-dialog-head { padding: 22px 20px 14px; }
  .contact-dialog-head h2 { font-size: 36px; }
  .contact-dialog-body { padding: 0 20px 22px; }
  .contact-copy h2 { margin-bottom: 16px; }
  .contact-direct { margin-top: 18px; }
  .contact-fields { gap: 12px; }
  .contact-fields input, .contact-message textarea { font-size: 16px; }
  .benefits { margin-top: 32px; grid-template-columns: 1fr; } .benefit { padding: 24px 0; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .benefit .number { margin-bottom: 12px; } .benefit p { max-width: 100%; }
  .community { padding-top: 4px; } .community-header { align-items: start; flex-direction: column; gap: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 24px 12px; } .gallery figure:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .gallery img, .video-frame { height: 230px; } .gallery figure:nth-child(2) img { height: 360px; object-position: 50% 61%; }
  .gallery figcaption { font-size: 10px; } .gallery figcaption span:last-child { display: none; }
  .steps-grid, .courts-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-copy h2 { margin-bottom: 26px; } .app-stage { padding: 0; } .device { transform: rotate(2deg); }
  .courts-copy h2 { max-width: 500px; } .courts-grid { gap: 28px; }
  .faq-head h2 { margin-bottom: 18px; } .faq-grid { gap: 28px; } .faq-list summary { font-size: 15px; }
  .download-inner { padding: 38px 26px; grid-template-columns: 1fr; gap: 30px; }
  .download-inner h2 { font-size: 48px; } .download-copy { max-width: 420px; }
  .download-options { grid-template-columns: 1fr; }
  .foot { flex-direction: column; gap: 16px; padding: 30px 0; } .foot-links { gap: 16px; padding-top: 0; }
  .footer-bottom { font-size: 9px; gap: 16px; } .demo-note { max-width: 270px; }
}
@media (max-width: 400px) {
  .nav-logo { width: 124px; } .nav-actions { gap: 6px; } .nav-contact { font-size: 11px; gap: 4px; }
  .nav-contact svg { display: none; } .contact-inner { padding: 22px; } .contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); } .nav-logo { width: 112px; } .nav { gap: 8px; }
  .hero-controls { left: 8px; right: 8px; gap: 0; }
  .hero h1 { font-size: 48px; } .hero-actions { gap: 16px; } .button { padding: 15px 19px; gap: 20px; }
  .device { transform: scale(.9) rotate(2deg); margin: -30px -20px; } .app-stage { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
