:root {
  --ink: #11201c;
  --muted: #5e6d67;
  --paper: #fbfcf7;
  --panel: #f0f4ec;
  --line: #dce4da;
  --green: #1a6b50;
  --green-dark: #0f4b38;
  --lime: #d7f084;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 49, 39, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }

.site-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header.compact { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--green); color: white; box-shadow: 0 8px 20px rgba(26, 107, 80, .22); }
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover, nav a.active { color: var(--green-dark); }

.hero { width: min(1180px, calc(100% - 40px)); margin: 48px auto 108px; min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(46px, 6vw, 78px); line-height: .99; letter-spacing: -.065em; }
h1 span { color: var(--green); }
.hero-text { max-width: 670px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 28px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border-radius: 14px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--green); box-shadow: 0 12px 28px rgba(26, 107, 80, .22); }
.button.secondary { border: 1px solid var(--line); background: var(--white); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 13px; }
.trust-list li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 7px; }

.document-demo { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 28px; background: linear-gradient(145deg, #e5eee2, #f6f7eb); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.document-demo::before { content: ""; position: absolute; inset: -26px 38px auto auto; width: 110px; height: 110px; border-radius: 50%; background: var(--lime); filter: blur(2px); z-index: -1; }
.demo-top { display: flex; justify-content: space-between; align-items: center; margin: 0 3px 17px; color: var(--muted); font-size: 12px; font-weight: 700; }
.demo-status { display: flex; align-items: center; gap: 7px; }
.demo-status i { width: 8px; height: 8px; border-radius: 50%; background: #26a56f; box-shadow: 0 0 0 5px rgba(38,165,111,.12); }
.paper { padding: 24px; border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(32, 53, 45, .08); }
.paper-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.paper-icon { width: 45px; height: 45px; border-radius: 12px; display: grid; place-items: center; color: var(--green-dark); background: #e7f2ea; font-size: 11px; font-weight: 900; }
.paper-head strong, .paper-head small { display: block; }
.paper-head small { margin-top: 3px; color: var(--muted); }
.line { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.line strong { white-space: nowrap; }
.paper-result { display: flex; justify-content: space-between; padding-top: 20px; color: var(--green); font-size: 13px; font-weight: 800; }
.route { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 19px 6px 1px; color: var(--muted); font-size: 12px; font-weight: 750; }
.route span { padding: 6px 10px; border-radius: 9px; background: rgba(255,255,255,.7); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto 118px; }
.section-heading { max-width: 660px; margin-bottom: 42px; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child, .data-section > div > p:last-child { color: var(--muted); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps article { min-height: 235px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.74); }
.steps article > span { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.steps h3 { margin: 38px 0 9px; font-size: 20px; }
.steps p { color: var(--muted); font-size: 14px; }

.data-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 68px; border-radius: 30px; background: var(--green-dark); color: white; }
.data-section .eyebrow { color: var(--lime); }
.data-section > div > p:last-child { color: #c4d2cc; }
.data-cards { display: grid; gap: 11px; }
.data-cards article { display: flex; gap: 15px; align-items: flex-start; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.06); }
.mini-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px; background: var(--lime); color: var(--green-dark); font-weight: 900; }
.data-cards h3 { margin: 0 0 3px; font-size: 16px; }
.data-cards p { margin: 0; color: #c4d2cc; font-size: 13px; }

.contact-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto 96px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); }
.contact-section h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); }

.legal-page { width: min(980px, calc(100% - 40px)); margin: 58px auto 100px; }
.legal-hero { padding: 42px 0 38px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 820px; margin-bottom: 13px; font-size: clamp(42px, 6vw, 70px); overflow-wrap: anywhere; hyphens: auto; }
.legal-hero > p:last-child { color: var(--muted); }
.legal-content { max-width: 780px; padding-top: 44px; }
.legal-content .lead { color: var(--ink); font-size: 20px; line-height: 1.65; }
.legal-content h2 { margin: 46px 0 12px; font-size: 25px; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: #43534d; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--green); font-weight: 700; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer div { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--green); }

@media (max-width: 900px) {
  .site-header { padding: 18px 0; align-items: flex-start; }
  .site-header nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; gap: 52px; margin-top: 30px; }
  .document-demo { max-width: 620px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .data-section { grid-template-columns: 1fr; gap: 36px; padding: 44px; }
}

@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1180px); display: block; }
  .site-header nav { margin-top: 16px; justify-content: flex-start; }
  .site-header nav a { font-size: 12px; }
  .hero, .section, .contact-section, footer { width: min(100% - 28px, 1180px); }
  .hero { margin-bottom: 78px; }
  h1 { font-size: 45px; }
  .hero-text { font-size: 16px; }
  .document-demo { padding: 13px; border-radius: 20px; }
  .paper { padding: 17px; }
  .route { gap: 5px; }
  .route span { padding: 5px 7px; font-size: 10px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .steps h3 { margin-top: 24px; }
  .data-section { padding: 30px 22px; border-radius: 22px; }
  .contact-section { padding: 30px 22px; align-items: flex-start; flex-direction: column; }
  .legal-page { width: min(100% - 28px, 980px); margin-top: 28px; }
  .legal-hero h1 { font-size: 38px; letter-spacing: -.045em; }
  .legal-content .lead { font-size: 17px; }
  footer { padding: 28px 0; align-items: flex-start; flex-direction: column; }
  footer div { flex-direction: column; gap: 8px; }
}
