/* Shared styles of the web pages, following the approved design (canvas page "Web").
   Order: fonts, tokens, base, shared parts (nav, buttons, footer), page types, responsive. */

/* fonts: self-hosted, SIL Open Font License (see fonts/OFL-*.txt) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/bricolage_grotesque_medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/bricolage_grotesque_semibold.ttf') format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bricolage_grotesque_bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/bricolage_grotesque_extrabold.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus_jakarta_sans_regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus_jakarta_sans_medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus_jakarta_sans_bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/plus_jakarta_sans_extrabold.ttf') format('truetype');
}

/* tokens: Binh Minh design system */
:root {
  color-scheme: light dark;
  --surface-page: #fcf6ee;
  --surface-card: #fffdfa;
  --surface-soft: #f4e9dd;
  --surface-accent: #ffe6cc;
  --line: #e4ddd3;
  --line-strong: #8f8378;
  --ink: #35251b;
  --ink-muted: #6f6056;
  --brand: #f5ac69;
  --on-brand: #35251b;
  --brand-strong: #a24e10;
  --brand-line: #c56c21;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-text: 'Plus Jakarta Sans', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-page: #1b110c;
    --surface-card: #261b16;
    --surface-soft: #2f231e;
    --surface-accent: #422a19;
    --line: #463a34;
    --line-strong: #72665e;
    --ink: #f7f1e9;
    --ink-muted: #c4bcb4;
    --brand: #eea563;
    --on-brand: #1b110c;
    --brand-strong: #f6b576;
    --brand-line: #ed9c55;
  }
}

/* base */
html {
  background: var(--surface-page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
}
.ws {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-page);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
.ws * {
  box-sizing: border-box;
  min-width: 0;
}
.ws a {
  color: var(--brand-strong);
}
.ws a:hover {
  color: var(--ink);
}
.ws a:focus-visible,
.ws button:focus-visible,
.ws summary:focus-visible {
  outline: 3px solid var(--brand-line);
  outline-offset: 3px;
  border-radius: 8px;
}
.ws main {
  flex: 1;
}
.ws-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(5vw, 20px);
}
.ws-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.ws-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.ws-h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.15;
  margin: 0;
}
.ws-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
  max-width: 34em;
  text-wrap: pretty;
}
.ws-muted {
  color: var(--ink-muted);
}
.ws-small {
  font-size: 14px;
  line-height: 1.5;
}

/* nav */
.ws-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  flex-wrap: wrap;
}
.ws-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink) !important;
}
.ws-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  display: block;
}
.ws-lang {
  display: flex;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.ws-lang a {
  position: relative;
  min-width: 44px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
}
.ws .ws-lang a:first-child {
  border-radius: 999px 0 0 999px;
}
.ws .ws-lang a:last-child {
  border-radius: 0 999px 999px 0;
}
/* the switch looks 36 px tall; its touch area is 44 px */
.ws-lang a::after {
  content: '';
  position: absolute;
  inset: -4px 0;
}
.ws-lang a[aria-current] {
  background: var(--ink);
  color: var(--surface-page);
}
.ws .ws-lang a:focus-visible {
  outline-offset: -5px;
}

/* buttons */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand) !important;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.ws-btn:hover {
  background: var(--brand-line);
}

/* landing page */
.ws-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
}
.ws-links a {
  padding: 10px 0;
  text-decoration: none;
}
.ws-links a:hover {
  text-decoration: underline;
}
/* with section links the language switch follows them, and sits beside the brand on a phone */
.ws-links + .ws-lang {
  margin-left: 0;
}

/* store badges: official artwork from Google and Apple, used unaltered */
.ws-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ws-badge {
  display: flex;
  border-radius: 8px;
}
.ws-badge img {
  display: block;
  height: 56px;
  width: auto;
}

