:root {
  /* Shared with the homepage design language. */
  --navy-950: #042947;
  --navy-900: #042947;
  --navy-800: #042947;
  --navy-100: #f0f0f0;
  --coral-700: #f87171;
  --coral-600: #f87171;
  --coral-500: #f87171;
  --coral-100: rgba(248, 113, 113, 0.12);
  --ink: #042947;
  --muted: #6b7280;
  --surface: #fefefe;
  --surface-card: #ffffff;
  --surface-soft: #f0f0f0;
  --border: #f0f0f0;
  --focus-inner: #ffd166;
  --focus-outer: #005ea8;
  --shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --content-width: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: break-word;
}

a {
  color: var(--navy-800);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-700);
}

:focus-visible {
  outline: 3px solid var(--focus-inner);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-outer);
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.65rem;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav > a,
.language-switcher > summary {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.language-switcher {
  position: relative;
}

.language-switcher > summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
}

.language-switcher > summary::-webkit-details-marker {
  display: none;
}

.language-switcher ul {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  width: 15rem;
  max-height: min(70vh, 28rem);
  overflow: auto;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  color: var(--ink);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

[dir="rtl"] .language-switcher ul {
  right: auto;
  left: 0;
}

.language-switcher a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  border-radius: 0.55rem;
  text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  color: var(--navy-950);
  background: var(--navy-100);
}

.page-shell {
  padding-block: 1.25rem 5rem;
}

.breadcrumbs {
  margin: 0.35rem 0 1.25rem;
  font-size: 0.88rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 0.45rem;
  color: var(--muted);
}

.breadcrumbs li:last-child {
  color: var(--muted);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
  min-height: 36rem;
  padding: 2.5rem 1rem 2rem;
  color: var(--navy-950);
  background: var(--surface);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  top: -9rem;
  right: -6rem;
  width: 23rem;
  height: 23rem;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.12), transparent 68%);
}

