@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  color-scheme: light;
  --ink: #182c24;
  --muted: #465b50;
  --green: #174c3a;
  --green-hover: #0c3a2b;
  --moss: #dce8dc;
  --paper: #f6f5ee;
  --white: #fffefa;
  --line: #d8dfd4;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); line-height: 1; letter-spacing: -.015em; }
h3 { font-size: 1.08rem; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a76027; outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(52px, 7vw, 104px); }
.eyebrow { color: var(--green); font-size: .73rem; font-weight: 700; letter-spacing: .14em; }
.text-link { display: inline-flex; gap: .45rem; align-items: baseline; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--green-hover); }

.skip-link { position: fixed; z-index: 40; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-150%); background: var(--white); border: 1px solid var(--green); }
.skip-link:focus { transform: translateY(0); }
.masthead { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-lockup img { width: 43px; height: 43px; }
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup strong { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.035em; }
.brand-lockup small { margin-top: 3px; font-size: .59rem; font-weight: 700; letter-spacing: .08em; }
#siteNav { display: flex; gap: clamp(16px, 2.05vw, 30px); align-items: center; }
#siteNav a { white-space: nowrap; font-size: .86rem; font-weight: 700; }
#siteNav a:not(.button):hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: .89rem;
  text-align: center;
  line-height: 1.25;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--green-hover); }
