:root {
  --grad-start: #93C5FD;
  --grad-end: #6EE7B7;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --border: rgba(15, 23, 42, 0.08);
  --accent: #10B981;
  --accent-ink: #047857;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover, a:focus { color: var(--ink); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.brand-mark svg { display: block; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav a {
  font-size: 0.93rem;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover, .nav a:focus {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Main ---------- */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 22px 64px;
}

/* ---------- Hero (landing) ---------- */
.hero {
  text-align: center;
  padding: 24px 0 40px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 32px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.18),
    0 8px 16px rgba(15, 23, 42, 0.10);
}

.hero-logo svg { display: block; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.05;
}

.tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  margin: 0 auto 22px;
  font-weight: 500;
  max-width: 30ch;
}

.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 auto 32px;
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover, .btn-primary:focus {
  background: #0B1220;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 48px 0 0;
}

.feature {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.feature h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Content pages ---------- */
.page {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px clamp(22px, 5vw, 48px);
  box-shadow: var(--shadow-md);
}

.page h1 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

.page .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 32px;
}

.page h2 {
  font-size: 1.2rem;
  margin: 36px 0 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.page h3 {
  font-size: 1.02rem;
  margin: 22px 0 6px;
  color: var(--ink);
  font-weight: 600;
}

.page p, .page li {
  font-size: 1rem;
  color: var(--ink-soft);
}

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

.page ul, .page ol { padding-left: 22px; }

.page li { margin-bottom: 6px; }

.page a { color: var(--accent-ink); font-weight: 500; }

.callout {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.16), rgba(110, 231, 183, 0.16));
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.callout p { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  padding: 28px 22px 36px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer a { color: var(--ink-soft); font-weight: 500; }
.site-footer a:hover { color: var(--ink); }

.site-footer .footer-links { margin-bottom: 8px; }
.site-footer .footer-links a { margin: 0 10px; }

/* ---------- App Store button ---------- */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #0F172A;
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-appstore:hover, .btn-appstore:focus {
  background: #000;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-appstore .ap-logo { display: block; }
.btn-appstore .ap-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.btn-appstore .ap-text small { font-size: 0.7rem; opacity: 0.85; font-weight: 500; }
.btn-appstore .ap-text strong { font-size: 1.05rem; font-weight: 600; }

/* ---------- Section heading ---------- */
.section {
  margin-top: 72px;
}
.section-head {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 56ch;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Use case chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}
.chip {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ---------- Two-col list ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.col {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.col h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}
.col ul { margin: 0; padding-left: 18px; }
.col li { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 4px; }

/* ---------- Privacy callout ---------- */
.privacy-callout {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.privacy-callout h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.privacy-callout p {
  margin: 0 auto 16px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.privacy-callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  main { padding: 36px 18px 48px; }
  .page { padding: 32px 22px; border-radius: 22px; }
  .hero { padding: 12px 0 28px; }
  .hero-logo { width: 96px; height: 96px; border-radius: 28px; margin-bottom: 22px; }
  .site-header .wrap { padding: 12px 16px; }
  .nav a { padding: 6px 10px; font-size: 0.9rem; }
}
