/* Reference guide layout with the Dhan Pay screenshot palette. */
:root {
  color-scheme: light;
  --ink: #13251d;
  --muted: #4e625a;
  --brand: #076648;
  --brand-hover: #054a36;
  --paper: #f7f7f7;
  --white: #ffffff;
  --mint: #eafbf3;
  --mint-light: #f3fffb;
  --highlight: #d7ffe7;
  --line: #d5e3db;
  --error: #a12635;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
::selection {
  color: var(--ink);
  background: var(--highlight);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
summary {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1,
h2 {
  font-weight: 600;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(46px, 5.9vw, 78px);
}
h2 {
  font-size: clamp(34px, 4.1vw, 52px);
  margin-bottom: 24px;
}
h3 {
  font-size: 22px;
  font-weight: 600;
}
p {
  color: var(--muted);
}
a,
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 5px;
}
.container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.heading-accent {
  font-weight: 400;
  font-style: italic;
}
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 24px;
}
.label-line {
  width: 28px;
  height: 2px;
  background: var(--brand);
}
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.small-note {
  font-size: 12px;
  line-height: 1.6;
}
.anchor-alias {
  position: absolute;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 100;
  padding: 12px 22px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
}
.skip-link:focus {
  top: 14px;
}
.button,
.ref-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 180ms ease,
    transform 180ms ease;
}
.button-primary,
.ref-button {
  color: var(--white);
  background: var(--brand);
}
.button-secondary,
.ref-secondary {
  color: var(--brand);
  background: var(--mint);
  border-color: var(--line);
}
.button-lime {
  color: var(--ink);
  background: var(--highlight);
}

/* Navigation remains ordinary links when JavaScript is unavailable. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 247, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 90px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-dot {
  color: var(--brand);
}
.header-brand-mark {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--mint);
}
.brand .header-brand-mark img {
  position: absolute;
  top: 0;
  left: -26.32%;
  width: 147.37%;
  max-width: none;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-actions .button {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 12px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: var(--mint);
  border-radius: 10px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
}
.mobile-nav {
  padding: 12px 0 20px;
  max-height: calc(100dvh - 90px);
  overflow: auto;
}
.mobile-nav a {
  display: block;
  min-height: 48px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}

/* The first screen: app access, the invite code and the real Home screenshot. */
.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: 70px;
  padding-block: 76px 64px;
}
.hero h1 {
  margin-bottom: 26px;
}
.hero h1 .heading-accent {
  color: var(--brand);
}
.hero-lead {
  max-width: 475px;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.hero-lead a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 24px;
}
.hero-copy > .small-note {
  margin-top: 14px;
  margin-bottom: 0;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
  overflow: hidden;
  background: var(--mint);
  border-radius: 180px 180px 28px 28px;
  isolation: isolate;
}
.art-label {
  position: absolute;
  top: 31px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}
.art-orbit {
  position: absolute;
  z-index: -1;
  width: 530px;
  height: 530px;
  border: 1px solid #b0dbcb;
  border-radius: 50%;
  transform: rotate(-25deg) scaleY(0.7);
}
.art-orbit::after {
  position: absolute;
  content: '';
  inset: -35px;
  border: 1px solid #c7e7d8;
  border-radius: 50%;
}
.phone {
  width: 242px;
  padding: 7px;
  border: 1px solid #b6d3c6;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 28px 54px -27px #054a3655;
  overflow: hidden;
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}
.hero-phone {
  transform: rotate(-7deg);
}
.art-currency {
  position: absolute;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  font-size: 37px;
  box-shadow: 0 14px 28px -18px #054a3655;
}
.art-usdt {
  top: 145px;
  right: 28px;
  transform: rotate(14deg);
}
.art-inr {
  bottom: 115px;
  left: 26px;
  transform: rotate(-14deg);
  background: var(--highlight);
  border-color: var(--highlight);
}
.art-caption {
  position: absolute;
  left: 25px;
  bottom: 32px;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}
