/* Access.al public index redesign. Loaded after legacy inline styles. */
:root {
  --idx-bg: #ffffff;
  --idx-paper: #f6f7f9;
  --idx-ink: #0b0d12;
  --idx-soft: #2d3440;
  --idx-muted: #667085;
  --idx-line: rgba(11, 13, 18, .12);
  --idx-blue: #20bff2;
  --idx-blue-deep: #0693df;
  --idx-green: #20ef52;
  --idx-green-deep: #057b18;
  --idx-shadow: 0 22px 55px rgba(11, 13, 18, .16);
  --idx-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --idx-bg: #0b0f16;
  --idx-paper: #111721;
  --idx-ink: #f8fafc;
  --idx-soft: #d7dde8;
  --idx-muted: #9aa5b5;
  --idx-line: rgba(255, 255, 255, .16);
  --idx-shadow: 0 22px 60px rgba(0, 0, 0, .45);
}

html,
body {
  min-height: 100%;
  background: var(--idx-bg) !important;
  color: var(--idx-ink) !important;
  font-family: var(--idx-font) !important;
  letter-spacing: 0 !important;
}

body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 0 116px !important;
}

body.auth-open {
  overflow: hidden !important;
}

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

a {
  color: inherit;
}

.snap-container {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
  scroll-snap-type: none !important;
  scroll-behavior: smooth;
}

.snap-section {
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  scroll-snap-align: none !important;
}

.landing-wrap {
  width: min(1160px, calc(100% - 42px)) !important;
  margin: 0 auto !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible,
.reveal:first-child {
  opacity: 1;
  transform: none;
}

.landing-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(145deg, #0bbde7 0%, #66ccf1 48%, #0095e9 100%);
  color: #ffffff;
  padding: 48px 0 0 !important;
}

.landing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  background: var(--idx-bg);
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  grid-template-rows: auto 1fr;
  gap: 18px 26px;
  align-items: center;
}

.hero-brand {
  grid-column: 1 / -1;
  padding-left: 36px;
}

.hero-brand img {
  display: block;
  width: 148px;
  height: auto;
}

.hero-glass {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  align-items: center;
  gap: 22px;
  padding: 56px 34px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 40px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-hero .hero-copy {
  max-width: 680px !important;
  color: #ffffff !important;
}

.landing-hero .hero-copy h1 {
  margin: 0 !important;
  max-width: 640px;
  color: #ffffff !important;
  font-size: clamp(2.15rem, 4.1vw, 3.15rem) !important;
  line-height: 1.13 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.landing-hero .hero-copy p {
  margin: 18px 0 0 !important;
  max-width: 640px !important;
  color: rgba(255, 255, 255, .95) !important;
  font-size: clamp(1rem, 1.55vw, 1.22rem) !important;
  line-height: 1.42 !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.landing-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.landing-btn:hover {
  transform: translateY(-1px);
}

.landing-btn-dark {
  background: #101318;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .16);
}

.landing-btn-light {
  background: #ffffff;
  color: #101318;
  border-color: rgba(16, 19, 24, .12);
}

.landing-btn.full {
  width: 100%;
}

.hero-icon-rail {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.hero-icon-rail span,
.round-icon,
.route-icons span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #111318;
  border: 1px solid rgba(11, 13, 18, .12);
  box-shadow: 0 8px 16px rgba(11, 13, 18, .14);
  font-size: 25px;
}

.hero-phone-wrap {
  position: relative;
  align-self: end;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: -70px;
}

.phone-frame {
  position: relative;
  width: min(292px, 100%);
  min-height: 570px;
  padding: 18px 14px;
  border-radius: 48px;
  background: linear-gradient(90deg, #101010, #343434 48%, #090909);
  box-shadow: 0 28px 38px rgba(0, 0, 0, .25);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 40px;
  background: #ffffff;
}

.phone-notch {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 532px;
  object-fit: contain;
  border-radius: 34px;
  opacity: .95;
}

.landing-section {
  padding: 72px 0 !important;
  background: var(--idx-bg);
}

.qr-section {
  padding-top: 56px !important;
}

.qr-grid,
.intelligence-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .9fr);
  gap: 54px;
  align-items: center;
}

.qr-copy,
.feature-stack,
.faq-list,
.contact-cards {
  display: grid;
  gap: 34px;
}

.feature-text-block h2,
.why-green-card h2,
.section-head h2,
.workflow-card h2 {
  margin: 14px 0 0;
  color: var(--idx-ink);
  font-size: clamp(1.75rem, 3.15vw, 2.25rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0 !important;
}

.feature-text-block p,
.section-head p,
.workflow-card p,
.faq-list p,
.plan-description {
  margin: 14px 0 0;
  color: var(--idx-soft);
  font-size: clamp(.98rem, 1.5vw, 1.17rem);
  line-height: 1.38;
}

.feature-text-block.compact {
  max-width: 520px;
}

.customer-card {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 34px;
  background: linear-gradient(135deg, #51f269 0%, #32e756 42%, #10d244 100%);
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(32, 239, 82, .28);
}

.customer-card img {
  width: min(450px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .18));
}

.customer-card span {
  position: absolute;
  left: 58px;
  bottom: 84px;
  padding: 14px 34px;
  border-radius: 999px;
  background: rgba(70, 33, 33, .58);
  color: #ffffff;
  font-size: clamp(1.2rem, 2.4vw, 1.72rem);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.intelligence-section {
  padding-top: 88px !important;
  background: linear-gradient(180deg, rgba(32, 239, 82, .20) 0, var(--idx-bg) 140px);
}

.route-block {
  padding-top: 10px;
}

.route-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.why-green-card {
  padding: 36px 40px;
  border-radius: 28px;
  background: linear-gradient(145deg, #0ce733, #057b18);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(5, 123, 24, .24);
}

.why-green-card h2 {
  color: #ffffff;
}

.why-green-card .round-icon {
  background: rgba(255, 255, 255, .72);
}

.why-green-card ul {
  display: grid;
  gap: 5px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1.12;
}

.workflow-phone {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: #030303;
  overflow: hidden;
}

.workflow-phone img {
  width: min(315px, 82%);
  height: auto;
  transform: rotate(-6deg);
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .45));
}

.telegram-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--idx-ink);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 900;
}

.telegram-chip i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #16a9ee;
  color: #16a9ee;
  font-size: 29px;
}

