/* Proposal 1: Editorial Frame — centered, spacious, and typography-led. */
:root {
  --ink: #1d1b1c;
  --muted: #686365;
  --line: #e8e4e1;
  --paper: #fffdfa;
  --soft: #f7f4f1;
  --accent: #7f1828;
  --accent-dark: #5f101d;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Inter, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.browser-store-link { color: inherit; text-decoration: none; cursor: pointer; border-radius: 4px; }
.browser-store-link--image { display: block; flex: 0 0 auto; line-height: 0; }
.browser-store-link:focus-visible { outline: 3px solid rgba(127,24,40,.3); outline-offset: 4px; }
.page-shell, .header-inner { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,253,250,.98); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; }
.brand img { width: 208px; }
.brand span { color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 27px; }
.desktop-nav a { color: #4f4a4b; font-size: 14px; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--accent); }
.desktop-nav a[aria-current="page"] { box-shadow: 0 2px var(--accent); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; color: var(--accent); font-weight: 700; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; z-index: 10; width: 210px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 40px rgba(35,20,22,.1); }
.mobile-menu nav a { display: block; padding: 9px 10px; text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.hero { padding-block: 112px 104px; text-align: center; }
.product-lockup { display: flex; justify-content: center; align-items: center; gap: 28px; text-align: left; }
.product-lockup img { width: 96px; flex: 0 0 auto; border-radius: 22px; box-shadow: 0 18px 45px rgba(115,21,35,.16); }
.free-label { display: inline-block; margin: 0 0 11px; padding: 5px 9px; color: var(--accent); border: 1px solid #d7aeb5; font-size: 14px; font-weight: 750; letter-spacing: .04em; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 14px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.product-lockup h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 5.5vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 680; }
.product-lockup h1 span { display: block; }
.hero-tagline { max-width: 720px; margin: 34px auto 15px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.035em; font-weight: 620; }
.hero-copy { max-width: 700px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.store-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.store-links a { display: flex; align-items: center; justify-content: center; width: 218px; min-height: 66px; padding: 6px 9px; border: 1px solid #c4bfbb; border-radius: 7px; background: white; box-shadow: 0 5px 14px rgba(49,35,38,.08); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.store-links a:hover { transform: translateY(-2px); border-color: #aaa39f; box-shadow: 0 9px 20px rgba(49,35,38,.13); }
.store-links a:focus-visible { outline: 3px solid rgba(127,24,40,.25); outline-offset: 4px; }
.store-links img { width: auto; height: 52px; }
.microcopy { margin: 20px 0 0; color: #817b7d; font-size: 13px; }

.section { padding-block: 110px; }
.demo { border-block: 1px solid var(--line); background: var(--soft); }
.section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-heading.narrow { max-width: 700px; }
.section-heading h2, .privacy-band h2, .final-cta h2 { margin-bottom: 20px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.page-intro h1 { margin-bottom: 20px; font-size: clamp(36px, 4vw, 54px); line-height: 1.1; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.screenshot-frame { margin: 0; }
.screenshot-frame img { border: 1px solid #d8d1ce; border-radius: 12px; background: white; box-shadow: 0 6px 16px rgba(49,35,38,.1); }
.screenshot-frame figcaption { margin-top: 17px; color: var(--muted); font-size: 13px; text-align: center; }
.feature-highlights { width: min(100%, 820px); margin: 48px auto 0; }
.feature-highlights h3 { margin-bottom: 16px; font-size: 19px; letter-spacing: -.01em; }
.feature-highlights ol { margin: 0; padding: 0; list-style: none; counter-reset: feature; }
.feature-highlights li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: #504b4c; font-size: 16px; line-height: 1.65; counter-increment: feature; }
.feature-highlights li::before { content: counter(feature, decimal-leading-zero); color: var(--accent); font-weight: 750; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.benefit-grid article { min-height: 230px; padding: 30px 28px 20px 0; border-right: 1px solid var(--line); }
.benefit-grid article:not(:first-child) { padding-left: 28px; }
.benefit-grid article:last-child { border-right: 0; }
.benefit-grid span { color: var(--accent); font-size: 12px; font-weight: 800; }
.benefit-grid h3 { margin: 42px 0 11px; font-size: 19px; letter-spacing: -.01em; }
.benefit-grid p { color: var(--muted); font-size: 15px; }
.privacy-band { padding-block: 104px; background: #4f101c; color: white; }
.privacy-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 11%; }
.privacy-band .eyebrow { color: #e0a0aa; }
.privacy-band p, .privacy-band li { color: #d4cfd0; }
.plain-list { margin: 24px 0 29px; padding: 0; list-style: none; }
.plain-list li { padding: 8px 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.2); position: relative; }
.plain-list li::before { content: "✓"; position: absolute; left: 0; color: #e0a0aa; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.privacy-band .text-link { color: #f2b4bd; }
.text-link:hover { text-decoration: underline; }
.final-cta { padding-block: 112px; text-align: center; }
.product-lockup.compact { margin-bottom: 25px; gap: 15px; }
.product-lockup.compact img { width: 58px; border-radius: 13px; box-shadow: none; }
.product-lockup.compact p { max-width: 720px; margin: 0; color: var(--ink); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.035em; font-weight: 620; }
.final-cta h2 { margin-inline: auto; max-width: 730px; }
.final-cta > p { margin-bottom: 30px; color: var(--muted); font-size: 18px; }

.site-footer { padding-block: 62px 38px; border-top: 1px solid var(--line); background: #f4f1ee; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 42px; }
.footer-brand img { width: 195px; }
.footer-brand p, .footer-meta p { color: var(--muted); font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 7px; }
.footer-links a, .support-email { font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.support-email { margin-bottom: 8px !important; color: var(--ink) !important; user-select: all; }
.footer-meta { text-align: right; }
.disclaimer { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 24px; border-top: 1px solid #ddd8d4; color: #7b7577; font-size: 12px; }

.content-page { padding-bottom: 110px; }
.page-intro { padding-block: 92px 72px; border-bottom: 1px solid var(--line); text-align: center; }
.page-intro h1 { max-width: 850px; margin-inline: auto; }
.page-intro > p:not(.eyebrow):not(.updated) { max-width: 650px; margin-inline: auto; color: var(--muted); font-size: 19px; }
.updated { margin-top: 24px; color: #837d7e; font-size: 13px; }
.article-shell { width: min(calc(100% - 48px), 820px); margin: 72px auto 0; }
.article-shell > section { margin-bottom: 52px; }
.article-shell h2 { margin-bottom: 14px; font-size: 26px; letter-spacing: -.025em; }
.article-shell p, .article-shell li { color: #504b4c; }
.article-shell a, .support-email-inline { color: var(--accent); }
.support-email-inline { font-weight: 650; user-select: all; }
.product-note { display: grid; grid-template-columns: 110px 1fr; gap: 34px; padding: 38px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.product-note img { width: 100px; border-radius: 22px; }
.product-note h2 { margin-bottom: 10px; }
.policy-highlight { padding: 34px 38px; border-left: 4px solid var(--accent); background: var(--soft); }
.legal-copy ul { padding-left: 21px; }
.legal-copy li { margin-bottom: 8px; }

/* Optional analytics consent */
.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  left: 24px;
}
.analytics-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: end;
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 27px 30px;
  border: 1px solid #d6cfcc;
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 22px 65px rgba(38, 25, 28, .22);
}
.analytics-consent__copy { max-width: 720px; }
.analytics-consent__label { margin: 0 0 5px; color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.analytics-consent h2 { margin: 0 0 7px; font-size: 25px; line-height: 1.2; letter-spacing: -.025em; }
.analytics-consent__copy > p:not(.analytics-consent__label):not(.analytics-consent__links) { margin-bottom: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.analytics-consent__links { display: flex; gap: 16px; margin: 0; }
.analytics-consent__links a { color: var(--accent); font-size: 12px; }
.analytics-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analytics-consent__actions button {
  min-width: 150px;
  min-height: 46px;
  padding: 10px 15px;
  border: 0;
  border-radius: 5px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.analytics-consent__actions button[data-consent="accept"] { background: var(--accent); }
.analytics-consent__actions button:hover { filter: brightness(1.12); }
.analytics-consent__actions button:focus-visible, .analytics-choices-button:focus-visible { outline: 3px solid rgba(127,24,40,.28); outline-offset: 3px; }
.analytics-choices-button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.analytics-choices-button:hover { color: var(--accent); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-inner { min-height: 88px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article:nth-child(2) { border-right: 0; }
  .benefit-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .benefit-grid article:nth-child(3) { padding-left: 0; }
  .privacy-grid { gap: 6%; }
  .analytics-consent__inner { grid-template-columns: 1fr; gap: 20px; }
  .analytics-consent__actions { width: min(100%, 420px); }
}

@media (max-width: 620px) {
  .page-shell, .header-inner { width: min(calc(100% - 30px), var(--max)); }
  .brand img { width: 168px; }
  .brand span { display: none; }
  .hero { padding-block: 72px 66px; }
  .product-lockup { flex-direction: column; gap: 20px; text-align: center; }
  .product-lockup h1 span { display: inline; }
  .product-lockup.compact { flex-direction: row; text-align: left; }
  .section { padding-block: 74px; }
  .section-heading { margin-bottom: 34px; }
  .store-links { flex-direction: column; }
  .store-links img { height: 48px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article, .benefit-grid article:not(:first-child) { min-height: 0; padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); }
  .benefit-grid article:first-child { border-top: 0; }
  .benefit-grid h3 { margin-top: 18px; }
  .privacy-band { padding-block: 72px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 24px; }
  .final-cta { padding-block: 76px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-meta { text-align: left; }
  .page-intro { padding-block: 64px 52px; }
  .article-shell { width: min(calc(100% - 30px), 820px); margin-top: 50px; }
  .product-note { grid-template-columns: 1fr; padding: 26px; }
  .policy-highlight { padding: 25px; }
  .analytics-consent { right: 10px; bottom: 10px; left: 10px; }
  .analytics-consent__inner { padding: 22px 20px; }
  .analytics-consent__actions { grid-template-columns: 1fr; width: 100%; }
  .analytics-consent__actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-links a { transition: none; }
}
