:root {
  color-scheme: light;
  --background: #FAFAF7;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #666666;
  --accent: #2C3E50;
  --border: #E8E4DC;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
  text-align: center;
}

.mark {
  display: block;
  border-radius: 18px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 12px 0 0;
}

p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 24px;
  margin: 0;
  max-width: 360px;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin-top: 12px;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 32px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  border-radius: 10px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.site-nav a,
.home-links a {
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-main {
  margin: 0 auto;
  max-width: 780px;
  padding: 56px 32px 72px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.last-updated {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 8px;
}

.intro {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
  margin-top: 28px;
  max-width: 680px;
}

.legal-section {
  border-top: 1px solid var(--border);
  margin-top: 34px;
  padding-top: 28px;
}

.legal-section h2 {
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 12px;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 25px;
}

.legal-section p {
  margin: 0 0 12px;
  max-width: none;
}

.legal-section ul,
.legal-section ol {
  margin: 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 9px;
}

.link-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}

.link-list a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: block;
  padding: 14px 16px;
  text-decoration: none;
}

.download-note {
  color: #4d524f;
  font-size: 16px;
  line-height: 25px;
  margin-top: 16px;
  max-width: 680px;
}

.platform-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.platform-card {
  background: #ffffff;
  border: 1px solid #e6dfd3;
  border-radius: 8px;
  padding: 18px;
}

.platform-card h3 {
  color: #171717;
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 12px;
}

.store-badge {
  align-items: center;
  background: #111111;
  border: 1px solid #111111;
  border-radius: 8px;
  color: #ffffff !important;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  min-width: 170px;
  padding: 8px 15px 9px 13px;
  text-decoration: none;
}

.store-badge:hover,
.store-badge:focus-visible {
  background: #000000;
}

.store-badge-icon {
  color: #ffffff;
  flex: 0 0 auto;
  height: 25px;
  width: 25px;
}

.store-badge-icon:not(.google-play-icon) path {
  fill: currentColor;
}

.google-play-icon .play-blue {
  fill: #4285f4;
}

.google-play-icon .play-green {
  fill: #34a853;
}

.google-play-icon .play-yellow {
  fill: #fbbc04;
}

