/* ValuBids — the pages a visitor sees before they are a customer.
   Deliberately separate from the application's stylesheet. Someone reading the
   pricing page should not have to download a mapping library first. */

:root {
  --navy:      #004263;
  --navy-deep: #00304a;
  --teal:      #008990;
  --teal-lift: #00a3ab;
  --ink:       #0f172a;
  --body:      #334155;
  --muted:     #64748b;
  --line:      #e2e8f0;
  --panel:     #f1f5f9;
  --panel-2:   #d7e0e9;
  --white:     #ffffff;
  --radius:    10px;
  --measure:   68rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--teal); }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 34rem; }

/* ── Header ──────────────────────────────────────────────────────── */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 40;
}
.site-head .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.site-head img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  color: var(--body); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.site-nav a:hover { color: var(--navy); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9375rem; line-height: 1;
  padding: 0.75rem 1.375rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.btn-primary  { background: var(--navy); color: #fff; }
.btn-primary:hover  { background: var(--navy-deep); }
.btn-teal     { background: var(--teal); color: #fff; }
.btn-teal:hover     { background: var(--teal-lift); }
.btn-quiet    { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-quiet:hover    { border-color: var(--panel-2); background: var(--panel); }
.btn-block    { width: 100%; padding: 0.8125rem 1rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Type ────────────────────────────────────────────────────────── */
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: 2.75rem; letter-spacing: -0.022em; font-weight: 700; }
h2 { font-size: 1.875rem; letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 1.0625rem; font-weight: 650; }
.lede  { font-size: 1.1875rem; color: var(--body); max-width: 40rem; }
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.625rem;
}

/* ── Sections ────────────────────────────────────────────────────── */
.hero { padding: 5rem 0 4.5rem; }
.hero h1 { max-width: 22ch; }
.hero .lede { margin: 1.25rem 0 2rem; }
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.875rem; color: var(--muted); margin-top: 1.125rem; }

.band { background: var(--panel); border-block: 1px solid var(--line); padding: 4.5rem 0; }
.band-deep { background: var(--navy); color: #cbd5e1; border: 0; }
.band-deep h2 { color: #fff; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

.feature h3 { margin-bottom: 0.375rem; }
.feature p  { margin: 0; font-size: 0.9375rem; }
.feature .ico {
  width: 38px; height: 38px; border-radius: 9px; background: #e6f4f5;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.875rem; color: var(--teal);
}
.feature .ico svg { width: 20px; height: 20px; }

/* ── Pricing ─────────────────────────────────────────────────────── */
.toggle {
  display: inline-flex; background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; gap: 2px; margin: 0 auto 0.75rem;
}
.toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 600;
  font-size: 0.875rem; padding: 0.5rem 1.125rem; border-radius: 999px;
  cursor: pointer; color: var(--muted);
}
.toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem;
  background: #fff; display: flex; flex-direction: column; height: 100%;
}
.plan.is-core { border-color: var(--navy); border-width: 2px; padding: 1.6875rem; }
.plan-flag {
  display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: #fff; background: var(--navy);
  padding: 0.1875rem 0.5rem; border-radius: 4px; margin-bottom: 0.75rem;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.plan .who { font-size: 0.8125rem; color: var(--muted); margin: 0 0 1.25rem; }
.price { display: flex; align-items: baseline; gap: 0.375rem; margin-bottom: 0.25rem; }
.price .amt { font-size: 2.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price .per { font-size: 0.9375rem; color: var(--muted); }
.price-alt { font-size: 0.8125rem; color: var(--muted); min-height: 1.4em; margin-bottom: 1.25rem; }
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: 0.9375rem; }
.plan li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem;
  width: 0.5rem; height: 0.28rem; border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.bundle {
  margin-top: 2rem; border: 1px solid var(--panel-2); background: var(--panel);
  border-radius: 14px; padding: 1.5rem 1.75rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.bundle .save { font-size: 1.75rem; font-weight: 700; color: var(--navy); line-height: 1; }

table.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
table.compare th, table.compare td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
table.compare th { font-weight: 650; color: var(--ink); }
table.compare td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Auth cards ──────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--panel);
}
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.auth-card {
  width: 100%; max-width: 26rem; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 2rem; box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.auth-card.wide { max-width: 32rem; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 0.375rem; }
.auth-card .sub { font-size: 0.9375rem; color: var(--muted); margin: 0 0 1.75rem; }
.auth-logo { display: block; height: 34px; margin: 0 auto 1.75rem; }

.field { margin-bottom: 1.125rem; }
.field label {
  display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink);
  margin-bottom: 0.375rem;
}
.field input {
  width: 100%; font: inherit; font-size: 0.9375rem; padding: 0.625rem 0.75rem;
  border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,137,144,0.15);
}
.field .hint { font-size: 0.8125rem; color: var(--muted); margin-top: 0.375rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }

.consent {
  display: flex; gap: 0.625rem; align-items: flex-start;
  font-size: 0.875rem; color: var(--body); line-height: 1.5;
  margin: 1.25rem 0 1.5rem;
}
.consent input { margin-top: 0.2rem; width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--navy); }