.art-caption strong {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
}
.art-sticker {
  position: absolute;
  bottom: 60px;
  right: 16px;
  display: block;
  padding: 18px;
  font-size: 22px;
  font-style: italic;
  line-height: 1.15;
  background: var(--highlight);
  color: var(--ink);
  transform: rotate(8deg);
  border-radius: 4px 22px 4px 22px;
}
.art-sticker .icon {
  display: block;
  margin: 10px 0 0 auto;
}
.invite-card {
  padding: 18px 20px;
  border: 1px solid #c7e7d8;
  border-radius: 14px;
  background: var(--mint);
  margin-block: 20px;
  max-width: 520px;
}
.invite-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 15px;
  font-size: 11px;
  line-height: 1.5;
}
.invite-topline label {
  color: var(--muted);
}
.invite-topline a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  color: var(--brand);
  font-weight: 600;
}
.invite-topline .icon {
  width: 15px;
  height: 15px;
}
.invite-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-block: 10px;
}
.invite-value {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 4px 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--brand-hover);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
[data-copy-share] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  flex-shrink: 0;
  padding: 11px 16px;
  border-radius: 9px;
  color: var(--white);
  background: var(--brand);
  font-size: 12px;
  font-weight: 600;
}
[data-copy-share] .icon {
  width: 16px;
  height: 16px;
}
.invite-status {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 27px;
  border-block: 1px solid var(--line);
}
.facts-strip > div {
  padding: 0 35px;
  border-left: 1px solid var(--line);
}
.facts-strip > div:first-child {
  padding-left: 0;
  border: 0;
}
.facts-strip > div > span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.facts-strip strong {
  display: block;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.facts-strip small {
  font-size: 12px;
  letter-spacing: 0;
}
.facts-strip p {
  font-size: 12px;
  margin: 4px 0 0;
}

/* Screenshots are images with links, so full-size access does not depend on JS. */
.screen-section,
.quick-guides,
.handbook,
.related-reading,
.topic-guides {
  padding-top: 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 350px;
  font-size: 14px;
  margin: 0 0 4px;
}
.topic-links,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
}
.topic-links a,
.topic-grid a {
  display: block;
  min-height: 72px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.topic-grid a {
  text-decoration: none;
}
.topic-links a:hover,
.topic-grid a:hover {
  border-color: var(--brand);
}
.topic-links strong,
.topic-grid strong {
  display: block;
  color: var(--brand);
}
.topic-links span,
.topic-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.screen-card {
  margin: 0;
  min-width: 0;
}
.screen-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.screen-label > span {
  font-size: 11px;
  color: var(--brand);
}
.screen-label h3 {
  font-size: 19px;
  margin: 0;
}
.screen-image,
.screen-frame {
  display: flex;
  justify-content: center;
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--mint);
}
.screen-card:nth-child(2) .screen-image,
.screen-card:nth-child(2) .screen-frame {
  background: var(--mint-light);
}
.screen-card:nth-child(3) .screen-image,
.screen-card:nth-child(3) .screen-frame {
  background: var(--highlight);
}
.screen-image img,
.screen-frame img {
  width: min(100%, 250px);
  height: auto;
  border-radius: 17px;
  border: 5px solid var(--white);
  box-shadow: 0 14px 25px -20px var(--brand-hover);
}
.screen-card figcaption {
  padding: 24px 3px 0;
}
.screen-card figcaption strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.screen-card figcaption p {
  font-size: 13px;
  margin-block: 8px;
}
.screen-card figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
}
.screen-card figcaption .icon {
  width: 17px;
  height: 17px;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.shortcut-grid > a {
  position: relative;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: var(--white);
}
.shortcut-grid > a:first-child {
  background: var(--highlight);
  border-color: var(--highlight);
}
.shortcut-grid > a > span {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 40px;
}
.shortcut-grid h3 {
  font-size: 20px;
  margin-bottom: 9px;
}
.shortcut-grid p {
  font-size: 12px;
  margin-bottom: 0;
}
.shortcut-grid .icon {
  position: absolute;
  right: 22px;
  top: 25px;
  color: var(--brand);
}

/* Calculator: the main tool and the custom-rate route share the same controls. */
.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  margin-block: 100px 0;
  padding: 44px;
  background: var(--mint);
  border-radius: 24px;
}
.calculator-copy {
  min-width: 0;
}
.calculator-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.calculator-copy p {
  font-size: 14px;
}
.rate-callout,
.rate-note {
  border-top: 1px solid #c3e1d2;
  padding-top: 18px;
  margin-top: 24px;
}
.rate-callout strong,
.rate-value {
  display: block;
  font-size: 24px;
  color: var(--brand);
}
.rate-description,
.rate-callout p {
  font-size: 12px;
}
.calculator-card {
  min-width: 0;
  padding: 32px;
  border-radius: 18px;
  background: var(--brand);
  color: var(--white);
}
.calculator-card fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.calculator-card legend {
  color: var(--mint-light);
  margin-bottom: 12px;
}
.calculator-card .eyebrow,
.calculator-label {
  color: var(--mint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.calculator-card label {
  display: block;
  font-size: 12px;
  color: var(--mint-light);
  margin-bottom: 9px;
}
.amount-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ffffff99;
}
.amount-field input,
.calculator-card input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
}
.amount-field span,
.currency-suffix {
  font-size: 12px;
  color: var(--mint-light);
}
.calculator-card input:focus-visible {
  outline-color: var(--highlight);
  outline-offset: 3px;
}
.calculator-card a:focus-visible,
.calculator-card button:focus-visible {
  outline-color: var(--highlight);
}
.calculator-card .input-error,
.calculator-card .field-error {
  color: #fff1ad;
  font-size: 12px;
  margin-block: 10px 0;
}
.amount-presets,
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.amount-presets button,
.presets button {
  flex: 1;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ffffff99;
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-size: 12px;
}
.amount-presets button.selected,
.presets button.selected {
  color: var(--ink);
  background: var(--highlight);
  border-color: var(--highlight);
}
.result-block,
.calculator-result {
  padding-block: 26px 12px;
}
.result-block p,
.calculator-result p {
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--mint-light);
}
.inr-value,
#result {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}
#result span {
  font-size: 0.6em;
}
.calculator-card .result-rate,
.calculator-card .calculator-disclaimer {
  margin-block: 10px 20px;
  font-size: 10px;
  color: var(--mint-light);
}
.calculator-card .button {
  width: 100%;
  font-size: 12px;
  gap: 8px;
}
.calculator-card .calculator-actions,
.calculator-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.calculator-card .calculator-actions .button,
.calculator-card .actions .button {
  flex: 1;
  width: auto;
  padding-inline: 12px;
}
.calculator-card output {
  display: block;
  overflow-wrap: anywhere;
}
.calculator-card .calculator-note,
.calculator-card > p:last-child {
  color: var(--mint-light);
  font-size: 11px;
  margin: 12px 0 0;
}
.rate-field {
  margin-top: 24px;
}