.google-play-icon .play-red {
  fill: #ea4335;
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-badge-copy span {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
  text-transform: uppercase;
}

.store-badge-copy strong {
  color: #ffffff;
  font-size: 21px;
  line-height: 23px;
  white-space: nowrap;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-store-badge {
  margin-top: 0;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .legal-main {
    padding: 40px 20px 56px;
  }
}

.marketing-body {
  background: #fbfaf5;
}

.marketing-header {
  background: rgba(251, 250, 245, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.marketing-header .site-nav a {
  color: #4d524f;
  text-decoration: none;
}

.marketing-header .site-nav a:hover,
.marketing-header .site-nav a:focus-visible {
  color: #1a1a1a;
  text-decoration: underline;
}

.cta-link {
  align-items: center;
  background: #1f5d4e;
  border-radius: 8px;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
}

.cta-link:hover,
.cta-link:focus-visible {
  background: #17483c;
}

.text-link {
  color: #1f5d4e;
  font-weight: 700;
}

.marketing-main {
  overflow: hidden;
}

.marketing-section {
  border-top: 1px solid var(--border);
  padding: 72px 32px;
}

.marketing-section:first-child {
  border-top: 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
  min-width: 0;
}

.hero-section {
  padding: 54px 32px 42px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  margin: 0 auto;
  max-width: 1120px;
}

.hero-copy {
  max-width: 690px;
  min-width: 0;
}

.hero-copy .eyebrow,
.section-eyebrow {
  color: #8a4d2e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  color: #171717;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.03;
  margin: 0;
  max-width: 850px;
  overflow-wrap: anywhere;
}

.hero-subhead,
.page-summary,
.section-lede {
  color: #4d524f;
  font-size: 19px;
  line-height: 31px;
  margin: 22px 0 0;
  max-width: 760px;
}

.ai-summary {
  background: #ffffff;
  border: 1px solid #e6dfd3;
  border-left: 4px solid #d99b4a;
  border-radius: 8px;
  color: #3d433f;
  font-size: 16px;
  line-height: 25px;
  margin: 24px 0 0;
  max-width: 760px;
  padding: 16px 18px;
}

.hero-summary-block {
  margin-top: 24px;
}

.memory-line {
  color: #4d524f;
  font-size: 17px;
  line-height: 27px;
  margin: 16px 0 0;
  max-width: 760px;
}

.hero-actions,
.page-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.reassurance-line {
  color: #61635f;
  font-size: 15px;
  line-height: 23px;
  margin-top: 18px;
  max-width: 620px;
}

.phone-frame {
  background: #151515;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(48, 37, 21, 0.2);
  display: block;
  margin: 0 auto;
  max-width: 100%;
  padding: 10px;
}

.phone-frame img {
  border-radius: 20px;
  display: block;
  height: auto;
  width: 100%;
}

.phone-row {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.phone-row .phone-frame {
  border-radius: 22px;
  padding: 8px;
}

.phone-row .phone-frame img {
  border-radius: 16px;
}

.page-hero {
  padding: 56px 32px 36px;
}

.page-hero .section-inner {
  max-width: 940px;
}

.link-grid,
.idea-grid,
.bundle-grid,
.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

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

.feature-card,
.idea-card,
.bundle-card,
.link-card {
  background: #ffffff;
  border: 1px solid #e6dfd3;
  border-radius: 8px;
  min-width: 0;
  padding: 22px;
}

.feature-card h2,
.feature-card h3,
.idea-card h2,
.idea-card h3,
.bundle-card h2,
.bundle-card h3,
.link-card h2,
.link-card h3 {
  color: #171717;
  font-size: 22px;
  line-height: 29px;
  margin: 0;
}

.feature-card p,
.idea-card p,
.bundle-card p,
.link-card p {
  color: #565a56;
  font-size: 16px;
  line-height: 25px;
  margin: 12px 0 0;
  max-width: none;
}

.idea-card {
  display: flex;
  flex-direction: column;
}

.idea-meta {
  color: #6a625b;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.idea-meta li {
  background: #f4efe5;
  border-radius: 999px;
  padding: 6px 9px;
}

.idea-meta strong {
  color: #343834;
}

.safety-note {
  background: #fff7e8;
  border: 1px solid #f1d8aa;
  border-radius: 8px;
  color: #4d4337 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  margin-top: 16px !important;
  padding: 12px;
}

.section-heading {
  color: #171717;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 0;
  max-width: 820px;
}

.copy-column {
  max-width: 760px;
}

.copy-column p {
  color: #4d524f;
  font-size: 18px;
  line-height: 29px;
  margin: 18px 0 0;
  max-width: none;
}

.quiet-band {
  background: #f1f5ef;
}

.warm-band {
  background: #f7efe1;
}

.blue-band {
  background: #eef5f7;
}

.proof-stack {
  display: grid;
  gap: 18px;
}

.proof-stack .phone-frame {
  max-width: 260px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 860px;
}

.faq-item {
  border-top: 1px solid #e6dfd3;
  padding-top: 18px;
}

.faq-item h3 {
  color: #171717;
  font-size: 20px;
  line-height: 27px;
  margin: 0;
}

.faq-item p {
  color: #565a56;
  font-size: 16px;
  line-height: 25px;
  margin-top: 8px;
  max-width: 760px;
}

.final-cta-section {
  background: #f1f5ef;
  border-top: 1px solid var(--border);
  padding: 52px 32px;
}

.final-cta {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.final-cta p {
  color: #3d433f;
  font-size: 18px;
  line-height: 28px;
  max-width: 560px;
}

.final-cta .reassurance-line {
  color: #61635f;
  font-size: 15px;
  line-height: 23px;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 32px 44px;
}

.site-footer .section-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a,
.site-footer p {
  color: #626660;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  max-width: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .idea-grid,
  .bundle-grid,
  .link-grid,
  .phone-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
  }

  .phone-frame {
    max-width: 330px;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .page-hero,
  .marketing-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid,
  .hero-copy,
  .page-hero .section-inner,
  .marketing-section .section-inner,
  .final-cta-section .section-inner {
    max-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  .hero-section {
    padding-top: 34px;
  }

  .marketing-section {
    padding-bottom: 52px;
    padding-top: 52px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-subhead,
  .page-summary,
  .section-lede {
    font-size: 18px;
    line-height: 29px;
    max-width: calc(100vw - 40px);
    overflow-wrap: break-word;
    width: calc(100vw - 40px);
  }

  .reassurance-line,
  .copy-column p,
  .feature-card p,
  .idea-card p,
  .bundle-card p,
  .link-card p,
  .faq-item p {
    max-width: calc(100vw - 40px);
    overflow-wrap: break-word;
  }

  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .store-badge-row {
    align-items: stretch;
    flex-direction: column;
  }

  .store-badge {
    max-width: 330px;
    min-width: 0;
    width: 100%;
  }

  .platform-list {
    grid-template-columns: 1fr;
  }

  .final-cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .final-cta {
    gap: 12px;
  }

  .hero-phone {
    margin-top: -10px;
    max-width: 155px;
    padding: 5px;
  }

  .hero-phone img {
    border-radius: 12px;
  }

  .proof-stack .phone-frame {
    max-width: 210px;
  }
}
