/* upi.to design system. One file, no framework, no web fonts. Class reference: docs/SITE.md. */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #eeeae1;
  --text: #1c1b18;
  --muted: #5d5a52;
  --border: #dcd6ca;
  --border-strong: #8c8678;
  --accent: #0b6650;
  --accent-hover: #08513f;
  --on-accent: #ffffff;
  --accent-soft: #e2efe9;
  --focus: #0b6650;
  --danger: #a3231b;
  --warn-bg: #fbf0d6;
  --warn-border: #c08a1e;
  --warn-text: #5c3d00;
  --info-bg: #e6eff5;
  --info-border: #7aa3c2;
  --info-text: #173f5c;
  --shadow: 0 1px 2px rgb(40 35 25 / 0.06), 0 4px 16px rgb(40 35 25 / 0.06);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 1rem;
  --measure: 40rem;
  --page: 68rem; /* the wide frame from 64rem up: header, main and footer line up on every page */
  --tap: 44px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #141513;
    --surface: #1c1d1b;
    --surface-2: #262724;
    --text: #ecebe5;
    --muted: #a9a69d;
    --border: #34352f;
    --border-strong: #6f6c63;
    --accent: #6cd2ae;
    --accent-hover: #8fe0c3;
    --on-accent: #0c1f18;
    --accent-soft: #1d3029;
    --focus: #6cd2ae;
    --danger: #ff9b8f;
    --warn-bg: #2e2614;
    --warn-border: #8a6a26;
    --warn-text: #f3d48f;
    --info-bg: #16232d;
    --info-border: #3f6684;
    --info-text: #b9d6ea;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141513;
  --surface: #1c1d1b;
  --surface-2: #262724;
  --text: #ecebe5;
  --muted: #a9a69d;
  --border: #34352f;
  --border-strong: #6f6c63;
  --accent: #6cd2ae;
  --accent-hover: #8fe0c3;
  --on-accent: #0c1f18;
  --accent-soft: #1d3029;
  --focus: #6cd2ae;
  --danger: #ff9b8f;
  --warn-bg: #2e2614;
  --warn-border: #8a6a26;
  --warn-text: #f3d48f;
  --info-bg: #16232d;
  --info-border: #3f6684;
  --info-text: #b9d6ea;
  --shadow: none;
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--font);
  overflow-wrap: break-word;
}
img, svg, canvas { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 650; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; margin-top: 2rem; }
h3 { font-size: 1.05rem; margin-top: 1.5rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }
code { background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
strong { font-weight: 650; }
.code-block {
  display: block; margin: 0 0 1rem; padding: 0.75rem 0.9rem; background: var(--surface-2); border-radius: var(--radius-sm);
  border-left: 3px solid var(--border-strong); font-family: var(--mono); font-size: 0.875rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.code-block code { background: none; padding: 0; font-size: inherit; }
hr { border: 0; border-top: 1px dashed var(--border-strong); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.visually-hidden, .offscreen {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.num, .amount { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.stack > * + * { margin-top: var(--gap); }

/* ---- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 10;
  background: var(--accent); color: var(--on-accent); padding: 0.6rem 1rem; min-height: var(--tap); border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---- Header ------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header-row {
  max-width: calc(var(--measure) + 2rem); margin: 0 auto; padding: 0.5rem 1rem;
  display: flex; align-items: center; gap: 0.75rem; min-height: 60px;
}
.wordmark {
  font-family: var(--mono); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none; padding: 0.5rem 0; margin-right: auto;
  display: inline-flex; align-items: center; min-height: var(--tap);
}
.wordmark-to { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 0.25rem; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li + li { margin-top: 0; }
.nav-link {
  display: flex; align-items: center; min-height: var(--tap); padding: 0 0.75rem;
  color: var(--text); text-decoration: none; border-radius: var(--radius-sm); font-size: 0.95rem;
}
.nav-link:hover { background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--accent); font-weight: 650; text-decoration: underline; text-underline-offset: 0.35em; }

/* Phone: a <details> menu. Works without JavaScript. */
.nav-menu { position: relative; }
.nav-menu-button {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  min-height: var(--tap); padding: 0 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 550; font-size: 0.95rem; user-select: none;
}
.nav-menu-button::-webkit-details-marker { display: none; }
.nav-menu-button::after {
  content: ""; width: 0.45rem; height: 0.45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.nav-menu[open] > .nav-menu-button { background: var(--surface-2); }
.nav-menu[open] > .nav-menu-button::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu-panel {
  position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 20; min-width: 15rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.35rem;
}
.nav-menu-panel .nav-link { padding: 0 0.85rem; }
.nav-inline { display: none; }

@media (min-width: 48rem) {
  .nav-menu { display: none; }
  .nav-inline { display: block; }
  .nav-inline .nav-list { display: flex; gap: 0; }
  .nav-inline .nav-link { padding: 0 0.55rem; font-size: 0.925rem; }
  .wordmark { margin-right: auto; }
}

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--text); cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle[aria-pressed="true"] .theme-toggle-icon { transform: rotate(180deg); }

/* ---- Main column -------------------------------------------------------- */
.site-main {
  flex: 1; width: 100%; max-width: calc(var(--measure) + 2rem); margin: 0 auto; padding: 1.25rem 1rem 3rem;
}
.site-main:focus { outline: none; }
.page-head { margin: 0.5rem 0 1.25rem; }
.page-head h1 { margin-bottom: 0.4rem; }
.lede { font-size: 1.075rem; color: var(--muted); margin: 0; max-width: 36rem; }
.section { margin-top: 2.5rem; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.25rem; }

@media (min-width: 48rem) {
  h1 { font-size: 2.1rem; }
  .site-main { padding-top: 2.5rem; }
  .page-head { margin-bottom: 1.75rem; }
}

/* Wide screens: one wider frame for header, main and footer. Reading content keeps the 40rem measure;
   tool pages put the form beside the result (.tool-layout). */
@media (min-width: 64rem) {
  .site-header-row, .site-main { max-width: calc(var(--page) + 2rem); }
  .site-main > * { max-width: var(--measure); }
  .site-main > .tool-layout, .site-main > .wide { max-width: none; }
}

/* ---- Tool layout: form beside result on wide screens -------------------- */
/* Phones and tablets: one column, form first. From 64rem: two columns; with .tool-layout-sticky the result
   column stays in view while the form scrolls (only for results that fit a laptop screen). */
.tool-main, .tool-aside { min-width: 0; }
@media (min-width: 64rem) {
  .tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .tool-aside > :first-child { margin-top: 0; }
  .tool-layout-sticky .tool-aside { position: sticky; top: 1.25rem; }
}

/* ---- Card: the tool surface -------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem;
}
@media (min-width: 30rem) { .card { padding: 1.4rem; } }
.card > :last-child { margin-bottom: 0; }
.card-title { font-size: 1rem; font-weight: 650; margin: 0 0 0.75rem; }

/* ---- Form fields -------------------------------------------------------- */
.field { margin: 0 0 1.1rem; }
.field:last-child { margin-bottom: 0; }
.field > label, .field-label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field-optional { font-weight: 400; color: var(--muted); }
.field-hint { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--muted); }
.field-error {
  margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--danger); font-weight: 550;
  display: flex; gap: 0.4rem; align-items: baseline;
}
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--danger); color: var(--surface); font-size: 0.75rem; font-weight: 700; transform: translateY(0.12rem); }

.input, .select, .textarea {
  display: block; width: 100%; min-height: 48px; padding: 0.6rem 0.75rem;
  font: inherit; font-size: 1rem; /* 16px or more: no zoom on phone focus */
  color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  appearance: none;
}
.textarea { min-height: 6rem; resize: vertical; }
.select {
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.1rem center, right 0.8rem center; background-size: 0.3rem 0.3rem; background-repeat: no-repeat;
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.input::placeholder { color: var(--muted); opacity: 0.8; }
.has-error .input, .input[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.input-mono { font-family: var(--mono); }
input[type="number"].input { font-variant-numeric: tabular-nums; }

/* Rupee-prefixed amount */
.input-money { position: relative; display: flex; align-items: stretch; }
.input-money-prefix {
  display: grid; place-items: center; padding: 0 0.8rem; font-weight: 600; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.input-money .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-variant-numeric: tabular-nums; }
.has-error .input-money-prefix { border-color: var(--danger); }

.check { display: flex; gap: 0.65rem; align-items: flex-start; min-height: var(--tap); padding: 0.6rem 0; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--accent); flex: none; }

.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 30rem) { .field-row { grid-template-columns: 1fr 1fr; } }
/* Two short fields (amount and note) share a row on phones too. */
@media (min-width: 22rem) { .field-row-compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.55rem 1.15rem; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-quiet { background: transparent; color: var(--accent); padding-left: 0.6rem; padding-right: 0.6rem; min-height: var(--tap); text-decoration: underline; text-underline-offset: 0.2em; }
.btn-quiet:hover { background: var(--accent-soft); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn-block { display: flex; width: 100%; }

.button-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0; }
.button-row > .btn { flex: 1 1 auto; }
@media (min-width: 30rem) { .button-row > .btn { flex: 0 0 auto; } }

/* ---- Result card: a receipt -------------------------------------------- */
.result {
  position: relative; margin-top: 1.25rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow);
}
.result::before {
  /* perforation: a dashed rule under the result heading */
  content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 3.1rem; border-top: 1px dashed var(--border-strong);
}
.result-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 1.6rem; line-height: 1.5rem; }
.result-value { font-size: 2rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.15; margin: 0 0 0.25rem; }
.result-sub { color: var(--muted); margin: 0; }
.result-lines { list-style: none; padding: 0; margin: 0; }
.result-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); margin: 0; }
.result-lines li:last-child { border-bottom: 0; }
.result-lines .amount { font-weight: 600; white-space: nowrap; }

