:root {
  --blue: #0284c7;
  --blue-dark: #075985;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f4f7fb;
  --card: #ffffff;
  --red: #dc2626;
  --green: #059669;
  --sans: "Manrope", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: white; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 700; font-size: 0.94rem; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 12px; font-weight: 700; }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding: 56px 0 28px;
}
.kicker { margin: 0 0 12px; color: var(--blue-dark); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0 0 14px; font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.045em; }
h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.15; }
h3 { margin: 0 0 6px; font-size: 1.05rem; }
.lede { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 16px; font-weight: 800; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-line { background: white; border-color: var(--line); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pills li { background: white; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 0.82rem; font-weight: 700; }

.phone { width: min(340px, 100%); margin-left: auto; background: #0f172a; border-radius: 40px; padding: 12px; box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18); }
.screen { background: #f8fafc; border-radius: 30px; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; color: #0f172a; }
.status { display: flex; justify-content: space-between; padding: 10px 16px 0; font-size: 11px; font-weight: 800; color: #334155; }
.appbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; background: white; border-bottom: 1px solid #e2e8f0; font-weight: 800; }
.hamb { width: 32px; height: 32px; border-radius: 10px; background: #f1f5f9; display: grid; place-items: center; font-weight: 700; }
.body { padding: 12px; display: grid; gap: 8px; align-content: start; font-size: 13px; }
.summary { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 12px; }
.summary .cap { margin: 0 0 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nums span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.nums strong { font-size: 22px; letter-spacing: -0.03em; }
.due span, .due strong { color: var(--red); }
.got span, .got strong { color: var(--green); }
.meter { height: 7px; background: #e2e8f0; border-radius: 99px; margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 28%; background: var(--green); }
.hint { margin: 6px 0 0; color: #64748b; font-size: 11px; font-weight: 650; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles div { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 8px 10px; }
.tiles span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #64748b; }
.tiles b { font-size: 18px; }
.sec { margin: 2px 2px 0; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #334155; }
.flag { color: var(--red); background: #fef2f2; border-radius: 99px; padding: 2px 6px; letter-spacing: 0; }
.row { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 10px; display: flex; gap: 8px; align-items: center; }
.row.late { background: #fff7f7; border-color: #fecaca; }
.row.amber { background: #fffbeb; border-color: #fde68a; }
.av { width: 34px; height: 34px; border-radius: 10px; background: #e0f2fe; color: var(--blue-dark); display: grid; place-items: center; font-weight: 800; flex: none; }
.row.late .av { background: #fee2e2; color: var(--red); }
.mid { flex: 1; min-width: 0; }
.mid b { display: block; font-size: 13px; }
.mid small { color: #64748b; }
.tag { display: inline-block; border-radius: 99px; padding: 1px 6px; font-size: 10px; font-weight: 800; border: 1px solid; }
.tag.d { color: #075985; background: #f0f9ff; border-color: #bae6fd; }
.tag.w { color: #5b21b6; background: #f5f3ff; border-color: #ddd6fe; }
.tag.m { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.amt { text-align: right; font-weight: 800; }
.login-screen { background: linear-gradient(180deg, #0ea5e9, #0369a1); }
.login-card { background: white; border-radius: 18px; padding: 18px; margin: 28px 12px; text-align: center; }
.login-card strong { display: block; font-size: 26px; letter-spacing: -0.04em; }
.login-card .sub { color: #64748b; font-size: 13px; margin: 4px 0 16px; }
.field { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; font-weight: 800; letter-spacing: 0.14em; margin: 8px 0; }
.go { display: block; background: var(--blue); color: white; border-radius: 12px; padding: 12px; font-weight: 800; margin-top: 8px; }

.section { padding: 64px 0; }
.section .lede { margin-bottom: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.card p, .card li { color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.card li { margin: 5px 0; }
.num { width: 28px; height: 28px; border-radius: 8px; background: #e0f2fe; color: var(--blue-dark); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-bottom: 10px; }

.gallery { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; margin: 0 0 56px; }
.gallery.flip { grid-template-columns: 1fr 340px; }
.gallery.flip .phone { margin-left: 0; margin-right: auto; }
.gallery p { color: var(--muted); }
.path { display: inline-block; margin-bottom: 8px; color: var(--blue-dark); background: #e0f2fe; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 800; }

table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.92rem; }
th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: #f8fafc; }
.yes { color: var(--green); font-weight: 800; }
.no { color: #94a3b8; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.plan.main { border-color: var(--blue); box-shadow: 0 16px 40px rgba(2, 132, 199, 0.12); }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0; }
.price span { font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.plan ul { margin: 8px 0 0; padding: 0; list-style: none; }
.plan li { position: relative; padding: 7px 0 7px 16px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.billing { display: inline-flex; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 16px 0 18px; }
.billing button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font-weight: 800; color: var(--muted); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--ink); color: white; }
.mark { display: inline-block; margin-left: 8px; background: #e0f2fe; color: var(--blue-dark); border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--ink); font-weight: 700; margin-right: 14px; }

@media (max-width: 900px) {
  .hero, .grid-3, .grid-2, .plans, .gallery, .gallery.flip { grid-template-columns: 1fr; }
  .phone, .gallery.flip .phone { margin: 0 auto; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 64px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px; flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
