:root {
  --ink: #172028;
  --muted: #64727c;
  --line: #dce5ea;
  --blue: #1677ff;
  --blue-dark: #075dcc;
  --blue-soft: #edf5ff;
  --cyan: #31d6c0;
  --paper: #ffffff;
  --surface: #f7f9fa;
  --shadow: 0 24px 70px rgba(25, 70, 125, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 234, .8);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}
.nav-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; }
.brand img { width: 34px; height: 34px; box-shadow: 0 7px 18px rgba(22, 119, 255, .22); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 620; }
.nav-links a:hover { color: var(--blue-dark); }

.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); background: white; text-decoration: none; font-size: 14px; font-weight: 720;
  box-shadow: 0 4px 14px rgba(23, 32, 40, .06); transition: .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 32, 40, .10); }
.button.primary {
  color: white; border-color: transparent;
  background: linear-gradient(135deg, #258cff, var(--blue-dark));
  box-shadow: 0 12px 28px rgba(22, 119, 255, .25);
}

.hero {
  min-height: calc(100vh - 70px); display: grid; align-items: center;
  padding: 82px 0 72px; overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(49, 214, 192, .12), transparent 30%),
    radial-gradient(circle at 85% 22%, rgba(22, 119, 255, .14), transparent 35%),
    linear-gradient(180deg, #f2f8ff 0%, #fff 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  color: var(--blue-dark); font-size: 13px; font-weight: 750; letter-spacing: .04em;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(49, 214, 192, .13); }
h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.35rem); line-height: .98; letter-spacing: -.065em; }
h1 span { color: var(--blue); }
.hero-copy > p { max-width: 610px; margin: 26px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.trust span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #55636c; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 650; }

.app-preview {
  position: relative; padding: 20px; border: 1px solid rgba(255,255,255,.9);
  border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.app-preview::before {
  content: ""; position: absolute; inset: -45px; z-index: -1;
  border-radius: 50%; background: rgba(22, 119, 255, .08); filter: blur(15px);
}
.window { overflow: hidden; border: 1px solid #d9e2e7; border-radius: 14px; background: white; }
.window-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 13px; border-bottom: 1px solid var(--line); background: #f6f8f9; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ccd5da; }
.window-body { display: grid; grid-template-columns: 120px 1fr; min-height: 360px; }
.mock-side { padding: 16px 10px; border-right: 1px solid var(--line); background: #f4f6f6; }
.mock-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 21px; font-size: 9px; font-weight: 760; }
.mock-brand img { width: 24px; height: 24px; }
.mock-nav { height: 20px; margin: 7px 0; border-radius: 5px; background: #e8ecee; }
.mock-nav.active { background: #dcecff; }
.mock-main { padding: 20px; }
.mock-head { width: 44%; height: 18px; margin-bottom: 20px; border-radius: 5px; background: #23313a; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mock-stat { height: 62px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfb; }
.mock-title { width: 32%; height: 10px; margin: 20px 0 10px; border-radius: 4px; background: #9aa7ae; }
.mock-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.mock-card { height: 115px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mock-printer { width: 34px; height: 30px; border-radius: 6px; background: linear-gradient(#edf5ff, #d9eaff); }
.mock-line { height: 7px; margin-top: 13px; border-radius: 4px; background: #e5e9eb; }
.mock-line.short { width: 64%; }

.section { padding: 104px 0; }
.section.tint { background: var(--surface); }
.section-head { max-width: 690px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.045em; }
.section-head p { margin: 15px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 28px rgba(23, 32, 40, .045); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-size: 20px; }
.feature h3 { margin: 0 0 9px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step { text-align: center; }
.step b { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 9px 20px rgba(22,119,255,.22); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.faq { max-width: 820px; margin: 0 auto; }
details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 13px; background: white; }
summary { padding: 18px 20px; cursor: pointer; font-weight: 700; }
details p { margin: 0; padding: 0 20px 19px; color: var(--muted); line-height: 1.7; }
.cta { padding: 44px; border-radius: 22px; color: white; text-align: center; background: linear-gradient(135deg, #258cff, #075dcc); box-shadow: 0 20px 45px rgba(22,119,255,.2); }
.cta h2 { margin: 0; font-size: 32px; }
.cta p { margin: 12px auto 22px; color: rgba(255,255,255,.82); }
.cta .button { border-color: white; }

.footer { padding: 35px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }

.legal-main { padding: 72px 0 110px; background: linear-gradient(180deg, #f5f9ff, white 260px); }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.legal .updated { margin: 16px 0 44px; color: var(--muted); }
.legal section { margin: 34px 0; }
.legal h2 { margin: 0 0 10px; font-size: 21px; }
.legal p, .legal li { color: #53616a; line-height: 1.75; }
.legal li { margin: 7px 0; }
.legal a { color: var(--blue-dark); }

@media (max-width: 820px) {
  .nav-links a:not(.button) { display: none; }
  .hero { min-height: auto; padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .actions, .trust { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 26px, 1120px); }
  .feature-grid { grid-template-columns: 1fr; }
  .app-preview { padding: 10px; }
  .window-body { grid-template-columns: 85px 1fr; min-height: 300px; }
  .mock-stats { grid-template-columns: 1fr; }
  .mock-stat:nth-child(n+2) { display: none; }
  .cta { padding: 34px 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
