/* debugcentral.in
   Design read: trust-first commerce for small-business owners, mostly on phones.
   Dials: variance 4, motion 3, density 4. One accent (red). Light and dark follow the system.
   Radius rule: 6px for controls and small panels, 14px for large grouped panels, nothing pill-shaped. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --wash: #f3f4f6;
  --text: #1b1f2a;
  --text-soft: #4a4f5c;
  --muted: #646873;
  --line: #e3e5e9;
  --accent: #e03020;
  --accent-strong: #b01010;
  --link: #b01010;
  --pick: #fff5f2;
  --ok: #1d7a46;
  --shadow: 0 18px 40px -24px rgba(27, 31, 42, .35);
  --foot-bg: #1b1f2a;
  --foot-text: #c9ccd4;
  --foot-line: #343a48;
  --r-sm: 6px;
  --r-lg: 14px;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151c;
    --surface: #1a1e27;
    --wash: #171a22;
    --text: #eceef2;
    --text-soft: #c0c4cd;
    --muted: #9a9ea8;
    --line: #2c313c;
    --link: #ff9a84;
    --pick: #241a1b;
    --ok: #5fcf8e;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
    --foot-bg: #0c0e13;
    --foot-line: #262a33;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 66ch; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 700; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.nav .wa { background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: var(--r-sm); }
.nav .wa:hover { background: var(--accent-strong); color: #fff; }
.nav-links { display: flex; align-items: center; gap: 22px; }
@media (max-width: 860px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; }
  .nav { display: contents; }
  .nav-links { order: 3; flex-basis: 100%; gap: 20px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
}
@media (max-width: 720px) {
  .brand img { height: 32px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--body); white-space: nowrap;
  padding: 15px 22px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .1s ease;
}
.btn { min-height: 44px; }
.btn:hover { background: var(--accent-strong); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--bg); }

/* Hero */
.hero { padding: 64px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .45em; }
.hero .lede { font-size: 1.2rem; color: var(--text-soft); max-width: 46ch; margin-top: 4px; }
.search { margin-top: 28px; }
.search label { display: block; font-weight: 700; margin-bottom: 8px; }
.search-row { display: flex; border: 2px solid var(--text); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.search-row input {
  flex: 1; min-width: 0; border: 0; padding: 16px; font: 1.15rem var(--body); color: var(--text); background: transparent;
}
.search-row input::placeholder { color: var(--muted); opacity: 1; }
.search-row input:focus { outline: none; }
.search-row:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent); }
.search-row .btn { border-radius: 0; }
.search .hint { color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* The receipt: the one memorable element */
.receipt {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  padding: 26px 26px 34px;
  box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
}
.receipt::after {
  /* torn paper edge */
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -11px; height: 12px;
  background:
    linear-gradient(-45deg, transparent 8px, var(--surface) 0) 0 0/16px 12px repeat-x,
    linear-gradient(45deg, transparent 8px, var(--surface) 0) 0 0/16px 12px repeat-x;
}
.receipt h2 { font-size: 1.15rem; margin: 0 0 4px; }
.receipt .sub { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.receipt-rows { list-style: none; margin: 0; padding: 0; }
.receipt-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.receipt-rows li span:last-child { font-weight: 700; }
.receipt-total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--text); font-family: var(--head); font-size: 1.3rem; font-weight: 700; }
.receipt .note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.receipt select { min-height: 40px; cursor: pointer; font: 1rem var(--body); color: var(--text); background: var(--surface); padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); }

/* Results */
.results { margin-top: 26px; }
.results[hidden] { display: none; }
.results h2 { font-size: 1.2rem; }
.result-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.result {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.result .name { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.result .status { font-size: .95rem; color: var(--muted); }
.result.yes .status { color: var(--ok); }
.result .price { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.35; }
.result .price small { display: block; color: var(--muted); }
.result .btn { padding: 11px 16px; }
.result.no .btn { visibility: hidden; }
.msg { padding: 14px 16px; border-radius: var(--r-sm); background: var(--wash); }
/* Loading skeleton, same shape as a result row */
.result.skeleton { color: transparent; }
.result.skeleton .bar { display: block; height: 14px; border-radius: 4px; background: var(--wash); }
.result.skeleton .bar + .bar { margin-top: 8px; width: 40%; }
.result.skeleton .bar.wide { width: 70%; }
.result.skeleton .price-bar { width: 120px; }
.result.skeleton .pill { width: 72px; height: 40px; border-radius: var(--r-sm); background: var(--wash); }
@media (prefers-reduced-motion: no-preference) {
  .result.skeleton .bar, .result.skeleton .pill { animation: pulse 1.2s ease-in-out infinite alternate; }
  @keyframes pulse { from { opacity: 1; } to { opacity: .45; } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 560px) {
  .result { grid-template-columns: 1fr auto; row-gap: 8px; }
  .result > div:first-child { grid-column: 1 / -1; }
  .result .price { text-align: left; }
  .result.no .btn { display: none; }
}

/* Proof: real customers, directly under the hero */
.proof { border-top: 1px solid var(--line); padding: 36px 0 40px; }
.proof-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.proof-count { margin: 0; font-size: 1.05rem; color: var(--text-soft); max-width: 22ch; }
.proof-count strong { display: block; font: 700 clamp(2.4rem, 5vw, 3.4rem)/1 var(--head); color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; white-space: nowrap; }
.proof h2 { font-size: 1rem; font-family: var(--body); color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proof-list li { border-left: 3px solid var(--accent); padding-left: 14px; }
.proof-list a { display: block; font: 700 1.2rem/1.25 var(--head); color: var(--text); text-decoration: none; }
.proof-list a:hover { color: var(--accent); text-decoration: underline; }
.proof-list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr; gap: 24px; }
  .proof-list { grid-template-columns: 1fr; gap: 14px; }
}

/* Sections */
.band { padding: 76px 0 84px; }
.band.wash { background: var(--wash); }
.intro { max-width: 60ch; margin-bottom: 36px; }
.intro p { color: var(--text-soft); }

/* Reasons: the setup promise leads, the other two support it */
.reasons { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 64px; }
.reasons > div { border-top: 1px solid var(--line); padding-top: 18px; }
.reasons p { color: var(--text-soft); }
.reasons .lead { grid-row: span 2; border-top: 3px solid var(--accent); }
.reasons .lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.reasons .lead p { font-size: 1.15rem; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } .reasons .lead { grid-row: auto; } }

/* How it works: heading on the left, the sequence on the right */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); grid-row: span 2; font: 700 2.2rem/1 var(--head); color: var(--accent); }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--text-soft); margin: 0; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; gap: 20px; } }

