/* =====================================================================
   Shivam Tools — global styles
   Tokens → base → layout → components → pages → tools → print
   ===================================================================== */

:root {
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", "Nirmala UI", "Noto Sans Devanagari", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif Devanagari", "Nirmala UI", serif;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --surface-3: #e8ebf4;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #5b6478;
  --border: #e2e6ef;
  --border-strong: #cbd2e1;
  --navy: #0f1b3d;
  --primary: #4338ca;
  --primary-hover: #3730a3;
  --primary-soft: #eef0ff;
  --primary-text: #3730a3;
  --link: #4338ca;
  --accent: #7c3aed;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --success: #15803d;
  --warning: #a16207;
  --warning-soft: #fefce8;
  --focus: #6366f1;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .14);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 24px 48px -20px rgba(30, 41, 99, .28);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 64px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1120;
  --surface: #111a2e;
  --surface-2: #162038;
  --surface-3: #1d2945;
  --text: #e7ebf4;
  --text-2: #c3cad9;
  --muted: #9aa5bd;
  --border: #233050;
  --border-strong: #33426a;
  --primary: #4f46e5;
  --primary-hover: #6366f1;
  --primary-soft: #1e2350;
  --primary-text: #c7d2fe;
  --link: #a5b4fc;
  --danger: #f87171;
  --danger-soft: #2a1418;
  --success: #4ade80;
  --warning: #facc15;
  --warning-soft: #2a2410;
  --focus: #a5b4fc;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: #c7d2fe; color: #0f172a; }

.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-text); margin-bottom: 10px; }
.lead { font-size: 1.125rem; color: var(--text-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand .logo-mark,
.brand .avatar-photo {
  flex: none;
}

.brand .avatar-photo {
  border: 0;
  box-shadow: none;
}
.main-nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-weight: 550; font-size: .95rem; }
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--primary-text); background: var(--primary-soft); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.icon-btn .icon { width: 20px; height: 20px; }
.i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }
.menu-btn { display: none; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .main-nav { margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 2px;
    padding: 12px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(67, 56, 202, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-text { background: none; border: 0; padding: 8px 10px; min-height: 40px; color: var(--link); }
.btn-text:hover { background: var(--surface-2); }
.btn-danger { color: var(--danger); }
.btn-sm { min-height: 38px; padding: 7px 12px; font-size: .875rem; }
.btn-lg { min-height: 50px; padding: 12px 24px; font-size: 1rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 85% 10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%),
    radial-gradient(500px 260px at 5% 90%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--primary-text); }
.hero .lead { max-width: 520px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--success); }

.hero-visual { position: relative; min-height: 380px; }
.mock { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.mock-resume { left: 4%; top: 0; width: 58%; padding: 22px; }
.mock-resume .m-name { height: 12px; width: 60%; border-radius: 4px; background: var(--navy); margin-bottom: 8px; }
[data-theme="dark"] .mock-resume .m-name { background: #c7d2fe; }
.mock-resume .m-sub { height: 7px; width: 40%; border-radius: 4px; background: var(--primary); opacity: .7; margin-bottom: 18px; }
.m-line { height: 6px; border-radius: 4px; background: var(--surface-3); margin-bottom: 8px; }
.m-head { height: 7px; width: 34%; border-radius: 4px; background: var(--primary); opacity: .45; margin: 16px 0 10px; }
.mock-qr { right: 2%; top: 18px; width: 36%; padding: 16px; display: grid; place-items: center; }
.mock-qr svg { width: 100%; height: auto; }
.mock-card { right: 6%; bottom: 0; width: 58%; aspect-ratio: 1.75; padding: 18px 20px; background: linear-gradient(135deg, #0f1b3d, #312e81); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: space-between; }
.mock-card strong { font-size: 1rem; letter-spacing: .01em; }
.mock-card span { font-size: .72rem; opacity: .8; display: block; }
.mock-card .m-row { display: flex; justify-content: space-between; align-items: flex-end; }
.mock-card .m-dot { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-weight: 700; font-size: .7rem; }
.mock-bio { left: 0; bottom: 24px; width: 36%; padding: 14px; border-top: 4px solid #9f1239; }
.mock-bio .m-photo { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-3); margin: 0 auto 10px; }

@media (prefers-reduced-motion: no-preference) {
  .mock { animation: float-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .mock-qr { animation-delay: .08s; }
  .mock-card { animation-delay: .16s; }
  .mock-bio { animation-delay: .24s; }
  @keyframes float-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Tool cards ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.tool-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.tool-card:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
@media (prefers-reduced-motion: no-preference) { .tool-card:hover { transform: translateY(-3px); } }
.tool-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.tool-card a.stretched { color: var(--text); text-decoration: none; }
.tool-card a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tool-card a.stretched:focus-visible { outline: none; }
.tool-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.tool-card-title { font-size: 1.15rem; margin: 16px 0 8px; }
.tool-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); }
.tool-icon .icon { width: 24px; height: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.tag-list li { font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.tool-card-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--primary-text); }
.tool-card-cta .icon { width: 16px; height: 16px; transition: transform .2s; }
.tool-card:hover .tool-card-cta .icon { transform: translateX(3px); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.feature .tool-icon { width: 42px; height: 42px; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- About / profile ---------- */
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.profile-card h2, .profile-card h3 { margin-bottom: 4px; }
.profile-role { color: var(--primary-text); font-weight: 600; margin-bottom: 14px; }
.avatar { display: block; width: fit-content; line-height: 0; }
.avatar-photo { border-radius: 50%; object-fit: cover; aspect-ratio: 1; border: 3px solid var(--surface); box-shadow: var(--shadow); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Page header & prose ---------- */
.page-hero { padding: 56px 0 32px; }
.page-hero p { max-width: 680px; }
.breadcrumbs { font-size: .875rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose li { margin-bottom: .4em; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 24px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 340px; margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: .95rem; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-credit { color: var(--text-2); font-weight: 550; }

/* ---------- Forms ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-section { padding: 22px 22px 6px; border-bottom: 1px solid var(--border); }
.form-section:last-child { border-bottom: 0; }
.form-section > h2, .form-section > h3, .form-section-head h2 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.form-section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.form-section-head h2 { margin-bottom: 10px; }
.form-section > p.hint, .section-hint { margin-top: -6px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 16px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .label { display: block; font-weight: 600; font-size: .875rem; color: var(--text-2); margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], input[type="password"], input[type="time"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 25%, transparent) !important; }
.field-error { color: var(--danger); font-size: .825rem; font-weight: 550; margin: 6px 0 0; }
.field-error::before { content: "⚠ "; }
.hint { color: var(--muted); font-size: .8rem; margin: 6px 0 0; }
input[type="color"] { width: 48px; height: 44px; padding: 3px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field code { font-size: .85rem; color: var(--muted); }
input[type="range"] { width: 100%; accent-color: var(--primary); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .925rem; cursor: pointer; min-height: 40px; }
.file-drop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-drop input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop input[type="file"]:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.file-drop label.btn { display: inline-flex; margin: 0; color: var(--text); font-size: .9rem; }
.thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); background: var(--surface-2); }
.thumb.contain { object-fit: contain; }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; }
.segmented legend { font-weight: 600; font-size: .875rem; color: var(--text-2); margin-bottom: 8px; padding: 0; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--text-2); transition: all .15s; }
.segmented input:checked + span { background: var(--primary-soft); color: var(--primary-text); border-color: var(--primary); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.segmented .icon { width: 16px; height: 16px; }

.repeater-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 4px; margin: 0 0 14px; background: var(--surface-2); min-width: 0; }
.repeater-item legend { font-weight: 700; font-size: .85rem; padding: 0 6px; color: var(--text-2); }
.repeater-item .repeater-remove { margin: -6px 0 8px -10px; }
.repeater-empty { color: var(--muted); font-size: .9rem; font-style: italic; margin: 0 0 12px; }
.add-btn { margin-bottom: 16px; }

.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .875rem; background: var(--primary-soft); color: var(--text-2); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.notice .icon { color: var(--primary-text); margin-top: 2px; }
.notice-warn { background: var(--warning-soft); border-color: color-mix(in srgb, var(--warning) 40%, transparent); }
.notice-warn .icon { color: var(--warning); }
.notice-error { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--text); }
.notice-error .icon { color: var(--danger); }
.notice p { margin: 0; }

/* ---------- Tool page layout ---------- */
.tool-hero { padding: 40px 0 24px; }
.tool-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.tool-hero p { color: var(--text-2); max-width: 720px; margin-bottom: 0; }
.tool-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.tool-shell.equal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.preview-col { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; }
.toolbar .spacer { flex: 1; }
.preview-stage { padding: 20px; background: var(--surface-2); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.preview-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.paper-viewport { position: relative; width: 100%; overflow: hidden; }
.paper-scale { transform-origin: top left; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 22px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.jump-preview { display: none; }
.template-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0 0 16px; }
.template-picker legend { font-weight: 600; font-size: .875rem; color: var(--text-2); margin-bottom: 8px; padding: 0; }
.template-picker label { position: relative; cursor: pointer; }
.template-picker input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.template-picker span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: .85rem; font-weight: 600; text-align: center; color: var(--text-2); transition: border-color .15s, background .15s; }
.template-picker i { display: block; width: 100%; aspect-ratio: 1.4; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); position: relative; overflow: hidden; }
.template-picker input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-text); }
.template-picker input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.info-section { padding-top: 56px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-grid .card h3 { font-size: 1.05rem; }
.info-grid .card p, .info-grid .card li { color: var(--muted); font-size: .93rem; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.related { margin-top: 48px; }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 550; }
[data-theme="dark"] .toast { background: #e7ebf4; color: #0f172a; }
.toast-error { background: #991b1b; color: #fff; }
[data-theme="dark"] .toast-error { background: #fecaca; color: #450a0a; }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in .2s ease-out; }
  .toast-out { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 96px 0; }
.not-found .code { font-size: 4rem; font-weight: 800; color: var(--primary-text); line-height: 1; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .tool-shell, .tool-shell.equal { grid-template-columns: minmax(0, 1fr); }
  .preview-col { position: static; }
  .jump-preview { display: inline-flex; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 44px 0 40px; }
  .hero-visual { min-height: 280px; }
  .feature-grid, .info-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; justify-items: center; }
  .profile-card .contact-links { justify-content: center; }
  .form-section { padding: 18px 16px 4px; }
  .form-actions { padding: 16px; }
  .preview-stage { padding: 12px; }
  .btn-row .btn, .hero .btn-row .btn { flex: 1 1 auto; }
  .brand-name { font-size: 1rem; }
  
/* Header brand: name + developer credit */
 
/* Header brand: title and developer credit */
.site-header .nav-wrap > .brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header .nav-wrap > .brand .brand-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.site-header .nav-wrap > .brand .brand-name {
  display: block !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.site-header .nav-wrap > .brand .brand-tagline {
  display: block !important;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  opacity: 0.75;
  white-space: normal;
}

}

@media (max-width: 380px) {
  .nav-wrap { gap: 8px; }
  .brand .logo-mark { width: 32px; height: 32px; }
  .toolbar .btn { flex: 1 1 100%; }
}

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

/* ---------- Print (shared) ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .no-print, .toast-region, .tool-hero, .info-section, .related { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  body { display: block; min-height: 0; }
  main, .container { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .tool-shell { display: block !important; }
  .preview-col { position: static !important; display: block !important; }
  .preview-stage { padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
  .paper-viewport { height: auto !important; overflow: visible !important; }
  .paper-scale { transform: none !important; width: auto !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ---------- Template thumbnails ---------- */
.tp { --c: var(--primary); }
.tp-classic { background: linear-gradient(#334155, #334155) 50% 16% / 46% 7% no-repeat, linear-gradient(#94a3b8, #94a3b8) 50% 28% / 64% 4% no-repeat, linear-gradient(#334155, #334155) 50% 38% / 84% 2% no-repeat, repeating-linear-gradient(#fff 0 6px, #cbd5e1 6px 8px) 50% 80% / 84% 44% no-repeat, #fff !important; }
.tp-modern { background: linear-gradient(var(--c), var(--c)) top / 100% 30% no-repeat, linear-gradient(var(--c), var(--c)) 10% 44% / 4% 8% no-repeat, repeating-linear-gradient(#fff 0 6px, #cbd5e1 6px 8px) 60% 86% / 80% 40% no-repeat, #fff !important; }
.tp-sidebar { background: linear-gradient(color-mix(in srgb, var(--c) 18%, #fff), color-mix(in srgb, var(--c) 18%, #fff)) left / 32% 100% no-repeat, linear-gradient(#334155, #334155) 80% 16% / 44% 7% no-repeat, repeating-linear-gradient(#fff 0 6px, #cbd5e1 6px 8px) 85% 78% / 56% 52% no-repeat, #fff !important; }
.tp-traditional { background: radial-gradient(circle at 50% 30%, #e5e7eb 0 12%, transparent 13%), repeating-linear-gradient(#fffaf0 0 6px, #e7d8c0 6px 8px) 50% 85% / 70% 34% no-repeat, #fffaf0 !important; border: 3px double #9f1239 !important; }
.tp-bmodern { background: linear-gradient(#9f1239, #9f1239) top / 100% 24% no-repeat, radial-gradient(circle at 22% 46%, #e5e7eb 0 11%, transparent 12%), repeating-linear-gradient(#fff 0 6px, #e5e7eb 6px 8px) 50% 90% / 80% 34% no-repeat, #fff !important; }
.tp-elegant { background: radial-gradient(circle at 50% 32%, #fbcfe8 0 13%, transparent 14%), repeating-linear-gradient(#fff 0 6px, #f9d7e3 6px 8px) 50% 86% / 70% 34% no-repeat, #fff5f8 !important; border-radius: 10px !important; }
.tp-c-classic { background: linear-gradient(var(--c), var(--c)) left / 5% 100% no-repeat, linear-gradient(#334155, #334155) 30% 26% / 44% 9% no-repeat, linear-gradient(var(--c), var(--c)) 24% 42% / 32% 6% no-repeat, repeating-linear-gradient(#fff 0 5px, #cbd5e1 5px 7px) 36% 84% / 54% 30% no-repeat, #fff !important; }
.tp-c-split { background: linear-gradient(var(--c), var(--c)) left / 36% 100% no-repeat, linear-gradient(#334155, #334155) 80% 28% / 40% 9% no-repeat, repeating-linear-gradient(#fff 0 5px, #cbd5e1 5px 7px) 84% 76% / 44% 36% no-repeat, #fff !important; }
.tp-c-centered { background: linear-gradient(#334155, #334155) 50% 36% / 46% 9% no-repeat, linear-gradient(var(--c), var(--c)) 50% 52% / 20% 4% no-repeat, repeating-linear-gradient(#fff 0 5px, #cbd5e1 5px 7px) 50% 82% / 50% 26% no-repeat, #fff !important; outline: 2px solid color-mix(in srgb, var(--c) 40%, #fff); outline-offset: -5px; }
.tp-c-photo { background: radial-gradient(circle at 20% 38%, color-mix(in srgb, var(--c) 30%, #fff) 0 14%, transparent 15%), linear-gradient(var(--c), var(--c)) bottom / 100% 26% no-repeat, linear-gradient(#334155, #334155) 70% 28% / 40% 9% no-repeat, #fff !important; }

/* ---------- Visiting card print sheet ---------- */
.card-print { display: none; }
@media print {
  .card-print { display: grid !important; grid-template-columns: repeat(2, 88.9mm); grid-auto-rows: 50.8mm; justify-content: center; align-content: start; }
  .card-print.single { grid-template-columns: 88.9mm; }
  .card-print img { width: 88.9mm; height: 50.8mm; display: block; outline: .2mm dashed #b0b0b0; outline-offset: -.1mm; }
}



.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.site-header .brand-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.site-header .brand-tagline {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
}

/* Instagram social link */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.instagram-link:hover {
  color: #E1306C;
}

.instagram-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.instagram-link:focus-visible {
  outline: 2px solid #E1306C;
  outline-offset: 4px;
}


/* =====================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ===================================== */

/* Tablet */
@media (max-width: 1023px) {

  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .tool-shell,
  .tool-shell.equal {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-col {
    position: static;
    width: 100%;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* Mobile */
@media (max-width: 640px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding: 35px 0;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .hero-visual {
    width: 100%;
    min-height: 260px;
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-shell,
  .tool-shell.equal {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .panel,
  .card,
  .preview-col {
    width: 100%;
    min-width: 0;
  }

  .form-section {
    padding: 16px 12px 5px;
  }

  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-wide {
    grid-column: auto;
  }

  .toolbar {
    padding: 10px;
    gap: 8px;
  }

  .toolbar .btn,
  .form-actions .btn {
    flex: 1 1 auto;
    white-space: normal;
  }

  .preview-stage {
    width: 100%;
    padding: 8px;
    overflow: hidden;
  }

  .paper-viewport {
    width: 100%;
    max-width: 100%;
  }

  .template-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-card {
    padding: 20px 14px;
  }

  .contact-links {
    justify-content: center;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-row {
    width: 100%;
  }

  .btn-row .btn {
    flex: 1 1 auto;
  }

  img,
  canvas,
  svg {
    max-width: 100%;
  }

  input,
  select,
  textarea {
    max-width: 100%;
  }

  .site-header .nav-wrap {
    gap: 8px;
  }

}

/* Small mobile */
@media (max-width: 380px) {

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-tagline {
    font-size: 9px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .tool-card {
    padding: 18px;
  }

  .btn {
    font-size: 13px;
    padding: 9px 12px;
  }
}

/* Instagram ID above Free Online Tools */

.hero-instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 30px;
  background: var(--surface-2);
  color: #E1306C;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.hero-instagram:hover {
  background: #E1306C;
  color: white;
}

/* Hide old header Instagram on mobile */
@media (max-width: 820px) {
  .header-instagram {
    display: none;
  }
}

/* v2 fix: on very small phones (≤ 420 px) let the brand text shrink and wrap
   so the theme and menu buttons stay on screen (they were pushed off at 320 px). */
@media (max-width: 420px) {
  .site-header .nav-wrap > .brand { flex-shrink: 1; min-width: 0; }
  .site-header .nav-wrap > .brand .brand-text { min-width: 0; }
  .site-header .nav-actions { flex: none; }
}

/* =====================================================================
   v3 visual refresh — tool cards with realistic thumbnails
   (only appearance; markup hooks such as .tool-card, a.stretched and
   data-tool-id are unchanged)
   ===================================================================== */
.tool-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 480px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 880px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1180px) { .tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.tool-card.has-thumb {
  --card-accent: var(--primary);
  --accent-text: color-mix(in srgb, var(--card-accent) 88%, #000);
  padding: 0; overflow: hidden; border-radius: 20px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--card-accent) 14%, var(--border));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -22px color-mix(in srgb, var(--card-accent) 60%, rgba(15, 23, 42, .5));
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s, border-color .28s;
}
[data-theme="dark"] .tool-card.has-thumb { --accent-text: color-mix(in srgb, var(--card-accent) 55%, #fff); }
.tool-card.has-thumb > :not(.tool-thumb) { margin-left: 20px; margin-right: 20px; }
.tool-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: color-mix(in srgb, var(--card-accent) 14%, var(--surface-2));
}
.tool-thumb img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* thin accent rule between picture and text */
.tool-thumb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 30%, transparent));
}
.tool-card-cat {
  display: block; margin-top: 16px;
  font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text);
}
.tool-card.has-thumb .tool-card-title { font-size: 1.15rem; font-weight: 720; letter-spacing: -0.015em; margin: 6px 20px 8px; line-height: 1.3; }
.tool-card.has-thumb p { font-size: .925rem; line-height: 1.55; margin-bottom: 14px; }
.tool-card.has-thumb .tag-list { margin-bottom: 16px; }
.tool-card.has-thumb .tag-list li {
  background: color-mix(in srgb, var(--card-accent) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--card-accent) 22%, var(--border));
  color: var(--text-2);
}
.tool-card.has-thumb .tool-card-cta {
  align-self: flex-start; margin-bottom: 20px; margin-top: auto;
  padding: 7px 14px 7px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 10%, var(--surface));
  color: var(--accent-text); font-size: .875rem; font-weight: 700;
  transition: background .25s, color .25s;
}
.tool-card.has-thumb .tool-card-cta .icon { transition: transform .25s; }
.tool-card.has-thumb:hover {
  border-color: color-mix(in srgb, var(--card-accent) 50%, var(--border));
  box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 28px 50px -26px color-mix(in srgb, var(--card-accent) 75%, rgba(15, 23, 42, .6));
}
.tool-card.has-thumb:hover .tool-card-cta { background: var(--card-accent); color: #fff; }
.tool-card.has-thumb:hover .tool-card-cta .icon { transform: translateX(4px); }
.tool-card.has-thumb:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .tool-card.has-thumb:hover { transform: translateY(-5px); }
  .tool-card.has-thumb:hover .tool-thumb img { transform: scale(1.05); }
}
@media (max-width: 380px) {
  .tool-card.has-thumb { padding: 0; }
  .tool-card.has-thumb > :not(.tool-thumb) { margin-left: 16px; margin-right: 16px; }
  .tool-card.has-thumb .tool-card-title { margin-left: 16px; margin-right: 16px; }
}
/* compact cards on 2-up phones/tablets */
@media (min-width: 480px) and (max-width: 640px) {
  .tool-card.has-thumb > :not(.tool-thumb), .tool-card.has-thumb .tool-card-title { margin-left: 14px; margin-right: 14px; }
  .tool-card.has-thumb .tool-card-title { font-size: 1.02rem; }
  .tool-card.has-thumb p { font-size: .85rem; }
  .tool-card.has-thumb .tag-list { display: none; }
  .tool-card.has-thumb .tool-card-cta { margin-bottom: 16px; }
}

/* Homepage tools section: soft colourful backdrop so the cards stand out */
#tools.section {
  background:
    radial-gradient(700px 320px at 8% 0%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 70%),
    radial-gradient(640px 320px at 95% 30%, color-mix(in srgb, #db2777 7%, transparent), transparent 70%),
    radial-gradient(600px 300px at 40% 100%, color-mix(in srgb, #0d9488 7%, transparent), transparent 70%);
}
#tools .section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }

/* =====================================================================
   v5 — site logo, footer contact, ad placeholders, info pages
   ===================================================================== */
.site-logo { flex: none; display: block; border-radius: 50%; object-fit: cover; aspect-ratio: 1; background: #fff; box-shadow: 0 0 0 1px var(--border); }
@media (max-width: 380px) { .site-header .site-logo { width: 34px; height: 34px; } }
.footer-brand .brand { gap: 12px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0 !important; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; font-size: .9rem; padding: 4px 0; }
.footer-contact a:hover { color: var(--link); text-decoration: underline; }
.footer-contact .icon { width: 16px; height: 16px; }
.footer-links { max-width: 520px; }

/* Advertisement placeholders (see DEPLOY-AND-GOOGLE-GUIDE.md, Part 7).
   An empty slot takes no space; once AdSense is configured the slot is
   labelled "Advertisement" and kept well away from tool buttons. */
.ad-slot { display: none; }
.ad-slot.ad-ready { display: block; margin: 32px auto; max-width: 970px; padding: 8px 0 0; border-top: 1px solid var(--border); text-align: center; }
.ad-slot.ad-ready::before { content: "Advertisement"; display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-slot ins { display: block; min-height: 90px; }
@media print { .ad-slot { display: none !important; } }

/* Info pages (contact, support, terms, disclaimer) */
.contact-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-grid .card h2, .contact-grid .card h3 { margin-top: 0; }
.contact-email { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-email .icon { width: 20px; height: 20px; flex: none; }
.prose .callout { padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.tool-guide { margin-top: 32px; }
.tool-guide ol, .tool-guide ul { padding-left: 1.3em; }
.tool-guide li { margin-bottom: 6px; }

/* v5 — UPI payment QR */
.upi-warning { margin-top: 14px; text-align: left; }
.upi-warning p { margin: 0; font-size: .88rem; line-height: 1.5; }
.upi-summary { padding: 14px 16px; }
.upi-dl { display: grid; gap: 6px; margin: 0; }
.upi-dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; font-size: .92rem; }
.upi-dl dt { color: var(--muted); font-weight: 600; }
.upi-dl dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--text); }