.calculator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.calculator-result > span {
  display: block;
  color: var(--mint-light);
  font-size: 11px;
  margin-block: 9px;
}
.calculator-card .calculator-help,
.calculator-card .calculator-foot {
  color: var(--mint-light);
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0 0;
}
.custom-rate-field,
.calculator-rate-field {
  margin-top: 26px;
}
.converter-standalone {
  max-width: 760px;
  margin-block-start: 32px;
}
.custom-rate-field .rate-field {
  margin-top: 0;
}
.rate-note {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rate-symbol {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--brand);
  background: var(--white);
  border-radius: 50%;
  font-size: 25px;
}
.rate-note div > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.rate-note strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand);
}

/* Handbook: sticky topic navigation on desktop, all copy remains crawlable. */
.handbook-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  align-items: start;
  gap: 55px;
}
.contents {
  position: sticky;
  top: 112px;
  max-height: calc(100dvh - 136px);
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
}
.contents .eyebrow {
  margin-bottom: 12px;
}
.toc-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.toc-list li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.toc-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding-block: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.toc-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  height: 25px;
  border-radius: 7px;
  color: var(--brand);
  background: var(--mint);
  font-size: 11px;
}
.contents-full {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 14px;
  min-height: 48px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}
.handbook-content {
  min-width: 0;
}
.guide-section {
  position: relative;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.guide-section:last-child {
  margin-bottom: 0;
}
.guide-section h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.guide-section h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-top: 26px;
}
.guide-section p,
.guide-section li {
  font-size: 14px;
  line-height: 1.85;
}
.guide-section li {
  margin-bottom: 8px;
  color: var(--muted);
}
.guide-section ul,
.guide-section ol {
  padding-left: 22px;
}
.guide-section a:not(.ref-button):not(.button),
.document-body a:not(.button):not(.app-access-cta) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ref-small {
  font-size: 12px !important;
}
.ref-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ref-badges span {
  border: 1px solid #c3e1d2;
  border-radius: 30px;
  padding: 3px 12px;
  color: var(--brand);
  font-size: 11px;
}
.ref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px;
}
.ref-table-wrap,
.table-scroll,
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin-block: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
th,
td {
  padding: 15px;
  border: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
th {
  color: var(--ink);
  font-weight: 600;
  background: var(--mint);
}
td {
  color: var(--muted);
}
.ref-faq,
.faq-item,
.faq-list > details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ref-faq summary,
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  padding-block: 9px;
  color: var(--ink);
}
.ref-faq p,
.faq-item p {
  margin: 12px 0 0;
}
.ref-faq[open] summary,
.faq-item[open] summary {
  color: var(--brand);
}
.related-reading h2 {
  font-size: 32px;
}
.related-reading p {
  max-width: 700px;
  font-size: 14px;
}
.related-reading a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.closing {
  padding: 55px;
  margin-block: 70px 100px;
  border-radius: 24px;
  background: var(--highlight);
}
.closing p {
  max-width: 500px;
}
.closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 26px;
}