/* hero and closing band: always dark text on the peach brand colour, in both themes */
.ws-hero,
.ws-cta {
  background: var(--brand);
  color: #35251b;
}
.ws-hero {
  position: relative;
  overflow: hidden;
}
.ws-hero .ws-nav a {
  color: #35251b;
}
.ws-hero .ws-brand {
  color: #35251b !important;
}
.ws-hero .ws-lang {
  border-color: #35251b;
}
.ws-hero .ws-nav .ws-lang a[aria-current] {
  background: #35251b;
  color: #ffe6cc;
}
.ws .ws-hero a:focus-visible,
.ws .ws-cta a:focus-visible {
  outline-color: #35251b;
}
/* the inset ring of the current language sits on a dark fill */
.ws .ws-hero .ws-lang a[aria-current]:focus-visible {
  outline-color: #ffe6cc;
}
.ws-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 40px;
}
.ws-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 88px;
  position: relative;
  z-index: 3;
}
.ws-hero-copy .ws-lead,
.ws-hero-note {
  color: #4a3528;
}
.ws-hero-note {
  font-size: 14px;
  margin: 0;
}
.ws-hero-pic {
  position: relative;
  height: 640px;
  align-self: end;
}
.ws-sun,
.ws-sun-ring {
  position: absolute;
  left: 50%;
  border-radius: 50%;
}
.ws-sun {
  top: 40px;
  width: 560px;
  height: 560px;
  margin-left: -280px;
  background: #ffe6cc;
}
.ws-sun-ring {
  top: -10px;
  width: 660px;
  height: 660px;
  margin-left: -330px;
  border: 2px solid #fffdfa;
  opacity: 0.55;
}
.ws-hero-phones {
  position: absolute;
  inset: auto 0 -120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.ws-hero-phones .ws-phone:first-child {
  transform: rotate(-5deg) translate(34px, 26px);
  z-index: 1;
}
.ws-hero-phones .ws-phone:last-child {
  transform: rotate(4deg) translate(-34px, 0);
  z-index: 2;
}

/* phone mockup holding an app screen (390 x 844) */
.ws-phone {
  width: 276px;
  height: 590px;
  padding: 9px;
  border-radius: 44px;
  background: #17100c;
  box-shadow: 0 2px 0 #5b4c42 inset;
  flex-shrink: 0;
}
.ws-screen {
  width: 258px;
  height: 572px;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface-page);
}
.ws-screen picture {
  display: block;
  height: 100%;
}
.ws-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* sections */
.ws-sec {
  padding: 104px 0;
}
.ws-sec-soft {
  background: var(--surface-soft);
}
.ws-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin-bottom: 56px;
}
.ws-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ws-feat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ws-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.ws-card p {
  margin: 0;
  color: var(--ink-muted);
}
.ws-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-accent);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ws-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ws-card-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 0 0 0 28px;
  overflow: hidden;
}
.ws-card-wide > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 0;
  flex: 1;
}
.ws-card-wide > img {
  width: 26%;
  height: auto;
  min-height: 260px;
  align-self: stretch;
  object-fit: cover;
}

.ws-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  justify-items: center;
}
.ws-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  text-align: center;
}
.ws-shot p {
  margin: 0;
  max-width: 18em;
  color: var(--ink-muted);
}

.ws-coach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.ws-coach > img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.ws-ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ws-ticks li {
  position: relative;
  padding-left: 32px;
}
.ws-ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 12px;
  height: 6px;
  border: solid var(--brand-line);
  border-width: 0 0 3px 3px;
  border-radius: 1px;
  transform: rotate(-48deg);
}
.ws-safe {
  margin: 8px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-accent);
  font-size: 15px;
}

.ws-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
}
.ws-plan {
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface-card);
}
.ws-plan .ws-ticks {
  gap: 12px;
}
.ws-plan-pro {
  background: var(--ink);
  color: var(--surface-page);
  border-color: var(--ink);
}
.ws-plan-pro .ws-ticks li::before {
  border-color: var(--brand);
}
.ws-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ws-price-note {
  margin-top: -10px;
  color: color-mix(in srgb, var(--surface-page) 72%, var(--ink));
}
.ws-tag {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
}

.ws-help {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.ws-mailbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface-accent);
}
.ws-mail {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 26px);
  overflow-wrap: anywhere;
  color: var(--ink) !important;
}
.ws-faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.ws-faq details {
  border-bottom: 1px solid var(--line);
}
.ws-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
  font-weight: 800;
  font-size: 17px;
}
.ws-faq summary::-webkit-details-marker {
  display: none;
}
.ws-faq summary svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: transform 0.2s;
}
.ws-faq details[open] summary svg {
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .ws-faq summary svg {
    transition: none;
  }
}
.ws-faq details p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  max-width: 40em;
}

.ws-cta {
  padding: 88px 0;
}
.ws-cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ws-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ws-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--radius-lg);
  background: #fffdfa;
  color: #35251b;
  font-weight: 700;
}
.ws-qr img {
  display: block;
  width: 112px;
  height: 112px;
}
.ws-qr span {
  max-width: 9em;
}

