:root {
  --navy: #0f1f5c; --ink: #14204a; --royal: #2b55d9; --gold: #f2b705; --crimson: #c8102e;
  --muted: #5d6a8f; --line: #d9deee; --tint: #eef2fd; --bg: #ffffff; --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6eaf7; --muted: #a3acc9; --line: #2a3561; --tint: #141d45; --bg: #0b1233; --card: #111a42; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--royal); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand b { color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav a { color: #dbe3ff; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .login { border: 1px solid #5f78d9; border-radius: 8px; padding: 6px 12px; color: #fff; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #1a2f86 60%, var(--royal) 100%); color: #fff; padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 19px; color: #dbe3ff; margin: 0 0 28px; max-width: 34em; }
.hero .logo { justify-self: center; width: 320px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.btn { display: inline-block; background: var(--gold); color: #14204a; font-weight: 700; text-decoration: none;
       padding: 13px 22px; border-radius: 10px; margin: 0 10px 10px 0; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #8ea2ef; font-weight: 600; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--tint); }
h2 { font-size: 32px; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 34px; max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .num { display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: var(--royal); color: #fff;
             text-align: center; line-height: 34px; font-weight: 700; margin-bottom: 10px; }
.bar { height: 4px; width: 56px; background: var(--gold); border-radius: 2px; margin: 0 0 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
ul.ticks li::before { content: "\2713"; position: absolute; left: 4px; color: var(--royal); font-weight: 700; }
.note { border-left: 4px solid var(--crimson); background: var(--card); padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--muted); }
.cta { text-align: center; }
.cta .bar { margin: 0 auto 16px; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .btn.ghost { color: var(--royal); border-color: var(--royal); }

/* menu: current page */
.nav a.on { color: #fff; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* page header band */
.pagehead { background: linear-gradient(160deg, var(--navy) 0%, #1a2f86 70%, var(--royal) 100%); color: #fff; padding: 48px 0 52px; }
.pagehead h1 { font-size: 40px; margin: 0 0 10px; }
.pagehead p { font-size: 19px; color: #dbe3ff; margin: 0; max-width: 40em; }

/* link cards on the home page */
a.card.link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card.link:hover { border-color: var(--royal); transform: translateY(-2px); }
a.card.link .more { display: inline-block; margin-top: 12px; color: var(--royal); font-weight: 600; font-size: 15px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }

/* pricing */
.price { background: var(--card); border: 2px solid var(--royal); border-radius: 18px; padding: 30px; }
.price .amount { font-size: 64px; font-weight: 800; line-height: 1; color: var(--royal); }
.price .per { font-size: 18px; margin: 8px 0 4px; }
.price .min { display: inline-block; background: var(--gold); color: #14204a; font-weight: 700; border-radius: 8px;
              padding: 4px 12px; margin: 10px 0 18px; }
.price .btn { margin-top: 20px; }
table.examples { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
table.examples th, table.examples td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.examples th { color: var(--muted); font-weight: 600; font-size: 15px; }
.muted, .small { color: var(--muted); }
.small { font-size: 14px; }
ul.ticks.narrow { max-width: 40em; }

/* legal pages */
.doc { max-width: 780px; padding: 48px 20px 64px; margin: 0 auto; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .date { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 30px 0 8px; }

/* footer */
footer { background: var(--navy); color: #b9c4ec; padding: 32px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #dbe3ff; text-decoration: none; margin-right: 16px; }

@media (max-width: 820px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero .logo { width: 220px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .pagehead h1 { font-size: 32px; }
  /* phones: the menu becomes a scrolling row under the logo */
  .top .wrap { flex-wrap: wrap; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
}