/* Supporting articles retain their useful content and established URLs. */
.document-page {
  padding-block: 45px 80px;
  max-width: 960px;
  min-height: 65vh;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  margin-bottom: 44px;
}
.breadcrumbs a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.document-page > h1 {
  max-width: 800px;
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 28px;
}
.document-page > h1 .heading-accent {
  color: var(--brand);
}
.document-lead {
  max-width: 720px;
  font-size: 18px;
}
.document-date {
  font-size: 12px;
  padding-block: 18px 28px;
  border-bottom: 1px solid var(--line);
}
.document-date a {
  color: var(--brand);
}
.document-body {
  max-width: 760px;
  margin-top: 42px;
}
.document-body h2 {
  font-size: 28px;
  margin-top: 42px;
  line-height: 1.3;
}
.document-body h3 {
  font-size: 21px;
  margin-top: 32px;
}
.document-body p,
.document-body li {
  font-size: 16px;
  line-height: 1.75;
}
.document-body ul,
.document-body ol {
  padding-left: 24px;
}
.document-body li {
  color: var(--muted);
  margin-bottom: 8px;
}
.document-body figure {
  margin: 30px 0;
}
.document-body figure img {
  max-width: 270px;
  height: auto;
  margin-inline: auto;
  border-radius: 18px;
}
.document-body figcaption {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.document-callout,
.article-invite,
.guide-summary {
  padding: 24px;
  border: 1px solid #c7e7d8;
  border-radius: 16px;
  background: var(--mint);
  margin-block: 30px;
}
.document-callout p:last-child {
  margin-bottom: 0;
}
.document-toc {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.document-toc ul,
.document-toc ol {
  padding-left: 22px;
}
.document-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.guide-directory {
  margin-top: 40px;
}
.guide-directory h2 {
  margin-top: 0;
}
.guide-directory-groups,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px 24px;
}
.guide-directory-groups h3,
.directory-grid h3 {
  margin: 0 0 8px;
}
.guide-directory-groups ul,
.directory-grid ul {
  margin: 0;
}
.guide-directory-groups li,
.directory-grid li {
  margin: 0;
}
.directory-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
}
.guide-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 50px;
}
.guide-summary dt {
  font-size: 11px;
  color: var(--muted);
}
.guide-summary dd {
  margin: 5px 0 0;
  font-size: 18px;
}
.document-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-block: 32px;
}
.app-access-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 64px;
  padding: 15px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.app-cta-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
}
.app-cta-symbol svg,
.app-cta-arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-cta-copy {
  display: block;
}
.app-cta-title,
.app-cta-caption {
  display: block;
}
.app-cta-caption {
  font-size: 11px;
  color: var(--mint);
  margin-top: 2px;
}
.article-page .calculator-card {
  max-width: 760px;
  margin-top: 32px;
}
.article-page .calculator-card .button {
  max-width: 450px;
}
.article-related {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 20px;
  color: var(--brand);
}

