:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #14161a;
  --muted: #5f6773;
  --line: #e8ebf1;
  --accent: #5aa1f2;
  --accent-soft: #eaf4ff;
  --der: #5aa1f2;
  --die: #f48bbf;
  --das: #d1d7e2;
  --shadow: 0 18px 44px rgba(24, 31, 56, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #fafbfe 0%, #f3f5f9 100%);
  color: var(--text);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: #2568c7; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.measure {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(250, 251, 254, 0.82);
  border-bottom: 1px solid rgba(232, 235, 241, 0.8);
  z-index: 10;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav a.active { font-weight: 700; }

.hero,
.page-hero {
  padding: 72px 0 30px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  line-height: 1.3;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 760px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-lead {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover { text-decoration: none; }

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow);
}

.pill {
  display: inline-block;
  padding: 0.14em 0.48em;
  border-radius: 999px;
  color: white;
  vertical-align: 0.06em;
}
.pill.der { background: var(--der); }
.pill.die { background: var(--die); }
.pill.das { background: #adb6c7; }

.section {
  padding: 32px 0 56px;
}

.section.muted {
  background: rgba(255,255,255,0.58);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards,
.feature-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.feature-card {
  min-height: 100%;
}

.doc-stack {
  display: grid;
  gap: 18px;
}

.doc-card {
  padding: 32px;
}

.doc-card h2 + p { margin-top: 0; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.shot-card-wide {
  grid-column: 1 / -1;
}

.shot-frame {
  background: linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.shot-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 40px rgba(22, 29, 48, 0.10);
}

.shot-card figcaption {
  padding: 14px 6px 4px;
}

.shot-card p,
.doc-card p,
.doc-card li,
.faq-card p { color: #2d3340; }

.clean-list {
  margin: 0;
  padding-left: 18px;
}

.meta {
  color: var(--muted);
  margin-top: -8px;
}

.meta.compact {
  margin-top: 6px;
}

.contact-card {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  padding: 24px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.small {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .footer-grid { flex-direction: column; }
  .hero,
  .page-hero { padding-top: 44px; }
  .card,
  .doc-card,
  .shot-card { padding: 20px; }
}
