: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; }
/* the logo's own colours: white Talk, blue 2, purple Me (as in logo.png and the email signatures) */
.brand b { color: #00b7ff; font-weight: 700; }
.brand i { color: #8546ff; font-style: normal; }
.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); }

/* ---- livelier look: animated gradient, glow, network canvas ---- */
.hero, .pagehead { position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b1646, #1a2f86, #2b55d9, #6a3fd1, #1a2f86);
  background-size: 300% 300%; animation: drift 18s ease-in-out infinite; }
@keyframes drift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
#net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap, .pagehead .wrap { position: relative; z-index: 1; }
.hero h1 span { background: linear-gradient(90deg, #f2b705, #ffd95a, #f2b705); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.btn { transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 20px rgba(242, 183, 5, .35); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(242, 183, 5, .5); }
.btn.ghost { box-shadow: none; }
.card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--royal); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(43, 85, 217, .18); }
.card .num { background: linear-gradient(135deg, var(--royal), #6a3fd1); }

/* the outbound number demo in the hero */
.demo { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px;
  padding: 22px; backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); color: #fff; }
.demo .label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #aebcf5; margin-bottom: 4px; }
.demo .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.demo .row:last-of-type { border-bottom: 0; }
.demo .big { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.demo .place { color: #c9d4ff; font-size: 14px; }
.demo .status { font-size: 19px; color: #c9d4ff; transition: color .3s; }
.demo.picked .status { color: #34d399; }
.demo .number { color: #ffd95a; margin-top: 4px; min-height: 1.3em; opacity: 0; transform: translateY(4px);
  transition: opacity .35s, transform .35s; }
.demo.picked .number { opacity: 1; transform: none; }
.demo .pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #34d399; margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.demo .foot { font-size: 12px; color: #aebcf5; margin-top: 10px; }

/* NumbX logo (How it works, Features, Home) */
.numbx-art { display: flex; align-items: center; justify-content: center; }
img.numbx-logo { display: block; width: 100%; max-width: 480px; height: auto; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 120, 255, .25); }
.card.feat .art.logo-art { background: #050a18; }
.card.feat .art.logo-art img { width: 92%; height: auto; }
.numbx-band { background: #050a18; color: #fff; padding: 48px 0; }
.numbx-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.numbx-band h2 { color: #fff; }
.numbx-band .lead { color: #b9c6ef; }
.numbx-band .btn.ghost { color: #fff; border: 1px solid #3aa0ff; }
@media (max-width: 820px) { .numbx-row { grid-template-columns: 1fr; } }

/* feature card illustrations (Features page) */
.card.feat { padding-top: 0; overflow: hidden; }
.card.feat .art { margin: 0 -22px 16px; height: 130px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--royal) 10%, var(--card)),
                                      color-mix(in srgb, #6a3fd1 14%, var(--card)));
  border-bottom: 1px solid var(--line); }
.card.feat .art svg { width: 82%; max-width: 260px; height: auto; transition: transform .3s ease; }
.card.feat:hover .art svg { transform: scale(1.06); }

/* sample report screens (Reports page) */
.rep { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(15, 31, 92, .08); }
.rep-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.rep-head b { font-size: 18px; }
.rep-head span { color: var(--muted); font-size: 14px; }
.rep-head em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #14204a; background: var(--gold); border-radius: 6px; padding: 2px 8px; }
.rep-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.rep-tiles div { background: var(--tint); border-radius: 12px; padding: 12px 14px; }
.rep-tiles span { display: block; color: var(--muted); font-size: 13px; }
.rep-tiles b { font-size: 26px; font-variant-numeric: tabular-nums; }
.rep-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 0 2px;
  border-bottom: 1px solid var(--line); }
.rep-chart i { flex: 1; height: 4%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #6a3fd1, var(--royal));
  transition: height .9s cubic-bezier(.2, .8, .2, 1); }
.rep-chart i:last-child { background: linear-gradient(180deg, #ffd95a, var(--gold)); }
.rep-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 6px; }
.rep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rep-grid .rep { margin-bottom: 20px; }
.rep-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.rep-table th, .rep-table td { text-align: right; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.rep-table th:first-child, .rep-table td:first-child { text-align: left; }
.rep-table th { color: var(--muted); font-size: 13px; font-weight: 600; }
.rep-table .up { color: #16a34a; font-weight: 700; }
.rep-table tr.total td { font-weight: 700; border-bottom: 0; }
.meter { display: inline-block; width: 60px; height: 6px; background: var(--line); border-radius: 99px; margin-right: 8px;
  vertical-align: middle; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--royal); border-radius: 99px; transition: width .9s ease; }
.usage-wrap { overflow-x: auto; }
.usage { width: 100%; border-collapse: separate; border-spacing: 4px; font-variant-numeric: tabular-nums; font-size: 14px;
  min-width: 520px; }
.usage th { color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.usage th:first-child, .usage td:first-child { text-align: left; white-space: nowrap; padding-right: 10px; }
.usage td:not(:first-child) { text-align: center; border-radius: 6px; padding: 7px 4px; min-width: 46px; }
.u0 { background: var(--tint); color: var(--muted); }
.u1 { background: rgba(43, 85, 217, .18); }
.u2 { background: rgba(43, 85, 217, .38); }
.u3 { background: rgba(43, 85, 217, .62); color: #fff; }
.u4 { background: #2b55d9; color: #fff; }
.usage-key { display: flex; align-items: center; gap: 4px; justify-content: flex-end; color: var(--muted); font-size: 12px;
  margin-top: 10px; }
.usage-key i { display: inline-block; width: 18px; height: 12px; border-radius: 3px; }
.usage-key span { margin: 0 4px; }

/* number counters */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 44px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--royal), #6a3fd1); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.stat span { color: var(--muted); }

/* pricing calculator */
.calc { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc label { display: block; font-weight: 600; margin-bottom: 10px; }
.calc input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--royal) var(--fill, 10%), var(--line) var(--fill, 10%)); outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  border: 3px solid #fff; cursor: pointer; }
.calc .result { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.calc #calc-price { font-size: 36px; font-weight: 800; color: var(--royal); font-variant-numeric: tabular-nums; }

/* scroll reveal (only added by site.js, so pages without JavaScript stay visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero, .pagehead, .hero h1 span, .demo .pulse { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* 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; }
.price .volume { margin: -8px 0 18px; padding: 8px 12px; border-radius: 10px; font-size: 15px;
  background: color-mix(in srgb, #16a34a 14%, var(--card)); color: var(--ink); }
.price .volume b { color: #16a34a; }
#calc-save { color: #16a34a; margin-top: 4px; min-height: 1.2em; }
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, .stats, .rep-grid { grid-template-columns: 1fr; }
  .rep-tiles { grid-template-columns: repeat(2, 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; }
}
.rep-foot { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.rep-table td.warn-cell { color: #f87171; font-weight: 700; }
