@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
}

:root {
  --cream: #fafaf5;
  --paper: #ffffff;
  --sand: #f5f2eb;
  --ink: #2d2d2d;
  --ink-2: #4a5058;
  --muted: #6b7280;
  --line: #e5e2da;
  --green: #5b8c5a;
  --green-dark: #3d6b3c;
  --green-deep: #2f552f;
  --green-tint: #e8f0e8;
  --sage: #7a9e7e;
  --amber: #d4a054;
  --amber-tint: #fff3e0;
  --clay: #c17a50;
  --clay-tint: #fdeee4;
  --blue: #6ba3be;
  --blue-tint: #e7f1f6;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(45, 45, 45, 0.05), 0 8px 24px -12px rgba(45, 45, 45, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-deep);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.7rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 245, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

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

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--green-deep);
  color: #fff;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav .btn {
    margin-left: auto;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 84px 0;
}

.band {
  background: var(--sand);
}

.section-head {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--ink-2);
  font-size: 1.12rem;
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 34em;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 18px;
}

.store-badges a {
  display: block;
  border-radius: 10px;
}

.store-badges img {
  height: 52px;
  width: auto;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
}

.shot {
  border-radius: 28px;
  box-shadow: 0 30px 60px -24px rgba(45, 45, 45, 0.4);
}

/* Sits on the empty top-right corner of the screenshot, clear of its captions */
.hero-visual .mascot {
  position: absolute;
  right: -58px;
  top: -46px;
  width: 150px;
  filter: drop-shadow(0 10px 16px rgba(45, 45, 45, 0.18));
}

@media (max-width: 900px) {
  .hero {
    padding: 44px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    max-width: 290px;
  }

  .hero-visual .mascot {
    right: -30px;
    top: -40px;
    width: 120px;
  }
}

@media (max-width: 480px) {
  .rating .sep {
    display: none;
  }

  .rating .free {
    flex-basis: 100%;
  }
}

@media (max-width: 420px) {
  .hero-visual .mascot {
    right: -18px;
    top: -34px;
    width: 100px;
  }

  .store-badges img {
    height: 46px;
  }
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 88px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row .shot {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-copy p {
  color: var(--ink-2);
  font-size: 1.08rem;
}

.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Checkmark bullets, but not on the grade pills (.grades is also a list here) */
.feature-copy ul:not(.grades) li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink-2);
}

.feature-copy ul:not(.grades) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d6b3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.grades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.grades li {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.grade-good { background: #eaf2eb; color: #3f6b44; }
.grade-mod { background: var(--amber-tint); color: #8a5517; }
.grade-caution { background: #fdeae6; color: #9c4434; }

@media (max-width: 820px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .feature-row .shot {
    max-width: 260px;
  }
}

/* ---------- Card grid ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 1.12rem;
  margin: 14px 0 6px;
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-dark);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.icon.amber { background: var(--amber-tint); color: #9a6618; }
.icon.clay { background: var(--clay-tint); color: #9c5532; }
.icon.blue { background: var(--blue-tint); color: #2f6480; }

/* ---------- Also in the app ---------- */

.also {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 56px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  max-width: 980px;
}

.also li {
  color: var(--ink-2);
}

.also strong {
  color: var(--ink);
}

@media (max-width: 720px) {
  .also {
    grid-template-columns: 1fr;
  }
}

/* ---------- Targets ---------- */

.targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.target {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.target h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.target dl {
  margin: 0;
}

.target dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}

.target dt {
  color: var(--ink-2);
}

.target dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.target .more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.fineprint {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .targets {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* ---------- Screens gallery ---------- */

.gallery {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 4px 20px 24px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch;
}

.gallery li {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
}

.gallery img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 16px 32px -20px rgba(45, 45, 45, 0.45);
}

@media (min-width: 1160px) {
  .gallery {
    padding-left: calc((100vw - 1120px) / 2 + 20px);
    scroll-padding-left: calc((100vw - 1120px) / 2 + 20px);
  }
}

/* ---------- Reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.review h3 {
  font-size: 1.1rem;
  margin: 8px 0 10px;
}

.review blockquote {
  margin: 0 0 18px;
  color: var(--ink-2);
}

.review blockquote p {
  margin: 0;
}

.review figcaption {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.review figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 800px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.08rem;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--green-dark);
  border-bottom: 2.5px solid var(--green-dark);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}

.faq .answer {
  padding: 0 0 20px;
  color: var(--ink-2);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--green-dark);
  color: #f3f6ef;
}

.cta-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #dfe8dc;
  font-size: 1.12rem;
  max-width: 36em;
}

.cta .mascot {
  width: 200px;
}

.cta .store-badges {
  margin-bottom: 0;
}

.cta .store-badges a {
  outline-color: var(--amber);
}

@media (max-width: 720px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta .mascot {
    width: 150px;
  }
}

/* ---------- Notes & prose ---------- */

.note {
  background: var(--amber-tint);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  padding: 18px 20px;
  color: #5b4520;
  font-size: 0.98rem;
}

.note p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: 56px 0 24px;
}

.page-hero .lead {
  max-width: 40em;
}

.breadcrumb {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 1.6em;
}

.prose h3 {
  margin-top: 1.5em;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: var(--ink);
}

.prose sup a {
  text-decoration: none;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}

.split aside {
  position: sticky;
  top: 100px;
}

.split aside .shot {
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split aside {
    position: static;
  }

  .split aside .shot {
    max-width: 240px;
  }
}

.refs {
  font-size: 0.92rem;
}

.refs li {
  word-break: break-word;
}

.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: 1.45rem;
  margin-top: 1.8em;
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.4em;
  font-family: var(--sans);
  font-weight: 700;
}

.legal p,
.legal li {
  color: var(--ink-2);
}

.legal ul {
  padding-left: 1.3em;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal .caps {
  font-weight: 600;
  color: var(--ink);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 8px;
}

@media (max-width: 640px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-note {
  margin-top: 14px;
  color: var(--ink-2);
  max-width: 30em;
}

.footer-h {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 12px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer li a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer li a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0 0 4px;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- 404 ---------- */

.not-found {
  padding: 96px 0;
  text-align: center;
}

.not-found img {
  width: 180px;
  margin: 0 auto 24px;
}

.not-found p {
  color: var(--ink-2);
  font-size: 1.1rem;
}
