:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --green: #10b981;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* header */
.top { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--blue); }
.nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }

/* hero */
.hero { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 45%, #10b981 100%); color: #fff; padding: 84px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.02em; }
.hero p { font-size: 20px; opacity: .95; margin: 0 0 28px; max-width: 34em; }
.hero .icon { justify-self: center; width: 240px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.25)); }
.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; margin: 0 10px 10px 0; }
.btn.white { background: #fff; color: var(--blue-dark); }
.btn.ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn.blue { background: var(--blue); color: #fff; }
.note { font-size: 14px; opacity: .85; }

/* sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 10px; letter-spacing: -.01em; text-align: center; }
section .lead { color: var(--muted); text-align: center; max-width: 40em; margin: 0 auto 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 18px rgba(15,23,42,.04); }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: #eff6ff; }
.dot.g { background: #ecfdf5; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { text-align: center; }
.plan .price { font-size: 34px; font-weight: 800; margin: 6px 0 0; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan .seats { font-weight: 700; color: var(--green); margin-top: 8px; }
.plan.pop { border: 2px solid var(--blue); }
.small { font-size: 14px; color: var(--muted); text-align: center; margin-top: 22px; }

/* documents */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 22px 80px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -.01em; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; text-align: left; }
.doc h3 { font-size: 18px; margin: 22px 0 4px; }
.doc li { margin: 4px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #f1f5f9; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p, .faq details ol, .faq details ul { color: var(--muted); }

/* footer */
footer { background: var(--ink); color: #cbd5e1; padding: 36px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer a { color: #e2e8f0; text-decoration: none; margin-right: 18px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .icon { width: 170px; order: -1; }
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .nav a { margin-left: 14px; }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
  .nav a.hide-sm { display: none; }
}