.workflow-section {
  background: var(--idx-paper);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-card,
.module-card,
.plan-card,
.faq-list article,
.contact-card {
  border: 1px solid var(--idx-line);
  border-radius: 8px;
  background: var(--idx-bg);
  box-shadow: 0 1px 0 rgba(11, 13, 18, .04);
}

.workflow-card {
  padding: 28px;
}

.workflow-card span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--idx-green);
  color: #07130b;
  font-size: 13px;
  font-weight: 900;
}

.blue-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--idx-blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.blue-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-head.centered {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.centered .blue-kicker {
  justify-content: center;
}

.pricing-section,
.faq-section {
  background: var(--idx-paper);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 28px;
}

.plan-card.featured {
  border-color: rgba(32, 239, 82, .72);
  box-shadow: var(--idx-shadow);
}

.plan-badge,
.tier,
.yearly-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--idx-green);
  color: #07130b;
}

.tier,
.yearly-note {
  background: var(--idx-paper);
  color: var(--idx-muted);
}

.plan-card h3 {
  margin: 18px 0 0;
  color: var(--idx-ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.price {
  margin-top: 20px;
  color: var(--idx-ink);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--idx-muted);
  font-size: .95rem;
}

.yearly-note {
  margin-top: 10px;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: 9px;
  color: var(--idx-soft);
  font-size: .94rem;
  line-height: 1.35;
}

.plan-card li i {
  color: var(--idx-green-deep);
}

.faq-grid {
  align-items: start;
}

.faq-list article {
  padding: 22px;
}

.faq-list h3 {
  margin: 0;
  color: var(--idx-ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-cards {
  gap: 12px;
}

.contact-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: var(--idx-ink);
  text-decoration: none;
}

.contact-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--idx-green);
  color: #07130b;
  font-size: 22px;
  flex: 0 0 auto;
}

.contact-card b,
.contact-card small {
  display: block;
}

.contact-card small {
  margin-top: 3px;
  color: var(--idx-muted);
}

.contact-chat {
  width: 100%;
  border: 1px solid var(--idx-line);
  cursor: pointer;
  text-align: left;
}

.integrations-section {
  padding: 56px 0 38px !important;
  background: var(--idx-bg);
}

.integrations-row {
  min-height: 130px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 38px;
  color: var(--idx-ink);
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}

.integrations-row > span {
  font-weight: 500;
}

.integrations-row strong {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0 !important;
}

.brand-stripe {
  color: #6559ff;
}

.brand-paysera {
  color: #0a28a8;
}

.brand-paypal {
  color: #0874d9;
}

.brand-paypal span {
  color: #003087;
}

.brand-gpay {
  color: #5f6368;
}

.brand-gpay span {
  color: #4285f4;
}

.brand-apple {
  color: #000000;
}

[data-theme="dark"] .brand-apple {
  color: #ffffff;
}

