:root {
  --bg: #f6f5f0;
  --surface: #ffffff;
  --surface-alt: #fbfaf7;
  --surface-soft: #efede6;
  --nav-bg: rgba(246, 245, 240, .82);
  --stage-bg: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .92), rgba(239, 237, 230, .75));
  --tip-bg: #f3f7f5;
  --tip-line: #d7e7e1;
  --ink: #0e1d18;
  --ink-2: #344741;
  --muted: #60726c;
  --line: #e2dfd5;
  --line-strong: #cfcbb9;
  --brand: #065f46;
  --brand-mid: #0d9488;
  --brand-soft: #e6f4ef;
  --brand-line: #b7e2d3;
  --gold: #c69738;
  --err: #c4282f;
  --dot-grid: rgba(14, 29, 24, .045);
  --shadow: 0 24px 55px -32px rgba(14, 29, 24, .22), 0 2px 6px rgba(14, 29, 24, .03);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Geeza Pro", "Tahoma", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  --bg: #08110e;
  --surface: #101d19;
  --surface-alt: #0b1613;
  --surface-soft: #172923;
  --nav-bg: rgba(8, 17, 14, .82);
  --stage-bg: radial-gradient(circle at 50% 0%, rgba(24, 44, 37, .9), rgba(11, 22, 19, .95));
  --tip-bg: #0d221c;
  --tip-line: #1b3d33;
  --ink: #edf5f1;
  --ink-2: #bfd2cb;
  --muted: #849f96;
  --line: #1e332c;
  --line-strong: #2d4b41;
  --brand: #10b981;
  --brand-mid: #2dd4bf;
  --brand-soft: rgba(16, 185, 129, .15);
  --brand-line: rgba(45, 212, 191, .35);
  --err: #f87171;
  --dot-grid: rgba(237, 245, 241, .045);
  --shadow: 0 24px 55px -26px rgba(0, 0, 0, .65), 0 1px 4px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[lang="ur"] body { font-family: var(--urdu); line-height: 2; }
html[lang="ur"] h1 { line-height: 1.85; letter-spacing: 0; font-size: clamp(26px, 4.2vw, 44px); }
html[lang="ur"] .lead { line-height: 2.15; }
html[lang="ur"] .sec-head h2, html[lang="ur"] .privacy-copy h2 { line-height: 1.75; letter-spacing: 0; }
html[lang="ur"] .step-card h3 { line-height: 1.8; }
html[lang="ur"] .btn { padding: 11px 16px; line-height: 1.8; }
html[lang="ur"] .tool-btn, html[lang="ur"] .gh-btn { line-height: 1.6; }
html[lang="ur"] .eyebrow, html[lang="ur"] .strip-label, html[lang="ur"] .stage-title, html[lang="ur"] .foot-col h4, html[lang="ur"] .flow-k { letter-spacing: 0; text-transform: none; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 50% -140px, rgba(13, 148, 136, .14), transparent 70%),
    radial-gradient(640px 420px at 92% 18%, rgba(198, 151, 56, .09), transparent 70%),
    radial-gradient(circle at 1px 1px, var(--dot-grid) 1px, transparent 0);
  background-size: auto, auto, 24px 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #065f46, #0d9488);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(6, 95, 70, .7);
}
.brand-name { font-size: 17px; font-family: var(--sans); }
.tag {
  padding: 2px 9px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-tools { display: flex; align-items: center; gap: 8px; }

.tool-btn, .gh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
}
.icon-btn { width: 35px; padding: 0; }
.lang-btn { min-width: 58px; }
.tool-btn:hover, .gh-btn:hover { border-color: var(--brand); transform: translateY(-1px); text-decoration: none; color: var(--ink); }

.i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: block; color: #fbbf24; }

/* Hero */
.hero {
  max-width: 790px;
  margin: 0 auto;
  padding: 48px 22px 26px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-mid);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .2);
  flex: none;
}
h1 {
  margin: 20px 0 14px;
  font-size: clamp(31px, 5vw, 52px);
  line-height: 1.09;
  letter-spacing: -.03em;
  font-weight: 850;
}
.accent {
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-mid) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--muted);
}
.urdu-pill {
  display: inline-block;
  margin: 18px 0 0;
  padding: 6px 18px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 17px;
  font-weight: 600;
}

/* Studio */
.studio {
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px;
  align-items: start;
}
.controls {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.controls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.controls-head h2 { margin: 0; font-size: 19px; }
.pill-mini {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.group { margin-bottom: 22px; }
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  gap: 10px;
}
label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font: 800 12px/1 var(--sans);
  flex: none;
}
.opt { font-weight: 500; color: var(--muted); font-size: 13px; }
.count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.input-wrap { position: relative; }
#iban, #name {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
#iban {
  font-family: var(--mono);
  font-size: 15.5px;
  letter-spacing: .04em;
  padding-right: 148px;
}
#iban::placeholder, #name::placeholder { color: var(--muted); opacity: .75; }
#iban:focus, #name:focus {
  outline: 0;
  background: var(--surface);
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .16);
}
#iban.good { border-color: var(--brand); background: var(--surface); }
#iban.bad { border-color: var(--err); background: var(--surface); }
#iban.bad:focus { box-shadow: 0 0 0 4px rgba(248, 113, 113, .16); }

