:root {
  color-scheme: light;
  --ink: #102321;
  --muted: #49615d;
  --teal: #006b67;
  --teal-dark: #004d4a;
  --teal-soft: #d8efeb;
  --surface: #ffffff;
  --background: #f2f7f6;
  --line: #d8e2e0;
  --shadow: 0 18px 48px rgba(17, 50, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 226, 224, 0.8);
  background: rgba(242, 247, 246, 0.92);
  backdrop-filter: blur(14px);
}

.nav, .section, .hero, .footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 650; text-decoration: none; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 64px;
  padding-block: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.1rem, 7vw, 5.6rem); letter-spacing: -0.055em; }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.035em; }
h3 { margin: 0 0 8px; font-size: 1.15rem; }

.lede { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.platforms span {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--surface);
  font-weight: 800;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 14px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.button.primary { color: white; background: var(--teal); }
.button.coffee { border-color: #b99b00; color: #241f00; background: #ffdd00; }
.button.coffee:hover { color: #171400; background: #f1cf00; }
.hero-phone { justify-self: center; width: min(340px, 78vw); filter: drop-shadow(var(--shadow)); }
.hero-phone img { display: block; width: 100%; border-radius: 28px; }

.section { padding-block: 80px; }
.section-intro { max-width: 680px; color: var(--muted); font-size: 1.1rem; }

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

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.feature p { margin: 0; color: var(--muted); }

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

.screenshot-platform { margin-top: 40px; color: var(--teal-dark); }
.screenshots figure { margin: 0; }
.screenshots img { display: block; width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.screenshots figcaption { margin-top: 12px; color: var(--muted); text-align: center; font-weight: 700; }

.privacy-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 36px;
  border-radius: 28px;
  color: #eaf8f6;
  background: var(--teal-dark);
}

.privacy-card h2 { margin-bottom: 10px; }
.privacy-card p { max-width: 720px; margin: 0; color: #c9e4e0; }
.privacy-card .button { border-color: #9dded7; color: #eaf8f6; }

.prose { width: min(760px, calc(100% - 40px)); margin: 64px auto 96px; }
.prose .back { display: inline-block; margin-bottom: 24px; font-weight: 750; text-decoration: none; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.prose h2 { margin-top: 40px; font-size: 1.5rem; }
.meta { color: var(--muted); }

footer { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .nav-links a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .screenshots { grid-template-columns: 1fr; max-width: 390px; margin-inline: auto; }
  .privacy-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav, .section, .hero, .footer-inner { width: min(100% - 24px, 1120px); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 28px; align-items: flex-start; flex-direction: column; }
}