.landing-footer {
  padding: 40px 0 34px;
  background: var(--idx-bg);
  color: var(--idx-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-footer img {
  height: 31px;
  width: auto;
}

[data-theme="dark"] .landing-footer img,
[data-theme="dark"] .bottom-dock-logo img,
[data-theme="dark"] .modal-logo img {
  filter: invert(1) brightness(1.8);
}

.landing-footer p {
  margin: 10px 0 0;
  font-size: 13px;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 13px;
  font-weight: 800;
}

.bottom-dock {
  position: fixed;
  z-index: 800;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(1180px, calc(100% - 48px));
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(248, 249, 251, .90);
  box-shadow: 0 14px 28px rgba(11, 13, 18, .24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

[data-theme="dark"] .bottom-dock {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(15, 20, 29, .90);
}

.dock-left,
.dock-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.dock-left {
  justify-content: flex-start;
}

.dock-right {
  justify-content: flex-end;
}

.dock-primary,
.dock-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--idx-ink);
  font: inherit;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.dock-primary {
  gap: 10px;
}

.dock-primary i {
  font-size: 1.15em;
}

.bottom-dock-logo img {
  display: block;
  height: 46px;
  width: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 9, 13, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-backdrop.on {
  display: flex;
}

.modal {
  position: relative;
  width: min(460px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 40px 32px 32px;
  border-radius: 24px;
  background: var(--idx-bg);
  color: var(--idx-ink);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .42);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--idx-paper);
  color: var(--idx-ink);
  cursor: pointer;
}

.modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.modal-logo img {
  height: 30px;
  width: auto;
}

.entry-box {
  padding: 0;
}

.view-title {
  margin: 0 0 8px;
  color: var(--idx-ink);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0 !important;
  line-height: 1.08;
  text-align: center;
}

.view-text {
  margin: 0 0 20px;
  color: var(--idx-muted);
  font-size: 14px;
  line-height: 1.52;
  text-align: center;
}

.auth-view[hidden] {
  display: none !important;
}

.ds-input,
.ds-select {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;
  padding: 13px 15px;
  border: 1px solid var(--idx-line);
  border-radius: 12px;
  background: var(--idx-paper);
  color: var(--idx-ink);
}

.input-group {
  position: relative;
}

.input-group .ds-input {
  padding-right: 48px;
}

.toggle-pw {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--idx-muted);
  cursor: pointer;
}

.ds-btn,
.ds-btn-secondary {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.ds-btn {
  border: 0;
  background: #101318;
  color: #ffffff;
}

.ds-btn-secondary {
  border: 1px solid var(--idx-line);
  background: var(--idx-bg);
  color: var(--idx-ink);
}

.ds-actions,
.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.ds-link {
  border: 0;
  background: transparent;
  color: var(--idx-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ds-consent {
  margin: 6px 0 10px;
  color: var(--idx-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.google-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  color: var(--idx-muted);
  font-size: 12px;
  font-weight: 800;
}

.google-divider::before,
.google-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--idx-line);
}

.ds-google-wrap {
  display: flex;
  justify-content: center;
}

.ds-google-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--idx-line);
  border-radius: 50%;
  background: var(--idx-bg);
  cursor: pointer;
}

.ds-google-btn svg {
  width: 22px;
  height: 22px;
}

.alert {
  min-height: 0;
  margin-bottom: 12px;
  color: var(--idx-muted);
  font-size: 13px;
  line-height: 1.4;
}

.alert.error,
.alert.success {
  padding: 11px 12px;
  border-radius: 8px;
}

.alert.error {
  background: #fef2f2;
  color: #b42318;
}

.alert.success {
  background: #ecfdf3;
  color: #067647;
}

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

.biz-card,
.module-row,
.account-card {
  border: 1px solid var(--idx-line);
  border-radius: 8px;
  background: var(--idx-bg);
}

.module-list {
  max-height: min(310px, 44vh);
  overflow: auto;
}

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

.phone-frame,
.customer-card img,
.workflow-phone img {
  animation: phoneFloat 6.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  body {
    padding-bottom: 176px !important;
  }

  .landing-wrap {
    width: min(100% - 28px, 720px) !important;
  }

  .landing-hero {
    padding-top: 34px !important;
  }

  .landing-hero::after {
    height: 54px;
  }

  .hero-stage,
  .qr-grid,
  .intelligence-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 0;
    gap: 24px;
  }

  .hero-brand {
    padding-left: 0;
  }

  .hero-glass {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px 24px;
    border-radius: 28px;
  }

  .hero-icon-rail {
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
  }

  .hero-icon-rail span,
  .round-icon,
  .route-icons span {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .hero-phone-wrap {
    min-height: 390px;
    margin-left: 0;
    align-items: center;
  }

  .phone-frame {
    width: 218px;
    min-height: 392px;
    border-radius: 38px;
  }

  .phone-frame::before {
    border-radius: 30px;
  }

  .phone-frame img {
    height: 354px;
    border-radius: 27px;
  }

  .phone-notch {
    width: 68px;
    height: 19px;
  }

  .customer-card,
  .workflow-phone {
    min-height: 430px;
  }

  .customer-card span {
    left: 28px;
    bottom: 48px;
  }

  .workflow-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

  .landing-footer nav {
    justify-content: flex-start;
  }

  .bottom-dock {
    width: min(560px, calc(100% - 24px));
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 30px;
  }

  .bottom-dock-logo {
    order: -1;
    justify-self: center;
  }

  .bottom-dock-logo img {
    height: 34px;
  }

  .dock-left,
  .dock-right {
    justify-content: center;
    gap: 8px;
  }

  .dock-primary,
  .dock-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }

}

@media (max-width: 560px) {
  body {
    padding-bottom: 188px !important;
  }

  .landing-wrap {
    width: calc(100% - 22px) !important;
  }

  .landing-hero .hero-copy h1 {
    font-size: 1.95rem !important;
  }

  .landing-hero .hero-copy p {
    font-size: 1rem !important;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-btn {
    width: 100%;
  }

  .hero-icon-rail {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-icon-rail span {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .feature-text-block h2,
  .why-green-card h2,
  .section-head h2,
  .workflow-card h2 {
    font-size: 1.58rem;
  }

  .why-green-card {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .customer-card,
  .workflow-phone {
    min-height: 340px;
    border-radius: 22px;
  }

  .customer-card span {
    left: 18px;
    right: 18px;
    bottom: 26px;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
  }

  .integrations-row {
    justify-content: flex-start;
    gap: 18px 24px;
  }

  .integrations-row strong {
    font-size: 2rem;
  }

  .dock-left,
  .dock-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .dock-primary,
  .dock-link {
    width: 100%;
    font-size: 13px;
  }

  .modal {
    padding: 38px 20px 24px;
    border-radius: 20px;
  }
}

/* Final liquid-glass interaction polish. Keep at the end to override legacy inline CSS. */
.bottom-dock {
  isolation: isolate;
  overflow: visible;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .82), transparent 34%),
    radial-gradient(circle at 85% 120%, rgba(32, 191, 242, .18), transparent 36%) !important;
  border: 1px solid rgba(255, 255, 255, .72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -14px 36px rgba(255, 255, 255, .24),
    0 18px 40px rgba(11, 13, 18, .20) !important;
  backdrop-filter: blur(22px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(170%) !important;
}

.bottom-dock::before {
  content: "";
  position: absolute;
  inset: 1px 18px auto;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
  opacity: .72;
  pointer-events: none;
}

.bottom-dock::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(32, 239, 82, .34), rgba(32, 191, 242, .30), rgba(255, 255, 255, .42));
  opacity: .28;
  filter: blur(12px);
  pointer-events: none;
}

[data-theme="dark"] .bottom-dock {
  background:
    linear-gradient(135deg, rgba(22, 28, 39, .74), rgba(18, 22, 32, .52)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .18), transparent 34%),
    radial-gradient(circle at 85% 120%, rgba(32, 191, 242, .24), transparent 36%) !important;
}

.dock-primary,
.dock-link,
.dock-support,
.dock-menu-btn {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  background: rgba(255, 255, 255, .28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .70);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.dock-primary {
  background: rgba(11, 13, 18, .92) !important;
  color: #ffffff !important;
}

.dock-support {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--idx-ink);
  font: inherit;
  font-size: clamp(.95rem, 1.45vw, 1.2rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.dock-menu-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--idx-ink);
  font-size: 24px;
  cursor: pointer;
}

.dock-primary::after,
.dock-link::after,
.dock-support::after,
.dock-menu-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--liquid-x, 50%) var(--liquid-y, 50%), rgba(255,255,255,.62), transparent 34%);
  opacity: 0;
  transform: scale(.72);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.liquid-touch {
  transform: scale(.97) translateY(1px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .76),
    0 10px 24px rgba(11, 13, 18, .18) !important;
}

