@font-face {
  font-family: 'Kufam Brand';
  src: url('assets/wordmark-kufam.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
.brand-word, .hero-copy .product-wordmark {
  font-family: 'Kufam Brand', Vazirmatn, sans-serif;
  font-weight: 900;
  letter-spacing: normal;
  word-spacing: -.08em;
}
.brand-word { line-height: 1.35; }
.hero-copy .product-wordmark {
  font-size: clamp(3rem, 5.5vw, 6.7rem);
  line-height: 1.46;
}
.product-wordmark span { white-space: nowrap; }
.phone-screen {
  min-height: 0;
  background: #171717;
  display: flex;
  flex-direction: column;
}
.phone-status { flex-shrink: 0; height: 31px; }
.phone-camera { top: 7px; height: 16px; }
.phone-app-capture {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 700px) {
  .hero-copy .product-wordmark { font-size: clamp(2.8rem, 11.8vw, 4.6rem); }
}
.web-journey {
  margin-block-start: clamp(44px, 7vw, 90px);
  border-block-start: 1px solid var(--line);
  padding-block-start: clamp(24px, 4vw, 48px);
}
.web-journey-header,.journey-foot,.journey-milestone {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
}
.web-journey-header h3 { margin-block-end: .45rem; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.web-journey-header p { max-width: 65ch; }
.web-journey p,.journey-milestone,.journey-totals dt,.journey-totals small,.journey-totals #journey-hours {
  color: var(--muted); font-size: .87rem;
}
.web-journey-header button { flex-shrink: 0; }
.journey-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(145px,100%),1fr));
  gap: 20px; margin: 28px 0 18px; padding: 20px 0; border-block: 1px solid var(--line);
}
.journey-totals dd { margin: 0; font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700; overflow-wrap: anywhere; }
.journey-totals small { font-weight: 500; }
.journey-milestone { justify-content: start; }
.journey-milestone progress { width: min(110px,100%); height: 6px; accent-color: var(--crimson); }
.journey-foot { margin-block-start: 14px; }
.web-journey .delete-button { font-size: .85rem; color: var(--muted); background: transparent; text-decoration: underline; }

@media (max-width: 640px) {
  .journey-totals { gap: 12px; }
}

@media (max-width: 340px) {
  .header-inner { flex-wrap: wrap; gap: 4px 8px; }
  .header-actions { gap: 3px; }
  .header-actions .button-small { padding-inline: 8px; }
  .header .brand-word { font-size: 16px; }
  .header .brand-logo { width: 28px; height: 28px; }
  .journey-stage, .breathing-stage { grid-template-columns: minmax(0, 1fr); }
  .phone-stage, .breathing-visual { min-width: 0; }
}

.reading-link {
  color: #c6ddbf;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.reading-link:hover, .footer-pages a:hover { color: white; }
.scene-copy > p, .faq-list details p, .faq-list details summary,
.hero .hero-description, .download-content .download-description {
  font-size: 1rem;
  line-height: 2;
}
.scene-copy .scene-micro, .download-content .download-description,
.download-content .store-status { color: #bdcbbb; }
.hero .eyebrow, .hero .hero-note, .hero .scroll-link, .phone-stage .phone-caption,
.hero-actions > .button, .hero-actions .text-button, .header-actions .button,
.scene-copy .scene-micro, .store-options .store-badge small,
.header .main-nav a, .footer .footer-link, .footer .footer-top > p {
  font-size: .875rem;
}
.hero .hero-note, .phone-stage .phone-caption { color: #b6c3b4; }
.hero-actions > .button, .header-actions .button { min-height: 44px; }
.hero-actions { flex-wrap: wrap; }
.header-actions .button { white-space: nowrap; }
.download-content .apk-download {
  margin-block: 1.25rem 1rem;
  font-size: 1.0625rem;
  min-height: 3.5rem;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}
.store-status { margin-top: 2.5rem; }
.download-content .store-options { margin-top: 1rem; }
.store-options .store-badge:hover { border-color: var(--sage); }
.footer-pages {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 2rem;
  padding-block: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  color: #c6ddbf;
}
.footer-pages a { padding-block: .45rem; }
@media (min-width: 701px) and (max-width: 960px) {
  .header-inner { gap: 10px; }
  .header .main-nav { gap: 12px; }
  .breath-sculpture { max-width: 110%; }
  .savings-sculpture { max-width: 100%; margin-inline-start: 0; }
}
@media (scripting: none) {
  #menu-toggle, #journey-start, .journey-story .scene-micro,
  #breath-start, .breathing-visual .breath-time, #breath-progress, #privacy-open,
  .savings-controls, .savings-result, .calculation-note {
    display: none;
  }
  .scene noscript p { line-height: 2; margin-block: 1rem; }
}

@media (scripting: none) and (max-width: 700px) {
  .header { height: auto; }
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  .main-nav {
    display: flex;
    position: static;
    order: 1;
    width: 100%;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .main-nav > a { border: 0; padding: 8px; }
}
