:root {
  --ink: #37352f;
  --ink-2: rgba(55, 53, 47, 0.68);
  --ink-3: rgba(55, 53, 47, 0.45);
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --line: rgba(55, 53, 47, 0.1);
  --blue: #2383e2;
  --blue-deep: #1a6fc7;
  --blue-soft: rgba(35, 131, 226, 0.1);
  --yellow-soft: #fbf3db;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: rgba(135, 131, 120, 0.15);
  color: #eb5757;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 10px; font-size: 16px;
  box-shadow: 0 1px 2px rgba(26, 111, 199, 0.3), 0 4px 14px rgba(35, 131, 226, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 7px 14px; font-size: 14px; border-radius: 8px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--paper-2); }

/* Hero */
.hero { padding: 72px 0 24px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero-copy { text-align: center; max-width: 760px; }
.hero-icon { margin: 0 auto 20px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12)); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 750; margin-bottom: 18px; }
h3 { font-size: 19px; font-weight: 650; margin-bottom: 6px; }
.accent { color: var(--blue); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin: 20px auto 0; max-width: 620px; }
.cta-row { display: flex; gap: 12px; justify-content: center; margin: 32px 0 56px; flex-wrap: wrap; }

/* Window frames around screenshots */
.window {
  margin: 0; border-radius: 12px; overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 24px 60px -12px rgba(15, 15, 15, 0.22), 0 8px 20px -8px rgba(15, 15, 15, 0.12);
}
.window-dark { background: #191919; }
.hero-shot { max-width: 1040px; margin: 0 auto; transform: translateY(24px); }

/* Sections */
.section { padding: 112px 0 96px; }
.section-tint { background: var(--paper-2); }
.eyebrow {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
}
.section p { color: var(--ink-2); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 10px 30px -12px rgba(15, 15, 15, 0.18); transform: translateY(-2px); }
.card p { margin: 0; font-size: 15.5px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--paper-2); font-size: 22px; margin-bottom: 16px;
}

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.split-even { grid-template-columns: 1fr 1fr; align-items: start; }

/* Quick-add demo */
.composer {
  margin: 28px 0 18px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; box-shadow: 0 8px 24px -12px rgba(15, 15, 15, 0.2);
}
.composer-input { display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--ink); }
.box { width: 18px; height: 18px; border: 1.6px solid rgba(55, 53, 47, 0.55); border-radius: 4px; flex: none; }
.tok { background: var(--blue-soft); color: var(--blue-deep); border-radius: 4px; padding: 0 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 30px; }
.chip { font-size: 14px; background: rgba(55, 53, 47, 0.06); border-radius: 6px; padding: 3px 9px; color: var(--ink); }
.chip-yellow { background: var(--yellow-soft); }
.fine { font-size: 15px !important; color: var(--ink-3) !important; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.gallery figcaption strong { color: var(--ink); }

/* Privacy */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checklist li { position: relative; padding-left: 36px; color: var(--ink-2); font-size: 16.5px; }
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 5px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Download */
.download { text-align: center; }
.download img { margin: 0 auto 20px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12)); }
.platforms { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.platform {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 220px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; background: var(--paper);
}
.platform-name { font-weight: 650; font-size: 18px; }
.platform-note { font-size: 14px; color: var(--ink-3); }
.badge {
  margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); padding: 4px 10px; border-radius: 999px;
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--ink-3); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .grid, .gallery { grid-template-columns: 1fr 1fr; }
  .split, .split-even { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .grid, .gallery { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .section { padding: 80px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* Long-form pages (privacy policy) */
.prose { max-width: 720px; padding: 64px 0 96px; }
.prose h1 { font-size: clamp(36px, 5vw, 48px); }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose p, .prose li { font-size: 17px; color: var(--ink-2); }
.prose li { margin-bottom: 10px; }
.prose li strong, .prose p strong { color: var(--ink); }
.prose a { color: var(--blue); text-underline-offset: 2px; }
.prose code { color: var(--ink); }
.meta { color: var(--ink-3) !important; font-size: 15px !important; margin-top: 10px; }
.summary {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; margin: 28px 0 8px;
}
.footer a { color: inherit; }
