diff --git a/docs/website/assets/site.css b/docs/website/assets/site.css index 9ca8151..d9d9399 100644 --- a/docs/website/assets/site.css +++ b/docs/website/assets/site.css @@ -32,6 +32,12 @@ html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } +/* Menu jumps land below the 66px sticky nav. Sections carry their own top + padding, so they only need the phone-width top-up (see the 560px query); + unpadded targets such as the Support cards need the full nav height. */ +[id] { scroll-margin-top: 86px; } +section[id], main[id] { scroll-margin-top: 0; } + body { margin: 0; font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; @@ -419,6 +425,8 @@ details.faq .body a { color: var(--green); } .reveal[data-d="3"] { transition-delay: .24s; } /* --- Responsive ---------------------------------------------------------- */ +/* The full menu plus the Support page's extra Home button only fit from ~1080px. */ +@media (max-width: 1080px) { .nav-cta .btn-ghost { display: none; } } @media (max-width: 940px) { .nav-links { display: none; } .nav-toggle { display: inline-flex; } @@ -427,6 +435,9 @@ details.faq .body a { color: var(--green); } position: absolute; top: 66px; left: 0; right: 0; background: rgba(8,11,10,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 14px 22px 20px; + /* Short screens (a phone in landscape) can't fit every item: scroll the menu itself. */ + max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); + overflow-y: auto; overscroll-behavior: contain; } .nav.open .nav-links a { padding: 8px 0; width: 100%; font-size: 1.05rem; } @@ -441,6 +452,7 @@ details.faq .body a { color: var(--green); } } @media (max-width: 560px) { section { padding: 64px 0; } + section[id] { scroll-margin-top: 24px; } .grid-mini { grid-template-columns: 1fr; } .shot-strip, .shot-strip.cols-2, .shot-strip.cols-3 { grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; } diff --git a/docs/website/index.html b/docs/website/index.html index 50fb710..6cd6bc1 100644 --- a/docs/website/index.html +++ b/docs/website/index.html @@ -41,7 +41,7 @@ AI Coach Share Try it - Setup guide + Setup Guide Privacy FAQ Support @@ -233,11 +233,11 @@

See every momentum swing

-
Points graph filtered to the points you won.
+
Points graph filtered to the points you won.
Points you won — where you took control.
-
Points graph filtered to the points you lost.
+
Points graph filtered to the points you lost.
Points you lost — where it slipped away.
@@ -305,15 +305,15 @@

More inspiration than the coach you pay for

-
The generated coaching prompt, ready to paste into any AI app.
+
The generated coaching prompt, ready to paste into any AI app.
A ready-to-paste coaching prompt
-
Match statistics included in the AI export.
+
Match statistics included in the AI export.
Every stat, included automatically
-
The full point-by-point data table included in the AI export.
+
The full point-by-point data table included in the AI export.
The full point-by-point record
@@ -465,7 +465,8 @@

Curious how it feels? Try it now Stats AI Coach Share - Setup guide + Try it + Setup Guide Support Privacy GitHub diff --git a/docs/website/setup.html b/docs/website/setup.html index a62fa1a..9212134 100644 --- a/docs/website/setup.html +++ b/docs/website/setup.html @@ -32,9 +32,14 @@ DeuceMate diff --git a/docs/website/support.html b/docs/website/support.html index 7206323..a113e32 100644 --- a/docs/website/support.html +++ b/docs/website/support.html @@ -32,11 +32,15 @@ DeuceMate diff --git a/docs/website/try.html b/docs/website/try.html index 464c908..b6fef35 100644 --- a/docs/website/try.html +++ b/docs/website/try.html @@ -35,9 +35,14 @@ DeuceMate