/* ---- QR card ------------------------------------------------------------ */
.qr-card {
  margin: 1.25rem auto 0; max-width: 22rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; text-align: center;
}
.qr-panel {
  /* always white with a quiet zone, in both themes: scanners need it */
  background: #ffffff; color: #000000; border-radius: var(--radius-sm); padding: 1rem;
  display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 18rem; margin: 0 auto;
  border: 1px solid #dcd6ca;
}
.qr-panel > img, .qr-panel > svg, .qr-panel > canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.qr-placeholder { color: #5d5a52; font-size: 0.9rem; padding: 1rem; }
.qr-caption { margin: 0.85rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.qr-caption-sub { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; font-family: var(--mono); }
.qr-card .button-row { justify-content: center; }

/* ---- Callouts ----------------------------------------------------------- */
.callout {
  display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.25rem 0; padding: 0.85rem 1rem;
  border-radius: var(--radius-sm); border: 1px solid; border-left-width: 4px; font-size: 0.95rem;
}
.callout > :last-child { margin-bottom: 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.4rem; }
.callout-icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; }
.callout-warning { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }
.callout-info { background: var(--info-bg); border-color: var(--info-border); color: var(--info-text); }
.callout a { color: inherit; }

/* ---- Copyable code / link row ------------------------------------------ */
.copy-row {
  display: flex; align-items: stretch; margin: 0.75rem 0 0; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface-2); min-width: 0;
}
.copy-row-text {
  flex: 1; min-width: 0; display: flex; align-items: center; padding: 0.5rem 0.75rem;
  font-family: var(--mono); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: none; border: 0; color: var(--text);
}
.copy-row .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border: 0; border-left: 1px solid var(--border-strong); min-height: 46px; }
.copy-row-label { display: block; font-size: 0.875rem; font-weight: 600; margin-top: 1rem; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { margin-top: 3rem; border-top: 1px dashed var(--border-strong); padding-top: 0.5rem; }
.faq h2 { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item > summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: var(--tap); padding: 0.7rem 0; font-weight: 600;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; flex: none; font-family: var(--mono); font-weight: 400; font-size: 1.25rem; color: var(--muted); width: 1rem; text-align: center;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 1rem; color: var(--text); }
.faq-answer > :last-child { margin-bottom: 0; }

/* ---- Tool grid (home) --------------------------------------------------- */
.tool-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
.tool-grid li { margin: 0; }
@media (min-width: 36rem) {
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-grid li:last-child:nth-child(odd) { grid-column: auto; }
}
.tool-tile {
  position: relative; display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 1rem 1.1rem 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none;
}
.tool-tile:hover { border-color: var(--accent); }
.tool-tile-num { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.tool-tile-title { font-weight: 650; font-size: 1.075rem; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.tool-tile-text { color: var(--muted); font-size: 0.95rem; }

/* ---- Promise list (home, how it works) --------------------------------- */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.35rem; width: 0.45rem; height: 0.8rem;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); margin-top: auto; }
.site-footer-inner { max-width: calc(var(--measure) + 2rem); margin: 0 auto; padding: 1.25rem 1rem 2rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 0.25rem; }
.footer-list li { margin: 0; }
.footer-link {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0.5rem; margin-left: -0.5rem; margin-right: 0.5rem;
  color: var(--muted); font-size: 0.925rem;
}
.footer-link[aria-current="page"] { color: var(--text); font-weight: 600; }
.footer-note { margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }
@media (min-width: 64rem) { .site-footer-inner { max-width: calc(var(--page) + 2rem); } }

/* ---- Toast / status ----------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 50;
  transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 2rem); padding: 0.7rem 1.1rem; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 550; font-size: 0.95rem; text-align: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { padding: 0; }
.status { min-height: 1.5rem; margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---- Not found ---------------------------------------------------------- */
.big-code { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); letter-spacing: 0.1em; margin: 0 0 0.5rem; }

/* ---- Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---- Print: hide header, footer and controls --------------------------- */
@media print {
  :root, :root:not([data-theme="light"]), :root[data-theme] {
    color-scheme: light; --bg: #fff; --surface: #fff; --surface-2: #fff; --text: #000; --muted: #333;
    --border: #999; --border-strong: #666; --accent: #000; --shadow: none;
  }
  .site-header, .site-footer, .skip-link, .toast, .theme-toggle, .faq, .button-row, .no-print { display: none !important; }
  .site-main { max-width: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  .card, .result, .qr-card { box-shadow: none; break-inside: avoid; }
  .tool-layout { display: block; }
  .tool-aside { position: static; }
}

/* ---- Home: start with a UPI ID ------------------------------------------ */
.quick-start { margin-top: 0.25rem; }
.quick-start .button-row { margin-top: 0.85rem; }
.home-tools-title { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 2rem 0 0; }
.home-tools .tool-grid { margin-top: 0.75rem; }
