:root {
  color-scheme: light;
  --ink: #17151d;
  --muted: #686472;
  --line: #e7e3ee;
  --paper: #ffffff;
  --lavender: #7b61ff;
  --lavender-soft: #eeeaff;
  --yellow: #ffba32;
  --green: #31b86b;
  --blue: #348de5;
  --page: #f7f5fb;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(231, 227, 238, .85);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 760; }
.brand img { border-radius: 10px; }
nav { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--lavender); }

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f8f6ff;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(255,255,255,.08); }
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: inherit;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 110px;
}
.eyebrow { margin: 0 0 8px; color: #6754ca; font-size: 14px; font-weight: 760; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(52px, 7vw, 92px); line-height: 1.05; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.hero-lead { max-width: 510px; margin: 22px 0 32px; color: #48434f; font-size: clamp(19px, 2vw, 25px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; }
.button-primary { background: var(--lavender); color: white; box-shadow: 0 10px 28px rgba(123, 97, 255, .23); }
.button-secondary { border: 1px solid #d9d3e5; background: rgba(255, 255, 255, .86); }

.band { width: min(1180px, calc(100% - 48px)); margin: -58px auto 0; }
.intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(56, 46, 82, .09);
}
.intro div { display: grid; gap: 3px; padding: 24px 30px; }
.intro div + div { border-left: 1px solid var(--line); }
.intro strong { font-size: 18px; }
.intro span { color: var(--muted); font-size: 14px; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-item { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.feature-item h3 { margin: 25px 0 8px; font-size: 22px; }
.feature-item p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 8px; font-weight: 800; font-size: 19px; }
.feature-document .feature-icon { background: var(--lavender-soft); color: var(--lavender); }
.feature-text .feature-icon { background: #fff4d7; color: #c37b00; }
.feature-id .feature-icon { background: #e9f4ff; color: var(--blue); }
.feature-pdf .feature-icon { background: #e7f8ee; color: var(--green); font-size: 13px; }

.showcase { border-top: 1px solid var(--line); }
.screenshot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; overflow: hidden; }
.screenshot-row figure { margin: 0; }
.screenshot-row img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 16px 35px rgba(56, 46, 82, .09); }
.screenshot-row figcaption { margin-top: 14px; color: var(--muted); text-align: center; font-size: 14px; }

.privacy-band {
  display: grid;
  grid-template-columns: 82px minmax(0, 760px);
  gap: 28px;
  align-items: start;
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  background: #17151d;
  color: white;
}
.privacy-band .eyebrow { color: #bdb1ff; }
.privacy-band p:not(.eyebrow) { color: #d1ced7; font-size: 17px; }
.privacy-symbol { display: grid; place-items: center; width: 72px; aspect-ratio: 1; border-radius: 50%; background: var(--lavender); font-size: 34px; }
.text-link { color: #bdb1ff; font-weight: 700; }

.download { display: flex; align-items: center; gap: 28px; padding-top: 84px; padding-bottom: 84px; }
.download img { border-radius: 24px; box-shadow: 0 16px 36px rgba(72, 56, 118, .18); }
.download p { margin: 8px 0 0; color: var(--muted); }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 28px;
  align-items: end;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { display: grid; }
.footer-brand strong { color: var(--ink); font-size: 16px; }
.footer-links { display: flex; gap: 20px; }
footer p, footer .filing { margin: 0; }

.legal-page { background: white; }
.legal-main { padding: 70px 24px 100px; }
.legal-main article { max-width: 820px; margin: 0 auto; }
.legal-main h1 { font-size: clamp(40px, 6vw, 64px); }
.legal-main h2 { margin-top: 54px; font-size: 28px; }
.legal-main h3 { margin-top: 28px; font-size: 19px; }
.legal-main p, .legal-main li { color: #403c46; }
.legal-main li + li { margin-top: 8px; }
.legal-meta { color: var(--muted) !important; }
.legal-notice { margin: 28px 0; padding: 18px; border: 1px solid #f0c965; border-radius: 8px; background: #fff9e9; color: #6d551a; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { min-height: 64px; padding-inline: 18px; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: 680px; }
  .hero-image { object-position: 68% center; }
  .hero-shade { background: rgba(255, 255, 255, .46); }
  .hero-copy { justify-content: flex-start; width: calc(100% - 36px); padding-top: 70px; }
  h1 { font-size: 50px; }
  .hero-lead { max-width: 300px; font-size: 18px; }
  .band, .section { width: calc(100% - 36px); }
  .intro { grid-template-columns: 1fr; margin-top: -44px; }
  .intro div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: auto; }
  .screenshot-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .screenshot-row figure { flex: 0 0 78%; scroll-snap-align: start; }
  .privacy-band { grid-template-columns: 1fr; padding-block: 68px; }
  .download { align-items: flex-start; }
  .download img { width: 84px; height: 84px; border-radius: 18px; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

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