:root {
  --bg: #f6f1e7;
  --bg-card: #fdfaf3;
  --ink: #1c1a17;
  --ink-soft: #5b554c;
  --ink-fade: #8a8378;
  --brand: #1f9aa3;
  --brand-soft: #d8efef;
  --rule: rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --shadow: 0 8px 28px rgba(31, 154, 163, 0.07);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #2bb8a6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow);
}

nav.site a {
  color: var(--ink-soft);
  margin-left: 22px;
  font-size: 0.95rem;
}

nav.site a:hover { color: var(--brand); }

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

p { margin: 0 0 18px; color: var(--ink-soft); }

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 56ch;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 30px;
  border: 1px solid var(--rule);
  margin: 24px 0;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

ul.principles {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

ul.principles li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}

ul.principles li:last-child { border-bottom: 1px solid var(--rule); }

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 12px;
}

.screens figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screens img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  background: var(--bg-card);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 18px 40px -18px rgba(20, 60, 70, 0.28);
}

.screens figcaption {
  font-size: 0.85rem;
  color: var(--ink-fade);
  text-align: center;
  line-height: 1.35;
}

.screens figure:nth-child(1) { transform: translateY(8px); }
.screens figure:nth-child(2) { transform: translateY(-6px); }
.screens figure:nth-child(3) { transform: translateY(12px); }

@media (max-width: 640px) {
  .screens {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .screens figure:nth-child(n) { transform: none; }
}

ul.principles strong {
  color: var(--ink);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

footer.site {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  color: var(--ink-fade);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a {
  color: var(--ink-fade);
  margin-left: 18px;
}

footer.site a:first-child { margin-left: 0; }

/* Privacy page */
.policy h2 { margin-top: 36px; }
.policy ul { color: var(--ink-soft); padding-left: 20px; }
.policy li { margin: 6px 0; }
.policy .meta {
  color: var(--ink-fade);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

@media (max-width: 540px) {
  .wrap { padding: 36px 18px 60px; }
  h1 { font-size: 2rem; }
  header.site { margin-bottom: 40px; }
  nav.site a { margin-left: 14px; font-size: 0.88rem; }
  footer.site { flex-direction: column; }
  footer.site a { margin-left: 0; }
}
