:root {
  color-scheme: light;
  --navy-900: #1e3a8a;
  --navy-800: #1e40af;
  --navy-700: #1d4ed8;
  --navy-100: #dbeafe;
  --navy-50: #eff6ff;
  --hero-bg-deep: #d4e4fc;
  --bg: #ffffff;
  --surface: #eaf1ff;
  --text: #0f172a;
  --muted: #334155;
  --card: #ffffff;
  --accent: var(--navy-900);
  --accent-hover: var(--navy-800);
  --link: var(--navy-800);
  --border: #cbd5e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

p {
  margin: 0.5rem 0 0;
}

a {
  color: var(--link);
}

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

.container {
  width: min(900px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 1.1rem 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  transition: top 180ms ease, padding 180ms ease, background-color 180ms ease;
}

.site-footer {
  margin-top: 1rem;
  background: #f5f8ff;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 0.85rem;
}

.nav-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  transition: background-color 180ms ease, border-radius 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease, padding 180ms ease;
}

.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  height: clamp(68px, 12vw, 92px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.primary-nav {
  display: none;
  width: 100%;
  padding: 0.45rem 0 0;
  gap: 0.3rem;
}

.primary-nav > a,
.primary-nav > .nav-item > a {
  display: block;
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  transition: color 180ms ease, background-color 180ms ease, border-radius 180ms ease;
}

.primary-nav > a:hover,
.primary-nav > .nav-item > a:hover {
  color: var(--navy-900);
  background: var(--navy-100);
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  display: none;
}

.primary-nav.is-open {
  display: grid;
}

.nav-toggle {
  width: auto;
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  margin-top: 0;
  background: #f8fafc;
  border: 1px solid #dbe2f0;
  padding: 0.55rem;
  transition: background-color 180ms ease, border-color 180ms ease, border-radius 180ms ease;
}

.nav-toggle:hover {
  background: #eef2ff;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 999px;
  transition: background-color 180ms ease;
}

.site-header.header--scrolled {
  top: 0.7rem;
  background: transparent;
  padding: 0.2rem 0;
  box-shadow: none;
}

.site-header.header--scrolled .nav-wrap {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header.header--scrolled .primary-nav > a,
.site-header.header--scrolled .primary-nav > .nav-item > a {
  color: #0f172a;
  border-radius: 999px;
}

.site-header.header--scrolled .primary-nav > a:hover,
.site-header.header--scrolled .primary-nav > .nav-item > a:hover {
  color: #0f172a;
  background: #eef2ff;
}

.site-header.header--scrolled .nav-toggle {
  background: #f8fafc;
  border: 1px solid #dbe2f0;
  border-radius: 10px;
}

.site-header.header--scrolled .nav-toggle:hover {
  background: #eef2ff;
}

.site-header.header--scrolled .nav-toggle-bar {
  background: #0f172a;
}

@media (max-width: 767px) {
  .site-header.header--scrolled.nav-open .nav-wrap {
    border-radius: 20px;
    padding-bottom: 0.9rem;
    align-items: flex-start;
  }

  .site-header.header--scrolled.nav-open .primary-nav {
    margin-top: 0.4rem;
  }

  .primary-nav .nav-item--has-menu > a {
    position: relative;
    padding-right: 1.85rem;
  }

  .primary-nav .nav-item--has-menu > a::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 180ms ease;
  }

  .primary-nav .nav-item--has-menu.is-open > a::after {
    transform: translateY(-35%) rotate(-135deg);
  }

  .primary-nav .nav-item--has-menu.is-open .nav-dropdown {
    display: block;
    margin: 0.2rem 0 0.45rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    max-height: min(55vh, 420px);
    overflow: auto;
    padding: 0.55rem 0;
  }

  .primary-nav .nav-item--has-menu.is-open .nav-dropdown-heading {
    margin: 0.55rem 0.8rem 0.3rem;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
  }

  .primary-nav .nav-item--has-menu.is-open .nav-dropdown a,
  .primary-nav .nav-item--has-menu.is-open .nav-dropdown-item {
    display: block;
    padding: 0.42rem 0.8rem;
    color: #334155;
    line-height: 1.4;
    text-decoration: none;
  }

  .primary-nav .nav-item--has-menu.is-open .nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .primary-nav .nav-item--has-menu.is-open .coming-soon-badge {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    padding: 0.16rem 0.45rem;
  }
}

.legal-main {
  width: min(42rem, 92%);
}

.legal-content {
  margin: 1.25rem 0 1rem;
}

.legal-content h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content ul.faq-pro-benefits li {
  margin-bottom: 0.75rem;
}

.legal-content ul.faq-pro-benefits li:last-child {
  margin-bottom: 0;
}

.legal-content--faq .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content--faq .faq-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.legal-content--faq .faq-summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 0.9rem 2.75rem 0.9rem 1rem;
  user-select: none;
}

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

.legal-content--faq .faq-summary::marker {
  content: none;
}

.legal-content--faq .faq-summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.25rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin-top 0.2s ease;
}

