Breathe
Follow guided patterns or set your own pace.
diff --git a/CHANGELOG.md b/CHANGELOG.md index b9e69e712..c8a75e061 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [Unreleased] +- Open the full web app directly from a website styled to match Waozi Studio, without the mini preview. - Open Arcade with its console artwork, framed player HUD and game Home navigation. ## [2.1.62] - 2026-11-03 diff --git a/site/build.sh b/site/build.sh index a95087ed9..29cc9a428 100755 --- a/site/build.sh +++ b/site/build.sh @@ -5,7 +5,7 @@ set -eu script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) root_dir=$(dirname -- "$script_dir") out_dir="$root_dir/build/site" -web_dir="$root_dir/build/dist/web" +web_dir=${SITE_WEB_DIR:-"$root_dir/build/dist/web"} kryon_dir=${KRYON_DIR:-"$root_dir/build/packages/kryon"} require_path() { diff --git a/site/css/landing.css b/site/css/landing.css index 269c81a90..098d9de89 100644 --- a/site/css/landing.css +++ b/site/css/landing.css @@ -4,19 +4,14 @@ .site-header .site-return { display: inline-flex; align-items: center; } .botanical { width: 83%; max-width: 340px; justify-self: end; } .hero .text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding-inline: 9px; } -.practice-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 30px 60px; padding-block: 40px 30px; border-top: 1px solid var(--line); } -.preview-copy { max-width: 460px; } -.preview-copy h2 { margin: 16px 0 20px; } -.preview-description { color: var(--muted); } -.practice-options { display: grid; gap: 20px; margin: 28px 0; } -.practice-options dt { display: flex; align-items: center; gap: 12px; font: 400 25px/1.2 var(--serif); } -.practice-options dt img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; } -.practice-options dd { margin: 6px 0 0 36px; color: var(--muted); font-size: 13px; } -.preview-full-app { display: block; padding-block: 16px; border-top: 1px solid var(--line); } -.preview-app { min-width: 0; } -.preview-frame { height: 560px; overflow: hidden; border: 6px solid var(--sage); border-radius: 28px; background: var(--paper); } -.preview-frame iframe { display: block; width: 100%; height: 100%; border: 0; } -.preview-app .small-note { text-align: center; } +.practice-features { padding-block: 40px 30px; border-top: 1px solid var(--line); } +.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 32px; } +.practice-grid article { min-width: 0; padding: 28px; border: 2px solid var(--ink); border-radius: 20px; background: var(--surface); box-shadow: 0 5px 0 var(--ink); } +.practice-grid article:nth-child(2) { background: var(--sage); } +.practice-grid article:nth-child(3) { background: #fff0bd; } +.practice-grid img { margin-bottom: 24px; } +.practice-grid h3 { margin-bottom: 12px; } +.practice-grid p { color: var(--muted); font-size: 14px; } .practice-safety { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; } .practice-safety strong { color: var(--ink); font-weight: 600; } .privacy-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; } @@ -40,17 +35,17 @@ .site-header { gap: 18px; } .site-header .brand { font-size: 25px; } .site-header .brand img { width: 32px; } - .practice-preview { grid-template-columns: minmax(0, 1fr); gap: 28px; } - .preview-copy { max-width: none; } - .preview-app { width: min(100%, 420px); justify-self: center; } + .practice-grid { gap: 16px; } + .practice-grid article { padding: 22px; } .privacy-band { gap: 30px; } } @media (max-width: 650px) { - .download-grid { grid-template-columns: 1fr; } + .download-grid, .practice-grid { grid-template-columns: 1fr; } .privacy-band { grid-template-columns: 1fr; gap: 24px; } } @media (max-width: 540px) { - .site-header { flex-wrap: nowrap; gap: 12px; } + .site-header { flex-wrap: wrap; gap: 16px; padding-block: 18px; } + .site-actions { width: 100%; justify-content: space-between; } .site-header .brand { gap: 8px; } .site-header .site-return { flex-shrink: 0; } .botanical { width: 55% !important; max-width: 200px; margin-top: -40px !important; margin-bottom: -5px !important; } @@ -68,7 +63,7 @@ .policy-hero em, .converter-intro em { font-style: normal; } .policy-lede, .converter-lede { color: var(--muted); font-size: 15px; } .policy-date { margin-top: 20px; color: var(--muted); font-size: 11px; } -.policy-promise { padding: 26px; border: 1px solid var(--line); background: #edf0e5; } +.policy-promise { padding: 26px; border: 1px solid var(--line); background: var(--sage); } .policy-promise-label, .policy-kicker, .policy-toc > p { margin-bottom: 15px; color: var(--green); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; } .policy-promise ul { margin: 0; padding: 0; list-style: none; } .policy-promise li { display: grid; grid-template-columns: 24px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; } @@ -87,7 +82,7 @@ .policy-section li { margin-bottom: 10px; } .policy-section strong { color: var(--ink); } .policy-section code { overflow-wrap: anywhere; font-size: 12px; } -.policy-callout { padding: 20px; margin-block: 24px; border-left: 2px solid var(--green); background: #e8ede0; } +.policy-callout { padding: 20px; margin-block: 24px; border-left: 2px solid var(--green); background: var(--sage); } .policy-callout strong { display: block; margin-bottom: 10px; font-size: 13px; } .policy-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 28px; } .policy-service-grid article { padding-top: 20px; border-top: 1px solid var(--line); } @@ -98,7 +93,7 @@ .converter-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding-bottom: 30px; } .converter-steps > div { display: flex; gap: 12px; align-items: start; font-size: 12px; } .converter-steps b { color: var(--green); font: 400 24px var(--serif); } -.converter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 35px; border: 1px solid var(--line); background: #eff0e7; } +.converter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 35px; border: 1px solid var(--line); background: var(--surface); } .converter-panel h2 { margin: 15px 0; } .converter-panel-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; } .converter-controls label { display: block; font-size: 12px; margin-bottom: 12px; } @@ -132,3 +127,41 @@ body > footer:not(.site-footer) div { display: flex; flex-wrap: wrap; gap: 18px; @media (max-width: 450px) { .policy-service-grid { grid-template-columns: 1fr; } } + +/* Waozi Studio's shared palette, type and outlined controls. */ +@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/bricolage-grotesque.woff2') format('woff2'); font-weight: 200 800; font-display: swap; } +:root { + --paper: #fff8ee; + --surface: #ffffff; + --ink: #1d1631; + --muted: #5d5670; + --violet: #6a4cff; + --coral: #ff6b57; + --sun: #ffc93c; + --green: var(--violet); + --rust: var(--coral); + --accent: var(--violet); + --sage: #efe8ff; + --line: #e8dfd0; + --display: 'Bricolage Grotesque', Manrope, system-ui, sans-serif; +} +body::before { opacity: 0; } +h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 750; letter-spacing: -.03em; } +::selection { background: var(--sun); color: var(--ink); } +.brand { color: var(--ink); font: 800 28px/1 var(--display); letter-spacing: -.035em; } +.site-actions { display: flex; align-items: center; gap: 24px; } +.site-actions a { flex-shrink: 0; } +.site-return { font-size: 13px; font-weight: 700; } +.button { min-height: 48px; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; } +.button:hover { background: var(--sun); color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); } +.button-primary, .button-primary:hover { border-color: var(--ink); background: var(--violet); color: #fff; } +.text-link { color: var(--violet); font-weight: 700; } +.hero h1 { font-size: clamp(52px, 6.8vw, 88px); line-height: .98; letter-spacing: -.045em; } +@media (max-width: 760px) { + .site-header { flex-wrap: wrap; padding-block: 18px; } + .site-actions { gap: 18px; } +} +@media (prefers-reduced-motion: reduce) { + .button { transition: none; } + .button:hover { transform: none; } +} diff --git a/site/index.html b/site/index.html index 5e063c1c5..55afa5810 100644 --- a/site/index.html +++ b/site/index.html @@ -5,18 +5,18 @@
Guided breathing, meditation, and simple habits, at your own pace.
- +Free to use · Works offline · No account required

A pause, right here
-Choose a practice in the panel and settle in.
- - For habits and saved history, open the full app +At your own pace
+This preview does not save session history.
+Follow guided patterns or set your own pace.
Set a timer and choose a soft background sound.
Keep your daily routines and saved history together in the full app.