/* Footer and the supplied Telegram contact. */
.site-footer {
  background: var(--mint);
  padding-block: 58px 22px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-top p {
  font-size: 13px;
  margin-top: 16px;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 15px;
}
.footer-top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
}
.footer-note {
  font-size: 11px;
  line-height: 1.8;
  padding-block: 23px;
  border-block: 1px solid #c3e1d2;
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 11px;
  padding-top: 6px;
  padding-bottom: 35px;
}
.footer-bottom a,
.footer-bottom button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  background: transparent;
  font-size: 11px;
}
.footer-bottom button[aria-pressed='true'] {
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
}
.telegram-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 19px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid #ffffff75;
  border-radius: 32px;
  box-shadow: 0 8px 25px -9px #054a3688;
  font-size: 12px;
  animation: contact-arrive 650ms 200ms var(--ease) backwards;
}
@keyframes contact-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {
  .button-primary:hover,
  .ref-button:not(.ref-secondary):hover,
  .app-access-cta:hover,
  [data-copy-share]:hover,
  .telegram-float:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
  }
  .button-secondary:hover,
  .text-link:hover,
  .desktop-nav a:hover {
    color: var(--brand-hover);
  }
  .shortcut-grid > a:hover {
    border-color: var(--brand);
  }
  .toc-list a:hover {
    color: var(--brand);
  }
}

