:root {
  --background: #f5f7fb;
  --foreground: #111827;
  --ink-soft: #5b687a;
  --teal: #0f766e;
  --teal-dark: #0a4d49;
  --copper: #b45f35;
  --gold: #d6a84f;
  --paper: #ffffff;
  --line: #e5eaf2;
  --danger: #b83232;
  --blue: #1777d5;
  --orange: #ff8a00;
  --violet: #3c22ff;
  --navy: #123f86;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f6f8fc 0%, #eef3fb 100%);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 96vh;
  padding: 0 clamp(18px, 4vw, 64px) 64px;
  background:
    radial-gradient(circle at 8% 42%, rgba(255, 255, 255, 0.26) 0 62px, transparent 64px),
    radial-gradient(circle at 46% 93%, rgba(255, 255, 255, 0.16) 0 30px, transparent 31px),
    radial-gradient(circle at 74% 38%, rgba(73, 142, 255, 0.42), transparent 32%),
    linear-gradient(135deg, #123f86 0%, #1f5da6 42%, #214c96 100%);
  color: white;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 610px;
  height: 310px;
  left: -188px;
  top: -96px;
  border-radius: 0 0 78% 0;
  background: linear-gradient(135deg, #ff8a3c, #db3e31);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

.hero::after {
  width: 620px;
  height: 310px;
  right: -142px;
  top: -70px;
  border-radius: 0 0 0 90%;
  background: linear-gradient(135deg, #6d2bbb, #33186f);
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 34px;
  background: #fff;
  color: #7b8290;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 24px 55px rgba(18, 33, 53, 0.18);
}

.brand,
.navLinks,
.heroActions,
.panelTop,
.metric,
.balanceLine,
.toolbar {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
}

.brandLogo {
  width: 128px;
  height: 58px;
  object-fit: contain;
  border-radius: 7px;
  background: linear-gradient(135deg, #0b3f86, #123f86 48%, #1d8ed3);
  border: 1px solid rgba(18, 63, 134, 0.38);
  padding: 8px 10px;
  box-shadow: 0 12px 26px rgba(18, 63, 134, 0.2);
}

.navLinks {
  gap: 16px;
  flex-wrap: wrap;
}

.navLinks a {
  padding: 11px 4px;
  border: 0;
  border-radius: 8px;
  color: #7c8393;
  font-weight: 800;
  font-size: 16px;
}

.navLinks a:hover {
  color: #3c22ff;
}

.menuToggle {
  display: none;
  min-height: 42px;
  border-radius: 8px;
  padding: 9px 13px;
  background: #3c22ff;
  color: #fff;
  font-weight: 900;
}

.heroGrid {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  min-height: calc(96vh - 100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(440px, 0.88fr);
  align-items: center;
  gap: 44px;
}

.heroCopy {
  max-width: 820px;
  padding-top: 28px;
  animation: heroFadeUp 700ms ease both;
}

.heroBadge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 9px 16px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(47px, 6.4vw, 94px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.heroActions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary,
.secondary,
.button,
.loginBox button,
.ghostButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  padding: 15px 30px;
  font-weight: 800;
}

.primary,
.button,
.loginBox button {
  background: linear-gradient(135deg, #4b25ff, #2d18f0);
  color: #fff;
  box-shadow: 0 16px 30px rgba(60, 34, 255, 0.3);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.heroStats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.heroStats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
}

.heroStats strong {
  color: #fff;
  font-size: 18px;
}

.phoneStage {
  position: relative;
  min-height: 670px;
  animation: heroFadeUp 850ms ease 120ms both;
}

.phoneStage::before {
  content: "";
  position: absolute;
  inset: 20px -16px 0 42px;
  border: 8px dashed rgba(255, 255, 255, 0.26);
  border-radius: 86px;
}

.phoneMock {
  position: absolute;
  width: 286px;
  min-height: 590px;
  border: 13px solid #f8f8f8;
  border-radius: 48px;
  background: #f8fbff;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
  color: #1f2d3d;
  overflow: hidden;
}

.phoneFront {
  left: 86px;
  top: 30px;
  z-index: 2;
  animation: phoneFloat 5s ease-in-out infinite;
}

.phoneBack {
  right: -10px;
  top: 124px;
  z-index: 1;
  opacity: 0.95;
  animation: phoneFloat 6s ease-in-out 600ms infinite;
}

.phoneSpeaker {
  width: 60px;
  height: 8px;
  border-radius: 999px;
  background: #252525;
  margin: 18px auto;
}

.appTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #6842ff, #2c1a8a);
  color: #fff;
}

.slimTop {
  padding: 18px 16px;
}

.balanceCard,
.appSection,
.sideMenuMock {
  margin: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 56, 88, 0.08);
}

.balanceCard {
  display: flex;
  justify-content: space-between;
}

.appSection h3 {
  margin: 0 0 12px;
}

.appGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.appGrid span {
  display: grid;
  place-items: center;
  min-height: 62px;
  border-radius: 10px;
  background: #f4f7ff;
  color: #536070;
  font-size: 10px;
  text-align: center;
}

.appGrid b {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3c22ff, #18a0fb);
  color: #fff;
  box-shadow: 0 8px 16px rgba(60, 34, 255, 0.18);
}

.appGrid b::before,
.appGrid b::after {
  content: "";
  position: absolute;
  display: block;
}

.iconMobile b::before {
  left: 9px;
  top: 6px;
  width: 10px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.iconMobile b::after {
  left: 13px;
  bottom: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.iconTv b::before {
  left: 6px;
  top: 8px;
  width: 16px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.iconTv b::after {
  left: 11px;
  bottom: 5px;
  width: 8px;
  height: 2px;
  background: #fff;
}

.iconFastag b::before {
  left: 7px;
  top: 8px;
  width: 15px;
  height: 11px;
  border-radius: 3px;
  background: #fff;
  transform: rotate(-10deg);
}

.iconFastag b::after {
  left: 10px;
  top: 12px;
  width: 10px;
  height: 2px;
  background: #18a0fb;
  box-shadow: 0 4px 0 #18a0fb;
  transform: rotate(-10deg);
}

.iconUpi b::before {
  left: 8px;
  top: 7px;
  width: 5px;
  height: 14px;
  background: #fff;
  transform: skewX(-16deg);
}

.iconUpi b::after {
  right: 7px;
  top: 7px;
  width: 8px;
  height: 14px;
  background: linear-gradient(135deg, #fff 0 50%, transparent 50%);
}

.iconElectric b::before {
  left: 12px;
  top: 5px;
  width: 5px;
  height: 18px;
  background: #fff;
  transform: skewX(-18deg);
}

.iconElectric b::after {
  left: 9px;
  top: 12px;
  width: 10px;
  height: 7px;
  background: #fff;
  clip-path: polygon(38% 0, 100% 0, 50% 100%, 0 100%);
}

.iconWater b::before {
  left: 8px;
  top: 6px;
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 56% 56%;
  background: #fff;
  transform: rotate(45deg);
}

.iconWater b::after {
  left: 12px;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #18a0fb;
}

.iconGas b::before {
  left: 9px;
  top: 6px;
  width: 11px;
  height: 16px;
  border-radius: 50% 50% 50% 10%;
  background: #fff;
  transform: rotate(45deg);
}

.iconGas b::after {
  left: 12px;
  top: 11px;
  width: 5px;
  height: 7px;
  border-radius: 50% 50% 50% 10%;
  background: #18a0fb;
  transform: rotate(45deg);
}

.iconEmi b::before {
  left: 6px;
  top: 8px;
  width: 16px;
  height: 12px;
  border-radius: 3px;
  background: #fff;
}

.iconEmi b::after {
  left: 8px;
  top: 12px;
  width: 12px;
  height: 2px;
  background: #18a0fb;
  box-shadow: 0 4px 0 #18a0fb;
}

.iconBroadband b::before {
  left: 8px;
  top: 15px;
  width: 12px;
  height: 8px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.iconBroadband b::after {
  left: 6px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
}

.iconCard b::before {
  left: 6px;
  top: 8px;
  width: 16px;
  height: 12px;
  border-radius: 3px;
  background: #fff;
}

.iconCard b::after {
  left: 8px;
  top: 12px;
  width: 12px;
  height: 2px;
  background: #18a0fb;
  box-shadow: 0 5px 0 -1px #18a0fb;
}

.floatChip {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: #123f86;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(10, 25, 55, 0.2);
  animation: chipPulse 3.2s ease-in-out infinite;
}

.chipOne {
  top: 108px;
  left: 0;
}

.chipTwo {
  right: 6px;
  bottom: 92px;
}

.sideMenuMock {
  display: grid;
  gap: 14px;
  min-height: 390px;
  align-content: start;
}

.sideMenuMock span {
  padding-bottom: 12px;
  border-bottom: 1px solid #e7ecf4;
  color: #536070;
}

.aboutBand {
  max-width: 1220px;
  margin: 0 auto;
  padding: 84px clamp(18px, 4vw, 28px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.aboutBand p:not(.eyebrow),
.aboutText p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.textLink {
  display: inline-flex;
  margin-top: 12px;
  color: var(--violet);
  font-weight: 900;
}

.ghostButton {
  border: 1px solid var(--line);
  color: var(--teal-dark);
}

.dangerButton,
.linkDanger {
  color: #fff;
  background: var(--danger);
}

.dangerButton {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.linkDanger {
  margin-top: 8px;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.statementPanel {
  background: rgba(255, 253, 248, 0.94);
  color: var(--foreground);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.panelTop,
.metric,
.balanceLine {
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.panelTop {
  padding-top: 0;
}

.panelTop strong {
  color: var(--copper);
}

.metric span,
.balanceLine span {
  color: var(--ink-soft);
}

.metric strong {
  font-size: 26px;
}

.balanceLine {
  border-bottom: 0;
  padding-bottom: 0;
}

.balanceLine strong {
  color: var(--teal);
  font-size: 22px;
}

.services,
.accountant,
.ledger,
.invoiceFeature,
.publicCta {
  max-width: 1240px;
  margin: 0 auto;
  padding: 86px clamp(18px, 4vw, 28px);
}

.services {
  text-align: center;
  position: relative;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.serviceGrid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.serviceGrid article,
.loginBox,
.dashboard,
.invoiceMini {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(65, 50, 28, 0.08);
}

.serviceGrid article {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  min-height: 292px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.serviceGrid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #ff8a00, #3c22ff, #18a0fb);
}

.serviceGrid article::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  bottom: -46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 34, 255, 0.12), transparent 66%);
}

.serviceGrid article:hover {
  transform: translateY(-8px);
  border-color: rgba(60, 34, 255, 0.22);
  box-shadow: 0 28px 70px rgba(35, 56, 88, 0.16);
}

.serviceGrid span {
  position: absolute;
  right: 18px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f2f6ff;
  color: #3c22ff;
  font-weight: 900;
}

.serviceIcon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #fff3e4, #eef4ff);
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.serviceGrid h3,
.invoiceCard h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.serviceGrid h3 a {
  color: #122033;
}

.serviceGrid h3 a:hover {
  color: var(--violet);
}

.serviceGrid p,
.invoiceFeature p,
.ledgerNote {
  color: var(--ink-soft);
  line-height: 1.62;
}

.offerSection {
  max-width: 1440px;
  padding-top: 78px;
  background: #fff;
}

.offerHeading {
  text-align: center;
}

.offerHeading .eyebrow {
  color: #39c6ff;
  letter-spacing: 0;
  text-transform: none;
  font-size: 18px;
}

.offerHeading h2 {
  color: #292b30;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
}

.offerGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 64px;
}

.offerGrid .offerCard {
  min-height: 420px;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 18px 34px rgba(30, 45, 70, 0.1);
  text-align: center;
}

.offerGrid .offerCard::before {
  inset: 0;
  height: auto;
  background:
    linear-gradient(135deg, transparent 0 86%, #76bdf1 86% 88%, transparent 88%),
    radial-gradient(circle at 7% 67%, #ffd56b 0 10px, transparent 11px),
    radial-gradient(circle at 17% 62%, #80a9d8 0 7px, transparent 8px),
    linear-gradient(135deg, #89cef6 0 5px, transparent 5px 18px, #ffe18a 18px 24px, transparent 24px),
    linear-gradient(45deg, transparent 0 80%, #ffe08a 80% 85%, transparent 85%);
  background-size: 180px 180px, 180px 180px, 180px 180px, 190px 190px, 170px 170px;
  background-position: right top, left 42%, left 42%, right top, left 44%;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.offerGrid .offerCard::after {
  width: 102px;
  height: 102px;
  left: 26px;
  top: 72px;
  right: auto;
  bottom: auto;
  border-radius: 0;
  background:
    linear-gradient(#8acbf5, #8acbf5) 0 0 / 38px 5px no-repeat,
    linear-gradient(#ffe08a, #ffe08a) 18px 34px / 38px 5px no-repeat,
    linear-gradient(#bad5ee, #bad5ee) 42px 66px / 38px 5px no-repeat;
  box-shadow:
    0 0 0 4px transparent,
    18px 20px 0 -12px #fff,
    18px 20px 0 -7px #8acbf5,
    46px 48px 0 -12px #fff,
    46px 48px 0 -7px #b7cbe6;
}

.offerTop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 106px;
  padding: 20px 24px 0;
  text-align: left;
}

.offerTop img {
  width: 78px;
  height: 42px;
  object-fit: contain;
}

.offerTop b {
  color: #111820;
  font-size: 18px;
  line-height: 1.25;
}

.offerArt {
  position: relative;
  z-index: 1;
  height: 190px;
  margin: 8px 28px 0;
}

.offerCard h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px 24px 0;
  font-size: 25px;
  font-weight: 500;
}

.offerCard p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  padding: 0 28px 34px;
  color: #8a94a5;
  font-size: 17px;
}

.offerArt i {
  position: absolute;
  display: block;
}

.moneyArt .offerArt i:nth-child(1),
.moneyArt .offerArt i:nth-child(2) {
  width: 84px;
  height: 126px;
  bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(#ff9d16, #ffbe2f);
  box-shadow: inset 0 0 0 7px #f57d00, 0 16px 26px rgba(255, 138, 0, 0.18);
}

.moneyArt .offerArt i:nth-child(1) { left: 86px; }
.moneyArt .offerArt i:nth-child(2) { right: 86px; }
.moneyArt .offerArt i:nth-child(3) {
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 70px;
  margin-left: -35px;
  border-radius: 50%;
  background: #3c22ff;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.08);
}

.dthArt .offerArt i {
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.dthArt .offerArt i:nth-child(1) {
  left: 88px;
  top: 44px;
  width: 88px;
  height: 54px;
  border-radius: 0;
  background: #e90022;
}

.dthArt .offerArt i:nth-child(1)::after { content: "Airtel"; }
.dthArt .offerArt i:nth-child(2) { left: 184px; top: 54px; width: 70px; height: 70px; background: #7334a3; }
.dthArt .offerArt i:nth-child(2)::after { content: "d2h"; font-size: 22px; }
.dthArt .offerArt i:nth-child(3) { right: 88px; top: 48px; width: 96px; height: 54px; border-radius: 0; background: #f46b2a; }
.dthArt .offerArt i:nth-child(3)::after { content: "DTH"; }
.dthArt .offerArt i:nth-child(4) { left: 50%; bottom: 18px; width: 72px; height: 72px; margin-left: -36px; background: #58b8f5; }
.dthArt .offerArt i:nth-child(4)::after { content: ""; width: 34px; height: 22px; border: 5px solid #fff; border-radius: 4px; }

.cardArt .offerArt i {
  left: 50%;
  width: 145px;
  height: 80px;
  border-radius: 12px;
  box-shadow: 0 12px 18px rgba(35, 35, 70, 0.18);
}

.cardArt .offerArt i:nth-child(1) { top: 18px; transform: translateX(-34%) rotate(13deg); background: linear-gradient(135deg, #e6008d, #9e127b); }
.cardArt .offerArt i:nth-child(2) { top: 66px; transform: translateX(-58%) rotate(-10deg); background: linear-gradient(135deg, #43207b, #0b5f8f); }
.cardArt .offerArt i:nth-child(3) { bottom: 0; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%; background: #8067ff; }

.waterArt .offerArt i:nth-child(1) {
  left: 50%;
  top: 24px;
  width: 108px;
  height: 46px;
  margin-left: -54px;
  border-radius: 8px 8px 20px 20px;
  background: #9aa3b6;
}

.waterArt .offerArt i:nth-child(2) {
  left: 50%;
  top: 72px;
  width: 50px;
  height: 86px;
  margin-left: -25px;
  border-radius: 0 0 16px 16px;
  background: #6a8fca;
}

.waterArt .offerArt i:nth-child(3) {
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 66px;
  margin-left: -24px;
  border-radius: 50% 50% 56% 56%;
  background: #0d91d2;
}

.electricityArt .offerArt i:nth-child(1),
.webArt .offerArt i:nth-child(1) {
  left: 50%;
  top: 28px;
  width: 130px;
  height: 150px;
  margin-left: -65px;
  border-radius: 14px;
  background: linear-gradient(135deg, #153f63, #2cc3c7);
  box-shadow: 0 18px 24px rgba(15, 118, 110, 0.18);
}

.electricityArt .offerArt i:nth-child(2) { left: 145px; top: 78px; width: 70px; height: 98px; background: #e8f4ff; transform: rotate(-18deg); }
.electricityArt .offerArt i:nth-child(3) { right: 114px; top: 82px; width: 62px; height: 80px; background: #44c7b4; transform: rotate(20deg); }

.fastagArt .offerArt i:nth-child(1) {
  left: 52px;
  bottom: 62px;
  width: 280px;
  height: 14px;
  border-radius: 999px;
  background: #0b69d8;
}

.fastagArt .offerArt i:nth-child(2) {
  left: 110px;
  bottom: 78px;
  width: 180px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fbff, #d9efff);
  box-shadow: inset 0 -9px 0 #f78b20;
}

.fastagArt .offerArt i:nth-child(3) {
  right: 62px;
  bottom: 38px;
  width: 74px;
  height: 42px;
  border-radius: 8px;
  background: #7ba5d7;
}

.retailerArt .offerArt i:nth-child(1),
.distributorArt .offerArt i:nth-child(1),
.marketingArt .offerArt i:nth-child(1),
.smsArt .offerArt i:nth-child(1),
.appArt .offerArt i:nth-child(1) {
  left: 50%;
  top: 18px;
  width: 118px;
  height: 164px;
  margin-left: -59px;
  border-radius: 24px;
  background: linear-gradient(180deg, #143d86, #2a8ddb);
  box-shadow: inset 0 0 0 8px #fff, 0 18px 28px rgba(18, 63, 134, 0.18);
}

.retailerArt .offerArt i:nth-child(2),
.distributorArt .offerArt i:nth-child(2),
.marketingArt .offerArt i:nth-child(2) {
  left: 90px;
  bottom: 24px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff9f17;
}

.retailerArt .offerArt i:nth-child(3),
.distributorArt .offerArt i:nth-child(3),
.marketingArt .offerArt i:nth-child(3) {
  right: 86px;
  bottom: 30px;
  width: 78px;
  height: 58px;
  border-radius: 10px;
  background: #55c0f5;
}

.portalArt .offerArt i:nth-child(1) {
  left: 50%;
  top: 28px;
  width: 190px;
  height: 128px;
  margin-left: -95px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d64c8, #18c7b8);
}

.portalArt .offerArt i:nth-child(2) { left: 118px; bottom: 28px; width: 66px; height: 66px; border-radius: 50%; background: #ff9f17; }
.portalArt .offerArt i:nth-child(3) { right: 112px; bottom: 28px; width: 66px; height: 66px; border-radius: 50%; background: #3c22ff; }

.offerSection {
  max-width: 1500px;
  padding-bottom: 92px;
}

.offerGrid {
  gap: 32px;
}

.offerGrid .offerCard {
  min-height: 438px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 18px 35px rgba(32, 45, 68, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.offerGrid .offerCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(32, 45, 68, 0.16);
}

.offerGrid .offerCard::before {
  background:
    radial-gradient(circle at 7% 67%, #ffd46e 0 10px, transparent 11px),
    radial-gradient(circle at 15% 64%, #85aad7 0 7px, transparent 8px),
    linear-gradient(135deg, #81c9f3 0 7px, transparent 7px 26px, #ffe08a 26px 34px, transparent 34px),
    linear-gradient(135deg, #ffe08a 0 18px, transparent 18px 35px, #80c8f3 35px 43px, transparent 43px),
    linear-gradient(90deg, transparent 0 40%, rgba(145, 191, 229, 0.5) 40% 44%, transparent 44%),
    linear-gradient(0deg, transparent 0 40%, rgba(255, 218, 128, 0.5) 40% 44%, transparent 44%);
  background-size: 180px 180px, 180px 180px, 190px 190px, 160px 160px, 86px 86px, 86px 86px;
  background-position: left 45%, left 45%, right top, right top, 72px 104px, 72px 104px;
  background-repeat: no-repeat;
  opacity: 1;
}

.offerGrid .offerCard::after {
  left: 26px;
  top: 86px;
  width: 125px;
  height: 126px;
  background:
    linear-gradient(#85cdf4, #85cdf4) 0 0 / 48px 5px no-repeat,
    linear-gradient(#ffdf82, #ffdf82) 22px 34px / 46px 5px no-repeat,
    linear-gradient(#bad2ec, #bad2ec) 48px 70px / 48px 5px no-repeat;
  box-shadow:
    18px 18px 0 -12px #fff,
    18px 18px 0 -7px #8acbf5,
    46px 46px 0 -12px #fff,
    46px 46px 0 -7px #b7cbe6,
    72px 72px 0 -12px #fff,
    72px 72px 0 -7px rgba(255, 224, 138, 0.7);
}

.offerTop {
  grid-template-columns: 112px 1fr;
  min-height: 92px;
  padding: 18px 26px 0;
}

.offerTop img {
  width: 92px;
  height: 46px;
  padding: 7px 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0b3f86, #1f95d2);
  box-shadow: 0 9px 20px rgba(18, 63, 134, 0.16);
}

.offerTop b {
  align-self: center;
  color: #101720;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
}

.offerArt {
  height: 222px;
  margin: 0 30px;
}

.offerArt::before,
.offerArt::after {
  content: "";
  position: absolute;
  display: block;
}

.offerCard h3 {
  min-height: 42px;
  padding-top: 18px;
  font-size: 25px;
  font-weight: 500;
  background: #fff;
}

.offerCard p {
  margin-top: 14px;
  padding-bottom: 32px;
  font-size: 17px;
  color: #8b95a6;
}

.moneyArt .offerArt::before {
  left: 50%;
  top: 34px;
  width: 116px;
  height: 64px;
  margin-left: -58px;
  border-top: 4px dashed #ff9a17;
  border-radius: 50% 50% 0 0;
}

.moneyArt .offerArt i:nth-child(1),
.moneyArt .offerArt i:nth-child(2) {
  width: 90px;
  height: 120px;
  bottom: 54px;
  border-radius: 20px;
  background:
    linear-gradient(#ffac25, #ffc248),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(255, 255, 255, 0.32) 14px 18px);
}

.moneyArt .offerArt i:nth-child(1) { left: 112px; }
.moneyArt .offerArt i:nth-child(2) { right: 112px; }
.moneyArt .offerArt i:nth-child(3) {
  bottom: 24px;
  width: 60px;
  height: 60px;
  margin-left: -30px;
}

.dthArt .offerArt i:nth-child(1) { left: 96px; top: 58px; width: 100px; height: 54px; font-size: 17px; }
.dthArt .offerArt i:nth-child(2) { left: 50%; top: 64px; width: 76px; height: 76px; margin-left: -38px; }
.dthArt .offerArt i:nth-child(3) { right: 96px; top: 58px; width: 104px; height: 54px; font-size: 17px; }
.dthArt .offerArt i:nth-child(4) { bottom: 28px; width: 64px; height: 64px; margin-left: -32px; }

.cardArt .offerArt i {
  width: 154px;
  height: 78px;
}

.cardArt .offerArt i:nth-child(1) { top: 28px; }
.cardArt .offerArt i:nth-child(2) { top: 78px; }
.cardArt .offerArt i:nth-child(1)::before,
.cardArt .offerArt i:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 30px;
  height: 22px;
  border-radius: 5px;
  background: #ffd76a;
}

.cardArt .offerArt i:nth-child(1)::after,
.cardArt .offerArt i:nth-child(2)::after {
  content: "1234  5678";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  letter-spacing: 1px;
}

.cardArt .offerArt i:nth-child(3) {
  bottom: 26px;
  width: 62px;
  height: 62px;
  margin-left: -31px;
}

.waterArt .offerArt::after {
  left: 80px;
  right: 80px;
  bottom: 8px;
  height: 34px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 100%, #0d91d2 0 58%, transparent 59%);
}

.waterArt .offerArt i:nth-child(1) { top: 36px; width: 130px; }
.waterArt .offerArt i:nth-child(2) { top: 84px; height: 84px; }
.waterArt .offerArt i:nth-child(3) { bottom: 34px; }

.electricityArt .offerArt i:nth-child(1) {
  top: 36px;
  width: 138px;
  height: 146px;
  margin-left: -69px;
}

.electricityArt .offerArt i:nth-child(1)::after {
  content: "PAY NOW";
  position: absolute;
  top: 30px;
  left: 22px;
  right: 22px;
  padding: 7px;
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.electricityArt .offerArt i:nth-child(2) { left: 126px; top: 104px; }
.electricityArt .offerArt i:nth-child(3) { right: 104px; top: 106px; }

.fastagArt .offerArt i:nth-child(1) {
  left: 72px;
  right: 72px;
  bottom: 88px;
  width: auto;
  height: 16px;
}

.fastagArt .offerArt i:nth-child(1)::after {
  content: "FASTAG LANE";
  position: absolute;
  left: 38%;
  top: -18px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.fastagArt .offerArt i:nth-child(2) {
  left: 50%;
  bottom: 104px;
  margin-left: -96px;
  width: 192px;
  height: 68px;
}

.fastagArt .offerArt i:nth-child(3) {
  right: 82px;
  bottom: 54px;
}

.retailerArt .offerArt i:nth-child(1),
.distributorArt .offerArt i:nth-child(1),
.marketingArt .offerArt i:nth-child(1),
.smsArt .offerArt i:nth-child(1),
.appArt .offerArt i:nth-child(1) {
  top: 30px;
  width: 126px;
  height: 158px;
  margin-left: -63px;
}

.retailerArt .offerArt i:nth-child(1)::after,
.distributorArt .offerArt i:nth-child(1)::after,
.marketingArt .offerArt i:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 46px;
  height: 82px;
  border-radius: 10px;
  background:
    linear-gradient(#fff, #fff) 12px 15px / 60px 8px no-repeat,
    linear-gradient(#fff, #fff) 12px 36px / 72px 8px no-repeat,
    linear-gradient(#fff, #fff) 12px 57px / 50px 8px no-repeat,
    rgba(255, 255, 255, 0.14);
}

.retailerArt .offerArt i:nth-child(2),
.distributorArt .offerArt i:nth-child(2),
.marketingArt .offerArt i:nth-child(2) {
  left: 96px;
  bottom: 38px;
  width: 58px;
  height: 58px;
}

.retailerArt .offerArt i:nth-child(3),
.distributorArt .offerArt i:nth-child(3),
.marketingArt .offerArt i:nth-child(3) {
  right: 92px;
  bottom: 44px;
  width: 68px;
  height: 48px;
}

.servicePopup {
  width: min(330px, calc(100vw - 32px));
}

.popupInner {
  padding: 15px;
}

.servicePopup h3 {
  font-size: 20px;
}

.servicePopup p:not(.popupLabel) {
  font-size: 14px;
}

@media (max-width: 640px) {
  html,
  body.accountBody {
    max-width: 100%;
    overflow-x: hidden;
  }

  .accountPage {
    width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }

  .accountTopbar {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(18, 33, 53, 0.08);
  }

  .accountTopbar .brand {
    min-width: 0;
    flex: 1;
    font-size: 18px;
    line-height: 1.08;
  }

  .accountTopbar .brandLogo {
    width: 72px;
    height: 42px;
    flex: 0 0 auto;
  }

  .accountTopbar .ghostButton {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }

  .accountPage .accountDashboard,
  .accountPage .dashMain,
  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    min-width: 0;
    width: 100%;
  }

  .accountPage .accountDashboard {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .accountPage .dashSidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
  }

  .accountPage .dashProfile {
    width: 100%;
    margin: 0 0 4px;
    padding-bottom: 10px;
  }

  .accountPage .dashProfile img {
    width: 48px;
    height: 40px;
  }

  .accountPage .dashSidebar a {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    padding: 0 10px;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    text-align: center;
  }

  .accountPage .dashSidebar .logoutLink {
    margin-top: 0;
  }

  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    padding: 14px;
    border-radius: 8px;
  }

  .accountPage .dashHero h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.08;
  }

  .accountPage .dashHero .eyebrow,
  .accountPage .panelHead .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .accountPage .dashActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    align-items: stretch;
  }

  .accountPage .dashActions input,
  .accountPage .dashActions .button {
    width: 100%;
    min-width: 0;
  }

  .accountPage .dashActions .button,
  .accountPage .invoiceFilter .button,
  .accountPage .invoiceFilter .ghostButton,
  .accountPage .invoiceFilter button,
  .accountPage .partyForm button {
    min-height: 42px;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
    box-shadow: none;
  }

  .accountPage .kpiGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .accountPage .kpiGrid article {
    min-height: 104px;
    padding: 12px;
  }

  .accountPage .kpiGrid strong {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .accountPage .kpiGrid small {
    font-size: 11px;
    line-height: 1.35;
  }

  .accountPage .panelHead h3 {
    font-size: 22px;
  }

  .accountPage .invoiceFilter,
  .accountPage .partyForm {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .accountPage .invoiceCard {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .accountPage .invoiceCard h3 {
    font-size: 18px;
  }

  .accountPage .invoiceCard > strong {
    justify-self: start;
    font-size: 20px;
  }

  .accountPage .cardActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .accountPage .cardActions .button,
  .accountPage .cardActions .ghostButton,
  .accountPage .cardActions .dangerButton,
  .accountPage .cardActions form {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .accountPage table {
    min-width: 860px;
  }

  .accountLoginShell {
    margin-top: 20px;
  }

  .accountLoginShell h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  html,
  body.accountBody {
    max-width: 100%;
    overflow-x: hidden;
  }

  .accountPage {
    width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }

  .accountTopbar {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(18, 33, 53, 0.08);
  }

  .accountTopbar .brand {
    min-width: 0;
    flex: 1;
    font-size: 18px;
    line-height: 1.08;
  }

  .accountTopbar .brandLogo {
    width: 72px;
    height: 42px;
    flex: 0 0 auto;
  }

  .accountTopbar .ghostButton {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }

  .accountPage .accountDashboard,
  .accountPage .dashMain,
  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    min-width: 0;
    width: 100%;
  }

  .accountPage .accountDashboard {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .accountPage .dashSidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
  }

  .accountPage .dashProfile {
    width: 100%;
    margin: 0 0 4px;
    padding-bottom: 10px;
  }

  .accountPage .dashProfile img {
    width: 48px;
    height: 40px;
  }

  .accountPage .dashSidebar a {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    padding: 0 10px;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    text-align: center;
  }

  .accountPage .dashSidebar .logoutLink {
    margin-top: 0;
  }

  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    padding: 14px;
    border-radius: 8px;
  }

  .accountPage .dashHero h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.08;
  }

  .accountPage .dashHero .eyebrow,
  .accountPage .panelHead .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .accountPage .dashActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    align-items: stretch;
  }

  .accountPage .dashActions input,
  .accountPage .dashActions .button {
    width: 100%;
    min-width: 0;
  }

  .accountPage .dashActions .button,
  .accountPage .invoiceFilter .button,
  .accountPage .invoiceFilter .ghostButton,
  .accountPage .invoiceFilter button,
  .accountPage .partyForm button {
    min-height: 42px;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
    box-shadow: none;
  }

  .accountPage .kpiGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .accountPage .kpiGrid article {
    min-height: 104px;
    padding: 12px;
  }

  .accountPage .kpiGrid strong {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .accountPage .kpiGrid small {
    font-size: 11px;
    line-height: 1.35;
  }

  .accountPage .panelHead h3 {
    font-size: 22px;
  }

  .accountPage .invoiceFilter,
  .accountPage .partyForm {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .accountPage .invoiceCard {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .accountPage .invoiceCard h3 {
    font-size: 18px;
  }

  .accountPage .invoiceCard > strong {
    justify-self: start;
    font-size: 20px;
  }

  .accountPage .cardActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .accountPage .cardActions .button,
  .accountPage .cardActions .ghostButton,
  .accountPage .cardActions .dangerButton,
  .accountPage .cardActions form {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .accountPage table {
    min-width: 860px;
  }

  .accountLoginShell {
    margin-top: 20px;
  }

  .accountLoginShell h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  html,
  body.accountBody {
    max-width: 100%;
    overflow-x: hidden;
  }

  .accountPage {
    width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }

  .accountTopbar {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(18, 33, 53, 0.08);
  }

  .accountTopbar .brand {
    min-width: 0;
    flex: 1;
    font-size: 18px;
    line-height: 1.08;
  }

  .accountTopbar .brandLogo {
    width: 72px;
    height: 42px;
    flex: 0 0 auto;
  }

  .accountTopbar .ghostButton {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }

  .accountPage .accountDashboard,
  .accountPage .dashMain,
  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    min-width: 0;
    width: 100%;
  }

  .accountPage .accountDashboard {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .accountPage .dashSidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
  }

  .accountPage .dashProfile {
    width: 100%;
    margin: 0 0 4px;
    padding-bottom: 10px;
  }

  .accountPage .dashProfile img {
    width: 48px;
    height: 40px;
  }

  .accountPage .dashSidebar a {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    padding: 0 10px;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    text-align: center;
  }

  .accountPage .dashSidebar .logoutLink {
    margin-top: 0;
  }

  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    padding: 14px;
    border-radius: 8px;
  }

  .accountPage .dashHero h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.08;
  }

  .accountPage .dashHero .eyebrow,
  .accountPage .panelHead .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .accountPage .dashActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    align-items: stretch;
  }

  .accountPage .dashActions input,
  .accountPage .dashActions .button {
    width: 100%;
    min-width: 0;
  }

  .accountPage .dashActions .button,
  .accountPage .invoiceFilter .button,
  .accountPage .invoiceFilter .ghostButton,
  .accountPage .invoiceFilter button,
  .accountPage .partyForm button {
    min-height: 42px;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
    box-shadow: none;
  }

  .accountPage .kpiGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .accountPage .kpiGrid article {
    min-height: 104px;
    padding: 12px;
  }

  .accountPage .kpiGrid strong {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .accountPage .kpiGrid small {
    font-size: 11px;
    line-height: 1.35;
  }

  .accountPage .panelHead h3 {
    font-size: 22px;
  }

  .accountPage .invoiceFilter,
  .accountPage .partyForm {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .accountPage .invoiceCard {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .accountPage .invoiceCard h3 {
    font-size: 18px;
  }

  .accountPage .invoiceCard > strong {
    justify-self: start;
    font-size: 20px;
  }

  .accountPage .cardActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .accountPage .cardActions .button,
  .accountPage .cardActions .ghostButton,
  .accountPage .cardActions .dangerButton,
  .accountPage .cardActions form {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .accountPage table {
    min-width: 860px;
  }

  .accountLoginShell {
    margin-top: 20px;
  }

  .accountLoginShell h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  html,
  body.accountBody {
    max-width: 100%;
    overflow-x: hidden;
  }

  .accountPage {
    width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }

  .accountTopbar {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(18, 33, 53, 0.08);
  }

  .accountTopbar .brand {
    min-width: 0;
    flex: 1;
    font-size: 18px;
  }

  .accountTopbar .brandLogo {
    width: 72px;
    height: 42px;
    flex: 0 0 auto;
  }

  .accountTopbar .ghostButton {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }

  .accountPage .accountDashboard,
  .accountPage .dashMain,
  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    min-width: 0;
    width: 100%;
  }

  .accountPage .accountDashboard {
    gap: 12px;
  }

  .accountPage .dashSidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
  }

  .accountPage .dashProfile {
    width: 100%;
    margin: 0 0 4px;
    padding-bottom: 10px;
  }

  .accountPage .dashProfile img {
    width: 48px;
    height: 40px;
  }

  .accountPage .dashSidebar a {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    padding: 0 10px;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    text-align: center;
  }

  .accountPage .dashSidebar .logoutLink {
    margin-top: 0;
  }

  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    padding: 14px;
    border-radius: 8px;
  }

  .accountPage .dashHero h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.08;
  }

  .accountPage .dashHero .eyebrow,
  .accountPage .panelHead .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .accountPage .dashActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
  }

  .accountPage .dashActions input,
  .accountPage .dashActions .button {
    width: 100%;
    min-width: 0;
  }

  .accountPage .dashActions .button,
  .accountPage .invoiceFilter .button,
  .accountPage .invoiceFilter .ghostButton,
  .accountPage .invoiceFilter button,
  .accountPage .partyForm button {
    min-height: 42px;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
    box-shadow: none;
  }

  .accountPage .kpiGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .accountPage .kpiGrid article {
    min-height: 104px;
    padding: 12px;
  }

  .accountPage .kpiGrid strong {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .accountPage .kpiGrid small {
    font-size: 11px;
    line-height: 1.35;
  }

  .accountPage .panelHead h3 {
    font-size: 22px;
  }

  .accountPage .invoiceFilter,
  .accountPage .partyForm {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .accountPage .invoiceCard {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .accountPage .invoiceCard h3 {
    font-size: 18px;
  }

  .accountPage .invoiceCard > strong {
    justify-self: start;
    font-size: 20px;
  }

  .accountPage .cardActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .accountPage .cardActions .button,
  .accountPage .cardActions .ghostButton,
  .accountPage .cardActions .dangerButton,
  .accountPage .cardActions form {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .accountPage .tableWrap {
    border-radius: 8px;
  }

  .accountPage table {
    min-width: 860px;
  }

  .accountLoginShell {
    margin-top: 20px;
  }

  .accountLoginShell h1 {
    font-size: 34px;
  }
}

.offerCard h3 {
  min-height: 40px;
  padding: 12px 24px 0;
  line-height: 1.2;
}

.offerCard p {
  margin-top: 10px;
  padding: 0 30px 28px;
  line-height: 1.45;
}

.invoiceFeature {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.invoiceMini {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.invoiceMini span,
.invoiceCard span {
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.invoiceMini strong {
  font-size: 38px;
  color: var(--teal);
}

.sectionHead {
  margin-bottom: 26px;
}

.loginBox {
  max-width: 520px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.loginBox label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--foreground);
  padding: 0 14px;
  outline-color: var(--teal);
}

textarea {
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.error {
  margin: 0;
  color: var(--danger);
  font-weight: 800;
}

.accountDashboard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dashSidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #17212a, #102f4e);
  color: #fff;
  box-shadow: 0 18px 46px rgba(18, 33, 53, 0.18);
}

.dashProfile {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dashProfile img {
  width: 54px;
  height: 44px;
  object-fit: contain;
  border-radius: 7px;
  background: #202a31;
}

.dashProfile span,
.dashSidebar a,
.kpiGrid small,
.panelHead span {
  font-size: 13px;
}

.dashProfile span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
}

.dashProfile strong {
  display: block;
  margin-top: 3px;
}

.dashSidebar a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.dashSidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dashSidebar .logoutLink {
  margin-top: 8px;
  background: rgba(255, 92, 92, 0.13);
  color: #ffd3d3;
}

.dashMain {
  display: grid;
  gap: 18px;
}

.dashHero,
.dashPanel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(65, 50, 28, 0.08);
}

.dashHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 18px;
  align-items: end;
  padding: 22px;
}

.dashHero h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.dashActions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.kpiGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpiGrid article {
  min-height: 128px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 50%),
    #fff;
}

.kpiGrid span,
.panelHead span {
  color: var(--ink-soft);
  font-weight: 800;
}

.kpiGrid strong {
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
}

.dashPanel {
  padding: 22px;
}

.panelHead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.panelHead h3 {
  margin: 0;
  font-size: 26px;
}

.invoiceGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.invoiceCard {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  min-height: 300px;
}

.invoiceCard p {
  min-height: 34px;
  color: var(--ink-soft);
}

.invoiceCard small {
  color: #5f706c;
  line-height: 1.45;
}

.cardActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cardActions form,
.cardActions form button {
  width: 100%;
}

.cardActions form {
  grid-column: 1 / -1;
}

.invoiceCard strong {
  color: var(--teal);
  font-size: 23px;
}

.invoiceCard .credit,
.credit {
  color: var(--teal);
}

.invoiceCard .debit,
.debit {
  color: var(--copper);
}

.accountPage .invoiceGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.invoiceFilter {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr auto auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #f8fbff;
}

.invoiceFilter label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.invoiceFilter button,
.invoiceFilter .button,
.invoiceFilter .ghostButton {
  min-height: 44px;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.emptyState {
  padding: 22px;
  border: 1px dashed #c9d5e2;
  border-radius: 8px;
  color: var(--ink-soft);
  background: #fff;
  font-weight: 800;
}

.accountPage .invoiceCard {
  grid-template-columns: 170px minmax(140px, 190px) minmax(260px, 1fr) minmax(150px, 190px) minmax(310px, auto);
  align-items: center;
  gap: 16px;
  min-height: auto;
  padding: 16px;
  border-color: #dfe7ef;
  box-shadow: none;
}

.accountPage .invoiceCard:hover {
  border-color: rgba(60, 34, 255, 0.22);
  box-shadow: 0 12px 30px rgba(35, 56, 88, 0.08);
}

.accountPage .invoiceCard h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.accountPage .invoiceCard p,
.accountPage .invoiceCard small {
  min-height: 0;
  margin: 0;
}

.accountPage .invoiceCard p {
  font-size: 16px;
  font-weight: 800;
  color: #17211f;
}

.accountPage .invoiceCard small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #586a66;
}

.accountPage .invoiceCard > strong {
  justify-self: end;
  font-size: 21px;
  white-space: nowrap;
}

.accountPage .cardActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.accountPage .cardActions .button,
.accountPage .cardActions .ghostButton,
.accountPage .cardActions .dangerButton {
  min-height: 36px;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: none;
}

.accountPage .cardActions form {
  grid-column: auto;
  width: auto;
}

.accountPage .cardActions form,
.accountPage .cardActions form button {
  width: auto;
}

.tableWrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--teal-dark);
  color: white;
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: #263330;
  font-size: 14px;
}

td small {
  color: #697773;
}

.ledgerActions {
  min-width: 220px;
}

.miniButton,
.miniGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 2px;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.miniButton {
  background: #3c22ff;
  color: #fff;
}

.miniGhost {
  border: 1px solid var(--line);
  color: var(--teal-dark);
}

.ledgerNote {
  margin: 16px 0 0;
}

.partyManager {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(65, 50, 28, 0.08);
}

.privateLedger {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(65, 50, 28, 0.08);
}

.publicCta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1240px;
  margin-bottom: 80px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 138, 0, 0.28), transparent 28%),
    linear-gradient(135deg, #123f86, #2d1b7c);
  color: #fff;
  box-shadow: 0 28px 76px rgba(18, 33, 53, 0.18);
}

.publicCta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.servicePopup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: min(390px, calc(100vw - 32px));
  transform: translateY(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.servicePopup.isVisible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.popupInner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 138, 0, 0.5), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(64, 207, 255, 0.45), transparent 26%),
    linear-gradient(135deg, #123f86, #3c22ff 54%, #0f766e);
  box-shadow: 0 20px 56px rgba(18, 33, 53, 0.28);
}

.popupInner::before {
  content: "";
  position: absolute;
  inset: auto -20px -28px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 16px solid rgba(255, 255, 255, 0.12);
}

.popupClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.popupLabel {
  margin: 0 0 8px;
  color: #ffd977;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.servicePopup h3 {
  position: relative;
  margin: 0;
  padding-right: 34px;
  font-size: 24px;
  line-height: 1.18;
}

.servicePopup p:not(.popupLabel) {
  position: relative;
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.popupCta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 7px;
  background: #fff;
  color: #123f86;
  font-weight: 900;
}

.compactHead h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.partyForm,
.editForm {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partyForm {
  margin-bottom: 24px;
}

.partyForm label,
.editForm label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

.wideField {
  grid-column: span 2;
}

.partyForm button,
.editForm button {
  align-self: end;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--foreground);
  font-weight: 900;
}

.partyColumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.partyColumns h3 {
  margin: 0 0 12px;
  color: var(--teal-dark);
}

.partyCard {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 10px;
}

.partyCard span {
  color: var(--ink-soft);
  line-height: 1.45;
}

.partyCard small {
  color: #71807c;
}

.editPage {
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 64px) 64px;
}

.accountBody {
  background:
    radial-gradient(circle at 12% 8%, rgba(60, 34, 255, 0.09), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(255, 138, 0, 0.12), transparent 24%),
    #f3f6fb;
}

.accountPage {
  min-height: 100vh;
  padding: 24px clamp(16px, 3vw, 46px) 54px;
}

.accountTopbar {
  max-width: 1480px;
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.accountLoginShell {
  max-width: 1180px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: center;
}

.accountLoginShell h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
}

.accountLoginShell p:not(.eyebrow) {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.accountPage .accountDashboard {
  max-width: 1480px;
  margin: 0 auto;
}

.accountPage .dashHero h1 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
}

.editNav {
  max-width: 1080px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.darkBrand {
  color: var(--foreground);
}

.editPanel {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 18px 54px rgba(65, 50, 28, 0.1);
}

.editPanel h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
}

.editActions {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 10px;
}

.serviceHero {
  min-height: 58vh;
  padding: 0 clamp(18px, 4vw, 64px) 58px;
  background:
    radial-gradient(circle at 12% 20%, rgba(240, 106, 47, 0.42), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(77, 38, 124, 0.52), transparent 26%),
    #225c9f;
  color: #fff;
}

.serviceNav {
  margin-bottom: 56px;
}

.serviceHeroInner {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 56px;
}

.serviceHero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
}

.serviceHero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.6;
}

.serviceDetail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 28px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
}

.featureList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.featureList article {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 56, 88, 0.08);
}

.featureList span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #3c22ff);
  flex: 0 0 auto;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes chipPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

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

@media (max-width: 900px) {
  .heroGrid,
  .aboutBand,
  .serviceDetail,
  .services,
  .invoiceFeature,
  .accountDashboard,
  .dashHero,
  .accountLoginShell {
    grid-template-columns: 1fr;
  }

  .dashSidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashProfile,
  .dashSidebar .logoutLink {
    grid-column: 1 / -1;
  }

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

  .accountPage .invoiceCard {
    grid-template-columns: 1fr 1fr;
  }

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

  .accountPage .invoiceCard small,
  .accountPage .cardActions {
    grid-column: 1 / -1;
  }

  .accountPage .invoiceCard > strong {
    justify-self: start;
  }

  .heroGrid {
    padding-top: 42px;
    min-height: auto;
  }

  .phoneStage {
    min-height: 590px;
    max-width: 560px;
  }

  .serviceGrid,
  .invoiceGrid,
  .partyForm,
  .editForm,
  .partyColumns {
    grid-template-columns: 1fr 1fr;
  }

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

  .services {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 0 14px 34px;
  }

  .nav {
    align-items: center;
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1;
    gap: 8px;
    font-size: 16px;
    line-height: 1.1;
  }

  .menuToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navLinks {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
  }

  .navLinks.isOpen,
  .navLinks.alwaysOpen {
    display: flex;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.08;
  }

  .brandLogo {
    width: 68px;
    height: 38px;
    padding: 4px;
  }

  .heroLogo {
    width: min(240px, 82vw);
  }

  .hero p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.48;
  }

  .heroGrid {
    gap: 18px;
    padding-top: 22px;
  }

  .heroCopy {
    padding-top: 0;
  }

  .heroBadge {
    min-height: 34px;
    margin-bottom: 12px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .heroActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .heroActions .primary,
  .heroActions .secondary {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .phoneStage {
    min-height: 250px;
    max-width: 360px;
    margin: 0 auto;
  }

  .phoneStage::before {
    inset: 20px 6px;
    border-width: 5px;
  }

  .phoneMock {
    width: 164px;
    min-height: 310px;
    border-width: 7px;
    border-radius: 28px;
  }

  .phoneFront {
    left: 20px;
    top: 8px;
  }

  .phoneBack {
    right: 18px;
    top: 42px;
  }

  .phoneSpeaker {
    width: 42px;
    height: 6px;
    margin: 12px auto;
  }

  .appTop {
    padding: 10px;
    font-size: 12px;
  }

  .balanceCard,
  .appSection,
  .sideMenuMock {
    margin: 8px;
    padding: 9px;
  }

  .appSection h3 {
    font-size: 14px;
  }

  .appGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .appGrid span {
    min-height: 30px;
    font-size: 9px;
  }

  .floatChip {
    display: none;
  }

  .heroStats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .heroStats span {
    width: 100%;
    justify-content: center;
    min-height: 38px;
    padding: 7px 6px;
    font-size: 12px;
    text-align: center;
    flex-direction: column;
    gap: 1px;
  }

  .heroStats strong {
    font-size: 15px;
  }

  .publicCta {
    margin-left: 16px;
    margin-right: 16px;
    border-radius: 14px;
  }

  .serviceGrid,
  .invoiceGrid,
  .partyForm,
  .editForm,
  .partyColumns,
  .featureList,
  .kpiGrid,
  .dashActions {
    grid-template-columns: 1fr;
  }

  .dashHero,
  .dashPanel,
  .partyManager,
  .privateLedger {
    padding: 18px;
  }

  .panelHead {
    align-items: flex-start;
    flex-direction: column;
  }

  .accountPage .invoiceCard {
    grid-template-columns: 1fr;
  }

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

  .accountPage .cardActions {
    justify-content: stretch;
  }

  .accountPage .cardActions .button,
  .accountPage .cardActions .ghostButton,
  .accountPage .cardActions .dangerButton,
  .accountPage .cardActions form {
    flex: 1 1 46%;
  }

  .servicePopup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .popupInner {
    padding: 16px;
  }

  .servicePopup h3 {
    font-size: 20px;
  }

  .wideField {
    grid-column: span 1;
  }

  .editNav,
  .dashActions {
    align-items: stretch;
    flex-direction: column;
  }
}

.servicePopup {
  width: min(330px, calc(100vw - 32px));
}

.popupInner {
  padding: 15px;
}

.servicePopup h3 {
  font-size: 20px;
}

.servicePopup p:not(.popupLabel) {
  font-size: 14px;
}

@media (max-width: 640px) {
  html,
  body.accountBody {
    max-width: 100%;
    overflow-x: hidden;
  }

  .accountPage {
    width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }

  .accountTopbar {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(18, 33, 53, 0.08);
  }

  .accountTopbar .brand {
    min-width: 0;
    flex: 1;
    font-size: 18px;
    line-height: 1.08;
  }

  .accountTopbar .brandLogo {
    width: 72px;
    height: 42px;
    flex: 0 0 auto;
  }

  .accountTopbar .ghostButton {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }

  .accountPage .accountDashboard,
  .accountPage .dashMain,
  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    min-width: 0;
    width: 100%;
  }

  .accountPage .accountDashboard {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .accountPage .dashSidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
  }

  .accountPage .dashProfile {
    width: 100%;
    margin: 0 0 4px;
    padding-bottom: 10px;
  }

  .accountPage .dashProfile img {
    width: 48px;
    height: 40px;
  }

  .accountPage .dashSidebar a {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    padding: 0 10px;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    text-align: center;
  }

  .accountPage .dashSidebar .logoutLink {
    margin-top: 0;
  }

  .accountPage .dashHero,
  .accountPage .dashPanel,
  .accountPage .partyManager,
  .accountPage .privateLedger {
    padding: 14px;
    border-radius: 8px;
  }

  .accountPage .dashHero h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.08;
  }

  .accountPage .dashHero .eyebrow,
  .accountPage .panelHead .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .accountPage .dashActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    align-items: stretch;
  }

  .accountPage .dashActions input,
  .accountPage .dashActions .button {
    width: 100%;
    min-width: 0;
  }

  .accountPage .dashActions .button,
  .accountPage .invoiceFilter .button,
  .accountPage .invoiceFilter .ghostButton,
  .accountPage .invoiceFilter button,
  .accountPage .partyForm button {
    min-height: 42px;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
    box-shadow: none;
  }

  .accountPage .kpiGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .accountPage .kpiGrid article {
    min-height: 104px;
    padding: 12px;
  }

  .accountPage .kpiGrid strong {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .accountPage .kpiGrid small {
    font-size: 11px;
    line-height: 1.35;
  }

  .accountPage .panelHead h3 {
    font-size: 22px;
  }

  .accountPage .invoiceFilter,
  .accountPage .partyForm {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .accountPage .invoiceCard {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .accountPage .invoiceCard h3 {
    font-size: 18px;
  }

  .accountPage .invoiceCard > strong {
    justify-self: start;
    font-size: 20px;
  }

  .accountPage .cardActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .accountPage .cardActions .button,
  .accountPage .cardActions .ghostButton,
  .accountPage .cardActions .dangerButton,
  .accountPage .cardActions form {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .accountPage table {
    min-width: 860px;
  }

  .accountLoginShell {
    margin-top: 20px;
  }

  .accountLoginShell h1 {
    font-size: 34px;
  }
}

.transactionPanel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(15, 80, 74, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 58%, #eef8fb 100%);
  box-shadow: 0 18px 45px rgba(28, 44, 68, 0.08);
}

.transactionPanel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #2f7fff, var(--gold));
}

.transactionPanel .panelHead {
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8, 42, 54, 0.08);
}

.transactionPanel .panelHead h3 {
  font-size: 28px;
  letter-spacing: 0;
}

.statusPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(8, 126, 115, 0.16);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(8, 126, 115, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.formHint {
  max-width: 760px;
  margin: 0 0 18px;
  color: #60716d;
  font-size: 14px;
  line-height: 1.5;
}

.transactionForm.partyForm {
  grid-template-columns: minmax(180px, 1.1fr) minmax(150px, 0.8fr) minmax(220px, 1.3fr) minmax(150px, 0.8fr);
  gap: 14px;
  margin-bottom: 0;
  padding: 16px;
  border: 1px solid rgba(9, 64, 77, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.transactionForm.partyForm label {
  gap: 7px;
  color: #52655f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.transactionForm.partyForm input,
.transactionForm.partyForm select {
  height: 44px;
  padding: 0 12px;
  border-color: #dce6ee;
  border-radius: 8px;
  background: #fff;
  color: #071421;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.transactionForm.partyForm input::placeholder {
  color: #8a9698;
  font-weight: 700;
}

.transactionForm.partyForm input:focus,
.transactionForm.partyForm select:focus {
  outline: 0;
  border-color: rgba(8, 126, 115, 0.45);
  box-shadow: 0 0 0 4px rgba(8, 126, 115, 0.1);
}

.transactionForm .wideField {
  grid-column: span 2;
}

.transactionForm .submitInvoiceButton {
  grid-column: span 2;
  min-height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b7d72, #115fd6);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: 0 12px 28px rgba(17, 95, 214, 0.2);
}

.transactionForm .submitInvoiceButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 95, 214, 0.24);
}

@media (max-width: 980px) {
  .transactionForm.partyForm {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .transactionPanel {
    padding: 14px;
  }

  .transactionPanel .panelHead h3 {
    font-size: 22px;
  }

  .statusPill {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }

  .formHint {
    font-size: 12px;
  }

  .transactionForm.partyForm {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .transactionForm .wideField,
  .transactionForm .submitInvoiceButton {
    grid-column: span 1;
  }
}

.dashSidebar a.isActive {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #155fd8);
  box-shadow: 0 12px 24px rgba(21, 95, 216, 0.18);
}

.accountViewHero p:not(.eyebrow) {
  max-width: 620px;
  margin: 10px 0 0;
  color: #60716d;
  font-size: 15px;
  line-height: 1.55;
}

.accountViewHero:not(:has(.dashActions)) {
  grid-template-columns: 1fr;
}

.dashPanel,
.privateLedger,
.partyManager {
  scroll-margin-top: 110px;
}

@media (max-width: 760px) {
  .accountPage {
    padding: 10px;
  }

  .accountTopbar {
    margin-bottom: 10px;
  }

  .accountDashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashSidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
  }

  .dashProfile {
    grid-column: 1 / -1;
    margin: 0;
    padding: 4px 4px 10px;
  }

  .dashProfile img {
    width: 48px;
    height: 40px;
  }

  .dashSidebar a {
    min-height: 40px;
    padding: 0 8px;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
  }

  .dashSidebar .logoutLink {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .dashMain {
    width: 100%;
    min-width: 0;
  }

  .accountViewHero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .accountViewHero h1 {
    font-size: 28px;
    line-height: 1.05;
  }

  .accountViewHero p:not(.eyebrow) {
    font-size: 13px;
  }

  .dashPanel,
  .privateLedger,
  .partyManager {
    width: 100%;
    min-width: 0;
    padding: 14px;
    border-radius: 10px;
    overflow: hidden;
  }

  .tableWrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 8px;
  }

  .privateLedger table {
    min-width: 820px;
  }

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

@media (max-width: 420px) {
  .accountTopbar .brand span {
    font-size: 16px;
  }

  .accountTopbar .ghostButton {
    min-width: 92px;
    padding-inline: 10px;
  }

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

  .dashSidebar a,
  .dashSidebar .logoutLink {
    grid-column: 1;
  }

  .accountViewHero h1 {
    font-size: 24px;
  }
}

.contactGrid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.queryForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(8, 126, 115, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(31, 48, 76, 0.08);
}

.queryForm label {
  display: grid;
  gap: 8px;
  color: #52655f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.queryForm input,
.queryForm select,
.queryForm textarea {
  width: 100%;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  background: #fff;
  color: #071421;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.queryForm input,
.queryForm select {
  height: 44px;
  padding: 0 12px;
}

.queryForm textarea {
  min-height: 118px;
  resize: vertical;
  padding: 12px;
}

.queryForm button {
  min-height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #155fd8);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(21, 95, 216, 0.18);
}

.successText {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.queryGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.queryCard {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 12px 28px rgba(28, 44, 68, 0.06);
}

.queryMeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.queryMeta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.queryMeta small,
.queryCard dt {
  color: #71807c;
  font-size: 12px;
  font-weight: 800;
}

.queryCard h3,
.queryCard p {
  margin: 0;
}

.queryCard h3 {
  color: #071421;
  font-size: 22px;
}

.queryCard p {
  color: #405450;
  line-height: 1.5;
}

.queryCard dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.queryCard dd {
  margin: 3px 0 0;
  color: #071421;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.queryCard form,
.queryCard .dangerButton {
  width: 100%;
}

@media (max-width: 900px) {
  .contactGrid,
  .queryGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .queryForm {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .queryCard {
    padding: 14px;
  }

  .queryCard dl {
    grid-template-columns: 1fr;
  }
}

.paginationBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pageNumbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.pageButton,
.pageNumber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.pageButton {
  min-width: 92px;
  padding: 0 14px;
}

.pageNumber {
  min-width: 38px;
  padding: 0 10px;
}

.pageNumber.isActive {
  color: #fff;
  border-color: transparent;
  background: #3c22ff;
  box-shadow: 0 10px 22px rgba(60, 34, 255, 0.22);
}

.pageButton.isDisabled {
  pointer-events: none;
  opacity: 0.45;
}

.paginationBar span {
  color: #5f706c;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .paginationBar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .paginationBar span,
  .pageNumbers {
    grid-column: 1 / -1;
  }

  .pageNumbers {
    order: -1;
  }

  .paginationBar span {
    text-align: center;
  }

  .pageButton {
    width: 100%;
  }
}

.quickSearchForm,
.ledgerSearchForm {
  display: grid;
  gap: 8px;
}

.quickSearchForm {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
}

.quickSearchForm input,
.ledgerSearchForm input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  padding: 0 13px;
  color: #071421;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.quickSearchForm button,
.ledgerSearchForm button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #155fd8);
  font-weight: 900;
}

.ledgerSearchForm {
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  background: #f8fbff;
}

.ledgerSearchForm label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.ledgerSearchForm .ghostButton {
  min-height: 44px;
  border-radius: 8px;
}

@media (min-width: 1020px) {
  .invoiceFilter {
    grid-template-columns: minmax(210px, 1.3fr) minmax(150px, 1fr) minmax(140px, 0.9fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) auto auto auto;
  }
}

@media (max-width: 760px) {
  .quickSearchForm,
  .ledgerSearchForm {
    grid-template-columns: 1fr;
  }

  .quickSearchForm button,
  .ledgerSearchForm button,
  .ledgerSearchForm .ghostButton {
    width: 100%;
  }
}

.accountViewHero .dashActions {
  width: min(100%, 760px);
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
}

.accountViewHero .quickSearchForm {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
}

.accountViewHero .quickSearchForm input {
  min-width: 0;
  height: 48px;
  border-radius: 8px;
}

.accountViewHero .quickSearchForm button {
  height: 48px;
  min-width: 96px;
  border-radius: 8px;
  white-space: nowrap;
}

.accountViewHero .dashActions .button {
  width: auto;
  min-width: 210px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .accountViewHero .dashActions {
    justify-self: stretch;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .accountViewHero .dashActions .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .accountViewHero .quickSearchForm {
    grid-template-columns: 1fr;
  }

  .accountViewHero .dashActions .button {
    min-width: 0;
  }
}