.liquid-touch::after {
  opacity: 1;
  transform: scale(1.45);
  animation: liquidRipple .42s ease-out;
}

@keyframes liquidRipple {
  0% { opacity: .75; transform: scale(.45); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.65); filter: blur(7px); }
}

.dock-menu {
  position: absolute;
  right: 24px;
  bottom: calc(100% + 14px);
  width: min(280px, calc(100vw - 36px));
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .52)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .84), transparent 38%);
  box-shadow: 0 18px 48px rgba(11, 13, 18, .20);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.dock-menu[hidden] {
  display: none;
}

.dock-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--idx-ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.dock-menu a:hover {
  background: rgba(255, 255, 255, .56);
}

[data-theme="dark"] .dock-menu {
  background:
    linear-gradient(135deg, rgba(22, 28, 39, .90), rgba(18, 22, 32, .72)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .16), transparent 38%);
}

.modal-backdrop {
  padding: 0 !important;
  background:
    radial-gradient(circle at 15% 15%, rgba(32,191,242,.22), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(32,239,82,.18), transparent 30%),
    rgba(7, 9, 13, .68) !important;
}

.modal {
  width: min(540px, calc(100% - 36px)) !important;
  padding: 34px 30px 30px !important;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.72)),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.86), transparent 34%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 38px 90px rgba(0,0,0,.36) !important;
  backdrop-filter: blur(24px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
}

[data-theme="dark"] .modal {
  background:
    linear-gradient(135deg, rgba(22, 28, 39, .94), rgba(18, 22, 32, .78)),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.14), transparent 34%) !important;
}

.modal-logo {
  margin-bottom: 16px !important;
}

.view-title {
  font-size: 24px !important;
}