.legal-content--faq details[open] > .faq-summary::after {
  margin-top: 0.05rem;
  transform: rotate(-135deg);
}

.legal-content--faq .faq-summary:hover {
  background: var(--navy-50);
}

.legal-content--faq .faq-summary:focus {
  outline: none;
}

.legal-content--faq .faq-summary:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 2px;
  border-radius: 6px;
}

.legal-content--faq .faq-summary-heading {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  display: inline-block;
  max-width: calc(100% - 1.25rem);
}

.legal-content--faq .faq-panel {
  padding: 0 1rem 1.1rem;
  border-top: 1px solid var(--border);
  background: #fafbff;
}

.legal-content--faq .faq-panel > :first-child {
  margin-top: 0.85rem;
}

.legal-content--faq .faq-panel > :last-child {
  margin-bottom: 0;
}

.legal-content--faq .faq-store-links {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.legal-content .meta,
.legal-content .note {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-content .legal-callout {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #f5f8ff;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.legal-content .legal-callout strong {
  color: #0f172a;
}

.legal-content a.email {
  font-weight: 600;
}

.legal-content--support .lede {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.legal-content .legal-section {
  margin-bottom: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f5f8ff;
}

.legal-content .legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-content .legal-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-content .legal-section p,
.legal-content .legal-section ul {
  margin-bottom: 0.85rem;
}

.legal-content .legal-section p:last-child,
.legal-content .legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-content .legal-section ul {
  margin-top: 0;
}

.legal-content .legal-support-updated {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Article page shell: full-bleed hero above constrained body */
.article-page-shell {
  display: block;
}

.article-hero-banner {
  width: 100%;
  max-height: min(38vh, 340px);
  min-height: 160px;
  overflow: hidden;
  background: var(--navy-100);
  border-bottom: 1px solid #c5d8e8;
}

.article-hero-banner-img {
  display: block;
  width: 100%;
  height: min(38vh, 340px);
  object-fit: cover;
  object-position: center 42%;
}

.article-hero-banner-img--lower {
  object-position: center 52%;
}

@media (max-width: 480px) {
  .article-hero-banner,
  .article-hero-banner-img {
    max-height: min(32vh, 260px);
    height: min(32vh, 260px);
    min-height: 140px;
  }
}

/* Intro: figure floats right; no flow-root here — flow-root would contain the float and force the next
   heading below the full figure height (large blank gap). Let the float extend so body copy wraps beside it. */
.legal-content--article .article-intro {
  margin-bottom: 0;
}

.legal-content--article .article-intro-lead {
  margin-top: 0;
  margin-bottom: 0;
}

.legal-content--article .article-inline-figure {
  display: block;
  float: right;
  width: min(158px, 48vw);
  max-width: 48%;
  margin: 0.15rem 0 0.35rem 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #c5d8e8;
  background: var(--navy-50);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

/* Frame hugs image aspect ratio — no fixed height / letterboxing */
.legal-content--article .article-inline-figure-frame {
  display: block;
  width: 100%;
  line-height: 0;
  background: transparent;
}

.legal-content--article .article-inline-figure-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-content--article .article-inline-figure figcaption {
  margin: 0;
  padding: 0.32rem 0.45rem 0.42rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 641px) {
  .legal-content--article .article-inline-figure {
    width: min(228px, 42%);
    max-width: 42%;
    margin: 0.1rem 0 0.2rem 1rem;
    border-radius: 12px;
  }

  .legal-content--article .article-inline-figure figcaption {
    font-size: 0.75rem;
    padding: 0.38rem 0.5rem 0.48rem;
    line-height: 1.38;
  }
}

/* Long-form topic articles (soft blue accents, matches site tokens) */
.legal-content--article {
  line-height: 1.75;
  padding-bottom: 2rem;
}

.legal-content--article .article-tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy-100);
  color: var(--navy-900);
}

.legal-content--article h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.legal-content--article .article-byline {
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dfe9f0;
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-content--article h2 {
  font-size: 1.2rem;
  margin-top: 2.25rem;
}

.legal-content--article strong {
  font-weight: 700;
  color: #0f172a;
}

.legal-content--article sup {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-800);
  vertical-align: super;
  line-height: 0;
}

.legal-content--article .article-highlight {
  margin: 1.75rem 0;
  padding: 1rem 1.15rem;
  border-radius: 0 10px 10px 0;
  border-left: 4px solid var(--navy-800);
  background: var(--navy-50);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text);
}

.legal-content--article .article-highlight--one-line-lower {
  margin-top: 3.75rem;
}

.legal-content--article .article-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.legal-content--article .article-pain-card {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid #c5d8e8;
  background: var(--navy-50);
}

.legal-content--article .article-pain-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.legal-content--article .article-pain-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 600px) {
  .legal-content--article .article-pain-grid {
    grid-template-columns: 1fr;
  }
}

.legal-content--article .article-cta {
  margin: 2.25rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #c5d8e8;
  background: var(--navy-50);
}

.legal-content--article .article-cta p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-content--article .article-cta-store-links {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.legal-content--article .article-references {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #dfe9f0;
}

.legal-content--article .article-references h3 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.legal-content--article .article-references ol {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-content--article .article-references li {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.legal-content--article .article-references a {
  font-weight: 600;
}

.hero-landing {
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    var(--navy-50) 38%,
    var(--navy-100) 72%,
    var(--hero-bg-deep) 100%
  );
  padding: 2rem 0 2.75rem;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-landing .container.hero-landing-inner {
  width: min(1800px, calc(100vw - 1.25rem));
  max-width: 100%;
  box-sizing: border-box;
  padding-left: clamp(0.35rem, 1.5vw, 1rem);
  padding-right: clamp(0.35rem, 1.5vw, 1rem);
}

.hero-landing-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "hero-copy hero-copy"
    "hero-left hero-right";
  gap: 1.25rem 0.75rem;
  align-items: start;
}

.hero-landing-copy {
  grid-area: hero-copy;
  max-width: 36rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-ratings {
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-stars {
  color: var(--navy-700);
  letter-spacing: 0.06em;
  font-size: 1rem;
  line-height: 1;
}

.hero-ratings-text {
  font-weight: 600;
  color: #475569;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.1vw, 1.85rem);
  font-weight: 600;
  line-height: 1.28;
  color: #64748b;
  letter-spacing: -0.015em;
}

.hero-lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  max-width: 38ch;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.hero-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 156px;
  height: 46px;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
}

.hero-store-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-store-link--ios img {
  object-fit: cover;
}

.hero-store-link--disabled {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(0.35);
}

.hero-handwritten {
  margin: 0;
  font-family: "Segoe Print", "Bradley Hand", "Apple Chancery", cursive;
  font-size: 1.05rem;
  font-weight: 600;
  color: #15803d;
  line-height: 1.35;
  max-width: 22ch;
}

.hero-visual-frame {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: min(38%, 420px);
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 30%, rgba(37, 99, 235, 0.2), transparent 56%),
    radial-gradient(circle at 72% 62%, rgba(59, 130, 246, 0.16), transparent 50%),
    radial-gradient(circle at 50% 88%, rgba(99, 102, 241, 0.12), transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.hero-landing-visual {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 0;
}

.hero-landing-visual--left {
  grid-area: hero-left;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-landing-visual--right {
  grid-area: hero-right;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-collage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: none;
  padding: 0.2rem 0;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.16));
}

.hero-collage-cell {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
  line-height: 0;
  background: #f1f5f9;
}

.hero-landing-visual--left .hero-collage-cell:nth-child(1) {
  transform: rotate(-1deg);
}
.hero-landing-visual--left .hero-collage-cell:nth-child(2) {
  transform: rotate(0.85deg);
}
.hero-landing-visual--left .hero-collage-cell:nth-child(3) {
  transform: rotate(-0.75deg);
}
.hero-landing-visual--right .hero-collage-cell:nth-child(1) {
  transform: rotate(0.9deg);
}
.hero-landing-visual--right .hero-collage-cell:nth-child(2) {
  transform: rotate(-0.85deg);
}
.hero-landing-visual--right .hero-collage-cell:nth-child(3) {
  transform: rotate(0.75deg);
}

.hero-collage-cell img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 899px) {
  .hero-landing-copy {
    text-align: center;
  }

  .hero-landing-copy .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ratings {
    justify-content: center;
  }

  .hero-cta-row {
    align-items: center;
  }

  .hero-handwritten {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .hero-landing {
    padding: 2.5rem 0 3.25rem;
  }

  .hero-landing-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "hero-left hero-copy hero-right";
    gap: 1.35rem clamp(1.25rem, 4vw, 3.5rem);
    align-items: start;
    justify-content: stretch;
  }

  .hero-landing-visual--left {
    justify-self: start;
  }

  .hero-landing-visual--right {
    justify-self: end;
  }

  .hero-collage {
    width: min(500px, 41vw);
    max-width: 100%;
    gap: 0.4rem;
    padding: 0.35rem 0;
  }

  .hero-landing-copy {
    justify-self: center;
    text-align: center;
    max-width: min(36rem, 100%);
    margin-left: 0;
    margin-right: 0;
  }

  .hero-landing-copy .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .hero-ratings {
    justify-content: center;
  }

  .hero-handwritten {
    max-width: none;
    text-align: center;
  }

  .hero-visual-frame {
    width: min(28%, 400px);
  }
}

@media (min-width: 1200px) {
  .hero-landing-inner {
    gap: 1.5rem clamp(1.5rem, 4.5vw, 4rem);
  }

  .hero-collage {
    gap: 0.45rem;
    width: min(540px, 38vw);
  }
}

.topic-carousel {
  margin: 1rem 0;
}

.topic-carousel h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.topic-carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: none;
}

.topic-carousel-track {
  display: flex;
  width: max-content;
  gap: 0.55rem;
  padding: 0.75rem;
}

.topic-chip {
  width: min(360px, 86vw);
  min-height: 148px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: stretch;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  color: #f8fafc;
  background: linear-gradient(165deg, #111827 0%, #0b1220 100%);
  text-decoration: none;
  transform: scale(1);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.34);
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease,
    border-color 170ms ease;
}

button.topic-chip {
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.topic-chip:hover {
  background: linear-gradient(165deg, #0f172a 0%, #111827 100%);
}

.topic-chip--live:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.topic-chip.is-active {
  transform: scale(1.06);
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.44);
}

.topic-chip-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.topic-chip-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.topic-chip-section {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.69rem;
  color: #7dd3fc;
}

.topic-chip-coming-soon {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.topic-chip-title {
  font-size: 1.28rem;
  line-height: 1.22;
  font-weight: 700;
  color: #f8fafc;
}

.topic-chip-media {
  display: block;
  width: 76px;
  min-height: 112px;
  height: 100%;
  align-self: stretch;
  border-radius: 10px;
  background: linear-gradient(
      145deg,
      rgba(30, 41, 59, 0.85) 0%,
      rgba(51, 65, 85, 0.55) 50%,
      rgba(14, 165, 233, 0.12) 100%
    ),
    linear-gradient(135deg, rgba(148, 163, 184, 0.15), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.topic-chip-media--photo {
  padding: 0;
  overflow: hidden;
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.45);
}

.topic-chip-media--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.topic-carousel-dots {
  margin-top: 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

.topic-carousel-dot {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 200ms ease, transform 200ms ease;
}

.topic-carousel-dot.is-active {
  background: var(--navy-700);
  transform: scaleX(1.08);
}

.what-you-can-do {
  --wycd-section-bg: #ffffff;
  --wycd-cell-bg: #f5f8ff;
  --wycd-grid-line: #c5d7eb;
  --wycd-overline: var(--navy-900);
  --wycd-accent: #7dd3fc;
  --wycd-icon-bg: #7dd3fc;
  margin: 1.25rem calc(50% - 50vw) 1.35rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  background: var(--wycd-section-bg);
}

.what-you-can-do-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.what-you-can-do-header {
  margin-bottom: 1.35rem;
}

.what-you-can-do-overline {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wycd-overline);
}

.what-you-can-do-title {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
  color: #14110f;
}

.what-you-can-do-title-accent {
  font-style: italic;
  color: var(--wycd-accent);
}

.what-you-can-do-lead {
  margin: 0;
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #57534e;
}

.what-you-can-do-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--wycd-cell-bg);
  border: 1px solid var(--wycd-grid-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.wycd-cell {
  margin: 0;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
  background: var(--wycd-cell-bg);
  border-right: 1px solid var(--wycd-grid-line);
  border-bottom: 1px solid var(--wycd-grid-line);
}

.wycd-cell:nth-child(3n) {
  border-right: none;
}

.wycd-cell:nth-child(n + 4) {
  border-bottom: none;
}

.wycd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: var(--wycd-icon-bg);
  font-size: 1.45rem;
  line-height: 1;
}

.wycd-title {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #14110f;
}

.wycd-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #57534e;
}

@media (max-width: 720px) {
  .what-you-can-do-grid {
    grid-template-columns: 1fr;
  }

  .what-you-can-do-grid .wycd-cell:nth-child(n) {
    border-right: none;
    border-bottom: 1px solid var(--wycd-grid-line);
  }

  .what-you-can-do-grid .wycd-cell:last-child {
    border-bottom: none;
  }
}

.feelings-pro-banner {
  margin: 1.15rem 0 1.05rem;
}

.feelings-pro-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.65rem) clamp(1.15rem, 3.5vw, 2rem);
  background: #f5f8ff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.feelings-pro-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.feelings-pro-badge {
  margin: 0 0 0.65rem;
  display: inline-block;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  background: #7dd3fc;
}

.feelings-pro-title {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1a1214;
}

.feelings-pro-title-accent {
  font-style: italic;
  color: #7dd3fc;
}

.feelings-pro-text {
  margin: 0;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a2a2d;
}

.feelings-pro-flower {
  flex: 0 0 auto;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1;
  align-self: center;
}

@media (max-width: 520px) {
  .feelings-pro-inner {
    flex-wrap: wrap;
  }

  .feelings-pro-flower {
    margin-left: auto;
  }
}

.privacy-by-design {
  --privacy-bg: #f5f8ff;
  --privacy-accent: #7dd3fc;
  --privacy-card-bg: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: clamp(2rem, 5vw, 3.35rem) clamp(1rem, 4vw, 1.5rem);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: var(--privacy-bg);
  color: var(--text);
}

.privacy-by-design-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.privacy-by-design-overline {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--privacy-accent);
}

