* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand: #3D85C6; --brand-dark: #2F6EA8; --ink: #16233b; --soft: #5b6b82;
  --line: #e3e9f1; --bg: #f6f8fb; --ok: #16a34a;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }

.nav { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); z-index: 50; }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 62px;
  display: flex; align-items: center; gap: 26px; }
.nav .logo img { height: 34px; display: block; }
.nav a.link { color: var(--soft); font-size: 14.5px; font-weight: 500; }
.nav a.link:hover { color: var(--ink); }
.nav a.link.on { color: var(--brand); font-weight: 600; position: relative; }
.nav a.link.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -21px;
  height: 2.5px; background: var(--brand); border-radius: 2px; }
.nav .spacer { flex: 1; }

.btn { display: inline-block; background: linear-gradient(180deg, #4A94D6, var(--brand));
  color: #fff; border: none; border-radius: 10px; padding: 12px 24px; font-size: 15px;
  font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(61,133,198,.3);
  transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(61,133,198,.35); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn.big { padding: 15px 32px; font-size: 16.5px; }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
/* 84px of nothing under a sticky nav pushed the first real thing on every
   page below the fold on a laptop. The space was doing no work: the nav
   already separates itself with a border. */
.hero { text-align: center; padding: 44px 0 40px; }
.hero h1 { font-size: 46px; line-height: 1.15; letter-spacing: -1px; max-width: 820px;
  margin: 0 auto 18px; text-wrap: balance; }
.hero h1 em { color: var(--brand); font-style: normal; white-space: nowrap; }
.hero p.sub { font-size: 19px; color: var(--soft); max-width: 660px; margin: 0 auto 34px; text-wrap: pretty; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13.5px; color: var(--soft); }

/* Asymmetric on purpose. Space above the first heading is dead - the nav is
   right there - while space below the last element still separates sections. */
.section { padding: 30px 0 52px; }
.section.alt { background: var(--bg); }
.section h1, .section h2 { font-size: 30px; text-align: center; margin-bottom: 8px; letter-spacing: -.5px; }
.section h2.subhead { font-size: 1.17em; text-align: left; letter-spacing: 0; }
.section p.lead { text-align: center; color: var(--soft); max-width: 620px; margin: 0 auto 26px; }

.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card h2, .card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--soft); }
.card .ico { font-size: 26px; margin-bottom: 12px; }
.legal h2 { font-size: 17px; text-align: left; letter-spacing: 0; }

.price-card { text-align: center; position: relative; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 10px 34px rgba(61,133,198,.14); }
.price-card .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 14px; border-radius: 12px; letter-spacing: .4px; }
.price-card .amount { font-size: 40px; font-weight: 700; margin: 12px 0 2px; }
.price-card .amount small { font-size: 15px; color: var(--soft); font-weight: 400; }
.price-card ul { list-style: none; margin: 18px 0 24px; text-align: left; }
.price-card li { padding: 6px 0 6px 26px; font-size: 14px; color: var(--soft);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2316a34a' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 3.929a1 1 0 0 1 0 1.414l-6.364 6.364a1 1 0 0 1-1.414 0L2.515 8.515A1 1 0 1 1 3.93 7.1l2.485 2.485 5.657-5.657a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat left center; }

label { display: block; font-size: 13px; font-weight: 600; color: #43536b; margin: 14px 0 6px; }
/* Text fields fill their row. A radio or a checkbox is not a text field, and
   this rule used to hit them too - a 100% wide, 12px padded, bordered radio
   button, which is why the payment options rendered as four big empty boxes
   with the label squeezed out past the edge of the card. */
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d5dde8; border-radius: 9px;
  font-size: 14.5px; font-family: inherit; }
input[type="radio"], input[type="checkbox"] {
  width: 16px; height: 16px; flex: none; accent-color: var(--brand); cursor: pointer; }
input:not([type="radio"]):not([type="checkbox"]):focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(61,133,198,.12); }
.msg { display: none; padding: 11px 14px; border-radius: 9px; font-size: 13.5px; margin-top: 14px; }
.msg.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.msg.ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.auth-box { max-width: 430px; margin: 60px auto; }
/*
 * For a form with more than about four fields.
 *
 * A single 430px column turns seven fields into a page you have to scroll,
 * and a sign-up form where the button is below the fold is a sign-up form
 * people abandon. Two columns and a wider box put the whole thing - heading,
 * fields, spam check and button - on one screen at 768px tall, which is the
 * shortest laptop still in shops.
 */