.view-text {
  max-width: 330px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ds-input,
.ds-select {
  min-height: 52px;
  border-color: rgba(11, 13, 18, .10);
  background: rgba(255, 255, 255, .62);
}

[data-theme="dark"] .ds-input,
[data-theme="dark"] .ds-select {
  background: rgba(255, 255, 255, .08);
}

.ds-btn,
.ds-btn-secondary {
  min-height: 52px;
}

.ds-actions {
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 2px;
}

.ds-link {
  font-size: 12px;
}

.google-divider,
.ds-google-wrap {
  display: none !important;
}

.oauth-block {
  margin-top: 12px;
}

.ds-google-btn {
  width: 100% !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px !important;
  background: rgba(255,255,255,.72) !important;
  color: var(--idx-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

[data-theme="dark"] .ds-google-btn {
  background: rgba(255,255,255,.08) !important;
}

.ds-google-btn svg {
  width: 20px !important;
  height: 20px !important;
}

.biz-card,
.module-row,
.account-card,
.account-item,
.pricing-summary {
  border-radius: 14px !important;
  background: rgba(255,255,255,.58) !important;
}

[data-theme="dark"] .biz-card,
[data-theme="dark"] .module-row,
[data-theme="dark"] .account-card,
[data-theme="dark"] .account-item,
[data-theme="dark"] .pricing-summary {
  background: rgba(255,255,255,.08) !important;
}

.account-list {
  gap: 8px !important;
}

.account-item {
  padding: 14px !important;
  border: 1px solid rgba(11, 13, 18, .10) !important;
  text-align: left;
}

.signup-wizard {
  width: 100%;
}

.wizard-progress {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0 0 18px;
}

.wizard-progress .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(11, 13, 18, .18);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.wizard-progress .dot.active {
  background: var(--idx-blue);
  transform: scale(1.35);
}

.wizard-progress .dot.done {
  background: var(--idx-green);
  opacity: .72;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 480px) {
  .biz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.biz-card {
  position: relative;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid rgba(11, 13, 18, .10);
  cursor: pointer;
}

.biz-card.selected,
.module-row.checked {
  border-color: rgba(32, 191, 242, .70) !important;
  box-shadow: 0 0 0 3px rgba(32, 191, 242, .12);
}

.biz-emoji {
  font-size: 25px;
  line-height: 1;
}

.biz-label {
  color: var(--idx-ink);
  font-size: 12px;
  font-weight: 900;
}

.biz-check {
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--idx-blue-deep);
  opacity: 0;
}

.biz-card.selected .biz-check {
  opacity: 1;
}

.module-list {
  display: grid;
  gap: 7px;
  max-height: min(320px, 44vh);
  overflow: auto;
  padding-right: 3px;
  margin-bottom: 12px;
}

.module-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(11, 13, 18, .10);
  cursor: pointer;
}

.module-row .m-icon {
  font-size: 20px;
  text-align: center;
}

.module-row .m-name {
  color: var(--idx-ink);
  font-size: 13px;
  font-weight: 900;
}

.module-row .m-desc {
  margin-top: 2px;
  color: var(--idx-muted);
  font-size: 11px;
  line-height: 1.25;
}

.module-row .m-price {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(11, 13, 18, .06);
  color: var(--idx-soft);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.module-row .m-price.free {
  background: rgba(32, 239, 82, .16);
  color: var(--idx-green-deep);
}

.module-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--idx-blue-deep);
}

.pricing-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(11, 13, 18, .10);
  margin-bottom: 12px;
}

.pricing-summary .ps-left {
  color: var(--idx-soft);
  font-size: 12px;
  font-weight: 800;
}

.pricing-summary .ps-total {
  color: var(--idx-ink);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.pricing-summary .ps-currency,
.pricing-summary .ps-strike,
.pricing-summary .ps-discount {
  color: var(--idx-muted);
  font-size: 11px;
  font-weight: 800;
}

.pricing-summary .ps-strike {
  text-decoration: line-through;
}

.account-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  color: var(--idx-ink);
  cursor: pointer;
}

.account-name {
  font-size: 14px;
  font-weight: 950;
}

.account-meta {
  margin-top: 3px;
  color: var(--idx-muted);
  font-size: 12px;
  line-height: 1.3;
}

.account-badge,
.account-suspended-badge {
  align-self: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(32, 191, 242, .13);
  color: var(--idx-blue-deep);
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 980px) {
  body {
    padding-bottom: 100px !important;
  }

  .bottom-dock {
    width: min(620px, calc(100% - 18px)) !important;
    min-height: 64px !important;
    display: grid !important;
    grid-template-columns: auto auto 1fr auto !important;
    gap: 7px !important;
    padding: 8px !important;
    border-radius: 999px !important;
  }

  .dock-left {
    display: contents !important;
  }

  .bottom-dock-logo {
    justify-self: center;
    order: initial !important;
  }

  .bottom-dock-logo img {
    height: 28px !important;
    max-width: 84px;
    object-fit: contain;
  }

  .dock-right {
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  .dock-primary,
  .dock-link,
  .dock-support,
  .dock-menu-btn {
    min-height: 44px !important;
    height: 44px;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .dock-primary span,
  .dock-start {
    white-space: nowrap;
  }

  .dock-support span {
    display: none;
  }

  .dock-support {
    width: 44px;
    padding: 0 !important;
  }

  .dock-menu-btn {
    width: 44px !important;
    padding: 0 !important;
  }

  .dock-menu {
    right: 8px;
    bottom: calc(100% + 10px);
  }

}

@media (max-width: 560px) {
  body {
    padding-bottom: 88px !important;
  }

  .bottom-dock {
    grid-template-columns: auto auto minmax(54px, 1fr) auto auto !important;
  }

  .dock-primary,
  .dock-link,
  .dock-support,
  .dock-menu-btn {
    min-height: 40px !important;
    height: 40px;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  .dock-primary {
    width: auto !important;
  }

  .dock-primary i {
    display: none;
  }

  .bottom-dock-logo img {
    height: 24px !important;
    max-width: 70px;
  }

  .modal {
    width: 100% !important;
    height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
    padding: 54px 18px 28px !important;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

}

/* Clean final navigation/media contract after inline CSS removal. */
.bottom-dock {
  width: min(1120px, calc(100% - 48px)) !important;
  min-height: 72px !important;
  grid-template-columns: auto minmax(130px, 1fr) auto !important;
  gap: 18px !important;
  padding: 10px 14px !important;
}

.dock-left,
.dock-right {
  min-width: 0;
}

.bottom-dock-logo {
  justify-self: center;
}

.bottom-dock-logo img {
  height: 34px !important;
  max-width: 140px;
  object-fit: contain;
}

.dock-primary,
.dock-start,
.dock-support,
.dock-language-btn,
.dock-menu-btn {
  min-height: 48px !important;
  height: 48px;
}

.dock-primary,
.dock-start {
  padding: 0 18px !important;
  font-size: 14px !important;
}

.dock-right {
  gap: 8px !important;
}

.dock-language {
  position: relative;
}

.dock-language-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  color: var(--idx-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .70);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.language-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 178px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .56)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .86), transparent 38%);
  box-shadow: 0 18px 48px rgba(11, 13, 18, .20);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--idx-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.active {
  background: rgba(255, 255, 255, .62);
}

[data-theme="dark"] .language-menu {
  background:
    linear-gradient(135deg, rgba(22, 28, 39, .92), rgba(18, 22, 32, .76)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .16), transparent 38%);
}