.privacy-by-design-title {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #14110f;
}

.privacy-by-design-title-accent {
  color: var(--privacy-accent);
}

.privacy-by-design-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #57534e;
}

.privacy-by-design-cards {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.privacy-card {
  margin: 0;
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  background: var(--privacy-card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.privacy-card-icon {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.65rem;
  line-height: 1;
}

.privacy-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #14110f;
}

.privacy-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #57534e;
}

@media (max-width: 768px) {
  .privacy-by-design-cards {
    grid-template-columns: 1fr;
  }
}

button {
  margin-top: 0.5rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background: var(--accent-hover);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.footer-brand-col,
.footer-links-col {
  min-width: 0;
}

.footer-logo {
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}

.footer-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 20ch;
}

.footer-subtitle {
  margin-top: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.store-links {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-badge {
  display: inline-block;
  background: #0f172a;
  color: #f8fafc;
  text-decoration: none;
  border-radius: 9px;
  padding: 0.52rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.store-badge:hover {
  color: #ffffff;
  background: #020617;
}

.store-badge-ios,
.store-badge-android {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 115.3px;
  height: 34px;
  background: transparent;
  padding: 0;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
}

.store-badge.store-badge-ios:hover,
.store-badge.store-badge-android:hover {
  background: transparent;
  color: inherit;
}

.store-badge-ios img,
.store-badge-android img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.store-badge-ios img {
  object-fit: cover;
}

.footer-links-col h4 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: #0f172a;
}

.footer-links-col a {
  display: block;
  text-decoration: none;
  color: #1f2937;
  padding: 0.13rem 0;
  font-size: 0.92rem;
}

.footer-links-col a:hover {
  color: var(--navy-800);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom small {
  color: #475569;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
}

.social-icon-link img {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-socials a:hover {
  color: var(--navy-800);
}

@media (min-width: 640px) {
  .site-header,
  .site-footer {
    padding: 1.35rem 0;
  }

  button {
    width: auto;
    min-width: 180px;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-links-col:last-child {
    grid-column: span 3;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .container {
    width: min(980px, 90%);
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 1.4rem;
  }

  .footer-links-col:last-child {
    grid-column: auto;
  }
}

@media (min-width: 768px) {
  .nav-wrap {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: flex;
    width: auto;
    margin-left: auto;
    padding-top: 0;
    gap: 0.4rem;
    align-items: center;
  }

  .primary-nav > a,
  .primary-nav > .nav-item > a {
    padding: 0.45rem 0.65rem;
  }

  .nav-item--has-menu:hover .nav-dropdown,
  .nav-item--has-menu:focus-within .nav-dropdown {
    display: block;
  }

  .nav-item--has-menu {
    padding-bottom: 0.55rem;
    margin-bottom: -0.55rem;
  }

  .nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1100;
    width: min(540px, 86vw);
    max-height: min(70vh, 560px);
    overflow: auto;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
    padding: 0.8rem 0;
  }

  .nav-dropdown-heading {
    margin: 0.7rem 1rem 0.35rem;
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .nav-dropdown a {
    display: block;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    line-height: 1.45;
    padding: 0.45rem 1rem;
    border-radius: 0;
  }

  .nav-dropdown a:hover {
    color: #0f172a;
    background: #f1f5f9;
  }

  .nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.45;
    padding: 0.45rem 1rem;
  }

  .nav-dropdown-item--locked {
    color: #64748b;
    cursor: not-allowed;
  }

  .coming-soon-badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
  }
}
