:root {
  --bg: #f3f9fb;
  --surface: #ffffff;
  --text: #1d243a;
  --muted: #646978;
  --primary: #4d42e0;
  --primary-hover: #4036c9;
  --primary-tint: #e6ebfe;
  --success: #23845c;
  --success-tint: #ecf8f3;
  --border: #d3d7d9;
  --border-soft: #e8eef1;
  --warning: #8a4b08;
  --shadow: 0 18px 50px rgba(31, 42, 72, 0.10);
  --container: 1110px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }

button, input { font: inherit; }
button, .button, summary { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(77, 66, 224, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--text);
  border-radius: 8px;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 76px;
  border-bottom: 1px solid rgba(211, 215, 217, 0.8);
  background: rgba(243, 249, 251, 0.94);
  backdrop-filter: blur(14px);
}

.nav-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
  font-family: Georgia, serif;
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--primary); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover { color: #fff; background: var(--primary-hover); box-shadow: 0 10px 24px rgba(77, 66, 224, 0.20); }
.button.secondary { color: var(--text); background: var(--surface); border-color: var(--border); }
.button.secondary:hover { color: var(--primary); border-color: var(--primary); box-shadow: none; }
.button.small { min-height: 40px; padding: 8px 15px; font-size: 14px; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface);
}
.menu-button svg { width: 22px; height: 22px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #35bb81; box-shadow: 0 0 0 5px var(--success-tint); }

h1, h2, h3 { margin: 0; font-family: "PT Serif", Georgia, serif; line-height: 1.12; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.55rem, 5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: 1.35rem; }

.hero { padding: 82px 0 94px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 72px; align-items: center; }
.hero-copy .lead { max-width: 650px; margin: 24px 0 30px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.proof-list { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 28px 0 0; list-style: none; }
.proof-list li { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 650; }
.proof-list svg { width: 18px; height: 18px; color: var(--success); flex: 0 0 auto; }

.demo-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: var(--primary-tint);
  filter: blur(4px);
}

.demo-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.demo-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.status-pill { padding: 6px 10px; border-radius: 999px; color: var(--warning); background: #fff4df; font-size: 12px; font-weight: 800; white-space: nowrap; }

.upload-zone {
  position: relative;
  display: grid;
  min-height: 355px;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  border: 2px dashed #b6b9d5;
  border-radius: 13px;
  background: linear-gradient(160deg, #fafbff, #f3f9fb);
  text-align: center;
}

.upload-zone.dragging { border-color: var(--primary); background: var(--primary-tint); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 15px; color: var(--primary); background: var(--primary-tint); border-radius: 15px; }
.upload-icon svg { width: 28px; height: 28px; }
.upload-title { margin: 0 0 5px; font-weight: 800; }
.upload-help { max-width: 270px; margin: 0 auto 18px; color: var(--muted); font-size: 13px; }
.file-label { color: var(--primary); font-weight: 800; }

.preview-pane { position: absolute; inset: 0; display: none; background: #e7eef1; }
.preview-pane.active { display: block; }
.preview-pane img { width: 100%; height: 100%; object-fit: cover; }
.preview-label { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; padding: 9px 12px; color: #fff; background: rgba(29, 36, 58, 0.88); border-radius: 7px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.watermark {
  position: absolute;
  inset: -30%;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 34px;
  transform: rotate(-27deg);
  color: rgba(255, 255, 255, 0.62);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px rgba(29, 36, 58, 0.22);
  pointer-events: none;
}
.watermark span { white-space: nowrap; word-spacing: 44px; }
.preview-reset { position: absolute; z-index: 4; right: 14px; bottom: 14px; }

.security-note { display: flex; gap: 10px; align-items: flex-start; margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.security-note svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--success); margin-top: 2px; }

.section { padding: 96px 0; }
.section.white { background: var(--surface); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step, .feature-card, .policy-card { padding: 28px; border: 1px solid var(--border-soft); border-radius: 13px; background: var(--surface); }
.step-number { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 24px; color: #fff; background: var(--primary); border-radius: 10px; font-weight: 900; }
.step p, .feature-card p, .policy-card p { margin: 12px 0 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { display: grid; grid-template-columns: 48px 1fr; gap: 17px; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--success); background: var(--success-tint); border-radius: 12px; }
.feature-icon svg { width: 23px; height: 23px; }

.price-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr); gap: 70px; align-items: center; }
.price-copy p { color: var(--muted); font-size: 18px; }
.price-card { padding: 34px; border: 1px solid rgba(77, 66, 224, 0.22); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.price-line { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 22px; }
.price { font-family: Georgia, serif; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.price-detail { margin-bottom: 7px; color: var(--muted); }
.check-list { display: grid; gap: 13px; padding: 0; margin: 25px 0 30px; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; color: var(--success); }
.full { width: 100%; }
.legal-hint { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy-card a { display: inline-flex; margin-top: 18px; font-weight: 750; }

.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--border); }
summary { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: -4px 0 22px; color: var(--muted); }

.cta-band { padding: 42px; border-radius: 18px; color: #fff; background: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-band p { margin: 10px 0 0; color: #dbe2f3; }
.cta-band .button { flex: 0 0 auto; }

.site-footer { padding: 64px 0 28px; color: #d8deed; background: #151b2d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 350px; color: #aeb7cc; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #d8deed; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #313a51; color: #aeb7cc; font-size: 12px; }

.legal-main { padding: 64px 0 96px; }
.legal-shell { display: grid; grid-template-columns: minmax(0, 760px) 250px; gap: 70px; align-items: start; }
.legal-header { margin-bottom: 40px; }
.legal-header h1 { font-size: clamp(2.45rem, 5vw, 4rem); }
.legal-meta { margin: 16px 0 0; color: var(--muted); }
.legal-copy { padding: 42px; border: 1px solid var(--border-soft); border-radius: 14px; background: var(--surface); }
.legal-copy h2 { margin: 38px 0 14px; font-size: 1.65rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin: 25px 0 10px; font-size: 1.1rem; font-family: inherit; letter-spacing: -0.01em; }
.legal-copy p, .legal-copy li { color: #454d61; }
.legal-copy ul, .legal-copy ol { padding-left: 22px; }
.legal-copy li + li { margin-top: 8px; }
.legal-copy .notice { padding: 17px 18px; border-left: 4px solid var(--primary); background: var(--primary-tint); border-radius: 0 8px 8px 0; }
.legal-nav { position: sticky; top: 104px; padding: 20px; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--surface); }
.legal-nav strong { display: block; margin-bottom: 12px; }
.legal-nav a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.legal-nav a:hover { color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 30px; border: 1px solid var(--border-soft); border-radius: 13px; background: var(--surface); }
.contact-card p { color: var(--muted); }
.contact-email { font-size: 20px; font-weight: 800; word-break: break-word; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(4rem, 13vw, 8rem); color: var(--primary); }
.not-found p { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .price-wrap, .legal-shell { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .legal-nav { position: static; order: -1; }
  .steps, .policy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header { height: 68px; }
  .menu-button { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    padding: 22px 18px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 20px 35px rgba(29, 36, 58, 0.13);
  }
  .nav-links.open { display: grid; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; font-size: 16px; }
  .nav-links .button { width: 100%; }
  .hero { padding: 54px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .demo-card { padding: 16px; border-radius: 14px; }
  .upload-zone { min-height: 320px; }
  .section { padding: 70px 0; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 42px 1fr; padding: 22px; }
  .feature-icon { width: 42px; height: 42px; }
  .price-wrap { gap: 40px; }
  .price-card { padding: 25px; }
  .cta-band { padding: 28px; align-items: flex-start; flex-direction: column; }
  .cta-band .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .legal-main { padding-top: 44px; }
  .legal-copy { padding: 25px 21px; }
}

@media (max-width: 460px) {
  .hero-actions .button { width: 100%; }
  .proof-list { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .demo-head { display: block; }
  .status-pill { display: inline-block; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