.auth-box.wide { max-width: 760px; margin: 34px auto; }
.auth-box.wide label { margin: 10px 0 5px; }
.auth-box.wide input, .auth-box.wide select { padding: 10px 13px; }
.auth-box.wide .card { padding: 22px 26px; }
@media (max-width: 620px) {
  /* One column again on a phone, where two would be two half-width fields. */
  .auth-box.wide .grid.c2 { grid-template-columns: 1fr; gap: 0; }
}
.muted { color: var(--soft); font-size: 13.5px; }
.center { text-align: center; }

.toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 4px; gap: 4px; }
.toggle button { border: none; background: none; padding: 8px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer; color: var(--soft); }
.toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }

/* Payment methods. Whole rows are clickable, because a bare radio button is a
   small target on a phone and this is the last step before someone pays. */
.paylist { display: grid; gap: 8px; margin-top: 8px; }
.payopt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.payopt:hover { border-color: var(--brand); }
.payopt input { margin-top: 2px; }
/* min-width:0 so a long line wraps inside the card instead of pushing the
   text out past its border. */
.payopt span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.payopt b { font-size: 14.5px; font-weight: 600; color: var(--ink, #1e293b); }
.payopt small { color: var(--soft); font-size: 13px; margin-top: 2px; }
.payopt:has(input:checked) { border-color: var(--brand); background: #f6f9ff; }

.payblock { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.payblock > b { display: block; margin-bottom: 10px; }
.qrwrap { display: flex; justify-content: center; padding: 10px 0; }
.qrwrap svg { width: 220px; height: 220px; }
.paytable { width: 100%; border-collapse: collapse; font-size: 14px; }
.paytable td { padding: 6px 0; vertical-align: top; }
.paytable td:first-child { color: var(--soft); width: 45%; }

/* Outlet count. Built from the same tokens as .toggle so it reads as part of
   the page rather than a control borrowed from somewhere else. */
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { border: none; background: var(--bg); width: 42px; font-size: 20px;
  line-height: 1; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #eef1f6; }
.stepper button:active { background: #e4e8f0; }
.stepper input { border: none; width: 72px; text-align: center; font-size: 16px;
  font-weight: 600; color: var(--ink); background: #fff; }
.stepper input:focus { outline: none; }
/* The native spinners duplicate the buttons either side of them. */
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type=number] { -moz-appearance: textfield; appearance: textfield; }

.footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 40px; }
.footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.footer a { color: var(--soft); font-size: 13.5px; display: block; padding: 3px 0; }
.footer .brand-line { font-size: 13px; color: var(--soft); margin-top: 18px; }
.footer .brand-line a { display: inline; padding: 0; }

code.snippet { display: block; background: #0f172a; color: #d7e3f4; padding: 16px 18px;
  border-radius: 10px; font-size: 13px; overflow-x: auto; white-space: pre; font-family: Consolas, monospace; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero h1 em { white-space: normal; }
  .nav a.link.optional { display: none; }
}

.cookiebar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #0f172a;
  color: #d7e3f4; font-size: 13.5px; padding: 12px 20px; display: flex; gap: 16px;
  align-items: center; justify-content: center; flex-wrap: wrap; }
.cookiebar a { color: #9cc3ec; }
.cookiebar-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* Corporate trust elements */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; padding: 18px 0; }
.trustbar .items { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px 26px; font-size: 13px; color: var(--soft); }
.trustbar .items > span { flex: 1 1 auto; text-align: center; white-space: nowrap; }
@media (max-width: 900px) { .trustbar .items { justify-content: center; } }
.trustbar b { color: var(--ink); font-weight: 650; }
.stat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 8px; }
.stat { text-align: center; }
.stat .n { font-size: 32px; font-weight: 700; color: var(--brand); letter-spacing: -.5px; }
.stat .l { font-size: 13.5px; color: var(--soft); }

/* Generated SEO pages */
.seo-hero { padding-top: 46px; }
.seo-hero h1 { font-size: 38px; line-height: 1.18; text-align: center; max-width: 860px;
  margin: 10px auto 16px; text-wrap: balance; }
.seo-hero .lead { font-size: 18px; max-width: 760px; }
.eyebrow { text-align: center; color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; color: var(--soft); font-size: 13px; margin-bottom: 16px; }
.breadcrumbs a { color: var(--soft); }
.breadcrumbs a:hover { color: var(--brand); }
.seo-narrow { max-width: 860px; }
.seo-card-grid { margin-top: 24px; }
.seo-steps { counter-reset: step; list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.seo-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px 18px 56px; color: var(--soft); font-size: 14.5px; }
.seo-steps li::before { counter-increment: step; content: counter(step); position: absolute;
  left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 999px; background: var(--brand);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.faq-list { display: grid; gap: 14px; margin-top: 22px; }
.seo-link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px; margin-top: 24px; }
.seo-link-grid a { display: block; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 12px 14px; color: var(--ink); font-size: 14px; font-weight: 600; }
.seo-link-grid a:hover { border-color: var(--brand); color: var(--brand); }
.guide-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 24px; }
.guide-list { padding-left: 18px; color: var(--soft); font-size: 14.5px; }
.guide-list li { margin: 8px 0; }
.flow-diagram { display: grid; gap: 12px; margin-top: 24px; }
.flow-node { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 16px; }
.flow-node .tag { color: var(--brand); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.flow-node h3 { font-size: 16px; margin-bottom: 4px; }
.flow-node p { color: var(--soft); font-size: 14.5px; }
.flow-connector { width: 2px; height: 18px; background: var(--line); margin-left: 42px; }
.operator-view { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-top: 24px; }
.seo-note { border-top: 1px solid var(--line); padding-top: 22px; }
.seo-note h2 { font-size: 22px; margin-bottom: 8px; }
.seo-note p { color: var(--soft); font-size: 14.5px; }
.seo-note-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.seo-note-links a { color: var(--brand); font-weight: 700; }
.seo-note-links span { color: var(--line); }
.proof-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 24px auto 0; max-width: 860px; }
.proof-strip span { border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; color: var(--soft); font-size: 13.5px; }
.proof-strip b { color: var(--ink); }
.table-wrap { width: 100%; overflow-x: auto; margin-top: 24px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.comparison-table caption { text-align: left; padding: 12px 14px; color: var(--soft);
  font-size: 13px; border-bottom: 1px solid var(--line); }
.comparison-table th, .comparison-table td { text-align: left; vertical-align: top;
  padding: 14px 16px; border-bottom: 1px solid var(--line); }
.comparison-table th { background: var(--bg); color: var(--ink); font-weight: 700; }
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table td:first-child { color: var(--ink); font-weight: 650; }
.score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 24px; }
.score-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 18px;
  background: #fff; display: flex; gap: 14px; align-items: flex-start; }
.score-grid b { display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; color: #fff; background: var(--brand); flex: none; }
.score-grid span { color: var(--soft); font-size: 14px; }
.source-list { display: grid; gap: 10px; margin-top: 22px; }
.source-list a { display: block; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: 12px 14px; font-weight: 650; color: var(--ink); }
.source-list a:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 640px) {
  .seo-hero h1 { font-size: 30px; }
  .seo-hero .lead { font-size: 16px; }
  .flow-node { grid-template-columns: 1fr; }
  .flow-connector { margin-left: 20px; }
  .proof-strip { justify-content: flex-start; }
}