[dir="rtl"] .hero__glow {
  right: auto;
  left: -6rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--coral-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow,
.download-card .eyebrow {
  color: var(--coral-500);
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero__summary {
  max-width: 47rem;
  margin: 1.4rem 0 0;
  color: #4b5563;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__conversion {
  max-width: 40rem;
  margin-top: 1.75rem;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid rgba(4, 41, 71, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px -24px rgba(4, 41, 71, 0.55);
}

.hero__conversion-title {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero__conversion-body {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  position: relative;
  min-width: 0;
  min-height: 31rem;
}

.hero__preview {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(14rem, 21vw, 18rem);
  height: auto;
  border: 5px solid #fff;
  border: 0;
  border-radius: 1.5rem;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
}

.hero__actions,
.download-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero__conversion .hero__actions {
  margin-top: 1rem;
}

.store-button {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.75rem;
  color: #fff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  text-align: start;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-button:hover {
  color: #fff;
  box-shadow: var(--shadow);
  transform: scale(1.05);
}

.store-button--apple {
  background: var(--navy-900);
}

.store-button--google {
  background: var(--coral-500);
}

.store-button__icon {
  grid-row: 1 / 3;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.store-button__label {
  align-self: end;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.store-button__name {
  align-self: start;
  font-size: 1.25rem;
  line-height: 1.25;
}

.landing-content {
  max-width: 52rem;
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
}

.article,
.hub-introduction {
  min-width: 0;
}

.content-section {
  padding: 0.2rem 0 2.75rem;
}

.content-section + .content-section {
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
}

.content-section h2,
.faq h2,
.sources h2,
.related h2,
.download-card h2 {
  margin: 0 0 1rem;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.content-section p,
.content-section li,
.faq p,
.sources li {
  font-size: 1.05rem;
}

.content-section p {
  margin: 0 0 1rem;
}

.content-section ul {
  margin: 1rem 0 0;
  padding-inline-start: 1.4rem;
}

.content-section li + li {
  margin-top: 0.55rem;
}

.content-section li::marker {
  color: var(--coral-600);
}

.callout {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  color: var(--navy-950);
  background: var(--navy-100);
  border-inline-start: 4px solid var(--navy-800);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 650;
}

.faq {
  padding-block: 2.75rem;
  border-top: 1px solid var(--border);
}

.faq__items {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq summary {
  position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.1rem;
  color: var(--navy-950);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
  list-style: none;
}

[dir="rtl"] .faq summary {
  padding: 1.1rem 1.1rem 1.1rem 3.25rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  color: var(--coral-700);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

[dir="rtl"] .faq summary::after {
  right: auto;
  left: 1.1rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 1.1rem 1.2rem;
  color: var(--muted);
}

.medical-notice {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 1.25rem;
  background: var(--coral-100);
  border: 1px solid var(--coral-500);
  border-radius: var(--radius-md);
}

.medical-notice--wide {
  max-width: 58rem;
  margin-inline: auto;
}

.medical-notice__icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--coral-700);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 800;
}

.medical-notice h2 {
  margin: 0 0 0.35rem;
  color: var(--coral-700);
  font-size: 1.1rem;
}

.medical-notice p {
  margin: 0;
}

.sources {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}

.sources ol {
  padding-inline-start: 1.4rem;
}

.sources li + li {
  margin-top: 0.55rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.article-meta p {
  margin: 0;
}

.related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 43rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.3rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.content-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.content-card h3 a {
  color: var(--navy-950);
  text-decoration: none;
}

.content-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.content-card {
  position: relative;
}

.content-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.text-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--coral-700);
  font-weight: 750;
  pointer-events: none;
  text-decoration: none;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 4rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: #fff;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: start;
}

.download-card h2 {
  color: #fff;
}

.download-card p:not(.eyebrow) {
  max-width: 45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.download-card__actions {
  width: 100%;
  margin: 0;
}

.download-card__conversion {
  min-width: 0;
}

.download-card .store-button--apple {
  color: var(--navy-950);
  background: #fff;
}

.download-card .store-button--apple:hover {
  color: var(--navy-950);
}

.download-card .store-button--apple .store-button__label {
  color: rgba(4, 41, 71, 0.7);
}

.hub-introduction {
  max-width: 52rem;
  margin: 3rem auto 0;
}

.hub-provenance {
  max-width: 52rem;
  margin: 2rem auto 0;
}

.site-footer {
  padding: 3.5rem 1rem 1.5rem;
  color: #fff;
  background: var(--navy-900);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(28rem, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.site-footer__inner > * {
  min-width: 0;
}

.brand--footer {
  color: #fff;
}

.site-footer__inner p {
  max-width: 42rem;
  margin: 1rem 0 0;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.75rem;
}

.site-footer nav a {
  color: #fff;
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: normal;
}

.copyright {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__copy {
    position: relative;
    z-index: 3;
  }

  .hero__visual {
    width: 100%;
    max-width: 35rem;
    min-height: 31rem;
    margin-inline: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    max-width: 46rem;
  }
}

@media (max-width: 620px) {
  .site-header__inner {
    min-height: 4.25rem;
    gap: 0.75rem;
  }

  .primary-nav > a {
    display: none;
  }

  .primary-nav {
    flex: 0 0 auto;
    gap: 0.85rem;
  }

  .language-switcher ul {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }

  .hero {
    padding: 2rem 1.25rem;
  }

  .hero__conversion {
    padding: 1rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .hero__visual {
    max-width: 100%;
    min-height: 34rem;
  }

  .hero__preview {
    left: 50%;
    width: min(70%, 15rem);
    transform: translate(-50%, -50%);
  }

  .hero__actions,
  .download-card__actions {
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
    padding: 1rem 1.75rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-meta {
    flex-direction: column;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__actions,
  .download-card,
  .related,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .page-shell {
    width: 100%;
  }

  .hero {
    padding: 0 0 2rem;
    min-height: 0;
    color: #000;
    background: none;
    box-shadow: none;
  }

  .hero__visual {
    display: none;
  }

  .hero__summary,
  .hero .eyebrow {
    color: #000;
  }

}