[data-theme="dark"] .language-menu button:hover,
[data-theme="dark"] .language-menu button.active {
  background: rgba(255, 255, 255, .10);
}

.workflow-phone video {
  width: min(360px, 88%);
  max-height: 520px;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 26px 46px rgba(0, 0, 0, .36);
}

.phone-frame img[data-landing-media="phone"] {
  object-fit: contain;
}

.dock-language-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--liquid-x, 50%) var(--liquid-y, 50%), rgba(255,255,255,.62), transparent 34%);
  opacity: 0;
  transform: scale(.72);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.dock-language-btn.liquid-touch::after {
  opacity: 1;
  transform: scale(1.45);
  animation: liquidRipple .42s ease-out;
}

@media (max-width: 980px) {
  .bottom-dock {
    width: min(680px, calc(100% - 18px)) !important;
    grid-template-columns: auto auto minmax(56px, 1fr) auto auto auto !important;
    gap: 6px !important;
  }

  .dock-language-btn {
    width: 44px;
    padding: 0 !important;
  }

  .dock-language-btn span,
  .dock-language-btn .bi-chevron-up {
    display: none;
  }

  .language-menu {
    right: -46px;
  }
}

@media (max-width: 560px) {
  .bottom-dock {
    width: calc(100% - 14px) !important;
    grid-template-columns: auto auto minmax(42px, 1fr) auto auto auto !important;
    gap: 5px !important;
    padding: 7px !important;
  }

  .dock-primary,
  .dock-start,
  .dock-support,
  .dock-language-btn,
  .dock-menu-btn {
    min-height: 40px !important;
    height: 40px;
  }

  .dock-start {
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dock-language-btn,
  .dock-support,
  .dock-menu-btn {
    width: 40px !important;
  }
}

/* v20260622-redesign3: single-source index UI cleanup. */
.dock-support,
.contact-chat {
  display: none !important;
}

.bottom-dock {
  width: min(1120px, calc(100% - 48px)) !important;
  min-height: 72px !important;
  box-sizing: border-box !important;
  grid-template-columns: auto minmax(132px, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 10px 14px !important;
}

.dock-left,
.dock-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0;
}

.dock-right {
  justify-content: flex-end !important;
}

.dock-primary,
.dock-start,
.dock-language-btn,
.dock-menu-btn {
  min-height: 48px !important;
  height: 48px !important;
}

.dock-menu-btn {
  width: 48px !important;
  padding: 0 !important;
}

.dock-language-btn {
  max-width: 178px;
}

.modal-backdrop {
  background: rgba(8, 13, 24, .54) !important;
  backdrop-filter: blur(10px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
}

.modal {
  border: 1px solid rgba(15, 23, 42, .10) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 28px 80px rgba(2, 6, 23, .24) !important;
  overflow-x: hidden !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.modal,
.modal * {
  box-sizing: border-box;
}

.auth-view,
.modal form,
.signup-wizard,
.wizard-step,
.entry-box,
.input-group,
.ds-input {
  max-width: 100%;
  min-width: 0;
}

[data-theme="dark"] .modal {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(14, 19, 30, .97) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46) !important;
}

.plan-card,
.faq-list article,
.contact-card,
.biz-card,
.module-row,
.account-card,
.account-item,
.pricing-summary {
  border: 1px solid rgba(15, 23, 42, .10) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="dark"] .plan-card,
[data-theme="dark"] .faq-list article,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .biz-card,
[data-theme="dark"] .module-row,
[data-theme="dark"] .account-card,
[data-theme="dark"] .account-item,
[data-theme="dark"] .pricing-summary {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(16, 23, 36, .95) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28) !important;
}

.biz-card.selected,
.module-row.checked,
.plan-card.featured {
  border-color: rgba(37, 99, 235, .36) !important;
  box-shadow: 0 18px 48px rgba(37, 99, 235, .16) !important;
}

.oauth-block {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 18px 0 4px !important;
}

.oauth-block::before,
.oauth-block::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  max-width: 128px;
  background: linear-gradient(90deg, transparent, rgba(100, 116, 139, .42));
}

.oauth-block::after {
  background: linear-gradient(90deg, rgba(100, 116, 139, .42), transparent);
}

.ds-google-btn {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}

.ds-google-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .16), inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}