.auth-foot { text-align: center; font-size: 0.875rem; color: var(--muted); margin-top: 1.5rem; }

.notice {
  border-radius: 8px; padding: 0.75rem 0.875rem; font-size: 0.875rem;
  margin-bottom: 1.25rem; line-height: 1.5;
}
.notice-warn { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: 0.875rem;
  color: var(--muted); background: #fff;
}
.site-foot .wrap { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--navy); text-decoration: underline; }
.site-foot .right { margin-left: auto; display: flex; gap: 1.5rem; }

/* ── Narrow screens ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.5rem; }
  .grid-3, .grid-2, .plans { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .site-nav { gap: 1rem; }
  .site-nav .hide-sm { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── The rebuilt homepage ────────────────────────────────────────── */

/* Sign in reads as a button. Customers come back far more often than they
   sign up, and hunting for the way in is the first thing a returning user
   should never have to do. It stays quieter than the trial button, which is
   what a visitor who is not yet a customer should press. */
.btn-outline { background: #fff; color: var(--navy); border-color: var(--panel-2); }
.btn-outline:hover { border-color: var(--navy); background: var(--panel); }
.btn-lg { padding: 0.875rem 1.625rem; font-size: 1rem; }
.site-nav .btn { padding: 0.5rem 0.9375rem; font-size: 0.875rem; }

/* Hero: words on the left, the thing itself on the right. */
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 3.25rem; align-items: center;
}
.hero-grid h1 { max-width: 16ch; }
.hero-grid .lede { margin: 1rem 0 1.25rem; }

.ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.ticks li {
  position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.75rem; height: 0.4rem;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* An illustration of the grid rather than a screenshot of anybody's library.
   Drawn rather than photographed so it stays sharp at any size and carries no
   firm's confirmed sales. */
.shot {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 18px 40px -24px rgba(0, 66, 99, 0.45);
}
.shot-bar {
  display: flex; gap: 0.375rem; align-items: center;
  padding: 0.625rem 0.875rem; background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.shot-bar span {
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--panel-2);
}
.shot-body { padding: 0.25rem 0 0; }
.shot-row {
  display: grid; grid-template-columns: 2.25rem 1fr 4rem 6rem 5rem;
  gap: 0.5rem; align-items: center;
  padding: 0.5rem 0.875rem; font-size: 0.8125rem;
  border-bottom: 1px solid var(--line);
}
.shot-row:last-of-type { border-bottom: 0; }
.shot-head {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); background: #fbfcfd;
}
.shot-row b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.375rem; height: 1.375rem; border-radius: 6px;
  background: var(--navy); color: #fff; font-size: 0.75rem;
}
.shot-row i { display: block; font-style: normal; color: var(--muted); font-size: 0.6875rem; }
.shot-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.shot-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0.875rem; background: var(--panel);
  border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted);
}
.shot-foot .pill {
  background: var(--teal); color: #fff; font-weight: 600;
  padding: 0.3125rem 0.625rem; border-radius: 6px;
}

/* The credential strip: three facts, stated once. */
.strip { border-block: 1px solid var(--line); background: #fbfcfd; }
.strip-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; padding: 1.5rem 1.5rem;
}
.strip-row div { display: flex; align-items: baseline; gap: 0.625rem; }
.strip-row b { font-size: 1.375rem; color: var(--navy); font-weight: 700; }
.strip-row span { font-size: 0.875rem; color: var(--muted); }

/* The problem, before the features. */
.pain h3 { margin-bottom: 0.375rem; }
.pain p { margin: 0; font-size: 0.9375rem; }
.pain {
  border-left: 3px solid var(--panel-2); padding-left: 1.125rem;
}

/* Prices in brief, for a reader who will not hand over an email address
   before they know the number. */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem;
}
.price-card h3 { font-size: 0.9375rem; margin-bottom: 0.5rem; }
.price-card .amt {
  margin: 0; font-size: 1.625rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em;
}
.price-card .amt span { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.price-card .who { margin: 0.375rem 0 0; font-size: 0.8125rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-grid h1 { max-width: none; }
  .strip-row { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.25rem 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1.75rem 1fr 5rem; }
  .shot-row > :nth-child(3), .shot-row > :nth-child(5) { display: none; }
}
