:root {
  --ink: #06143b;
  --muted: #566b8e;
  --line: #dce7f4;
  --paper: #ffffff;
  --surface: #f5f9ff;
  --blue: #0877ff;
  --blue2: #005fe8;
  --navy: #081b33;
  --green: #11b978;
  --purple: #7c3fe4;
  --orange: #ff7a25;
  --pink: #ef3b82;
  --red: #ef334e;
  --amber: #f59e0b;
  --shadow: 0 18px 50px rgba(18, 45, 82, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo strong,
.logo small { display: block; }

.logo strong {
  font-size: 28px;
  line-height: 1;
  color: inherit;
}

.logo small {
  color: #7890af;
  font-size: 13px;
  letter-spacing: 2px;
}

.vmark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 38px;
  color: white;
  border-radius: 10px;
  background: linear-gradient(135deg, #0c8dff 0%, #0051dd 48%, #6ec5ff 49%, #064ab0 100%);
  transform: skewX(-10deg);
}

.public-nav {
  height: 86px;
  background: rgba(255,255,255,0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 68px;
  border-bottom: 1px solid #eef3fa;
}

.public-nav nav {
  display: flex;
  gap: 42px;
  font-weight: 750;
}

.public-nav a {
  text-decoration: none;
}

.nav-actions,
.hero-actions,
.button-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn,
button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  text-decoration: none;
  font-weight: 900;
  font: inherit;
  cursor: pointer;
}

.btn.ghost,
button.ghost {
  color: var(--blue);
  background: white;
  border: 1px solid var(--blue);
}

.hero-public {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: 30px;
  padding: 48px 88px 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(10, 93, 180, 0.35), transparent 30%),
    linear-gradient(115deg, #ffffff 0%, #eef8ff 45%, #cfe8ff 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue2);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  max-width: 610px;
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.94;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy > p:not(.eyebrow) {
  color: #274066;
  font-size: 22px;
  line-height: 1.28;
  max-width: 580px;
  margin: 24px 0;
}

.trust-row {
  display: flex;
  gap: 38px;
  margin-top: 28px;
  color: #274066;
  font-weight: 800;
}

.phone-scene {
  position: relative;
  min-height: 560px;
}

.phone {
  width: 310px;
  min-height: 520px;
  background: #f8fbff;
  border: 12px solid #111827;
  border-radius: 44px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.28);
  transform: rotate(8deg);
  margin: 22px auto 0;
  padding: 38px 24px 24px;
  position: relative;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 110px;
  height: 20px;
  margin-left: -55px;
  background: #111827;
  border-radius: 0 0 16px 16px;
}

.phone .vmark {
  width: 46px;
  height: 46px;
  font-size: 30px;
  margin: 0 auto 8px;
}

.phone h3,
.phone p { text-align: center; }

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

.phone-grid span {
  min-height: 78px;
  background: white;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.phone button {
  width: 100%;
  margin-top: 18px;
}

.city-card,
.beyond {
  position: absolute;
  right: 70px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.city-card {
  top: 95px;
  width: 250px;
  font-size: 22px;
}

.city-card span,
.beyond span {
  display: block;
  color: #274066;
  margin-top: 24px;
  font-size: 16px;
}

.beyond {
  right: 0;
  top: 360px;
  background: transparent;
  box-shadow: none;
  font-size: 30px;
}

.hero-slider {
  min-height: 560px;
  display: block;
  padding: 24px 54px;
  background: linear-gradient(115deg, #fafdff 0%, #eef7ff 52%, #d8ecff 100%);
}

.banner-slides {
  position: relative;
  min-height: 512px;
  overflow: hidden;
  border: 1px solid #d9e7f6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 50, 92, 0.10);
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(460px, 1.22fr);
  gap: 30px;
  align-items: center;
  padding: 54px 64px;
  opacity: 0;
  animation: bannerShow 18s infinite;
}

.banner-slide:nth-child(2) {
  animation-delay: 6s;
}

.banner-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes bannerShow {
  0%, 28% { opacity: 1; z-index: 2; }
  33%, 100% { opacity: 0; z-index: 1; }
}

.slide-copy h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 0.96;
}

.slide-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 24px;
  color: #274066;
  font-size: 21px;
  line-height: 1.34;
}

.wide-visual {
  min-height: 390px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: 36px;
}

.cash-slide {
  background: linear-gradient(115deg, #ffffff 0%, #f3f9ff 48%, #d7edff 100%);
}

.merchant-slide {
  background: linear-gradient(115deg, #ffffff 0%, #edf9f4 56%, #d9f2ff 100%);
}

.pos-slide {
  background: linear-gradient(115deg, #ffffff 0%, #f4f7fb 46%, #deedff 100%);
}

.cash-visual {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(8,119,255,0.12), rgba(17,185,120,0.10)),
    #f9fcff;
}

.money-panel,
.contact-panel,
.merchant-card,
.merchant-table,
.merchant-meter,
.pos-amount,
.receipt-card {
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 34px rgba(20, 58, 99, 0.10);
}

.money-panel {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: 30px;
  color: white;
  background: linear-gradient(150deg, #0877ff, #005fe8);
}

.money-panel span,
.money-panel small,
.merchant-card span,
.merchant-card small,
.merchant-meter span,
.pos-amount small,
.pos-amount em,
.receipt-card span {
  display: block;
}

.money-panel strong {
  font-size: 72px;
  line-height: 1;
}

.money-panel small {
  margin-top: 10px;
  color: rgba(255,255,255,0.82);
}

.contact-panel {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.contact-panel.second {
  transform: translateX(30px);
}

.contact-panel b {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
}

.contact-panel > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.contact-panel strong,
.contact-panel small {
  display: block;
}

.contact-panel small {
  color: var(--muted);
  font-weight: 750;
}

.contact-panel em {
  grid-column: 2;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.merchant-visual {
  grid-template-columns: 1fr 1.2fr 0.75fr;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(17,185,120,0.13), rgba(8,119,255,0.10)),
    #fbfffd;
}

.merchant-card {
  min-height: 250px;
  display: grid;
  align-content: center;
  padding: 24px;
}

.merchant-card strong {
  font-size: 48px;
}

.merchant-table {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.merchant-table b {
  font-size: 24px;
}

.merchant-table span,
.receipt-card span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-top: 1px solid #e8eef6;
  color: #334b70;
}

.merchant-meter {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  place-self: center;
  display: grid;
  place-items: center;
  text-align: center;
  border: 12px solid #11b978;
}

.merchant-meter strong {
  font-size: 32px;
}

.pos-visual {
  grid-template-columns: 0.82fr 1fr 1.1fr;
  gap: 18px;
  color: white;
  background: linear-gradient(135deg, #061425, #0b2846 56%, #08214a);
}

.tap-ring {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  place-self: center;
  display: grid;
  place-items: center;
}

.tap-ring span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0877ff;
  font-weight: 950;
}

.pos-amount {
  min-height: 250px;
  display: grid;
  align-content: center;
  padding: 24px;
  color: white;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.13);
}

.pos-amount strong {
  font-size: 56px;
}

.pos-amount em {
  color: #d4e5f6;
  font-style: normal;
}

.receipt-card {
  padding: 24px;
  color: var(--ink);
}

.receipt-card b {
  display: block;
  font-size: 23px;
  margin-bottom: 8px;
}

.slider-dots {
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 8px;
}

.slider-dots span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #bfd3e9;
  animation: dotShow 18s infinite;
}

.slider-dots span:nth-child(2) {
  animation-delay: 6s;
}

.slider-dots span:nth-child(3) {
  animation-delay: 12s;
}

@keyframes dotShow {
  0%, 28% { background: var(--blue); }
  33%, 100% { background: #bfd3e9; }
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 16px 50px 24px;
  background: white;
}

.service-strip article,
.quick-services article,
.panel,
.metrics-row article,
.app-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
}

.service-strip article {
  min-height: 150px;
  padding: 20px;
  text-align: center;
}

.circle-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: block;
  background: linear-gradient(135deg, var(--blue), #05b6d4);
}

.service-strip article:nth-child(2) .circle-icon,
.quick-services article:nth-child(2) .circle-icon {
  background: linear-gradient(135deg, var(--green), #13c7a4);
}

.service-strip article:nth-child(3) .circle-icon,
.quick-services article:nth-child(3) .circle-icon {
  background: linear-gradient(135deg, var(--purple), #5d7df6);
}

.service-strip article:nth-child(4) .circle-icon,
.quick-services article:nth-child(4) .circle-icon {
  background: linear-gradient(135deg, var(--orange), #ffb347);
}

.service-strip article:nth-child(5) .circle-icon,
.quick-services article:nth-child(5) .circle-icon {
  background: linear-gradient(135deg, var(--pink), #ff7ab6);
}

.service-strip article:nth-child(6) .circle-icon,
.quick-services article:nth-child(6) .circle-icon {
  background: linear-gradient(135deg, #06b6d4, #0877ff);
}

.service-strip h3,
.service-strip p {
  margin: 6px 0;
}

.service-strip p,
.built-section p,
.panel p,
.tx-list small {
  color: var(--muted);
}

.built-section {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 34px;
  padding: 28px 54px 40px;
  background: white;
}

.built-section h2 {
  font-size: 42px;
  margin: 0 0 10px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-grid article {
  min-height: 146px;
  border-radius: 8px;
  padding: 20px;
  color: white;
  display: grid;
  align-content: end;
  background: linear-gradient(135deg, #0f5ddc, #0b1720);
}

.audience-grid span {
  margin-top: 8px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  padding: 18px;
}

.login-card {
  width: min(440px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.login-card h1 {
  margin: 0;
}

.login-card form,
.transfer-form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;
  color: #253b5d;
  font-size: 13px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ccd9ea;
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.alert {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
}

.demo-logins {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.app-page {
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  height: 100vh;
  padding: 14px 10px;
  background: linear-gradient(180deg, #071d36, #071425);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.app-sidebar nav::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.28);
  border-radius: 999px;
}

.app-sidebar .logo {
  padding: 0 12px 8px;
  flex-shrink: 0;
}

.app-sidebar .vmark {
  width: 42px;
  height: 42px;
  font-size: 28px;
}

.app-sidebar .logo strong {
  color: white;
  font-size: 22px;
}

.app-sidebar .logo small {
  font-size: 10px;
  letter-spacing: 1.2px;
}

.app-sidebar .logo strong {
  color: white;
}

.app-sidebar nav {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 4px 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.36) transparent;
}

.app-sidebar nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #d9e7f7;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.15;
}

.app-sidebar nav a.active {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
}

.download-card,
.admin-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 18px;
}

.sidebar-card {
  flex: 0 0 auto;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

.sidebar-card strong,
.sidebar-card small {
  display: block;
}

.sidebar-card strong {
  font-size: 14px;
}

.sidebar-card small {
  color: #bdd2e8;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

.download-card strong,
.download-card span {
  display: block;
}

.download-card strong {
  font-size: 21px;
}

.download-card span {
  color: #d0ddea;
  margin: 10px 0;
}

.store-pill {
  background: black;
  color: white;
  border-radius: 7px;
  padding: 9px 12px;
  margin-top: 8px;
  width: fit-content;
}

.admin-badge {
  color: white;
  font-weight: 900;
}

.admin-badge small {
  color: #bdd2e8;
}

.env-label {
  color: #d9e7f7;
}

.env-label select {
  background: #102741;
  color: white;
  border-color: #34506e;
}

.app-main {
  margin-left: 250px;
  padding: 16px 18px;
  display: grid;
  gap: 18px;
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.search {
  width: min(560px, 100%);
  min-height: 42px;
  display: flex;
  align-items: center;
  color: #7d91ad;
  padding: 0 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile small,
.profile a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #063777;
  color: white;
  font-weight: 900;
}

.bell {
  color: white;
  background: #ef2f54;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 900;
}

.customer-hero {
  min-height: 235px;
  border-radius: 8px;
  padding: 46px 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 88% 36%, #084f9d 0%, #0b2745 24%, transparent 25%),
    linear-gradient(120deg, #dff0ff, #ffffff 48%, #bbdcff);
  overflow: hidden;
}

.customer-hero h1 {
  font-size: 48px;
  margin: 0 0 8px;
}

.customer-hero h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.planet-card {
  color: white;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 850;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-services article {
  min-height: 140px;
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  padding: 18px;
  text-align: center;
}

.quick-services article:last-child {
  border-right: 0;
}

.quick-services strong,
.quick-services span {
  display: block;
}

.quick-services span {
  color: var(--muted);
  margin-top: 7px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.35fr 1.25fr;
  gap: 16px;
}

.panel {
  padding: 20px;
}

.panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-head a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.balance-panel > span {
  color: var(--muted);
}

.balance-panel > strong {
  display: block;
  font-size: 42px;
  margin: 8px 0;
}

.balance-panel > em {
  display: inline-flex;
  color: var(--green);
  background: #dcfce7;
  border-radius: 999px;
  padding: 6px 12px;
  font-style: normal;
  font-weight: 900;
}

.button-row {
  margin-top: 28px;
}

.button-row button {
  background: #edf5ff;
  color: var(--blue);
}

.tx-list {
  display: grid;
  gap: 12px;
}

.tx-list div {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 10px;
}

.tx-list span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.tx-list strong,
.tx-list small {
  display: block;
}

.tx-list em {
  font-style: normal;
  font-weight: 900;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #edf4fb;
  border-radius: 8px;
  overflow: hidden;
}

.tabs label {
  display: flex;
  justify-content: center;
  min-height: 38px;
  align-items: center;
}

.tabs input {
  display: none;
}

.bank-card {
  min-height: 105px;
  border-radius: 8px;
  background: linear-gradient(135deg, #09213e, #03101f);
  color: white;
  padding: 18px;
  display: grid;
}

.bank-card b {
  justify-self: end;
}

.green-panel {
  background: #eafff6;
}

.purple-panel {
  background: #f4efff;
}

.merchant-hero-panel {
  min-height: 210px;
  border-radius: 8px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background:
    radial-gradient(circle at 86% 28%, rgba(17,185,120,0.34), transparent 26%),
    linear-gradient(135deg, #071d36, #0a4fa3 58%, #0877ff);
  box-shadow: 0 18px 44px rgba(8, 45, 96, 0.18);
}

.merchant-hero-panel .eyebrow,
.merchant-hero-panel p {
  color: rgba(255,255,255,0.82);
}

.merchant-hero-panel h1 {
  margin: 0 0 8px;
  font-size: 44px;
}

.merchant-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.merchant-actions .btn.ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.42);
  color: white;
}

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

.merchant-metrics article {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
}

.merchant-metrics span,
.merchant-metrics strong,
.merchant-metrics em {
  display: block;
}

.merchant-metrics span {
  color: var(--muted);
}

.merchant-metrics strong {
  margin: 8px 0;
  font-size: 28px;
}

.merchant-metrics em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.merchant-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.merchant-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tool-tile {
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-content: stretch;
  text-align: left;
  gap: 8px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.tool-tile strong,
.tool-tile span {
  display: block;
}

.tool-tile span,
.merchant-api-panel p,
.pos-mini small {
  color: var(--muted);
}

.merchant-pos-panel {
  background: linear-gradient(160deg, #071d36, #0b2846);
  color: white;
}

.merchant-pos-panel .badge {
  background: rgba(255,255,255,0.12);
  color: white;
}

.pos-mini {
  min-height: 240px;
  display: grid;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.pos-mini strong {
  font-size: 52px;
}

.pos-mini .btn {
  width: min(260px, 100%);
  justify-self: center;
  margin-top: 10px;
}

.merchant-table-panel {
  grid-column: 1 / -1;
}

.api-key-box {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin: 16px 0;
  color: #0d3568;
  background: #edf5ff;
  border: 1px solid #cfe2fb;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-title h1 {
  margin: 0;
  font-size: 36px;
}

.admin-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.date-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 16px;
  font-weight: 850;
  white-space: nowrap;
}

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

.stat-grid article {
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
  padding: 18px;
}

.stat-grid span,
.stat-grid strong,
.stat-grid em {
  display: block;
}

.stat-grid span {
  color: var(--muted);
  font-weight: 750;
}

.stat-grid strong {
  margin: 8px 0 2px;
  font-size: 28px;
}

.stat-grid em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.35fr) minmax(300px, 0.9fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.chart-panel {
  grid-column: span 2;
}

.table,
.list-table,
.clean-list {
  display: grid;
  gap: 0;
}

.table div,
.list-table div,
.clean-list div {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(90px, 0.8fr) minmax(80px, auto) minmax(70px, auto);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  color: #0b1b3d;
  font-size: 14px;
}

.list-table div,
.clean-list div {
  grid-template-columns: minmax(160px, 1fr) auto;
}

.table div:last-child,
.list-table div:last-child,
.clean-list div:last-child {
  border-bottom: 0;
}

.table span,
.table strong,
.table em,
.list-table span,
.list-table strong,
.clean-list span,
.clean-list strong {
  min-width: 0;
}

.table em,
.list-table strong,
.clean-list strong {
  justify-self: end;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue2);
  padding: 4px 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: capitalize;
}

.list-table small,
.clean-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

.settings-summary article {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(19, 50, 90, 0.06);
}

.settings-summary span,
.settings-summary strong,
.settings-summary small {
  display: block;
}

.settings-summary span,
.settings-summary small {
  color: var(--muted);
}

.settings-summary strong {
  margin: 8px 0 3px;
  font-size: 24px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 16px;
  align-items: start;
}

.settings-grid .checkout-preview,
.settings-grid .merchant-registration-card {
  grid-row: span 2;
}

.rail-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.stripe-rail {
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.dwolla-rail {
  background: linear-gradient(135deg, #ffffff, #edfdf6);
}

.rail-list,
.control-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rail-list span {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  padding: 0 12px;
  font-weight: 820;
}

.badge.green {
  color: #047857;
  background: #dcfce7;
}

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

.card-field-preview {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d9e7f6;
  border-radius: 8px;
  background: #fbfdff;
}

.card-field-preview button {
  width: 100%;
  margin-top: 4px;
}

.control-list label {
  min-height: 40px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  color: #20395d;
  font-size: 14px;
  font-weight: 780;
}

.control-list input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.registration-shell {
  display: grid;
  gap: 18px;
  padding: 32px 54px 54px;
}

.registration-grid {
  grid-template-columns: minmax(360px, 0.9fr) minmax(300px, 0.7fr);
}

.alert.success {
  color: #065f46;
  background: #dcfce7;
  border-color: #86efac;
}

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

.metrics-row article {
  padding: 18px;
}

.metrics-row span,
.metrics-row strong,
.metrics-row em {
  display: block;
}

.metrics-row strong {
  font-size: 26px;
  margin: 6px 0;
}

.metrics-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 245px;
  gap: 16px;
}

.admin-left {
  display: grid;
  gap: 16px;
}

.chart-row {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
}

.chart-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.line-chart {
  min-height: 190px;
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(8,119,255,0.18), transparent),
    repeating-linear-gradient(to right, transparent 0 68px, #e4edf8 69px 70px),
    repeating-linear-gradient(to top, transparent 0 46px, #e4edf8 47px 48px);
  position: relative;
}

.line-chart:after {
  content: "";
  position: absolute;
  inset: 38px 22px 38px;
  border-bottom: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  transform: skew(-18deg) rotate(-8deg);
  border-radius: 8px;
}

.donut {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  margin: 12px auto;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) 0 48%, var(--green) 48% 70%, var(--purple) 70% 88%, var(--orange) 88% 97%, #8aa0ba 97% 100%);
}

.donut.green {
  background: conic-gradient(var(--green) 0 92%, #dfeaf5 92% 100%);
}

.donut span {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

.donut small {
  font-weight: 500;
  color: var(--muted);
}

.breakdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

td {
  border-bottom: 1px solid #edf2f7;
  padding: 10px 8px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e8f2ff;
  color: var(--blue);
  font-weight: 900;
}

.bars {
  height: 110px;
  background: repeating-linear-gradient(to right, var(--blue) 0 9px, transparent 9px 18px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}

.resources label {
  margin-bottom: 12px;
}

.resources span {
  float: right;
  color: var(--muted);
}

progress {
  width: 100%;
  accent-color: var(--green);
}

.admin-right {
  display: grid;
  gap: 16px;
}

.status-panel div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
}

.status-panel div span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.alert-line {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
}

.alert-line span {
  color: var(--muted);
}

.alert-line.danger strong { color: var(--red); }
.alert-line.warning strong { color: var(--amber); }
.alert-line.success strong { color: var(--green); }
.alert-line.info strong { color: var(--blue); }

.action-button {
  width: 100%;
  justify-content: flex-start;
  background: white;
  color: var(--blue);
  border: 1px solid var(--line);
  margin-top: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 28px;
  padding: 38px 54px 24px;
  background: #06162b;
  color: white;
}

.site-footer .logo strong {
  color: white;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: #b9c9dc;
}

.site-footer a,
.site-footer strong {
  display: block;
  text-decoration: none;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer nav strong {
  color: white;
  margin-bottom: 4px;
}

.footer-brand p {
  max-width: 360px;
  line-height: 1.5;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.13);
  font-size: 13px;
}

.personal-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: 28px;
  align-items: center;
  padding: 34px 54px 30px;
  background:
    radial-gradient(circle at 76% 22%, rgba(8,119,255,0.18), transparent 28%),
    linear-gradient(120deg, #ffffff, #edf7ff 62%, #d8ecff);
  overflow: hidden;
}

.personal-copy h1,
.mobile-heading h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.96;
}

.personal-copy p:not(.eyebrow),
.mobile-heading p:not(.eyebrow) {
  color: #2a4368;
  font-size: 20px;
  line-height: 1.4;
  max-width: 560px;
}

.store-button {
  min-height: 58px;
  min-width: 178px;
  border-radius: 8px;
  background: #020817;
  color: white;
  display: grid;
  justify-content: center;
  align-content: center;
  text-decoration: none;
  padding: 9px 18px;
}

.store-button span,
.store-button strong {
  display: block;
}

.store-button span {
  font-size: 11px;
}

.store-button strong {
  font-size: 22px;
}

.ios-preview-row,
.ios-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.ios-preview-row {
  grid-template-columns: 1.02fr 0.92fr 0.92fr;
  gap: 10px;
  justify-items: center;
  align-items: end;
  min-width: 0;
  max-height: 520px;
  overflow: hidden;
}

.personal-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 54px 34px;
  background: white;
}

.personal-rules article {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: #fbfdff;
}

.personal-rules span,
.p2p-note {
  color: var(--muted);
}

.mobile-app-link {
  width: 100%;
  margin: 2px 0 10px;
}

.tabs.two {
  grid-template-columns: repeat(2, 1fr);
}

.mobile-product-page {
  min-height: 100vh;
  background: #f7fbff;
}

.mobile-app-main {
  display: grid;
  gap: 26px;
  padding: 32px 54px 44px;
}

.mobile-heading {
  display: grid;
  gap: 10px;
}

.success-banner,
.notice-banner {
  width: fit-content;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 850;
}

.success-banner {
  color: #065f46;
  background: #dcfce7;
}

.notice-banner {
  color: #7c2d12;
  background: #ffedd5;
}

.ios-stage {
  min-height: 690px;
  justify-items: center;
}

.ios-phone {
  width: min(100%, 330px);
  min-height: 668px;
  border: 12px solid #090b12;
  border-radius: 42px;
  box-shadow: 0 24px 58px rgba(8, 25, 58, 0.22);
  padding: 22px 24px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ios-preview-row .ios-phone {
  width: 184px;
  min-height: 398px;
  border-width: 8px;
  border-radius: 32px;
  padding: 14px 14px 10px;
  box-shadow: 0 16px 36px rgba(8, 25, 58, 0.18);
}

.ios-preview-row .ios-phone:first-child {
  width: 204px;
  min-height: 438px;
}

.mobile-product-page .ios-phone:not(.is-active) {
  opacity: 0.72;
  transform: scale(0.98);
}

.ios-phone.is-active {
  opacity: 1;
  transform: translateY(-6px);
}

.ios-blue {
  color: white;
  background: linear-gradient(160deg, #0579ff 0%, #005ee8 56%, #004fd2 100%);
}

.ios-white {
  color: var(--ink);
  background: #ffffff;
}

.ios-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 112px;
  height: 28px;
  transform: translateX(-50%);
  background: #05060a;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.ios-preview-row .ios-notch {
  top: 5px;
  width: 82px;
  height: 20px;
  border-radius: 0 0 13px 13px;
}

.ios-status {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 28px;
}

.ios-preview-row .ios-status {
  font-size: 10px;
  margin-bottom: 15px;
}

.mobile-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 78px;
}

.ios-preview-row .mobile-logo {
  margin-bottom: 34px;
}

.mobile-logo .logo strong {
  color: white;
  font-size: 24px;
}

.ios-preview-row .mobile-logo .logo {
  gap: 7px;
}

.ios-preview-row .mobile-logo .logo strong {
  font-size: 17px;
}

.mobile-logo .logo small {
  display: none;
}

.mobile-logo .vmark {
  width: 38px;
  height: 38px;
  font-size: 26px;
}

.ios-preview-row .mobile-logo .vmark {
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.mobile-profile,
.confirm-person span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: var(--blue);
  font-weight: 950;
}

.ios-preview-row .mobile-profile {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.amount-display,
.confirm-amount {
  min-height: 92px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: white;
}

.ios-preview-row .amount-display,
.ios-preview-row .confirm-amount {
  min-height: 50px;
}

.amount-display span,
.confirm-amount span {
  font-size: 48px;
  font-weight: 900;
}

.ios-preview-row .amount-display span,
.ios-preview-row .confirm-amount span {
  font-size: 26px;
}

.amount-display strong,
.confirm-amount strong {
  font-size: 82px;
  line-height: 1;
}

.ios-preview-row .amount-display strong,
.ios-preview-row .confirm-amount strong {
  font-size: 46px;
}

.currency-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 28px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: white;
  padding: 0 24px;
}

.ios-preview-row .currency-pill {
  min-height: 28px;
  padding: 0 13px;
  margin: 10px auto 14px;
  font-size: 11px;
}

.currency-pill.light {
  background: #f2f5fa;
  color: var(--ink);
}

.mobile-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 22px;
}

.ios-preview-row .mobile-keypad {
  gap: 5px 11px;
}

.mobile-keypad button {
  min-height: 54px;
  padding: 0;
  background: transparent;
  color: white;
  font-size: 28px;
}

.ios-preview-row .mobile-keypad button {
  min-height: 31px;
  font-size: 17px;
}

.mobile-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 24px;
}

.ios-preview-row .mobile-action-row {
  gap: 9px;
  margin: 14px 0 12px;
}

.ios-preview-row .mobile-action-row button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.mobile-action-row button {
  border-radius: 22px;
  background: rgba(255,255,255,0.13);
}

.mobile-action-row .white-action {
  color: var(--blue);
  background: white;
}

.mobile-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  text-align: center;
}

.ios-preview-row .mobile-tabbar {
  font-size: 8px;
}

.mobile-tabbar strong {
  color: white;
}

.ios-white h2 {
  text-align: center;
  margin: 0 0 22px;
}

.ios-preview-row .ios-white h2 {
  font-size: 19px;
  margin-bottom: 11px;
}

.back-button {
  position: absolute;
  top: 56px;
  left: 22px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
}

.ios-preview-row .back-button {
  top: 35px;
  left: 14px;
  width: 24px;
  min-height: 24px;
  font-size: 18px;
}

.contact-search {
  min-height: 58px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #8795aa;
  background: #f0f3f8;
  margin-bottom: 18px;
}

.ios-preview-row .contact-search {
  min-height: 36px;
  padding: 0 12px;
  margin-bottom: 9px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-list {
  display: grid;
  gap: 0;
}

.contact-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 0;
  border-bottom: 1px solid #edf2f7;
  background: white;
  color: var(--ink);
  text-align: left;
  padding: 10px 0;
}

.ios-preview-row .contact-row {
  min-height: 46px;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 5px 0;
}

.contact-row span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-weight: 950;
  font-size: 21px;
}

.ios-preview-row .contact-row span {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.ios-preview-row .contact-row strong {
  font-size: 12px;
}

.ios-preview-row .contact-row small {
  font-size: 10px;
}

.contact-row:nth-child(2) span {
  background: #a78bfa;
}

.contact-row:nth-child(3) span {
  background: #dbeafe;
  color: var(--blue2);
}

.contact-row:nth-child(4) span,
.group-row span {
  background: #cbd5e1;
  color: var(--blue2);
}

.contact-row strong,
.contact-row small,
.confirm-person strong,
.confirm-person small {
  display: block;
}

.contact-row small,
.confirm-person small {
  color: var(--muted);
  font-weight: 700;
}

.confirm-person {
  display: grid;
  justify-items: center;
  margin: 86px 0 56px;
}

.ios-preview-row .confirm-person {
  margin: 46px 0 28px;
}

.confirm-person span {
  width: 84px;
  height: 84px;
  background: var(--blue);
  color: white;
  font-size: 31px;
  margin-bottom: 16px;
}

.ios-preview-row .confirm-person span {
  width: 50px;
  height: 50px;
  font-size: 19px;
  margin-bottom: 10px;
}

.ios-preview-row .confirm-person strong {
  font-size: 14px;
}

.ios-preview-row .confirm-person small {
  font-size: 10px;
}

.confirm-person strong {
  font-size: 22px;
}

.confirm-amount {
  color: var(--ink);
  min-height: 86px;
}

.mobile-pay-form {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  display: grid;
  gap: 104px;
}

.ios-preview-row .mobile-pay-form {
  left: 14px;
  right: 14px;
  bottom: 14px;
  gap: 10px;
}

.mobile-pay-form input {
  min-height: 62px;
  background: #f3f6fb;
  border-color: #edf2f7;
  font-size: 16px;
}

.ios-preview-row .mobile-pay-form input {
  min-height: 36px;
  font-size: 10px;
}

.ios-preview-row .mobile-pay-form .btn {
  min-height: 34px;
  font-size: 11px;
  padding: 0 12px;
}

.mobile-pay-form .btn {
  width: 100%;
}

.ios-install-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 12%, rgba(8,119,255,0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef7ff 64%, #dbeeff 100%);
}

.ios-install-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(300px, 0.7fr);
  gap: 32px;
  align-items: center;
  padding: 44px 7vw;
}

.install-card {
  border: 1px solid #dce7f4;
  border-radius: 8px;
  padding: 34px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 50px rgba(18, 45, 82, 0.10);
}

.install-brand {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
}

.install-brand img {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(8,119,255,0.22);
}

.install-brand h1 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 0.98;
}

.install-lead {
  max-width: 680px;
  margin: 22px 0;
  color: #274066;
  font-size: 21px;
  line-height: 1.42;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.install-steps article {
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.install-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 950;
}

.install-steps small,
.install-note {
  color: var(--muted);
}

.install-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.install-phone-preview {
  display: grid;
  justify-items: center;
}

.install-phone-preview .ios-phone {
  width: min(100%, 310px);
  min-height: 628px;
}

.is-installed-app .ios-install-page .install-card {
  border-color: rgba(17,185,120,0.42);
}

.pos-install-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(8,119,255,0.22), transparent 28%),
    linear-gradient(135deg, #061425 0%, #0b2846 48%, #eaf5ff 49%, #ffffff 100%);
}

.pos-app-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #071d36 0 44%, #f5f9ff 44% 100%);
}

.pos-app-main {
  min-height: 100vh;
  display: grid;
  gap: 28px;
  padding: 28px 54px 40px;
}

.pos-app-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
  color: white;
}

.pos-app-header .logo strong {
  color: white;
}

.pos-app-header > div > p:not(.eyebrow):not(.notice-banner):not(.success-banner) {
  max-width: 720px;
  color: rgba(255,255,255,0.82);
  font-size: 19px;
}

.pos-app-header p.notice-banner,
.pos-app-header p.success-banner {
  color: #7c2d12;
  background: #ffedd5;
  font-size: 15px;
}

.pos-app-header p.success-banner {
  color: #065f46;
  background: #dcfce7;
}

.pos-app-header h1 {
  margin: 0;
  font-size: 54px;
}

.pos-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
  justify-items: center;
  align-items: start;
  padding: 24px;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 50px rgba(18, 45, 82, 0.13);
}

.pos-phone {
  width: min(100%, 264px);
  min-height: 536px;
  border-width: 9px;
  border-radius: 34px;
  padding: 17px 18px 14px;
}

.pos-app-page .pos-phone:not(.is-active) {
  opacity: 0.74;
  transform: scale(0.98);
}

.pos-charge-screen {
  color: white;
  background: linear-gradient(160deg, #0877ff, #005fe8);
}

.pos-phone-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 46px;
}

.pos-phone-brand .vmark {
  width: 34px;
  height: 34px;
  font-size: 22px;
}

.pos-phone-brand strong,
.pos-phone-brand small {
  display: block;
}

.pos-phone-brand strong {
  color: white;
  font-size: 20px;
}

.pos-phone-brand small {
  color: rgba(255,255,255,0.76);
}

.pos-charge-amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: inherit;
}

.pos-charge-amount span {
  font-size: 34px;
  font-weight: 900;
}

.pos-charge-amount strong {
  font-size: 58px;
  line-height: 1;
}

.pos-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 14px;
  margin-top: 15px;
}

.pos-keypad button {
  min-height: 45px;
  border-radius: 50%;
  padding: 0;
  color: white;
  background: rgba(255,255,255,0.10);
  font-size: 21px;
}

.pos-charge-button {
  width: 100%;
  margin: 14px 0 20px;
  color: var(--blue);
  background: white;
}

.pos-tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: rgba(255,255,255,0.72);
  text-align: center;
  font-size: 11px;
}

.pos-tabbar strong {
  color: white;
}

.pos-tap-screen {
  color: white;
  background:
    radial-gradient(circle at 50% 5%, rgba(8,119,255,0.48), transparent 28%),
    linear-gradient(180deg, #07111f, #102235);
  text-align: center;
}

.tap-target {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  margin: 70px auto 22px;
  border: 4px solid rgba(255,255,255,0.28);
  display: grid;
  place-items: center;
}

.tap-target span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  position: relative;
}

.tap-target span:after {
  content: "";
  position: absolute;
  inset: 19px 15px;
  border: 4px solid white;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.pos-tap-screen p {
  margin: 16px auto 22px;
  max-width: 240px;
  color: rgba(255,255,255,0.84);
  font-size: 16px;
}

.pay-rail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.09);
}

.pay-rail-row span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.pos-cancel,
.pos-simulate {
  width: 100%;
  margin-top: 10px;
}

.pos-cancel {
  background: rgba(255,255,255,0.12);
}

.pos-receipt-screen {
  background: #ffffff;
  color: var(--ink);
  text-align: center;
}

.success-check {
  width: 72px;
  height: 72px;
  margin: 70px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-size: 38px;
  font-weight: 950;
}

.pos-receipt-screen h2 {
  margin: 0 0 16px;
}

.receipt-total {
  color: var(--ink);
}

.receipt-list {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.receipt-list div {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
}

.receipt-list div:last-child {
  border-bottom: 0;
}

.receipt-list span {
  color: var(--muted);
}

.receipt-list strong {
  text-align: right;
}

.pos-sale-form {
  display: grid;
  gap: 10px;
}

.pos-sale-form .btn {
  width: 100%;
}

@media (max-width: 1180px) {
  .hero-public,
  .built-section,
  .dashboard-grid,
  .admin-layout,
  .chart-row,
  .chart-row.three,
  .personal-hero {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .quick-services,
  .metrics-row,
  .personal-rules,
  .merchant-metrics,
  .stat-grid,
  .settings-summary,
  .merchant-workspace {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid,
  .settings-grid,
  .registration-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel,
  .settings-grid .checkout-preview,
  .settings-grid .merchant-registration-card {
    grid-column: auto;
    grid-row: auto;
  }

  .public-nav {
    padding: 0 20px;
  }

  .public-nav nav {
    display: none;
  }

  .ios-preview-row,
  .ios-stage {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .banner-slides {
    min-height: 760px;
  }

  .wide-visual {
    min-height: 260px;
  }

  .merchant-visual,
  .pos-visual {
    grid-template-columns: 1fr 1fr;
  }

  .merchant-meter,
  .tap-ring {
    display: none;
  }

  .merchant-table-panel {
    grid-column: 1 / -1;
  }

  .personal-page .ios-preview-row {
    grid-template-columns: 1fr;
    max-height: 430px;
    margin-top: 4px;
  }

  .personal-page .ios-preview-row .ios-phone:not(:first-child) {
    display: none;
  }

  .personal-page .ios-preview-row .ios-phone:first-child {
    width: 214px;
    min-height: 430px;
  }

  .ios-install-shell {
    grid-template-columns: 1fr;
  }

  .install-phone-preview .ios-phone {
    min-height: 560px;
  }

  .pos-app-header,
  .pos-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-sidebar {
    position: static;
    width: auto;
  }

  .app-main {
    margin-left: 0;
  }

  .topbar,
  .customer-hero,
  .admin-title {
    display: grid;
  }

  .service-strip,
  .quick-services,
  .metrics-row,
  .audience-grid,
  .personal-rules,
  .merchant-metrics,
  .stat-grid,
  .settings-summary,
  .settings-grid,
  .registration-grid,
  .merchant-workspace,
  .merchant-tool-grid {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    max-height: none;
    overflow-y: visible;
  }

  .app-sidebar nav a {
    min-height: 40px;
    font-size: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .registration-shell {
    padding: 24px 18px 34px;
  }

  .hero-public,
  .personal-hero,
  .mobile-app-main {
    padding: 28px 18px;
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 640px;
  }

  .banner-slides {
    min-height: 760px;
  }

  .banner-slide {
    padding: 28px 20px;
    align-content: start;
    gap: 22px;
  }

  .slide-copy h1 {
    font-size: 40px;
  }

  .slide-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .wide-visual {
    min-height: 220px;
    padding: 18px;
  }

  .cash-visual,
  .merchant-visual,
  .pos-visual {
    grid-template-columns: 1fr;
  }

  .contact-panel.second {
    transform: none;
  }

  .merchant-table,
  .receipt-card {
    display: none;
  }

  .money-panel,
  .merchant-card,
  .pos-amount {
    min-height: 180px;
  }

  .money-panel strong,
  .pos-amount strong {
    font-size: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .personal-rules {
    padding: 20px 18px 30px;
  }

  .mobile-product-page .ios-phone:not(.is-active) {
    display: none;
  }

  .personal-copy h1 {
    font-size: 42px;
  }

  .personal-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .merchant-hero-panel {
    display: grid;
    padding: 28px 22px;
  }

  .merchant-hero-panel h1 {
    font-size: 34px;
  }

  .merchant-actions {
    justify-content: start;
  }

  .merchant-table-panel {
    grid-column: auto;
  }

  .ios-install-shell {
    padding: 28px 18px;
  }

  .install-card {
    padding: 22px;
  }

  .install-brand {
    grid-template-columns: 64px 1fr;
  }

  .install-brand img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-phone-preview .ios-phone {
    width: min(100%, 292px);
    min-height: 590px;
  }

  .pos-app-main {
    padding: 26px 18px 34px;
  }

  .pos-app-header {
    grid-template-columns: 1fr;
    color: white;
  }

  .pos-app-header h1 {
    font-size: 42px;
  }

  .pos-app-page .pos-phone:not(.is-active) {
    display: none;
  }

  .pos-phone {
    width: min(100%, 310px);
    min-height: 628px;
  }

  .phone-scene {
    min-height: 500px;
  }

  .city-card,
  .beyond {
    position: static;
    margin: 14px 0;
  }
}
