/* Proof — marketing site.
   One stylesheet, no framework, no build step. The palette is the app's:
   #1f5fa8 accent on a near-white ground, the same blue that fills the icon. */

:root {
  --accent: #1f5fa8;
  --accent-dark: #14406f;
  --accent-soft: #eaf1fa;
  --ink: #101418;
  --ink-secondary: #46505c;
  --ink-muted: #6b7684;
  --surface: #ffffff;
  --ground: #f4f6f9;
  --border: #e3e7ed;
  --radius: 18px;
  --measure: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }

p { margin: 0 0 16px; }

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--ink-secondary);
  max-width: 60ch;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 246, 249, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 17px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--ink-secondary); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 700px) { .site-nav { display: none; } }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.button:hover { text-decoration: none; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-quiet {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.button-quiet:hover { border-color: #ccd4de; }

/* Hero */

.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 96px 0 64px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 14px;
}

.hero-note { font-size: 14px; color: var(--ink-muted); margin: 0; }

.phone {
  border-radius: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px;
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, 0.35);
  max-width: 292px;
  margin: 0 auto;
}
/* A full-length iPhone screenshot is taller than any sensible hero. Show the
   top of the screen and let the rest run off the bottom of the frame. */
.phone img {
  border-radius: 27px;
  height: 520px;
  object-fit: cover;
  object-position: top;
}

/* A grid column's automatic minimum is the min-content width of what is in it,
   and for an image that is its intrinsic width: 900px of screenshot, which drags
   the whole page wider than a phone screen. */
.hero-grid > *,
.feature > *,
.grid > * { min-width: 0; }

/* Sections */

section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 76px 0; } }

.section-head { max-width: 62ch; margin-bottom: 36px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card p { color: var(--ink-secondary); font-size: 15.5px; margin: 0; }
.card h3 { margin-bottom: 8px; }

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 20px; height: 20px; }

/* Alternating feature rows */

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 60px; }
  .feature + .feature { margin-top: 72px; }
  .feature-flip .feature-copy { order: 2; }
}
.feature + .feature { margin-top: 48px; }
.feature-copy p { color: var(--ink-secondary); }
.feature-shot {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 7px;
  max-width: 276px;
  margin: 0 auto;
  box-shadow: 0 24px 48px -28px rgba(16, 24, 40, 0.3);
}
.feature-shot img {
  border-radius: 20px;
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.tight-list { margin: 0; padding-left: 18px; color: var(--ink-secondary); }
.tight-list li { margin-bottom: 6px; }

/* Privacy block */

.dark {
  background: linear-gradient(160deg, #17335a, #0b1b30);
  color: #e8eef7;
  border-radius: 26px;
  padding: 40px 28px;
}
.dark h2 { color: #fff; }
.dark p { color: #c3d2e6; }
.dark .grid { margin-top: 26px; }
.dark .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px;
}
.dark .card h3 { color: #fff; }
.dark .card p { color: #b9c9de; }
@media (min-width: 900px) { .dark { padding: 56px 48px; } }

/* FAQ */

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
details[open] { border-color: #ccd8e8; }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--ink-muted);
  font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p {
  margin: 12px 0 0;
  color: var(--ink-secondary);
  font-size: 15.5px;
}

/* Closing call to action */

.closing {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 52px 24px;
}
.closing .hero-actions { justify-content: center; }
.closing img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 18px; }

/* Footer */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  margin-top: 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
}
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer p { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--ink-secondary); font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { margin: 0; }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* Long-form legal pages */

.doc { max-width: 760px; padding: 56px 0 24px; }
.doc h1 { font-size: clamp(32px, 5vw, 42px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-secondary); font-size: 16.5px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