.ds-google-btn span {
  display: none !important;
}

.ds-google-btn svg {
  width: 29px !important;
  height: 29px !important;
}

[data-theme="dark"] .ds-google-btn {
  border-color: rgba(255, 255, 255, .16) !important;
  background: #fff !important;
}

/* Auth modal hardening: keeps the signup wizard inside the viewport on mobile/tablet. */
.modal-backdrop.on {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  align-items: center !important;
  padding: 12px !important;
}

.modal {
  width: min(720px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
}

.auth-view,
.signup-wizard,
.wizard-step.active {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

#authRegisterView .biz-grid,
#authCreateBusinessView .biz-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  #authRegisterView .biz-grid,
  #authCreateBusinessView .biz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.biz-card,
.module-row,
.pricing-summary {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.biz-card {
  min-height: 92px;
}

.biz-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--idx-blue-deep);
  font-size: 25px;
  line-height: 1;
}

.biz-label,
.module-row .m-name,
.module-row .m-desc {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-label {
  white-space: nowrap;
}

.module-list {
  width: 100%;
  max-height: min(340px, 42dvh) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable;
}

.module-row {
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto 24px !important;
}

.module-row .m-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--idx-blue-deep);
  font-size: 21px;
  line-height: 1;
}

.module-row .m-info {
  min-width: 0;
}

.module-row .m-desc {
  display: -webkit-box;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 560px) {
  .modal-backdrop.on {
    align-items: flex-start !important;
    padding: 8px !important;
  }

  .modal {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 22px !important;
    padding: 42px 16px 18px !important;
  }

  .modal-logo {
    margin-bottom: 12px !important;
  }

  .view-title {
    font-size: 22px !important;
  }

  .view-text {
    margin-bottom: 16px !important;
  }

  .biz-card {
    min-height: 88px;
    padding: 12px 8px !important;
  }

  .module-list {
    max-height: min(330px, 40dvh) !important;
    padding-right: 4px !important;
  }

  .module-row {
    grid-template-columns: 30px minmax(0, 1fr) auto 22px !important;
    gap: 8px !important;
    padding: 9px 8px !important;
  }

  .module-row .m-icon {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }

  .module-row .m-price {
    padding: 3px 6px !important;
    font-size: 10px !important;
  }

  .pricing-summary {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  body {
    padding-bottom: 104px !important;
  }

  .bottom-dock {
    width: min(680px, calc(100% - 18px)) !important;
    min-height: 58px !important;
    grid-template-columns: auto auto minmax(54px, 1fr) auto auto !important;
    gap: 6px !important;
    padding: 7px !important;
  }

  .dock-left,
  .dock-right {
    display: contents !important;
  }

  .dock-primary,
  .dock-start,
  .dock-language-btn,
  .dock-menu-btn {
    min-height: 42px !important;
    height: 42px !important;
  }

  .dock-primary,
  .dock-start {
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .bottom-dock-logo img {
    height: 27px !important;
    max-width: 86px !important;
  }

  .dock-language-btn,
  .dock-menu-btn {
    width: 42px !important;
    padding: 0 !important;
  }

  .dock-language-btn span,
  .dock-language-btn .bi-chevron-up {
    display: none !important;
  }

  .language-menu {
    right: -48px !important;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 92px !important;
  }

  .bottom-dock {
    width: calc(100% - 14px) !important;
    min-height: 54px !important;
    grid-template-columns: auto auto minmax(42px, 1fr) auto auto !important;
    gap: 5px !important;
    padding: 7px !important;
  }

  .dock-primary,
  .dock-start,
  .dock-language-btn,
  .dock-menu-btn {
    min-height: 40px !important;
    height: 40px !important;
  }

  .dock-primary {
    padding: 0 10px !important;
  }

  .dock-primary i {
    display: none !important;
  }

  .dock-start {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dock-language-btn,
  .dock-menu-btn {
    width: 40px !important;
  }

  .bottom-dock-logo img {
    height: 24px !important;
    max-width: 72px !important;
  }

  .oauth-block {
    gap: 12px !important;
  }

  .oauth-block::before,
  .oauth-block::after {
    max-width: 96px;
  }

  .ds-google-btn {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
  }
}
/* Staff section showcase */
.staff-section {
  --staff-bg: #020617;
  --staff-surface: #0f172a;
  --staff-accent: #60a5fa;
  --staff-text: #ffffff;
  --staff-strong: #e2e8f0;
  --staff-muted: #94a3b8;
  --staff-line: rgba(255, 255, 255, .10);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: clamp(24px, 3vh, 42px) 0 max(96px, clamp(24px, 3vh, 42px));
  background: var(--staff-bg);
  color: var(--staff-text);
}

.landing-section.staff-section {
  padding: clamp(24px, 3vh, 42px) 0 max(96px, clamp(24px, 3vh, 42px)) !important;
}

.staff-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 32px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.staff-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 clamp(18px, 3vh, 34px);
  text-align: center;
}

.staff-eyebrow {
  margin: 0 0 10px;
  color: var(--staff-accent);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.staff-brand-logo {
  width: auto;
  height: clamp(46px, 5.6vw, 64px);
  margin: 0 0 12px;
  color: #fff;
}

.staff-brand-logo path {
  fill: currentColor !important;
}

.staff-brand-logo text {
  font-family:var(--font-family, "Inter", "Manrope", "Segoe UI", Arial, sans-serif);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0;
}

.staff-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.staff-subtitle {
  margin: 0 auto;
  max-width: 48rem;
  color: var(--staff-muted);
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 1.45;
}

.staff-frame {
  position: relative;
  width: min(100%, 1120px, calc((100vh - 330px) * 4 / 3));
  width: min(100%, 1120px, calc((100svh - 330px) * 4 / 3));
  max-width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 32px;
  background: var(--staff-surface);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .36), 0 18px 50px rgba(37, 99, 235, .16);
  isolation: isolate;
}

.staff-base,
.staff-portrait {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  user-select: none;
}

.staff-base {
  z-index: 0;
}

.staff-portrait {
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease-out;
}

.staff-portrait.is-visible {
  opacity: 1;
}

.staff-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  height: 52%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(2, 6, 23, .96) 0%, rgba(15, 23, 42, .42) 46%, rgba(15, 23, 42, 0) 100%);
}

