:root {
  --cream: #fbf6ec;
  --paper: #ffffff;
  --ink: #2f2a24;
  --ink-soft: #6b6157;
  --leaf: #3f8a5a;
  --leaf-deep: #2c6a43;
  --leaf-wash: #e6f2e9;
  --sun: #f2b544;
  --line: #ece3d3;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(47, 42, 36, 0.05), 0 8px 28px rgba(47, 42, 36, 0.07);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--leaf-deep); text-underline-offset: 3px; }
a:hover { color: var(--leaf); }

.wrap { width: min(920px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-head { padding: 22px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { flex: none; display: block; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--leaf-wash); color: var(--leaf-deep); }
.nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero p { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

.page-title { padding: 40px 0 8px; }
.page-title h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.page-title p { color: var(--ink-soft); margin: 0; }

/* Cards */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.stack > * + * { margin-top: 20px; }

/* Home sections */
.hero-actions { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.section { padding-top: 48px; scroll-margin-top: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 4vw, 32px); letter-spacing: -0.015em; }
.section-head p { margin: 0; color: var(--ink-soft); }

/* App grid: each card takes its colours from --accent and --wash */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.app { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 6px solid var(--accent); display: flex; flex-direction: column; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.app-top img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 6px 18px rgba(47, 42, 36, 0.16); }
.app h3 { margin: 0; font-size: 26px; letter-spacing: -0.01em; }
.app .tagline { margin: 2px 0 10px; color: var(--accent); font-weight: 700; }
.app p { margin: 0 0 16px; color: var(--ink-soft); }
.app h3 a { color: inherit; text-decoration: none; }
.app h3 a:hover { color: var(--accent); }
.facts { font-size: 15px; font-weight: 700; color: var(--ink) !important; letter-spacing: 0.01em; }
.app .more { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; }
.app .more:hover { text-decoration: underline; }
.status { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.status-live { background: var(--leaf); color: #fff; }
.status-soon { background: #fff3d6; color: #8a5a00; }
.status-dev { background: #eceae6; color: var(--ink-soft); }

/* App pages */
.app-hero { display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: center; padding-top: 40px; }
.app-hero img { width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 10px 28px rgba(47, 42, 36, 0.18); }
.app-hero h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0 6px; }
.app-hero .lead { font-size: 21px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.app-hero .meta { margin: 0 0 4px; color: var(--ink-soft); }
.app-hero .price-line { display: inline-block; margin: 12px 0 0; padding: 8px 16px; border-radius: 999px; background: var(--wash); color: var(--accent); font-weight: 700; font-size: 15px; }
/* Real screenshots: four across on desktop, a swipeable row on phones */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 200px)); justify-content: center; gap: 28px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; max-width: 220px; height: auto; border-radius: 22px; box-shadow: 0 8px 24px rgba(47, 42, 36, 0.14); border: 5px solid #fff; }
.shots figcaption { padding: 14px 4px 0; }
.shots strong { display: block; font-size: 16px; }
.shots span { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

.chapters { list-style: none; counter-reset: ch; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.chapters li { counter-increment: ch; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 20px 18px 62px; position: relative; }
.chapters li::before { content: counter(ch); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--wash); color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.chapters strong { display: block; margin-bottom: 2px; }
.chapters span { color: var(--ink-soft); font-size: 15px; }
.back { margin: 0; font-weight: 700; }
.back a { text-decoration: none; }

.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--leaf-wash); box-shadow: none; }
.band h2 { margin: 0 0 4px; font-size: 24px; }
.band p { margin: 0; color: var(--ink-soft); }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.promise div { background: var(--paper); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.promise strong { display: block; font-size: 17px; margin-bottom: 4px; }
.promise span { color: var(--ink-soft); font-size: 15px; }

/* Support */
.contact { text-align: center; padding: 40px 32px; }
.contact h2 { margin: 0 0 8px; font-size: 28px; }
.contact p { color: var(--ink-soft); margin: 0 auto 22px; max-width: 520px; }
.button { display: inline-block; background: var(--leaf); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; padding: 14px 28px; border-radius: 999px; box-shadow: 0 4px 0 var(--leaf-deep); transition: transform 0.08s ease, box-shadow 0.08s ease; }
.button:hover { color: #fff; background: var(--leaf-deep); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--leaf-deep); }
.contact .note { margin: 18px auto 0; font-size: 15px; }

.faq h2 { font-size: 24px; margin: 0 0 4px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--leaf); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Policy */
.policy h2 { font-size: 22px; margin: 32px 0 8px; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: #463f37; }
.policy ul { padding-left: 22px; }
.callout { background: var(--leaf-wash); border-radius: 16px; padding: 18px 22px; color: var(--leaf-deep); font-weight: 600; }

/* Footer */
.site-foot { padding: 48px 0 40px; color: var(--ink-soft); font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.site-foot nav { display: flex; gap: 18px; }
.site-foot a { color: var(--ink-soft); }

main { padding-bottom: 8px; }

@media (max-width: 900px) and (min-width: 641px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 200px)); }
}

@media (max-width: 640px) {
  .card, .app { padding: 24px; }
  .apps { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .section { padding-top: 36px; }
  .band { text-align: center; justify-content: center; }
  .app-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .app-hero img { width: 120px; height: 120px; border-radius: 28px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 200px)); gap: 20px 16px; }
  .shots figcaption span { font-size: 13px; }
  .site-head .wrap { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
