@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/Manrope-Bold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/Manrope-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }

:root {
  --primary: #C93A3F;
  --primary-pressed: #A82A2E;
  --primary-light: #E0565B;
  --canvas: #F8F6F3;
  --surface: #FFFFFF;
  --chip: #F3EDE9;
  --hairline: #ECE8E3;
  --text: #1F1D1B;
  --text-2: #6F6A65;
  --scan: #C93A3F; --scan-tint: #FFE4E2;
  --image: #F5A524; --image-tint: #FFF4DD;
  --textc: #12A594; --text-tint: #E0F5F2;
  --merge: #7C5CFF; --merge-tint: #EEEAFF;
  --ocr: #3B82F6; --ocr-tint: #E6F0FF;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(60, 20, 20, 0.08);
  --heading: "Manrope", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 246, 243, 0.85); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px var(--heading); color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { color: var(--text-2); }
.nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--body); transition: transform .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-store { background: #111; color: #fff; padding: 0 24px 0 20px; }
.btn-store svg { width: 24px; height: 24px; fill: currentColor; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1; }
.btn-store strong { display: block; font-size: 18px; line-height: 1.2; font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(201, 58, 63, 0.25); }
.btn-primary:hover { background: var(--primary-pressed); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--scan-tint); color: var(--primary); font: 600 13px var(--body); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { font-size: 14px; color: var(--text-2); }
.hero-visual { position: relative; height: 680px; }
.hero-visual::before { content: ""; position: absolute; inset: 70px 10px 50px 40px; border-radius: 48px; background: linear-gradient(135deg, var(--primary-light), var(--primary-pressed)); }
.phone { position: absolute; width: 285px; border-radius: 42px; padding: 9px; background: #1C1C1E; box-shadow: 0 30px 60px rgba(58, 7, 9, 0.35); }
.phone img { border-radius: 34px; }
.hero-visual .phone.back { left: 40px; top: 6px; transform: rotate(-6deg); }
.hero-visual .phone.front { right: 20px; top: 50px; transform: rotate(5deg); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }
.i-scan { background: var(--scan-tint); color: var(--scan); }
.i-image { background: var(--image-tint); color: var(--image); }
.i-text { background: var(--text-tint); color: var(--textc); }
.i-ocr { background: var(--ocr-tint); color: var(--ocr); }
.i-merge { background: var(--merge-tint); color: var(--merge); }
.i-files { background: var(--chip); color: var(--text); }

.gallery { display: flex; gap: 28px; overflow-x: auto; padding: 10px 20px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; justify-content: safe center; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 240px; scroll-snap-align: center; text-align: center; }
.gallery .phone { position: static; width: 100%; box-shadow: 0 20px 40px rgba(58, 7, 9, 0.18); }
.gallery figcaption { margin-top: 16px; font: 700 16px var(--heading); }

.privacy-band { background: linear-gradient(135deg, var(--primary-light), var(--primary-pressed)); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.privacy-band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.privacy-band p { margin: 0 0 22px; opacity: .9; font-size: 17px; }
.privacy-band a { color: #fff; text-decoration: underline; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; font-weight: 500; }
.checks li::before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

.cta { text-align: center; }
.cta .card { padding: 56px 28px; }
.cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 16px 30px rgba(201, 58, 63, 0.3); }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 10px; }
.cta p { color: var(--text-2); margin: 0 0 28px; font-size: 18px; }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--text-2); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--hairline); padding-top: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--text-2); }

/* Legal / support pages */
.doc { padding: 48px 0 24px; }
.doc .container { max-width: 800px; }
.doc header { margin-bottom: 32px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 10px; }
.doc .meta { color: var(--text-2); font-size: 15px; margin: 0; }
.doc article { background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 40px 44px; box-shadow: var(--shadow); }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: #3D3735; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.summary { background: var(--scan-tint); border-radius: 16px; padding: 20px 22px; margin-bottom: 28px; }
.summary p { margin: 0; color: var(--text); }
.summary strong { color: var(--primary); }
table.data { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.data th { font-weight: 600; background: var(--canvas); }

.contact-card { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.contact-card h2 { margin: 0 0 4px; font-size: 22px; }
.contact-card p { margin: 0; color: var(--text-2); }
details { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
details:last-of-type { border-bottom: 0; }
summary { cursor: pointer; font: 700 17px var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
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, details ol, details ul { margin: 12px 0 0; color: #3D3735; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container, .privacy-band { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-visual { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 220px; }
  .features { grid-template-columns: 1fr 1fr; }
  .privacy-band { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; }
  .phone { width: 190px; border-radius: 34px; padding: 7px; }
  .phone img { border-radius: 28px; }
  .hero-visual .phone.back { left: 10px; }
  .hero-visual .phone.front { right: 0; }
  .doc article { padding: 28px 22px; }
  section { padding: 52px 0; }
}