/* footer */
.ws-foot {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}
.ws-foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.ws-foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ws-foot nav {
  display: flex;
  margin: -10px 0;
  gap: 0 28px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
}
.ws-foot nav a {
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
}
.ws-foot nav a:hover {
  text-decoration: underline;
}
/* trademark credit lines required where the store badges appear */
.ws-credits {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

/* document pages */
.ws-doc-head {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.ws-doc-head .ws-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.ws-doc-head .ws-h2 {
  font-size: clamp(36px, 4.4vw, 56px);
}
.ws-crumb {
  font-size: 14px;
  font-weight: 700;
}
/* shown on legal pages until the text is approved */
.ws-draft {
  margin: 0;
  padding: 10px 16px;
  border: 2px dashed var(--brand-line);
  border-radius: var(--radius-md);
  background: var(--surface-accent);
  font-weight: 800;
}
.ws-doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 96px;
}
.ws-toc {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}
.ws-toc b {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.ws-toc a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}
.ws-toc a:hover {
  background: var(--surface-soft);
}
.ws .ws-toc a:focus-visible {
  outline-offset: -3px;
}
/* Highlights the section last jumped to (the first one by default) without script.
   The n-th link of the table of contents matches the n-th h2 of the article. */
.ws-doc:not(:has(.ws-prose > h2:target)) .ws-toc a:nth-of-type(1),
.ws-doc:has(.ws-prose > h2:nth-of-type(1):target) .ws-toc a:nth-of-type(1),
.ws-doc:has(.ws-prose > h2:nth-of-type(2):target) .ws-toc a:nth-of-type(2),
.ws-doc:has(.ws-prose > h2:nth-of-type(3):target) .ws-toc a:nth-of-type(3),
.ws-doc:has(.ws-prose > h2:nth-of-type(4):target) .ws-toc a:nth-of-type(4),
.ws-doc:has(.ws-prose > h2:nth-of-type(5):target) .ws-toc a:nth-of-type(5),
.ws-doc:has(.ws-prose > h2:nth-of-type(6):target) .ws-toc a:nth-of-type(6),
.ws-doc:has(.ws-prose > h2:nth-of-type(7):target) .ws-toc a:nth-of-type(7),
.ws-doc:has(.ws-prose > h2:nth-of-type(8):target) .ws-toc a:nth-of-type(8),
.ws-doc:has(.ws-prose > h2:nth-of-type(9):target) .ws-toc a:nth-of-type(9),
.ws-doc:has(.ws-prose > h2:nth-of-type(10):target) .ws-toc a:nth-of-type(10),
.ws-doc:has(.ws-prose > h2:nth-of-type(11):target) .ws-toc a:nth-of-type(11),
.ws-doc:has(.ws-prose > h2:nth-of-type(12):target) .ws-toc a:nth-of-type(12),
.ws-doc:has(.ws-prose > h2:nth-of-type(13):target) .ws-toc a:nth-of-type(13),
.ws-doc:has(.ws-prose > h2:nth-of-type(14):target) .ws-toc a:nth-of-type(14),
.ws-doc:has(.ws-prose > h2:nth-of-type(15):target) .ws-toc a:nth-of-type(15),
.ws-doc:has(.ws-prose > h2:nth-of-type(16):target) .ws-toc a:nth-of-type(16) {
  background: var(--surface-accent);
  font-weight: 800;
}
.ws-prose {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
.ws-prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
  scroll-margin-top: 24px;
}
.ws-prose h3 {
  font-size: 1.05em;
  font-weight: 800;
  line-height: 1.4;
  margin: 28px 0 8px;
}
.ws-prose > :first-child {
  margin-top: 0;
}
.ws-prose p {
  margin: 0 0 14px;
}
.ws-prose ul,
.ws-prose ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.ws-prose li {
  margin-bottom: 8px;
}
.ws-prose .ws-steps {
  list-style: none;
  padding: 0;
  counter-reset: s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ws-prose .ws-steps li {
  counter-increment: s;
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--line);
}
.ws-prose .ws-steps li::before {
  content: counter(s);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.ws-prose .ws-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-accent);
  margin: 0 0 14px;
}
.ws-ph {
  background: var(--surface-soft);
  border: 1.5px dashed var(--line-strong);
  border-radius: 8px;
  padding: 1px 8px;
  font-weight: 700;
  font-size: 0.92em;
  white-space: nowrap;
}
.ws-table-wrap {
  overflow-x: auto;
  margin: 0 0 14px;
}
.ws-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.ws-table th,
.ws-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.ws-table th {
  font-size: 14px;
  color: var(--ink-muted);
}
/* a long placeholder must not widen the table past a phone screen */
.ws-table .ws-ph {
  white-space: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* download page: its HTML is rendered by functions/download.ts */
.ws-dl main {
  display: flex;
  flex-direction: column;
}
.ws-dl-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 64px;
}
.ws-dl-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.ws-dl-note {
  margin: 0;
  max-width: 34em;
}
.ws-dl-more {
  align-self: flex-start;
  font-weight: 800;
}
/* a store that has no link yet: our own label, not a store badge */
.ws-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--ink-muted);
}
.ws-soon svg {
  flex-shrink: 0;
}
.ws-soon span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ws-soon small {
  font-size: 12px;
  font-weight: 600;
}
.ws-soon b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ws-dl-card {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  text-align: center;
}
.ws-dl-card img {
  display: block;
  width: 272px;
  height: 272px;
  border-radius: 12px;
}
/* sits in the bottom padding of the content, so the content stays centred as in the design */
.ws-dl-foot {
  margin-top: -44px;
  padding-bottom: 24px;
}
.ws-dl-foot .ws-credits {
  text-align: center;
}
.ws-dl-phone {
  flex: 1;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}