.button-outline { color: var(--ink); border-color: #acbbae; background: transparent; }
.button-outline:hover { background: #e7eee3; border-color: #789286; }
.nav-login { min-height: 41px; padding-inline: 14px; }

.hero { background: var(--paper); padding-block: clamp(38px, 5.4vw, 79px) clamp(40px, 4.7vw, 66px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); align-items: center; gap: clamp(32px, 5vw, 74px); }
.hero h1 { margin-block: 16px 18px; font-size: clamp(2.85rem, 4.2vw, 4.15rem); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.intro { max-width: 440px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.19rem); line-height: 1.6; }
.hero .actions { margin-top: 26px; }

.service-band { background: var(--paper); padding-block: 0 clamp(36px, 4.6vw, 60px); }
.service-band h2 { font-family: var(--sans); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.025em; }
.service-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.service-links > a, .retail-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service-links > a { min-height: 91px; border: 1px solid var(--line); border-radius: 8px; padding: 16px 19px; background: var(--white); transition: border-color .18s ease, background-color .18s ease; }
.service-links > a:hover { border-color: #8aab99; background: #f5faf2; }
.service-links strong, .retail-list strong { display: block; }
.service-links small, .retail-list small { display: block; margin-top: 3px; font-size: .84rem; color: var(--muted); }
.arrow { flex: 0 0 auto; color: var(--green); font-size: 1.05rem; }

.gateway { background: #20382d; color: #fffef8; }
.gateway-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(34px, 6.4vw, 94px); }
.gateway .eyebrow { color: #b8d1bd; margin-bottom: 13px; }
.gateway-copy > p:not(.eyebrow) { margin-top: 17px; max-width: 485px; color: #deebe0; }
.gateway .text-link { color: #e8f4e6; }
.gateway-steps { display: grid; gap: 14px; margin: 25px 0 23px; padding: 0 0 0 23px; }
.gateway-steps li { padding-left: 6px; }
.gateway-steps li::marker { color: #c4d9c5; font-size: .83rem; }
.gateway-steps strong, .gateway-steps span { display: block; }
.gateway-steps span { color: #d5e3d7; font-size: .91rem; margin-top: 2px; }
.gateway-aside { background: var(--white); color: var(--ink); overflow: hidden; border-radius: 10px; }
.agreement { display: grid; gap: 15px; padding: clamp(19px, 3vw, 30px); }
.agreement h3 { font-size: 1.17rem; }
.agreement label { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .87rem; }
.agreement input[type=checkbox] { accent-color: var(--green); width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; }
.agreement label a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.agreement button { justify-self: start; }

.digikhata { background: #e6ede2; }
.digi-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(26px, 6vw, 80px); }
.digi-layout .eyebrow { margin-bottom: 11px; }
.digi-layout p:not(.eyebrow) { margin-block: 15px; color: var(--muted); }
.digi-sites { border-block: 1px solid #b9cbba; }
.digi-sites a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 11px 12px; font-weight: 700; }
.digi-sites a + a { border-top: 1px solid #b9cbba; }
.digi-sites a:hover { background: #f3f7ee; color: var(--green-hover); }

.section-heading { margin-bottom: 27px; }
.section-heading p { margin-top: 12px; color: var(--muted); }
.retail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; column-gap: 26px; }
.retail-list li { border-top: 1px solid var(--line); }
.retail-list a { height: 100%; min-height: 79px; padding: 12px 4px; }
.retail-list a:hover strong { color: var(--green-hover); text-decoration: underline; text-underline-offset: 3px; }
.section-note { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: .82rem; }

.sms { background: var(--paper); border-top: 1px solid var(--line); }
.sms-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(32px, 7vw, 96px); }
.sms h2 { margin-block: 11px 15px; }
.sms p:not(.eyebrow) { color: var(--muted); }
.sms-note { margin-block: 17px 22px; font-size: .85rem; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; color: var(--ink); }
.price-table th, .price-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: right; }
.price-table th { background: var(--moss); font-size: .83rem; font-weight: 700; }
.price-table td { font-size: .94rem; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table tbody tr:first-child td { font-weight: 700; }

.footer { background: #192e25; color: #f7faf0; padding-top: 49px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1.15fr 1.1fr; gap: 30px; }
.footer-company p { margin-top: 13px; color: #c9dbce; font-size: .77rem; }
.footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin-bottom: 8px; }
.footer-grid > div:not(.footer-company) a { display: block; width: fit-content; color: #dfece0; font-size: .87rem; padding-block: 4px; overflow-wrap: anywhere; }
.footer-grid > div:not(.footer-company) a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 31px; padding-block: 17px; border-top: 1px solid #496254; color: #d2e0d2; font-size: .79rem; }
.footer-bottom p:last-child { white-space: nowrap; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .hero-break { display: none; }
  #siteNav { gap: 17px; }
}
@media (max-width: 940px) {
  html { scroll-padding-top: 85px; }
  .header-inner { min-height: 65px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; min-height: 42px; padding-inline: 10px; border: 1px solid #acbbae; border-radius: 6px; color: var(--ink); background: var(--white); font-size: .87rem; font-weight: 700; }
  #siteNav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 65px); overflow-y: auto; overscroll-behavior: contain; padding: 9px 28px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  #siteNav.open { display: grid; gap: 0; }
  #siteNav a { display: flex; align-items: center; min-height: 43px; }
  #siteNav a:not(.button) { border-bottom: 1px solid var(--line); }
  #siteNav .nav-login { justify-self: start; margin-top: 9px; }
  .hero-layout { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { max-width: 740px; }
  .gateway-layout { gap: 36px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  #siteNav { padding-inline: 20px; }
  .hero { padding-block: 32px 31px; }
  .hero h1 { margin-block: 11px 13px; font-size: clamp(2.62rem, 10.6vw, 3.75rem); }
  .hero .actions { margin-top: 20px; }
  .service-band { padding-bottom: 39px; }
  .service-links, .gateway-layout, .digi-layout, .sms-layout { grid-template-columns: 1fr; }
  .service-links { gap: 7px; }
  .service-links > a { min-height: 66px; padding: 10px 13px; }
  .gateway-layout { gap: 29px; }
  .digi-layout, .sms-layout { gap: 22px; }
  .retail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .price-table th, .price-table td { padding-inline: 8px; }
  .footer { padding-top: 37px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-company { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 420px) {
  .hero .actions .button { flex: 1 1 auto; }
  .retail-list { grid-template-columns: 1fr; }
  .retail-list a { min-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-links > a { transition: none; }
}

.payment-demo {
  padding: clamp(17px, 3.1vw, 30px);
  border: 1px solid #afc3b2;
  border-radius: 12px;
  background: #ebf0e7;
}
.demo-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 16px;
}
.demo-heading h2 {
  font: 700 clamp(1.1rem, 2.2vw, 1.38rem)/1.24 var(--sans);
  letter-spacing: -.025em;
}
.demo-heading span { color: var(--green); font-size: .76rem; font-weight: 700; }
.demo-methods, .demo-outcomes { display: grid; gap: 6px; }
.demo-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }
.demo-outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.payment-demo button {
  min-height: 44px;
  padding: 6px 5px;
  border: 1px solid #b9c9bb;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
}
.payment-demo button:hover { background: #e0ecdf; }
.payment-demo button[aria-pressed=true] { background: var(--green); color: #fff; border-color: var(--green); }
.demo-receipt {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #c8d7c9;
  border-radius: 7px;
  background: var(--white);
}
.demo-art {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #e7eee3;
  color: var(--green);
}
.demo-qr-mark { display: grid; gap: 4px; grid-template-columns: repeat(2, 12px); }
.demo-qr-mark i { display: block; height: 12px; border: 2px solid currentColor; border-radius: 2px; }
.demo-qr-mark i:last-child { width: 7px; height: 7px; align-self: center; justify-self: center; border: 0; background: currentColor; }
.demo-link-mark { display: none; font-size: 1.7rem; line-height: 1; }
.demo-amount { display: block; font-size: 1.55rem; line-height: 1.12; font-variant-numeric: tabular-nums; }
.demo-method-title { margin-top: 4px; font-size: .88rem; font-weight: 700; }
.demo-description, .demo-footnote { color: var(--muted); font-size: .76rem; }
.demo-description { margin-top: 2px; }
.demo-footnote { margin-top: 9px; }
.demo-example-url { display: none; color: var(--green); font-family: ui-monospace, monospace; font-size: .73rem; overflow-wrap: anywhere; }
.payment-demo[data-method=link] .demo-qr-mark { display: none; }
.payment-demo[data-method=link] .demo-example-url, .payment-demo[data-method=link] .demo-link-mark { display: block; }
.demo-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-block: 10px;
  padding: 8px 10px;
  background: #faf0d7;
  color: #5b430d;
  border-radius: 6px;
  font-size: .8rem;
}
.demo-status strong { font-size: .86rem; }
.payment-demo[data-outcome=success] .demo-status { background: #dcecdf; color: #1b4d34; }
.payment-demo[data-outcome=failed] .demo-status { background: #fae5e1; color: #732d25; }

.retail-details { padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; }
.retail-details summary {
  padding-block: 15px;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.retail-details:not([open]) summary:hover { text-decoration: underline; }
.retail-details .retail-list { margin-bottom: 10px; }
@media (max-width: 420px) {
  .demo-receipt { grid-template-columns: 51px minmax(0, 1fr); padding: 11px; gap: 10px; }
  .demo-art { width: 47px; height: 47px; }
}

.gateway-steps a { text-decoration: underline; text-underline-offset: 3px; }
