diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a31309c6..cf6cea080 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Fix Backspace, editing and backup restores. Find Photos and Radio faster. Buy Dew with Telegram Stars. - Start practices cleanly, switch smoothly, resume sessions, and see download progress and Android picture-in-picture. - Reset break timers after time away, match coins and timers to the theme, and claim daily coins in Habits. +- See the animated Inner Breeze homepage, with a pause control and reduced-motion support. ## [2.1.63] - 2026-11-05 diff --git a/site/css/landing.css b/site/css/landing.css index 8ad9737ec..3a5276ac1 100644 --- a/site/css/landing.css +++ b/site/css/landing.css @@ -6,7 +6,7 @@ --muted: #486057; --accent: #29584a; --line: #cbd6c9; - background: radial-gradient(ellipse at 88% 13%, #dce8d9 0%, transparent 39rem), var(--paper); + background: var(--paper); } .home h1, .home h2, .home h3, .home .brand { font-family: var(--serif); font-weight: 400; } .home .brand { min-height: 44px; font-size: clamp(24px, 4vw, 33px); } @@ -14,24 +14,129 @@ .home .site-header { min-height: 76px; } .home .site-actions { flex-wrap: wrap; gap: 4px 24px; } .home .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--accent); font-size: 14px; } -.home .hero { min-height: 535px; gap: 40px; padding-block: 62px; } -.home .hero h1 { margin: 0 0 22px; font-size: clamp(65px, 9.3vw, 125px); line-height: .9; } +.home .hero { + isolation: isolate; + grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); + min-height: 535px; + gap: clamp(20px, 3vw, 40px); + margin-block: 12px 42px; + padding: clamp(32px, 5.2vw, 70px) clamp(24px, 5vw, 72px); + border: 1px solid #c0d5cb; + border-radius: 36px; + background: #e6eee2; +} +.home .hero h1 { margin: 0 0 22px; font-size: clamp(56px, 7.3vw, 100px); line-height: .9; } .home .hero h1 em { color: var(--accent); font-weight: inherit; } .home .hero-lede { font-size: clamp(16px, 2.3vw, 20px); line-height: 1.6; } .home .small-note { font-size: 13px; } +.home .hero-copy, .home .botanical { position: relative; } +.home .hero-copy { z-index: 1; } .home .button { min-height: 48px; border: 1px solid var(--ink); background: var(--ink); color: #fff; box-shadow: none; font-size: 14px; } -.home .button:hover { background: #345b4e; color: #fff; box-shadow: none; } -.home .botanical { - width: min(100%, 445px); - justify-self: end; - padding: 22px; - border: 1px solid #aabfae; - border-radius: 49% 49% 46% 46%; - animation: botanical-arrive 950ms ease-out both; +.home .button:hover, .home .button:focus-visible { background: #345b4e; color: #fff; box-shadow: none; } +.hero-atmosphere { + position: absolute; + z-index: -1; + inset: 0; + overflow: hidden; + border-radius: inherit; + background: linear-gradient(128deg, #f6f3e7 6%, #e8f2dc 43%, #cee6de 75%, #b9dae3); + pointer-events: none; } -.home .botanical img { border-radius: inherit; mask-image: radial-gradient(ellipse, #000 54%, transparent 72%); } -@keyframes botanical-arrive { - from { opacity: .6; transform: translateY(10px); } +.hero-glow { + position: absolute; + inset: -40% -20%; + background: + radial-gradient(ellipse at 74% 42%, #82c5cbad, transparent 38%), + radial-gradient(ellipse at 43% 57%, #f4ffcbdd, transparent 41%); +} +.hero-contours { + position: absolute; + inset: -20% -17%; + width: 134%; + height: 140%; + color: #39766e52; + stroke: currentColor; +} +.hero-contours g { stroke-width: 1; } +.hero-ribbon { fill: #fcfff455; stroke: none; } +.home .botanical { + width: min(100%, 420px); + justify-self: end; + padding: clamp(12px, 2vw, 24px); + border: 1px solid #507c70a6; + border-radius: 50%; + background: #f7f5e93b; + box-shadow: 0 0 0 9px #f4fff23d; + mix-blend-mode: normal; +} +.home .botanical img { border-radius: inherit; mask-image: radial-gradient(ellipse, #000 54%, transparent 72%); mix-blend-mode: multiply; } +.motion-toggle, .motion-control { display: none; } +@media (prefers-reduced-motion: no-preference) { + .hero-contours { animation: drift-contours 11s ease-in-out infinite alternate; } + .hero-glow { animation: drift-glow 9s ease-in-out infinite alternate; } + .home .botanical img { animation: botanical-breathe 7s ease-in-out infinite; } + .home .hero-copy > :not(h1) { animation: hero-arrive 620ms ease-out both; } + .home .hero-copy .actions { animation-delay: 90ms; } + .home .hero-copy .small-note { animation-delay: 165ms; } + .motion-toggle { + display: block; + position: absolute; + width: 1px; + height: 1px; + clip-path: inset(50%); + } + .motion-control { + position: absolute; + z-index: 2; + inset: auto 18px 15px auto; + display: inline-flex; + align-items: center; + gap: 7px; + min-height: 44px; + padding-inline: 13px; + border: 1px solid #73958a; + border-radius: 99px; + background: #f5faf2; + color: var(--ink); + font-size: 12px; + font-weight: 700; + cursor: pointer; + } + .motion-control::before { content: ''; width: 8px; height: 10px; border-inline: 2px solid currentColor; } + .motion-toggle:focus-visible + .motion-control { outline: 2px solid var(--ink); outline-offset: 3px; } + .motion-resume, .motion-toggle:checked + .motion-control .motion-pause { display: none; } + .motion-toggle:checked + .motion-control .motion-resume { display: inline; } + .motion-toggle:checked + .motion-control::before { + border: 5px solid transparent; + border-left: 7px solid currentColor; + border-right: 0; + width: 0; + height: 0; + } + .motion-toggle:checked ~ .hero-atmosphere > *, .motion-toggle:checked ~ .botanical img { animation-play-state: paused; } + .practice-grid article, .download-grid article { transition: transform .24s ease, border-color .24s ease; } + .download-grid article:focus-within { border-color: var(--accent); transform: translateY(-3px); } + @media (hover: hover) { + .practice-grid article:hover, .download-grid article:hover { border-color: var(--accent); transform: translateY(-3px); } + } + @supports (animation-timeline: view()) and (animation-range: entry) { + .practice-grid article > img { animation: hero-arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; } + } +} +@keyframes drift-contours { + from { transform: translate3d(-3%, 7%, 0) rotate(-7deg) scale(1.05); } + to { transform: translate3d(8%, -8%, 0) rotate(8deg) scale(1.17); } +} +@keyframes drift-glow { + from { transform: translate3d(-10%, 10%, 0) scale(.92); } + to { transform: translate3d(10%, -10%, 0) scale(1.15); } +} +@keyframes botanical-breathe { + 0%, 100% { transform: scale(.95); } + 50% { transform: translateY(-5px) scale(1.06); } +} +@keyframes hero-arrive { + from { opacity: .82; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } } .practice-features { padding-block: 40px 34px; border-top: 1px solid var(--line); } @@ -62,17 +167,17 @@ .download-grid p, .migration p { color: var(--muted); margin-top: 8px; } .link-row { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 7px; } .link-row a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; } -.migration { padding-top: 24px; border-top: 1px solid var(--line); } -.migration:not(details) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; } -.web-migration { margin-top: 24px; } -.web-migration summary { padding-block: 9px; cursor: pointer; font-weight: 700; } +.migration { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; padding-top: 24px; border-top: 1px solid var(--line); } .home .site-footer { margin-top: 0; } .home .footer-links { margin-top: 0; gap: 0 22px; } .home .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; } .home .footer-bottom { font-size: 12px; } @media (max-width: 680px) { - .home .hero { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding-block: 42px; } - .home .botanical { width: min(66%, 250px); padding: 12px; margin: 0 !important; } + .home .hero { grid-template-columns: 1fr; min-height: 0; gap: 25px; margin-top: 4px; padding: 32px 20px 70px; border-radius: 25px; } + .home .hero h1 { font-size: clamp(46px, 12vw, 77px); } + .home .botanical { width: min(66%, 250px); justify-self: center; margin: 0 !important; } + .hero-contours { inset: -13% -36%; width: 172%; height: 126%; } + .motion-control { right: 12px; bottom: 10px; } .download-grid, .practice-grid, .privacy-band, .dew-band { grid-template-columns: 1fr; } .dew-band .button { justify-self: start; } } diff --git a/site/index.html b/site/index.html index 4fce44956..4d9119048 100644 --- a/site/index.html +++ b/site/index.html @@ -6,6 +6,8 @@
Free to start. No account needed for local practice.
+ + +
Open the old app in the same browser you used before. Use its data export or export your sync key, then import it in Settings on this website. The two sites have separate browser storage.
- -