.staff-zones {
  position: absolute;
  inset: 0;
  z-index: 30;
}

.staff-zone {
  position: absolute;
  left: var(--zone-left);
  top: var(--zone-top);
  z-index: var(--zone-z);
  width: var(--zone-width);
  height: var(--zone-height);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.staff-zone:focus {
  outline: none;
}

.staff-zone:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .76);
  outline-offset: -2px;
}

.staff-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(22px, 3.3vw, 40px);
  pointer-events: none;
}

.staff-card {
  width: min(100%, 48rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: clamp(22px, 2.7vw, 32px);
  border: 1px solid var(--staff-line);
  border-radius: 24px;
  background: rgba(2, 6, 23, .35);
  color: var(--staff-text);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .44);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity .25s ease-out;
}

.staff-card[hidden] {
  display: none;
}

.staff-card.is-entering {
  opacity: 0;
}

.staff-card-text {
  min-width: 0;
  text-align: left;
}

.staff-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(1.45rem, 2.35vw, 1.95rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: 0 !important;
}

.staff-card-role {
  margin: 0 0 12px;
  color: var(--staff-accent);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.staff-card-copy {
  margin: 0;
  color: var(--staff-strong);
  font-size: clamp(.93rem, 1.05vw, 1rem);
  line-height: 1.6;
}

.staff-card-flag {
  flex: 0 0 auto;
  width: 40px;
  height: 28px;
  margin-top: 4px;
  border-radius: 3px;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 4px 9px rgba(0, 0, 0, .28);
}

.staff-mobile-card {
  display: none;
  width: min(100%, 540px);
  margin: 16px auto 0;
}

.staff-card-mobile {
  width: 100%;
  max-width: none;
  flex-direction: column;
  gap: 0;
  padding: 20px;
  background: rgba(15, 23, 42, .40);
}

.staff-card-mobile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 4px;
}

.staff-card-mobile h3 {
  margin: 0;
  font-size: 1.5rem;
}

.staff-card-mobile .staff-card-flag {
  width: 36px;
  height: 24px;
}

@media (min-width: 768px) {
  .staff-heading {
    margin-bottom: clamp(20px, 3vh, 38px);
  }

  .staff-subtitle {
    font-size: 1.12rem;
  }
}

@media (max-width: 1023px) {
  .staff-wrap {
    padding-inline: clamp(12px, 3.5vw, 24px);
  }

  .staff-frame {
    width: min(100%, 860px);
  }

  .staff-overlay {
    padding: 24px;
  }

  .staff-card {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .landing-section.staff-section {
    min-height: auto;
    padding: 34px 0 100px !important;
  }

  .staff-wrap {
    padding-inline: 14px;
  }

  .staff-heading {
    margin-bottom: 24px;
  }

  .staff-brand-logo {
    height: 54px;
  }

  .staff-subtitle {
    max-width: 22rem;
    font-size: 1rem;
  }

  .staff-frame {
    width: 100%;
    max-width: 540px;
    border-radius: 22px;
  }

  .staff-scrim,
  .staff-overlay {
    display: none;
  }

  .staff-mobile-card {
    display: block;
    width: 100%;
    max-width: 540px;
  }

  .staff-card-mobile {
    border-radius: 18px;
    padding: 18px;
  }

  .staff-card-role,
  .staff-card-copy {
    font-size: .875rem;
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  .landing-section.staff-section {
    padding: 20px 0 90px !important;
  }

  .staff-heading {
    margin-bottom: 18px;
  }

  .staff-eyebrow {
    margin-bottom: 7px;
    font-size: .76rem;
  }

  .staff-brand-logo {
    height: 48px;
    margin-bottom: 9px;
  }

  .staff-subtitle {
    font-size: 1rem;
    line-height: 1.35;
  }

  .staff-frame {
    width: min(100%, 1040px, calc((100svh - 260px) * 4 / 3));
    border-radius: 26px;
  }

  .staff-card {
    width: min(100%, 43rem);
    padding: 20px;
  }

  .staff-card h3 {
    font-size: 1.45rem;
  }

  .staff-card-role {
    margin-bottom: 8px;
    font-size: .88rem;
  }

  .staff-card-copy {
    font-size: .9rem;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .staff-portrait,
  .staff-card {
    transition: none;
  }
}
