/* Public site (landing, privacy, terms). Same trans flag palette as the app. */
:root {
  --blue: #5BCEFA; --pink: #F5A9B8;
  --flag: linear-gradient(90deg, #5BCEFA, #F5A9B8);
  --flag-button: linear-gradient(90deg, #5BCEFA 0%, #f3f6fa 50%, #F5A9B8 100%);
  --flag-stripes: linear-gradient(90deg, #5BCEFA 0 20%, #F5A9B8 20% 40%, #ffffff 40% 60%, #F5A9B8 60% 80%, #5BCEFA 80%);
  --page: linear-gradient(170deg, #e9f7fe 0%, #f7f9fc 45%, #fdeef3 100%);
  --bg: #f4f8fc; --surface: #ffffff; --surface-2: #eef8fe; --surface-3: #fdf0f4;
  --ink: #1b2233; --muted: #596073; --line: #d6e8f3; --accent: #0f6d9c;
  --shadow: 0 1px 2px rgba(27, 34, 51, .04), 0 6px 24px rgba(91, 206, 250, .10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: linear-gradient(170deg, #0f1a2b 0%, #141826 50%, #231626 100%);
    --bg: #141826; --surface: #1b2133; --surface-2: #212a40; --surface-3: #2a2234;
    --ink: #eef1f8; --muted: #a8b0c3; --line: #2e3953; --accent: #5BCEFA;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(91, 206, 250, .06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --page: linear-gradient(170deg, #0f1a2b 0%, #141826 50%, #231626 100%);
    --bg: #141826; --surface: #1b2133; --surface-2: #212a40; --surface-3: #2a2234;
    --ink: #eef1f8; --muted: #a8b0c3; --line: #2e3953; --accent: #5BCEFA;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(91, 206, 250, .06);
    color-scheme: dark;
  }   /* 0.29.1: chosen in the footer or Settings */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) var(--page) fixed; color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

header.site { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--flag-stripes); }
header.site .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; padding-top: env(safe-area-inset-top); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav.links { margin-left: auto; display: flex; gap: 4px; align-items: center; }
nav.links a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: .95rem; }
nav.links a:hover { color: var(--ink); background: var(--surface-2); }
nav.links .hide-sm { display: none; }
@media (min-width: 640px) { nav.links .hide-sm { display: inline-block; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px;
  font-weight: 650; text-decoration: none; color: #141417; background: var(--flag-button); border: 0; box-shadow: var(--shadow); }
.btn:hover { filter: brightness(1.04) saturate(1.1); }
.btn.quiet { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
nav.links .btn { min-height: 40px; padding: 8px 16px; color: #141417; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; margin: 0 auto 16px; max-width: 16ch; letter-spacing: -0.02em; }
.hero h1 span { background: linear-gradient(90deg, #1a8cc4, #d0457a); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero h1 span { background: var(--flag); -webkit-background-clip: text; background-clip: text; }
}
:root[data-theme="dark"] .hero h1 span { background: var(--flag); -webkit-background-clip: text; background-clip: text; }   /* 0.29.1: chosen in the footer or Settings */

.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 38ch; margin: 0 auto 28px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wave { display: block; margin: 40px auto 0; max-width: 560px; width: 100%; height: auto; }

/* A look inside: phone screenshots, light or dark (follows the system; the toggle overrides) */
.shots { display: grid; gap: 28px; grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(2, 1fr); max-width: 660px; } }
@media (min-width: 1080px) { .shots { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 22px; } }   /* four since 0.23.0 */
.shots figure { margin: 0; display: grid; gap: 14px; align-content: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: 30px; border: 7px solid #1b2233; background: #1b2233;
  box-shadow: 0 0 0 1px rgba(27, 34, 51, .28), 0 18px 40px rgba(27, 34, 51, .24), 0 4px 10px rgba(27, 34, 51, .10); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shots img { border-color: #3a4560; box-shadow: 0 0 0 1px rgba(255, 255, 255, .20), 0 18px 44px rgba(0, 0, 0, .60), 0 0 36px rgba(91, 206, 250, .10); }
}
:root[data-theme="dark"] .shots img { border-color: #3a4560; box-shadow: 0 0 0 1px rgba(255, 255, 255, .20), 0 18px 44px rgba(0, 0, 0, .60), 0 0 36px rgba(91, 206, 250, .10); }   /* 0.29.1: chosen in the footer or Settings */

.shots figcaption { font-size: .95rem; color: var(--muted); text-align: center; }
.shots figcaption b { display: block; color: var(--ink); }
.shots-theme { display: flex; justify-content: center; margin: -8px auto 24px; width: max-content; padding: 4px; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.shots-theme[hidden] { display: none; }
.shots-theme button { font: inherit; font-size: .9rem; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; min-height: 36px; }
.shots-theme button[aria-pressed="true"] { background: var(--flag); color: #141417; font-weight: 600; }

section.block { padding: 40px 0; }
section.block h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 8px; text-align: center; }
section.block h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 3px; margin: 10px auto 0; background: var(--flag); }
section.block p.sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 52ch; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.card:nth-child(even) { background: linear-gradient(160deg, var(--surface), var(--surface-3)); }
.card h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--flag); color: #141417; }
.ico svg { width: 19px; height: 19px; }
.card .ico + h3, .card .step + h3 { margin-top: 12px; }
.card.feature { display: flex; flex-direction: column; }
.card.feature .card-cta { margin-top: auto; padding-top: 18px; }
#shared, #coaches, #creators { scroll-margin-top: 90px; }
.card p { margin: 0; color: var(--muted); }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--flag); color: #141417; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--flag); }
.cta-band { text-align: center; padding: 48px 20px; border-radius: 24px; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); border: 1px solid var(--line); }

/* legal pages */
.doc { padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: 2rem; margin: 0 0 4px; }
.doc h1::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; margin-top: 10px; background: var(--flag); }
.doc .updated { color: var(--muted); margin: 12px 0 28px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.doc li { margin: 4px 0; }
.doc .callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }

footer.site { border-top: 1px solid var(--line); padding: 18px 0 calc(44px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* changelog */
.release { border-top: 1px solid var(--line); padding-top: 8px; }
.release h2 { margin-bottom: 0; }
.release .updated { margin: 2px 0 10px; }
.changes { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.changes li { display: flex; gap: 10px; align-items: baseline; }
.tag { flex: none; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #141417; min-width: 74px; text-align: center; }
.tag.new { background: #5BCEFA; } .tag.improved { background: #F5A9B8; } .tag.fixed { background: #e7ebf1; }

/* share pages */
.share { padding-top: 28px; padding-bottom: 48px; }
.share-h1 { font-size: 1.9rem; margin: 0 0 6px; }
.share .card { margin: 16px 0; }
.post-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.who { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.who span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.who small, .when { color: var(--muted); font-size: .82rem; }
.av { border-radius: 50%; flex: none; object-fit: cover; }
.av-gen { display: inline-grid; place-items: center; font-weight: 700; color: #1b2233; width: 40px; height: 40px; line-height: 1; font-size: 1.05rem; }
.feeling { display: inline-block; font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 8px; }
.caption { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 12px; }
.post audio { width: 100%; margin: 4px 0; }
.pitch { width: 100%; height: 70px; color: #1a8cc4; display: block; margin-top: 6px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pitch { color: #5BCEFA; }
}
:root[data-theme="dark"] .pitch { color: #5BCEFA; }   /* 0.29.1: chosen in the footer or Settings */

.post-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.locked { text-align: center; padding: 18px 8px; background: var(--surface-2); border-radius: 14px; }
.note { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .92rem; }
.profile-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.profile-head .share-h1 { margin: 0; line-height: 1.15; }
.profile-head p { margin: 2px 0 0; line-height: 1.4; }
.profile-head p.muted { margin-top: 2px; }
.profile-head p:not(.muted) { margin-top: 8px; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .center { text-align: center; }

/* header on phones: everything on one line; logo only, compact account pill */
header.site .brand, nav.links a { white-space: nowrap; }
nav.links { min-width: 0; }
nav.links a[data-account] { min-width: 0; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 24px; }
@media (max-width: 520px) {
  header.site .brand-text { display: none; }
  header.site .wrap { gap: 8px; }
  nav.links { gap: 2px; }
  nav.links a { padding: 8px 10px; font-size: .92rem; }
  nav.links .btn { min-height: 38px; padding: 7px 14px; border-radius: 999px; max-width: 9.5rem; }
  nav.links .me-suffix { display: none; }
}

/* interactions on share pages */
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .row.between { justify-content: space-between; }
.heart.on { border-color: #d0457a; color: #d0457a; }
.comments { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.comment { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.comment-body { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-form textarea, .modal-site textarea { width: 100%; min-height: 80px; font: inherit; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); margin: 6px 0; }
button.linkish { background: none; border: 0; padding: 4px 0; color: var(--accent); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
button.linkish.muted { color: var(--muted); } button.linkish.danger { color: #b3325f; }
.tiny { font-size: .78rem; }
dialog.modal-site { border: 1px solid var(--line); border-radius: 18px; padding: 0; width: min(520px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); }
dialog.modal-site::backdrop { background: rgba(15, 20, 35, .55); }
.modal-in { padding: 18px; display: grid; gap: 10px; }
.modal-in h2 { margin: 0; font-size: 1.2rem; }
.opt { display: flex; gap: 8px; align-items: center; min-height: 36px; }
.site-notice { background: #fff4d6; color: #6f4b00; border-radius: 12px; padding: 10px 12px; margin: 12px auto; max-width: 760px; font-size: .92rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-notice { background: #3a2f12; color: #f3cf73; }
}
:root[data-theme="dark"] .site-notice { background: #3a2f12; color: #f3cf73; }   /* 0.29.1: chosen in the footer or Settings */

.site-notice pre { white-space: pre-wrap; font-size: .78rem; background: rgba(255,255,255,.4); padding: 8px; border-radius: 8px; }

/* richer posts: then & now, progress chart, milestone */
.post .delta { font-weight: 700; font-size: 1.15rem; margin: .25rem 0; }
.post .prompt { margin: .25rem 0 .5rem; }
.then-now { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .then-now { grid-template-columns: 1fr; } }
.tn-part { border-radius: 14px; padding: 10px; background: var(--surface-2, #f4f7fb); min-width: 0; }
.tn-part audio { width: 100%; margin: 6px 0; }
.tn-a .pitch { color: #1a8cc4; } .tn-b .pitch { color: #d0457a; }
.progress-chart { width: 100%; height: auto; display: block; margin: 6px 0; }
.progress-chart .trend { fill: none; stroke: currentColor; opacity: .25; stroke-width: 2; }
.progress-chart .band { fill: #F5A9B8; opacity: .18; }
.progress-chart line { stroke-width: 4; stroke-linecap: round; }
.progress-chart line.then, .progress-chart circle.then { stroke: #1a8cc4; fill: #1a8cc4; }
.progress-chart line.now, .progress-chart circle.now { stroke: #d0457a; fill: #d0457a; }
.progress-chart text { font-size: 12px; fill: currentColor; opacity: .7; }
.milestone { display: flex; align-items: center; gap: 14px; font-size: 1.3rem; padding: 18px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(91,206,250,.18), rgba(245,169,184,.22)); margin: 6px 0; }
.milestone .ms-emoji { font-size: 2.4rem; line-height: 1; }
/* a shared badge (0.30.0): the badge, its name and what it means; never audio */
.badge-post { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 16px; margin: 6px 0;
  background: linear-gradient(135deg, rgba(91,206,250,.14), rgba(245,169,184,.18)); }
.badge-post img { width: 112px; height: 112px; flex: none; }
.badge-post b { display: block; font-size: 1.3rem; }
.badge-post .tier { display: block; color: var(--muted); }
.badge-post .meaning { display: block; margin-top: 4px; font-style: italic; color: var(--muted); }

/* feed & profile cards: heart, comments and link in one row; comments open inside the card */
.interact.inline { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 6px; }
.interact.inline .actions { display: flex; align-items: center; gap: 2px; }
.interact.inline .actions > span:first-child { margin-right: auto; }
.act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 40px; padding: 6px 12px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .95rem; text-decoration: none; cursor: pointer; }
.act:hover, .act[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.act.on { color: #d0457a; }
span.act { cursor: default; }
.interact.inline .panel { padding-top: 8px; display: grid; gap: 8px; }
.interact.inline .panel[hidden] { display: none; }
.interact.inline .panel h3 { margin: 0; }
.interact.inline .panel .comments { margin: 0; }
.post .permalink { color: inherit; text-decoration: none; }
.post .permalink:hover { text-decoration: underline; }

/* not-found pages */
.notfound { text-align: center; padding-top: 24px; padding-bottom: 64px; }
.notfound .wave { margin: 8px auto 0; max-width: 420px; }
.notfound .code { font-size: .9rem; letter-spacing: .3em; color: var(--muted); margin: 18px 0 0; }
.notfound h1 { margin: 6px 0 10px; }
.notfound .lead { max-width: 560px; margin: 0 auto 22px; color: var(--muted); }
.notfound .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }

/* signed in: photo and name at the top right, like the app */
nav.links a.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; min-height: 36px; max-width: 14rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font-size: .9rem; white-space: nowrap; overflow: hidden; }
nav.links a.account-chip:hover { border-color: var(--accent); background: var(--surface); }
nav.links a.account-chip span:last-child { overflow: hidden; text-overflow: ellipsis; }
nav.links a.account-chip .av { width: 26px; height: 26px; font-size: .8rem; }
@media (max-width: 520px) { nav.links a.account-chip { max-width: 9.5rem; } }

/* about the creator */
.about .lead { font-size: 1.15rem; }
.about p { line-height: 1.7; }
.about-cta { margin-top: 28px; }
.made-by p { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto; padding: 12px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .95rem; }
.made-by a { white-space: nowrap; }
@media (max-width: 640px) { .made-by p { border-radius: 18px; } }
.made-by { padding-top: 16px; padding-bottom: 8px; }

/* footer links: "About · Contact" and "Privacy · Terms · Changelog" (one row on wide screens, two on phones) */
footer.site nav .fgroup { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  footer.site .wrap { flex-direction: column; align-items: flex-start; }
  footer.site nav { flex-direction: column; gap: 10px; }
}

/* beta badge (header and footer) */
.beta-badge { display: inline-flex; align-items: center; padding: 2px 7px; margin-left: 6px; border-radius: 999px; font-size: .68rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; color: #1b2233;
  background: linear-gradient(90deg, #5BCEFA, #F5A9B8); vertical-align: middle; white-space: nowrap; }

/* coach brochure (/coach-brochure): whole pages on wide screens, one panel at a time on phones */
.brochure .bro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.brochure .bro-pages img, .brochure .bro-panels img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.brochure .bro-pages { display: grid; gap: 20px; }
.brochure .bro-panels { display: none; gap: 16px; }
.brochure .bro-more { margin-top: 28px; }
@media (max-width: 720px) {
  .brochure .bro-pages { display: none; }
  .brochure .bro-panels { display: grid; }
}
.comment-error { margin: 0 0 6px; color: var(--err-ink, #8a1f3a); }
/* for content creators (0.19.2): text cards instead of brochure pages */
.creators .creator-steps { margin: 8px 0 8px; }
.creators .creator-steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.creators .creator-steps p { margin: 0; }
/* the help chat frame for signed-in visitors (0.20.0) */
.help-frame { position: fixed; z-index: 50; right: 0; bottom: env(safe-area-inset-bottom, 0px); border: 0; background: transparent; }
html.help-open-site, html.help-open-site body { overflow: hidden; }
/* install the app, on phones in the browser (0.21.0) */

/* 0.22.0: /login */
.login-card { max-width: 480px; margin: 24px auto; display: grid; gap: 12px; }
.login-choices { display: grid; gap: 10px; }
.login-choices .btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-size: 1rem; }
.login-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; box-shadow: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .login-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
}
:root[data-theme="dark"] .login-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }   /* 0.29.1: chosen in the footer or Settings */

.notice-ok { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0; }
.login-hint { margin: 0; text-align: center; }
.login-returning { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.login-passkey { display: grid; gap: 6px; }   /* 0.32.0; 0.33.1: a main button next to Google */
.login-passkey-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-size: 1rem;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0; box-shadow: none; }   /* the same weight as Google's */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login-passkey-btn { background: #131314; color: #e3e3e3; border-color: #8e918f; } }
:root[data-theme="dark"] .login-passkey-btn { background: #131314; color: #e3e3e3; border-color: #8e918f; }
.login-email-link { text-align: center; margin: 0; }
.login-passkey p { margin: 0; }
.login-anonymous { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }   /* 0.33.0 */
.login-anonymous p { margin: 0; }
.login-anonymous .btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; }
.login-passkey .btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; }
.login-returning p { margin: 0; }
/* 0.22.5: the end of a list, said */
.list-end { text-align: center; color: var(--ink-2); font-size: .85rem; margin: 8px 0; }
/* 0.23.0: links to the features page, and "New" tags */
.more-link { margin: 14px 0 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.new-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--pink)); color: #1b1b2f; margin-left: 4px; }
/* 0.23.0: /features */
.features .feature-group { margin-top: 28px; }
.features .feature-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .features .feature-list { grid-template-columns: 1fr 1fr; } }
.features .feature-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; line-height: 1.5; }
.features .feature-list li b { display: block; margin-bottom: 2px; }
.exp-tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); margin-left: 2px; vertical-align: middle; }

/* the "get the app" banner (0.24.0 redesign): one compact strip in the brand colours, same as in the app */
.install-banner { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 4px 10px; margin-top: 12px; padding: 8px 8px 8px 10px;
  border-radius: 14px; background: linear-gradient(100deg, #5BCEFA, #F5A9B8); color: #1b1b2f; box-shadow: 0 4px 16px rgba(91, 206, 250, .25); }
.install-banner img { border-radius: 9px; display: block; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.install-banner .ib-text { min-width: 0; display: grid; line-height: 1.25; }
.install-banner .ib-text b { font-size: .92rem; font-weight: 700; }
.install-banner .ib-text span { font-size: .78rem; opacity: .85; }
.install-banner .ib-action { background: #fff; color: #1b1b2f; border: 0; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: .85rem; min-height: 34px; cursor: pointer; }
.install-banner .ib-close { background: transparent; color: #1b1b2f; border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
.install-banner .ib-close:hover, .install-banner .ib-close:focus-visible { background: rgba(255, 255, 255, .45); }
.install-banner .ib-how { grid-column: 1 / -1; margin: 4px 0 2px; padding: 8px 12px 8px 30px; border-radius: 10px; background: rgba(255, 255, 255, .6); font-size: .82rem; line-height: 1.45; }

/* FAQ (0.26.0) */
.faq .faq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.faq .faq-toc a { font-size: .9rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; }
.faq .faq-group { margin-top: 28px; scroll-margin-top: 80px; }
.faq .faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0 0; }
.faq .faq-item summary { cursor: pointer; padding: 12px 14px; font-weight: 600; line-height: 1.4; list-style-position: inside; }
.faq .faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-item > div { padding: 4px 14px 2px; line-height: 1.55; }

/* 0.27.9: download your own shared clip (only shown to the poster) */
.own-audio { display: flex; align-items: center; gap: 4px; width: 100%; }
.own-audio audio { flex: 1; min-width: 0; }
.dl-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: inherit; opacity: .55; text-decoration: none; flex: none; }
.dl-link:hover, .dl-link:focus-visible { opacity: 1; }

/* 0.29.0: headline features, and coach features shown only once there are coaches */
.featured-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
  padding: 2px 8px; border-radius: 999px; border: 1.5px solid var(--blue); color: inherit; margin-left: 4px; }
.needs-coaches { display: none !important; }
.has-coaches .needs-coaches { display: revert !important; }
.has-coaches .no-coaches { display: none !important; }

/* 0.29.1: light, dark or the device's: three small icons (the footer on the public site, Settings in the apps) */
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); flex: none; }
.theme-switch button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-height: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; box-shadow: none; }
.theme-switch button[aria-checked="true"] { background: var(--accent); color: var(--surface); }
.theme-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* 0.29.2: screenshot carousels (homepage "A look inside", the features gallery). Swipe on phones, three at a time on
   computers, arrows and dots, no autoplay; without scripts it's a row you can scroll */
.carousel { position: relative; }
.car-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }
.car-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.car-item { flex: 0 0 78%; max-width: 320px; scroll-snap-align: center; margin: 0; display: grid; gap: 14px; align-content: start; }
.car-item.wide { flex-basis: 92%; max-width: 760px; }
@media (min-width: 900px) {
  .car-item { flex-basis: calc((100% - 44px) / 3); max-width: none; scroll-snap-align: start; }
  .car-item.wide { flex-basis: calc((100% - 22px) * 2 / 3); }
}
.car-item img { display: block; width: 100%; height: auto; border-radius: 30px; border: 7px solid #1b2233; background: #1b2233;
  box-shadow: 0 0 0 1px rgba(27, 34, 51, .28), 0 18px 40px rgba(27, 34, 51, .24), 0 4px 10px rgba(27, 34, 51, .10); }
.car-item figcaption, .desk-shot figcaption, .group-shot figcaption { font-size: .95rem; color: var(--muted); text-align: center; }
.car-item figcaption b, .desk-shot figcaption b, .group-shot figcaption b { display: block; color: var(--ink); }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.car-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 1.3rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.car-nav button:disabled { opacity: .35; cursor: default; }
.car-dots { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; max-width: 70%; }
.car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); box-shadow: none; }
.car-dots button[aria-current="true"] { background: var(--accent); width: 22px; border-radius: 999px; }
/* a computer screenshot, in a simple window frame */
.desk-shot { margin: 36px auto 0; max-width: 980px; display: grid; gap: 14px; }
.desk-frame, .car-item.wide .desk-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.desk-frame::before { content: ""; display: block; height: 26px; background: var(--surface-2);
  background-image: radial-gradient(circle at 16px 13px, #F5A9B8 5px, transparent 6px), radial-gradient(circle at 34px 13px, #f3d36b 5px, transparent 6px), radial-gradient(circle at 52px 13px, #5BCEFA 5px, transparent 6px); }
.desk-frame img, .car-item.wide .desk-frame img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; background: none; }
/* the features page: a screenshot beside a section, and "See it" links into the gallery */
.feature-group.with-shot { display: grid; gap: 22px; }
@media (min-width: 900px) { .feature-group.with-shot { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
  .feature-group.with-shot.flip { grid-template-columns: 260px minmax(0, 1fr); } .feature-group.with-shot.flip .group-shot { order: -1; } }
.feature-group.with-shot > .fg-text > h2:first-child { margin-top: 0; }
.group-shot { margin: 0 auto; max-width: 260px; display: grid; gap: 10px; }
.group-shot img { display: block; width: 100%; height: auto; border-radius: 26px; border: 6px solid #1b2233; background: #1b2233; box-shadow: var(--shadow); }
.group-shot.desk { max-width: 520px; }
.group-shot.desk img { border-radius: 0; border: 0; }
.see-it { font-size: .8rem; font-weight: 600; margin-left: 6px; white-space: nowrap; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .car-item img, :root:not([data-theme="light"]) .group-shot img { border-color: #3a4560; box-shadow: 0 0 0 1px rgba(255, 255, 255, .20), 0 18px 44px rgba(0, 0, 0, .60); }
}
:root[data-theme="dark"] .car-item img, :root[data-theme="dark"] .group-shot img { border-color: #3a4560; box-shadow: 0 0 0 1px rgba(255, 255, 255, .20), 0 18px 44px rgba(0, 0, 0, .60); }

/* 0.33.0: the anonymous mode highlight on the homepage */
.highlight-anon { display: grid; gap: 20px; background: linear-gradient(135deg, rgba(91,206,250,.14), rgba(245,169,184,.18)); }
.highlight-anon h2 { margin: 0; }
.highlight-anon p { margin: 0; }
.highlight-anon .new-tag { justify-self: start; margin-left: 0; }
/* the anonymous-mode screenshots (after the features list, and under the homepage highlight): room to breathe */
.anon-shots { margin-top: 28px; }
.anon-shots .shots-theme { margin: 0 auto 18px; }

/* the homepage highlight (3 Oct, Fer): text and actions, with one screenshot beside them on computers; on phones the
   screenshot sits under the text, its top half showing and the rest fading out */
.highlight-anon .ha-text { display: grid; gap: 10px; align-content: start; }
.highlight-anon .ha-text p { margin: 0; }
.ha-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; font-weight: 600; }
.ha-actions .btn { margin: 0; }
.ha-shot { margin: 0 auto; width: 100%; max-width: 260px; }
@media (min-width: 900px) { .highlight-anon { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; } }
@media (max-width: 899px) {
  .ha-shot { max-height: 300px; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
}
section.block .highlight-anon h2 { text-align: left; margin: 0; }
section.block .highlight-anon h2::after { margin: 10px 0 0; }
.login-hint .linkish { font: inherit; padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; min-height: 0; box-shadow: none; }
/* 0.33.5: sign in / create an account tabs */
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2, #eef8fe); border: 1px solid var(--line); }
.login-tabs[hidden] { display: none; }
.login-tabs button { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 10px 12px; background: transparent; color: var(--muted); cursor: pointer; min-height: 44px; box-shadow: none; }
.login-tabs button[aria-selected="true"] { background: var(--flag); color: #141417; }
.login-pane { display: grid; gap: 12px; }
.login-pane[hidden] { display: none; }
.login-pane-title { font-size: 1.1rem; margin: 6px 0 0; }
.login-pane .login-hint, .login-pane .login-email-link, .login-pane .login-recovery { margin: 0; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.login-tabs button { white-space: nowrap; font-size: .95rem; padding: 10px 8px; }
.login-passkey-btn { font-weight: 500; }