/* Transfer */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.split .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Bundles */
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.bundle { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.bundle:last-child { border-right: 0; }
.bundle.pick { background: var(--pick); box-shadow: inset 0 3px 0 var(--accent); }
.bundle .for { color: var(--muted); margin-bottom: 14px; }
.bundle ul { margin: 0 0 20px; padding-left: 1.1em; }
.bundle li { margin-bottom: 6px; }
.bundle .from { font-family: var(--head); font-size: 1.5rem; font-weight: 700; margin-top: auto; }
.bundle .from.ask { font-size: 1.15rem; }
.bundle .from small { font: 400 .95rem var(--body); color: var(--muted); }
.bundle .btn { margin-top: 14px; align-self: start; }
@media (max-width: 860px) {
  .bundles { grid-template-columns: 1fr; }
  .bundle { border-right: 0; border-bottom: 1px solid var(--line); }
  .bundle:last-child { border-bottom: 0; }
}

/* Prices table */
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--surface); }
.price-table th, .price-table td { text-align: right; padding: 12px 14px; }
.price-table tbody tr + tr td { border-top: 1px solid var(--line); }
.price-table th:first-child, .price-table td:first-child { text-align: left; font-weight: 700; }
.price-table thead th { font-family: var(--head); font-size: 1rem; border-bottom: 2px solid var(--text); }
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); }
.fineprint { color: var(--muted); font-size: .92rem; margin-top: 12px; }
@media (max-width: 560px) {
  .price-table th, .price-table td { padding: 10px 8px; font-size: .95rem; }
}

/* Footer */
.site-foot { background: var(--foot-bg); color: var(--foot-text); padding: 48px 0 32px; }
.site-foot img { height: 34px; width: auto; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h3 { color: #fff; font-size: 1rem; }
.site-foot a { color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.legal { border-top: 1px solid var(--foot-line); margin-top: 32px; padding-top: 18px; font-size: .9rem; }
.legal.solo { border-top: 0; margin-top: 0; padding-top: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* About and 404 */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Product pages */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 20ch; }
.page-head .lede { font-size: 1.15rem; color: var(--text-soft); max-width: 56ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; }
.jump a { font-weight: 700; }
.product { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; }
.product .intro { margin-bottom: 24px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.plan { padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan.pick { background: var(--pick); box-shadow: inset 0 3px 0 var(--accent); }
.plan .tag { font-size: .9rem; font-weight: 700; color: var(--accent-strong); margin: 0 0 6px; }
.plan h3 { margin-bottom: .2em; }
.plan .for { color: var(--muted); margin-bottom: 12px; font-size: .97rem; }
.plan ul { margin: 0 0 18px; padding-left: 1.1em; }
.plan li { margin-bottom: 5px; }
.price { margin-top: auto; font-variant-numeric: tabular-nums; }
.price .amt { font: 700 1.6rem/1.1 var(--head); }
.price .unit { color: var(--muted); font-size: .95rem; }
.price .sub { display: block; color: var(--text-soft); font-size: .93rem; margin-top: 4px; }
.price .renew { display: block; color: var(--muted); font-size: .93rem; }
.plan .actions { margin-top: 14px; }
.plan .btn { align-self: start; }
.buy { margin-top: 14px; }
.buy summary { list-style: none; }
.buy summary::-webkit-details-marker { display: none; }
.buy[open] summary { display: none; }
.buy form { display: grid; gap: 10px; }
.buy label { font-weight: 700; font-size: .95rem; }
.buy input { width: 100%; font: 1rem var(--body); color: var(--text); background: var(--bg); padding: 10px 12px; border: 2px solid var(--text); border-radius: var(--r-sm); min-height: 44px; }
.buy .row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: end; }
.note { color: var(--text-soft); max-width: 66ch; margin-top: 18px; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
}
