:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --card: #f1eee6;
  --green: #2f4a3f;
  --green-dark: #22372e;
  --sage: #8fa89a;
  --sand: #e6d9be;
  --terracotta: #c2704f;
  --peach: #e9a27f;
  --text: #1e2421;
  --muted: #6b726d;
  --border: #e3dfd5;
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(247, 245, 239, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; font-size: 20px; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800;
  padding: 12px 22px; border-radius: 999px; background: var(--green); color: #fff; border: 0; cursor: pointer;
  font: inherit; font-weight: 800; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--green); }
.nav .btn { padding: 10px 18px; font-size: 15px; }

/* App Store badge (drawn, no Apple artwork needed) */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: #000; color: #fff;
  padding: 10px 22px 10px 18px; border-radius: 14px; transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 30px; height: 30px; fill: #fff; }
.store-badge small { display: block; font-size: 12px; line-height: 1.1; opacity: 0.85; }
.store-badge strong { display: block; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -0.3px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #f7f5ef;
  background:
    radial-gradient(700px 500px at 80% 70%, rgba(143, 168, 154, 0.35), transparent 70%),
    linear-gradient(140deg, var(--green-dark) 0%, var(--green) 55%, #3e6352 100%);
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; }
.hero::before { width: 1300px; height: 600px; left: -400px; bottom: -420px; background: rgba(230, 217, 190, 0.1); }
.hero::after { width: 1200px; height: 560px; right: -380px; bottom: -400px; background: rgba(194, 112, 79, 0.18); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 80px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; background: rgba(247, 245, 239, 0.12); padding: 8px 16px; border-radius: 999px; }
.eyebrow img { width: 22px; height: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; font-weight: 900; letter-spacing: -1.5px; margin: 22px 0 18px; }
.hero h1 span { color: var(--peach); }
.hero p.lead { font-size: 20px; opacity: 0.85; max-width: 520px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.hero .note { font-size: 14px; opacity: 0.7; }
.phones { position: relative; height: 620px; }
.phone {
  position: absolute; width: 270px; border-radius: 44px; background: #111; padding: 9px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.phone img { border-radius: 36px; }
.phone.p1 { left: 0; top: 90px; transform: rotate(-8deg); }
.phone.p2 { left: 50%; margin-left: -135px; top: 20px; z-index: 2; }
.phone.p3 { right: 0; top: 90px; transform: rotate(8deg); }
.float { position: absolute; z-index: 3; width: 84px; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.3)); animation: bob 4s ease-in-out infinite; }
.float.f1 { left: 14%; top: 0; }
.float.f2 { right: 4%; top: 470px; animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Sections */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker { color: var(--terracotta); font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 900; letter-spacing: -1px; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.feature .icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon img { width: 40px; height: 40px; }
.feature h3 { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.feature p { color: var(--muted); }

/* Showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: 90px; }
.showcase.flip .shot { order: 2; }
.showcase .shot { background: var(--card); border-radius: 40px; padding: 40px 0 0; display: flex; justify-content: center; overflow: hidden; }
.showcase .shot .phone { position: relative; width: 300px; transform: none; border-radius: 48px 48px 0 0; padding-bottom: 0; }
.showcase .shot .phone img { width: 100%; height: 520px; border-radius: 40px 40px 0 0; object-fit: cover; object-position: top; }
.label { color: var(--terracotta); font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }
.showcase h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 900; letter-spacing: -0.8px; margin: 10px 0 14px; }
.showcase p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-weight: 700; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Screenshot strip */
.strip { display: flex; gap: 20px; overflow-x: auto; padding: 10px 20px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: none; width: 250px; border-radius: 24px; scroll-snap-align: center; box-shadow: 0 20px 40px rgba(30, 36, 33, 0.12); }

/* CTA band */
.band {
  border-radius: 40px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff;
  background: linear-gradient(135deg, #9e4f33, var(--peach));
}
.band h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; font-weight: 900; letter-spacing: -0.8px; }
.band p { opacity: 0.9; margin-top: 8px; font-size: 18px; }

/* Footer */
footer { padding: 50px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding-top: 30px; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--text); }

/* Simple pages (contact, privacy) */
.page { padding: 70px 0 40px; }
.page-head { max-width: 720px; margin-bottom: 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -1px; margin: 10px 0 14px; }
.page-head p { color: var(--muted); font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.card { background: var(--surface); border-radius: var(--radius); padding: 34px; }
form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; font-weight: 800; font-size: 15px; }
input, select, textarea {
  font: inherit; font-weight: 600; color: var(--text); background: var(--card); border: 2px solid transparent;
  border-radius: 16px; padding: 14px 16px; outline: none; transition: border-color 0.15s ease, background 0.15s ease;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sage); background: #fff; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { display: none; padding: 14px 18px; border-radius: 16px; background: #e2ece5; color: var(--green); font-weight: 800; }
.form-status.show { display: block; }
.aside h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.aside p { color: var(--muted); }
.aside .item + .item { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--card); }
.koko { width: 120px; margin-bottom: 16px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 900; margin: 36px 0 10px; }
.prose p, .prose li { color: #3d4440; font-size: 17px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.prose a { color: var(--terracotta); font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .showcase, .contact-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero .cta { justify-content: center; }
  .phones { height: 480px; transform: scale(0.82); transform-origin: top center; }
  .features { grid-template-columns: 1fr 1fr; }
  .showcase.flip .shot { order: 0; }
  .band { flex-direction: column; text-align: center; padding: 44px 28px; }
  .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 560px) {
  section { padding: 70px 0; }
  .features, .row { grid-template-columns: 1fr; }
  .phones { height: 420px; transform: scale(0.66); margin-bottom: -60px; }
  .card { padding: 24px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
}

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