/* Responsive layout avoids fixed-width content on small screens. */
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
  .navigation {
    gap: 22px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav a {
    font-size: 12px;
  }
  .hero {
    gap: 35px;
    padding-top: 55px;
  }
  .hero-art {
    min-height: 640px;
  }
  .art-usdt {
    right: 15px;
  }
  .art-sticker {
    right: 8px;
    bottom: 62px;
    font-size: 19px;
  }
  .handbook-layout {
    gap: 35px;
    grid-template-columns: 245px minmax(0, 1fr);
  }
  .calculator-layout {
    padding: 32px;
    gap: 35px;
  }
  .shortcut-grid > a {
    padding: 20px;
  }
}
@media (max-width: 820px) {
  html {
    scroll-padding-top: 94px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .navigation {
    min-height: 76px;
    justify-content: space-between;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  /* Keep the header controls in place while JavaScript initializes the menu. */
  .menu-toggle[hidden] {
    display: flex !important;
    visibility: hidden;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .header-brand-mark {
    width: 34px;
    height: 34px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 45px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero h1 {
    font-size: clamp(52px, 8vw, 72px);
  }
  .hero-lead {
    max-width: 540px;
  }
  .hero-art {
    min-height: 610px;
    max-width: 570px;
    width: 100%;
    margin-inline: auto;
    border-radius: 220px 220px 24px 24px;
  }
  .hero-phone {
    width: 220px;
  }
  .art-usdt {
    right: 58px;
    top: 110px;
  }
  .art-sticker {
    right: 50px;
    bottom: 60px;
  }
  .art-inr {
    left: 55px;
  }
  .facts-strip > div {
    padding-inline: 18px;
  }
  .facts-strip strong {
    font-size: 24px;
  }
  .facts-strip small {
    display: block;
  }
  .facts-strip p {
    font-size: 11px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    max-width: 280px;
    font-size: 13px;
  }
  .screen-grid {
    gap: 16px;
  }
  .screen-image,
  .screen-frame {
    padding: 20px 12px;
  }
  .screen-label {
    gap: 10px;
  }
  .screen-label h3 {
    font-size: 16px;
  }
  .screen-card figcaption strong {
    font-size: 14px;
  }
  .screen-card figcaption p {
    font-size: 12px;
  }
  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shortcut-grid > a {
    min-height: 195px;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 25px;
  }
  .calculator-copy {
    max-width: 580px;
  }
  .handbook-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contents {
    position: static;
    max-height: none;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
  }
  .toc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .toc-list a {
    min-height: 53px;
  }
  .guide-section {
    padding-bottom: 30px;
    margin-bottom: 32px;
  }
  .footer-top {
    gap: 30px;
  }
  .document-page {
    padding-top: 30px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-actions .button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 11px;
    gap: 7px;
  }
  .nav-actions .button .icon {
    width: 16px;
    height: 16px;
  }
  .navigation {
    gap: 12px;
  }
  .brand {
    gap: 7px;
    font-size: 20px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero h1 {
    font-size: clamp(47px, 10vw, 60px);
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 24px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding-inline: 14px;
  }
  .hero-actions .button-primary {
    flex-basis: 100%;
  }
  .invite-card {
    padding: 16px;
  }
  .invite-value {
    font-size: 23px;
  }
  [data-copy-share] {
    padding-inline: 12px;
    gap: 6px;
  }
  [data-copy-share] .icon {
    display: none;
  }
  .hero-art {
    min-height: 570px;
    border-radius: 170px 170px 22px 22px;
  }
  .hero-phone {
    width: 208px;
  }
  .art-label {
    top: 28px;
    font-size: 8px;
  }
  .art-currency {
    width: 55px;
    height: 55px;
    font-size: 29px;
  }
  .art-usdt {
    right: 16px;
    top: 130px;
  }
  .art-inr {
    left: 12px;
    bottom: 125px;
  }
  .art-sticker {
    right: 12px;
    bottom: 68px;
    padding: 13px;
    font-size: 18px;
  }
  .art-caption {
    left: 19px;
    bottom: 24px;
    font-size: 8px;
  }
  .art-caption strong {
    font-size: 11px;
  }
  .facts-strip {
    grid-template-columns: 1fr;
    padding-block: 4px;
  }
  .facts-strip > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0 12px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .facts-strip > div:last-child {
    border: 0;
  }
  .facts-strip > div > span {
    margin: 0;
    grid-column: 1;
  }
  .facts-strip strong {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 22px;
  }
  .facts-strip p {
    grid-column: 1;
    font-size: 10px;
  }
  .facts-strip small {
    font-size: 11px;
  }
  .screen-section,
  .quick-guides,
  .handbook,
  .related-reading,
  .topic-guides {
    padding-top: 64px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 22px;
    font-size: 13px;
  }
  .section-heading > a {
    margin-top: 18px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .screen-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .screen-label h3 {
    font-size: 20px;
  }
  .screen-image,
  .screen-frame {
    padding: 26px;
  }
  .screen-image img,
  .screen-frame img {
    width: 240px;
  }
  .screen-card figcaption {
    padding-top: 20px;
  }
  .screen-card figcaption strong {
    font-size: 17px;
  }
  .screen-card figcaption p {
    font-size: 13px;
  }
  .shortcut-grid {
    gap: 12px;
  }
  .shortcut-grid > a {
    padding: 18px;
    min-height: 208px;
  }
  .shortcut-grid h3 {
    font-size: 20px;
  }
  .shortcut-grid p {
    font-size: 11px;
  }
  .shortcut-grid .icon {
    right: 14px;
    top: 18px;
    width: 18px;
    height: 18px;
  }
  .calculator-layout {
    margin-top: 64px;
    padding: 24px 18px;
    gap: 20px;
  }
  .calculator-copy h2 {
    font-size: 34px;
  }
  .calculator-card {
    padding: 24px 19px;
  }
  .calculator-card input {
    font-size: 31px;
  }
  .inr-value,
  #result {
    font-size: 36px;
  }
  .toc-list {
    grid-template-columns: 1fr;
  }
  .contents {
    padding: 22px;
  }
  .toc-list a {
    font-size: 13px;
  }
  .guide-section h2 {
    font-size: 26px;
  }
  .guide-section p,
  .guide-section li {
    font-size: 14px;
  }
  .guide-section .ref-actions a {
    width: 100%;
  }
  th,
  td {
    padding: 12px;
    font-size: 12px;
  }
  .closing {
    padding: 32px 24px;
    margin-block: 52px 64px;
  }
  .closing h2 {
    font-size: 35px;
  }
  .closing > p {
    font-size: 14px;
  }
  .closing-actions {
    gap: 16px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-top > div {
    grid-column: 1 / -1;
  }
  .footer-top nav a {
    font-size: 11px;
  }
  .footer-label {
    font-size: 9px;
  }
  .footer-bottom {
    padding-bottom: 65px;
    justify-content: flex-start;
  }
  .footer-bottom > span {
    width: 100%;
  }
  .site-footer {
    padding-top: 40px;
  }
  .telegram-float {
    right: 15px;
    bottom: 15px;
    padding: 14px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
  }
  .telegram-float span {
    display: none;
  }
  .document-page > h1 {
    font-size: 42px;
  }
  .document-lead {
    font-size: 16px;
  }
  .document-body h2 {
    font-size: 26px;
  }
  .breadcrumbs {
    margin-bottom: 28px;
  }
  .app-access-cta {
    padding: 15px 17px;
    gap: 10px;
  }
  .app-cta-title {
    font-size: 12px;
  }
  .app-cta-caption {
    font-size: 10px;
  }
}
@media (max-width: 350px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-brand-mark {
    width: 30px;
    height: 30px;
  }
  .nav-actions {
    gap: 7px;
  }
  .nav-actions .button {
    padding-inline: 10px;
  }
  .nav-actions .button .icon {
    display: none;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    min-height: 530px;
  }
  .hero-phone {
    width: 190px;
  }
  .invite-value {
    font-size: 21px;
  }
  .shortcut-grid {
    grid-template-columns: 1fr;
  }
  .shortcut-grid > a {
    min-height: 180px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top > div {
    grid-column: auto;
  }
}

/* Manual and system motion preferences disable every decorative animation. */
.motion-paused {
  scroll-behavior: auto !important;
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Shared article components from the retained guide pages. */
.faq-list > details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.faq-list > details > summary {
  min-height: 44px;
  padding-block: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.faq-list > details[open] > summary {
  color: var(--brand);
}
.faq-list > details p {
  margin: 12px 0 0;
}
.invite-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.guide-toc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.guide-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.no-script-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 12px;
}
.no-script-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  font-size: 12px;
}
.invite-value[readonly] {
  font-size: .875rem;
  letter-spacing: normal;
}

.hero-art { margin: 0; }
.art-sticker { text-decoration: none; }
.topic-guides + .topic-guides { margin-top: 24px; }
.topic-guides h3 { margin-bottom: 12px; }
.calculator-card fieldset { margin: 14px 0 0; padding: 0; border: 0; min-inline-size: 0; }
.calculator-card legend { color: var(--mint-light); font-size: .875rem; }
.calculator-card h2 { color: var(--white); }
.calculator-result output { font-size: clamp(1.15rem, 3vw, 2.05rem); line-height: 1.25; font-weight: 650; }
.calculator-layout.converter-standalone { display: block; padding: 0; background: transparent; }
@media (min-width: 1101px) {
  .dhan-footer-top { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
}