.bank-chip {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 134px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font: 700 12px/1.2 var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meter {
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--surface-soft);
  overflow: hidden;
}
.meter-bar {
  height: 100%;
  width: 0;
  background: var(--brand-mid);
  border-radius: 99px;
  transition: width .2s ease, background .2s ease;
}
.meter-bar.good { background: var(--brand); }
.meter-bar.bad { background: var(--err); }

.hint { margin: 8px 2px 0; font-size: 13.5px; color: var(--muted); }
.hint.good { color: var(--brand); font-weight: 600; }
.hint.err { color: var(--err); font-weight: 600; }

.iban-help { margin-top: 10px; padding: 0; border: 0; background: none; font-size: 13.5px; }
.iban-help summary { display: inline; font-size: 13.5px; font-weight: 700; color: var(--brand); cursor: pointer; }
.iban-help summary::-webkit-details-marker { display: none; }
.iban-help ul { margin: 8px 0 6px; padding-inline-start: 18px; color: var(--ink-2); }
.iban-help li { margin: 3px 0; }
.help-link { font-weight: 700; }

.toggles { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; }
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* Theme Swatches */
.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.sw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
}
.sw:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.sw[aria-checked="true"] {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 6px 16px -10px rgba(6, 95, 70, .45);
}
.sw-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.sw-emerald { background: linear-gradient(135deg, #064e3b, #0d9488); }
.sw-counter { background: linear-gradient(180deg, #065f46 36%, #ffffff 36%); }
.sw-obsidian { background: linear-gradient(135deg, #111315, #292c30 75%, #c69738); }
.sw-indigo { background: linear-gradient(135deg, #0f172a, #3730a3); }
.sw-terracotta { background: linear-gradient(135deg, #9a3412, #ea580c); }
.sw-label { font-size: 11.5px; font-weight: 700; color: var(--ink-2); text-align: center; }

/* Actions */
.actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 6px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s, border-color .15s;
}
.btn.primary {
  border: 0;
  background: linear-gradient(135deg, #065f46, #0d9488);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(6, 95, 70, .85);
}
.btn.secondary {
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn.secondary:hover:not(:disabled) { border-color: var(--brand); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.sub-actions { margin-top: 12px; text-align: center; }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
}
.link-btn:hover:not(:disabled) { color: var(--brand); background: var(--brand-soft); }
.link-btn:disabled { opacity: .45; cursor: not-allowed; }

.tip-box {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--tip-bg);
  border: 1px solid var(--tip-line);
  color: var(--ink-2);
  font-size: 13.5px;
}
.tip-box svg { flex: none; color: var(--brand); margin-top: 3px; }
.tip-box p { margin: 0; }

/* Stage / Preview */
.stage {
  position: sticky;
  top: 76px;
  padding: 20px;
  border-radius: 28px;
  background: var(--stage-bg);
  border: 1px solid var(--line);
}
.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
  gap: 10px;
}
.stage-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.status-pill {
  padding: 4px 11px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.status-pill.ready {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand);
}
.card-frame {
  display: grid;
  place-items: center;
  padding: 10px 6px 14px;
}
#card {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 32px 64px -26px rgba(0, 0, 0, .5), 0 8px 20px -10px rgba(0, 0, 0, .25);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
#card:hover { transform: translateY(-4px); }
#card.flash { animation: pop .35s ease; }
.stage-note { margin: 4px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* Find your IBAN */
.find-iban { max-width: 1120px; margin: 40px auto 0; padding: 0 22px; }
.find-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1.5px dashed var(--brand-line);
  box-shadow: var(--shadow);
}
.find-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}
.find-copy h2 { margin: 0 0 4px; font-size: 21px; }
.find-copy > p { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; }
.find-list { margin: 0; padding-inline-start: 18px; color: var(--ink-2); font-size: 14px; }
.find-list li { margin: 3px 0; }
.find-cta { text-align: center; }
.find-cta p { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.find-cta .btn { text-decoration: none; }
details p a { font-weight: 700; }

/* Bank Strip */
.banks-strip {
  max-width: 1040px;
  margin: 56px auto 0;
  padding: 0 22px;
  text-align: center;
}
.strip-label {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}
.bank-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.bank-pills span {
  padding: 6px 13px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.bank-pills span.more {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand);
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 82px auto 0;
  padding: 0 22px;
}
.sec-head { text-align: center; margin-bottom: 32px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--brand);
}
.eyebrow.light { color: #7ee0c3; }
.sec-head h2 { margin: 0; font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -.02em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .2s, border-color .2s;
}
.step-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacy Callout */
.privacy-box {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b241c, #064e3b);
  border: 1px solid rgba(126, 224, 195, .18);
  color: #e3efe9;
  box-shadow: 0 28px 60px -30px rgba(6, 78, 59, .65);
}
.privacy-copy h2 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 32px); color: #fff; letter-spacing: -.02em; }
.privacy-copy p { margin: 0; color: #b7d3c8; font-size: 15.5px; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trust-tags span {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}
.flow { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.flow-step {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.flow-step.highlight {
  background: rgba(20, 184, 166, .18);
  border-color: rgba(126, 224, 195, .45);
}
.flow-k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #8ec9b6; font-weight: 700; }
.flow-step strong { display: block; margin-top: 2px; font-size: 15px; color: #fff; font-family: var(--mono); }
html[lang="ur"] .flow-step strong:not([dir="ltr"]) { font-family: var(--urdu); }
.flow-arrow { text-align: center; color: #7ee0c3; font-weight: 700; line-height: 1; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
details {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .15s;
}
details[open] { border-color: var(--line-strong); }
summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
.plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-soft);
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.plus::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.plus::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* Footer */
.footer {
  margin-top: 96px;
  padding: 56px 22px 32px;
  background: #060f0c;
  border-top: 1px solid #162922;
  color: #b7c8c1;
}
.foot-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer .brand { color: #fff; }
.foot-brand p { margin: 14px 0 0; max-width: 390px; font-size: 14.5px; color: #9db3aa; }
.made-by { color: #d6e4de !important; font-weight: 600; }
.foot-col h4 { margin: 4px 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: #fff; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer a { color: #7ee0c3; }
.foot-bottom {
  max-width: 1120px;
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid #1a2d26;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7c948b;
}
.foot-bottom p { margin: 0; }

/* IBAN converter page */
.tool-grid {
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.txt, .sel {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.sel { cursor: pointer; }
.mono { font-family: var(--mono); letter-spacing: .03em; }
.txt:focus, .sel:focus { outline: 0; border-color: var(--brand-mid); box-shadow: 0 0 0 4px rgba(13, 148, 136, .16); }
.txt.good { border-color: var(--brand); }
.txt.bad { border-color: var(--err); }
.out-box, .out-list {
  margin-top: 4px;
  padding: 18px;
  border-radius: 16px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
}
.out-box[hidden], .out-list[hidden] { display: none; }
.out-k { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.out-v { display: block; margin: 4px 0 14px; font-size: clamp(16px, 2.4vw, 20px); color: var(--ink); word-break: break-all; }
.out-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.out-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--brand-line); }
.out-row strong { text-align: end; word-break: break-all; }
.out-list .btn { margin-top: 12px; }
.btn.sm { padding: 10px 14px; font-size: 14px; text-decoration: none; }
a.btn.primary:hover { text-decoration: none; color: #fff; }
.warn-box {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(198, 151, 56, .12);
  border: 1px solid rgba(198, 151, 56, .4);
  color: var(--ink-2);
  font-size: 13.5px;
}
.warn-box svg { flex: none; color: var(--gold); margin-top: 3px; }
.warn-box p { margin: 0; }
.iban-anatomy { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.seg { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.seg b { display: block; font: 700 clamp(17px, 2.6vw, 24px) var(--mono); color: var(--brand); letter-spacing: .04em; }
.seg span { font-size: 12.5px; color: var(--muted); }

.print-only { display: none; }
@keyframes pop { 0% { transform: scale(.97); } 60% { transform: scale(1.015); } 100% { transform: scale(1); } }

@media (max-width: 900px) {
  .studio, .tool-grid { grid-template-columns: 1fr; }
  .stage { position: static; order: -1; }
  #card { max-width: 340px; }
  .steps, .privacy-box, .foot-grid, .find-card { grid-template-columns: 1fr; }
  .find-ico { display: none; }
  .find-cta { text-align: start; }
  .privacy-box { padding: 28px 22px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .tag { display: none; }
  .gh-btn span { display: none; }
  .gh-btn { width: 35px; padding: 0; }
  .hero { padding-top: 32px; }
  .controls { padding: 22px 18px; }
  .themes { gap: 6px; }
  .sw-label { font-size: 10.5px; }
  .actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  @page { margin: 10mm; }
  body { background: #fff !important; }
  .no-print, .stage, .bg-layer { display: none !important; }
  .studio { display: block; padding: 0; margin: 0; }
  .print-only { display: block; width: 100%; max-width: 135mm; margin: 0 auto; }
}