.ws-dl-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ws-dl-intro p {
  margin: 0;
}
.ws-dl-icon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 22px;
}
.ws-dl-end {
  margin-top: auto;
}
.ws-stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ws .ws-store {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--ink);
  text-decoration: none;
}
.ws a.ws-store:hover {
  border-color: var(--line-strong);
}
.ws-store b,
.ws-store small {
  display: block;
}
.ws-store b {
  font-size: 17px;
}
.ws-store small {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}
.ws-store-ico {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #17100c;
  color: #fff;
}
.ws-store-chev {
  display: flex;
  margin-left: auto;
  color: var(--ink-muted);
}
.ws .ws-store-off {
  border: 1.5px dashed var(--line-strong);
  background: transparent;
}
.ws-store-off .ws-store-ico {
  background: var(--surface-soft);
  color: var(--ink-muted);
}
.ws-hint {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  font-size: 15px;
}
.ws-hint svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-strong);
}

/* not found page */
.ws-plain {
  padding-top: 48px;
  padding-bottom: 96px;
}

.ws-only-phone {
  display: none !important;
}

/* narrow desktop: the right column is narrower than the two tilted screens, so shrink them
   around the bottom edge of the hero to keep them off the text; give the support address
   enough room to stay on one line */
@media (min-width: 901px) and (max-width: 1099.98px) {
  .ws-hero-phones {
    transform: scale(0.84);
    transform-origin: 50% calc(100% - 120px);
  }
  .ws-help {
    gap: 40px;
  }
  .ws-mailbox {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .ws-links,
  .ws-qr {
    display: none;
  }
  .ws-badge img {
    height: 48px;
  }
  .ws-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 16px;
  }
  .ws-hero-copy {
    padding-bottom: 0;
  }
  .ws-hero-pic {
    height: 470px;
    align-self: auto;
  }
  .ws-sun {
    width: 380px;
    height: 380px;
    margin-left: -190px;
    top: 30px;
  }
  .ws-sun-ring {
    width: 450px;
    height: 450px;
    margin-left: -225px;
    top: -5px;
  }
  .ws-hero-phones {
    bottom: -150px;
  }
  .ws-hero-phones .ws-phone {
    transform-origin: 50% 100%;
    margin: 0 -28px;
  }
  .ws-hero-phones .ws-phone:first-child {
    transform: scale(0.72) rotate(-5deg) translateY(30px);
  }
  .ws-hero-phones .ws-phone:last-child {
    transform: scale(0.8);
  }
  .ws-sec {
    padding: 64px 0;
  }
  .ws-head {
    margin-bottom: 32px;
  }
  .ws-feat {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .ws-card {
    padding: 22px;
  }
  .ws-card-wide {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }
  .ws-card-wide > div {
    padding: 22px;
  }
  .ws-card-wide > img {
    width: 100%;
    height: 200px;
    min-height: 0;
    order: -1;
  }
  .ws-shots {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .ws-coach {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .ws-coach > img {
    height: 340px;
  }
  .ws-plans,
  .ws-help {
    grid-template-columns: minmax(0, 1fr);
  }
  .ws-help {
    gap: 32px;
  }
  .ws-plan {
    padding: 26px;
  }
  .ws-mailbox {
    padding: 24px;
  }
  .ws-cta {
    padding: 64px 0;
  }
  .ws-only-desk {
    display: none !important;
  }
  .ws-only-phone {
    display: flex !important;
  }
  .ws-doc-head {
    padding: 32px 0 28px;
  }
  .ws-doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 64px;
  }
  .ws-toc {
    position: static;
    max-height: none;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
  }
  .ws-toc a:hover {
    background: var(--surface-card);
  }
  .ws-prose {
    font-size: 16px;
  }
  .ws-prose h2 {
    font-size: 24px;
    margin-top: 36px;
  }
  .ws-plain {
    padding-top: 28px;
    padding-bottom: 64px;
  }
}

/* narrow phones: pull the two hero screens together so both stay in view */
@media (max-width: 480px) {
  .ws-hero-phones .ws-phone {
    margin: 0 -56px;
  }
  .ws-hero-phones .ws-phone:first-child {
    transform: translateX(22px) scale(0.72) rotate(-5deg) translateY(30px);
  }
}
