:root {
  --ink: #281d1a;
  --muted: #74645e;
  --cream: #fff7f3;
  --paper: #fffdfb;
  --tomato: #d94b32;
  --green: #315c43;
  --line: rgba(68, 43, 34, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 760; font-size: 1.22rem; text-decoration: none; }
.brand img { border-radius: 12px; box-shadow: 0 8px 22px rgba(105, 47, 30, .15); }
nav { display: flex; gap: 30px; }
nav a { color: var(--muted); font-size: .93rem; font-weight: 620; text-decoration: none; }
nav a:hover { color: var(--tomato); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 64px 0 76px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
  overflow: hidden;
}
.eyebrow { margin: 0 0 22px; color: var(--tomato); font-weight: 750; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 6.3vw, 6.4rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
h1 em { color: var(--tomato); font-weight: inherit; }
.lead { max-width: 630px; margin: 28px 0 32px; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button { min-width: 172px; padding: 10px 20px 11px; display: grid; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 14px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.store-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(40, 29, 26, .18); }
.store-button-muted { color: var(--muted); background: transparent; border-color: var(--line); }
.store-kicker { font-size: .66rem; line-height: 1.1; }
.store-button strong { margin-top: 1px; font-size: 1.18rem; line-height: 1.25; }
.hero-facts { margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; color: var(--green); font-size: .9rem; font-weight: 690; }
.hero-facts li::before { content: "✓"; margin-right: 7px; }

.hero-visual { min-height: 650px; position: relative; display: grid; place-items: center; }
.sun-disc { width: 510px; height: 510px; position: absolute; border-radius: 50%; background: #f2b34d; opacity: .92; }
.phone-frame { width: min(330px, 72vw); padding: 9px; position: relative; z-index: 1; overflow: hidden; border: 5px solid #221713; border-radius: 54px; background: #221713; box-shadow: 0 32px 70px rgba(77, 42, 26, .27); transform: rotate(3deg); }
.phone-frame img { width: 100%; height: auto; display: block; border-radius: 41px; }
.floating-note { margin: 0; padding: 14px 18px; position: absolute; right: 0; bottom: 74px; z-index: 2; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 253, 251, .94); box-shadow: 0 15px 35px rgba(73, 43, 31, .13); }
.floating-note strong { color: var(--tomato); font-family: Georgia, serif; font-size: 2.15rem; }
.floating-note span { color: var(--muted); font-size: .78rem; font-weight: 650; line-height: 1.25; }

.stats { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 4px 28px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border: 0; }
.stats strong { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 500; }
.stats span { color: var(--muted); font-size: .83rem; }
.feature-section, .screens-section, .privacy-promise, .download-section, footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.feature-section { padding: 130px 0; display: grid; grid-template-columns: .76fr 1.24fr; gap: 70px; }
.section-heading { position: sticky; top: 40px; align-self: start; }
.section-heading h2, .download-section h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.section-heading h2 em, .download-section h2 em { color: var(--tomato); font-weight: inherit; }
.section-heading > p:last-child { max-width: 430px; margin: 26px 0 0; color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-card { min-height: 285px; padding: 28px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.feature-card-wide { grid-column: span 2; min-height: 250px; }
.feature-card h3 { max-width: 410px; margin: 58px 0 12px; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 500; line-height: 1.08; }
.feature-card p { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.55; }
.feature-number { color: var(--tomato); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.dark-card { color: #fff8f3; background: var(--ink); }
.dark-card p { color: #d5c7c0; }
.green-card { color: #f8fff9; background: var(--green); }
.green-card p { color: #ccded2; }
.feature-accent { width: 180px; height: 180px; position: absolute; right: -20px; bottom: -45px; border-radius: 50%; background: #efad45; }
.feature-accent::after { content: ""; width: 72px; height: 72px; position: absolute; left: 54px; top: 52px; border: 18px solid var(--tomato); border-radius: 50%; opacity: .85; }
.screens-section { padding: 100px 0 120px; border-top: 1px solid var(--line); }
.screens-heading { position: static; display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 50px; }
.screens-heading > p { margin: 0 0 8px; }
.screen-gallery { width: calc(100vw - max(20px, (100vw - 1180px) / 2)); margin-top: 52px; padding: 10px max(20px, calc((100vw - 1180px) / 2)) 28px 0; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--tomato) transparent; }
.screen-gallery figure { flex: 0 0 270px; margin: 0; scroll-snap-align: start; }
.screen-gallery img { width: 100%; height: auto; display: block; border: 8px solid var(--ink); border-radius: 38px; background: var(--ink); box-shadow: 0 18px 45px rgba(65, 39, 30, .18); }
.screen-gallery figcaption { margin-top: 14px; color: var(--muted); font-size: .86rem; font-weight: 680; text-align: center; }
.privacy-promise { padding: 120px 40px; text-align: center; border-radius: 38px; background: #f3e4da; }
.privacy-promise blockquote { margin: 20px auto 24px; font-family: Georgia, serif; font-size: clamp(2.3rem, 4.7vw, 4.5rem); line-height: 1.06; letter-spacing: -.035em; }
.privacy-promise > p:not(.eyebrow) { max-width: 600px; margin: 0 auto 24px; color: var(--muted); line-height: 1.7; }
.privacy-promise a { color: var(--tomato); font-weight: 720; text-decoration: none; }
.download-section { padding: 130px 0; display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; }
footer { padding: 32px 0 42px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1rem; }
.footer-brand img { border-radius: 11px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--tomato); }

@media (max-width: 800px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 72px; }
  nav a:not(:last-child) { display: none; }
  .hero { width: min(100% - 28px, 1180px); min-height: auto; padding: 48px 0 60px; grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .lead { margin-top: 22px; }
  .hero-visual { min-height: 590px; }
  .sun-disc { width: 420px; height: 420px; }
  .floating-note { right: 2px; bottom: 54px; }
  .stats { width: min(100% - 28px, 1180px); grid-template-columns: 1fr 1fr; }
  .stats div { padding: 18px 12px; border-bottom: 1px solid var(--line); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3), .stats div:nth-child(4) { border-bottom: 0; }
  .feature-section, .screens-section, .privacy-promise, .download-section, footer { width: min(100% - 28px, 1180px); }
  .feature-section { padding: 88px 0; grid-template-columns: 1fr; gap: 40px; }
  .section-heading { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card-wide { grid-column: auto; min-height: 245px; }
  .screens-section { padding: 76px 0 88px; }
  .screens-heading { grid-template-columns: 1fr; gap: 18px; }
  .screen-gallery { margin-top: 36px; }
  .screen-gallery figure { flex-basis: 235px; }
  .privacy-promise { padding: 76px 20px; border-radius: 28px; }
  .privacy-promise blockquote br { display: none; }
  .download-section { padding: 90px 0; display: grid; align-items: start; }
  footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
