:root {
  --ink: #071224;
  --muted: #526174;
  --line: #dce4ee;
  --soft: #f7f9fc;
  --panel: #ffffff;
  --gold: #f6a400;
  --gold-2: #ffb31a;
  --navy: #06182e;
  --green: #12805c;
  --red: #d92d20;
  --blue: #2563eb;
  --violet: #7c3aed;
  --shadow: 0 22px 60px rgba(7, 18, 36, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(246, 164, 0, 0.28);
  color: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

#page-root:focus {
  outline: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 238, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(6, 24, 46, 0.18);
}

.brand span {
  font-size: 25px;
}

.brand span span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.1vw, 28px);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-control {
  position: relative;
}

.account-trigger.is-authenticated {
  gap: 9px;
  padding: 0 12px 0 7px;
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(7, 18, 36, 0.08);
}

.trigger-avatar,
.account-avatar {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy), #174a78);
  color: #fff;
  font-weight: 900;
}

.trigger-avatar {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.trigger-chevron {
  margin-top: -3px;
  color: var(--muted);
  font-size: 14px;
}

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

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: 310px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 18, 36, 0.2);
  animation: accountMenuIn 160ms ease both;
}

@keyframes accountMenuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.account-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f7f9fc, #fffaf0);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.account-summary.is-highlighted {
  background: #fff5d9;
  box-shadow: 0 0 0 3px rgba(246, 164, 0, 0.18);
}

.account-avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.account-summary strong,
.account-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-summary strong {
  font-size: 14px;
}

.account-summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.account-menu-label {
  padding: 17px 11px 7px;
  color: #8a98aa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-menu-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
  background: var(--soft);
}

.account-menu-item .menu-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--blue);
  font-weight: 900;
}

.account-menu-item strong,
.account-menu-item small {
  display: block;
}

.account-profile-panel[hidden] {
  display: none;
}

.account-profile-panel {
  display: grid;
  gap: 10px;
  margin: 4px 5px 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.account-profile-panel > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
}

.account-profile-panel > div span {
  color: var(--muted);
}

.account-profile-panel > div strong {
  max-width: 165px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-panel button {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.account-profile-panel > small {
  color: var(--green);
  font-size: 10px;
  text-align: center;
}

.account-menu-item strong {
  font-size: 13px;
}

.account-menu-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.logout-item {
  margin-top: 5px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
}

.logout-item .menu-icon,
.logout-item strong {
  color: var(--red);
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111827;
  box-shadow: 0 12px 28px rgba(246, 164, 0, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(246, 164, 0, 0.38);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
}

.btn-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.nav-toggle::before {
  content: "";
}

@media (min-width: 1061px) {
  .nav-toggle {
    display: none;
  }
}

main {
  min-height: 70vh;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 24px;
}

.mockup-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px clamp(12px, 2vw, 28px) 10px;
}

.mockup-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 228, 238, 0.92);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 18, 36, 0.12);
}

.mockup-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.mockup-showcase.compact {
  max-width: 1260px;
  margin: 0 auto;
}

.auth-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 0 24px;
}

.section.tight {
  padding-top: 32px;
  padding-bottom: 32px;
}

.hero {
  max-width: none;
  min-height: calc(100vh - 71px);
  display: grid;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 58px) 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 36%, rgba(255,255,255,0.34) 62%, rgba(255,255,255,0.1) 100%),
    url("/assets/hajmola.jpeg") center right / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 28px;
  width: min(100%, 1420px);
  margin: 0 auto;
  padding-top: 26px;
}

.coded-hero {
  --hero-photo: url("/assets/generated/wholesaler-hero.jpg");
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: 28px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 54px clamp(24px, 4vw, 58px) 86px;
  overflow: hidden;
}

.home-hero {
  min-height: min(860px, calc(100vh - 72px));
  background:
    radial-gradient(circle at 10% 20%, rgba(246, 164, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.home-hero .hero-copy {
  position: relative;
  z-index: 6;
  max-width: 680px;
}

.home-hero .hero-copy h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-hero .lead {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 128, 92, 0.12);
}

.secure-note span {
  color: var(--green);
}

.coded-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 4.75vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

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

.secure-note {
  margin: 18px 0 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  min-height: 620px;
  min-width: 0;
  isolation: isolate;
}

.store-photo {
  position: absolute;
  inset: 0 0 24px 46px;
  border-radius: 16px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.3) 34%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(7,18,36,0.03), rgba(7,18,36,0.16)),
    var(--hero-photo);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  transform: scale(1.02);
  z-index: 0;
}

.store-photo::before {
  content: none;
}

.store-photo::after {
  content: none;
}

.company-hero {
  --hero-photo: url("/assets/generated/operations-desk.jpg");
}

.hero-admin {
  right: 22px;
  top: 36px;
  width: min(760px, calc(100% - 60px));
  z-index: 3;
}

.hero-phone {
  right: 80px;
  bottom: 0;
  z-index: 6;
}

.float-card {
  position: absolute;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,0.96);
  padding: 16px;
  box-shadow: 0 16px 34px rgba(7,18,36,0.14);
}

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

.float-card b {
  display: block;
  margin: 8px 0;
  font-size: 32px;
}

.float-card small {
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
}

.dispatch-card {
  left: 42px;
  bottom: 92px;
  width: 150px;
}

.sync-card {
  left: 212px;
  bottom: 78px;
  width: 176px;
}

.sync-card b {
  color: var(--green);
  font-size: 14px;
}

.feature-stack {
  right: 8px;
  bottom: -12px;
  width: 180px;
  z-index: 3;
  display: grid;
  gap: 12px;
}

.feature-stack span {
  padding-left: 26px;
  position: relative;
  font-size: 12px;
  font-weight: 800;
}

.feature-stack span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: #e9f8f1;
  color: var(--green);
}

.real-stats {
  position: relative;
  z-index: 7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff5df;
  color: #9a5b00;
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span,
.page-hero h1 span,
.accent {
  color: var(--gold);
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: #1f2937;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.command-center {
  position: absolute;
  right: 0;
  top: 38px;
  width: min(760px, 100%);
  border: 1px solid rgba(220, 228, 238, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.window-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.business-pill {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 154px 1fr 230px;
  min-height: 412px;
}

.admin-menu {
  padding: 16px 12px;
  background: #f9fbfe;
  border-right: 1px solid var(--line);
}

.admin-menu span {
  display: block;
  margin-bottom: 8px;
  padding: 9px 10px;
  border-radius: 7px;
  color: #3b4758;
  font-size: 12px;
  font-weight: 750;
}

.admin-menu span:first-child {
  background: #fff4da;
  color: #8a5300;
}

.admin-main {
  padding: 16px;
}

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

.metric {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.metric b {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.metric small {
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.queue {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.queue-head,
.queue-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr 0.7fr;
  gap: 8px;
  align-items: center;
}

.queue-head {
  padding: 12px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.queue-row {
  padding: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.status {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f8f1;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.ai-panel {
  padding: 16px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.ai-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.dot {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: #fff1f2;
  color: var(--red);
  font-weight: 900;
}

.phone-preview {
  position: absolute;
  right: 48px;
  bottom: 0;
  width: 225px;
  border: 9px solid #071224;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(7, 18, 36, 0.26);
  overflow: hidden;
}

.command-center.hero-admin {
  z-index: 5;
}

.phone-preview.hero-phone {
  right: 24px;
  bottom: -38px;
  width: 212px;
  z-index: 4;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  font-size: 11px;
  font-weight: 850;
}

.search-pill {
  margin: 0 13px 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 11px;
}

.offer {
  margin: 0 13px 12px;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #071224, #233a5c);
  color: #fff;
  font-weight: 850;
}

.category-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 13px 12px;
}

.category-dots span {
  height: 42px;
  border-radius: 12px;
  background: #eef6ff;
}

.product-list {
  padding: 0 13px 14px;
}

.product-mini {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.product-mini img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.product-mini button {
  width: 32px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(var(--max), calc(100% - 48px));
  margin: -54px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(7, 18, 36, 0.09);
  overflow: hidden;
}

.real-stats b {
  letter-spacing: -0.03em;
}

.stat-strip div {
  min-height: 92px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip b {
  display: block;
  font-size: 25px;
}

.stat-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

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

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.five {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 12px 38px rgba(7, 18, 36, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #c6d1df;
  box-shadow: 0 20px 50px rgba(7, 18, 36, 0.1);
}

.narrative-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 18, 36, 0.07);
  overflow: hidden;
}

.journey-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 190px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.journey-grid article:last-child {
  border-right: 0;
}

.journey-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #fff4da;
  color: #8a5500;
  font-size: 12px;
  font-weight: 900;
}

.journey-grid h3 {
  margin: 7px 0 10px;
  font-size: 20px;
}

.journey-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.control-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(580px, 1.25fr);
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px clamp(24px, 5vw, 72px);
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.control-copy h2 {
  margin: 10px 0 18px;
  max-width: 600px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.control-copy > p:not(.eyebrow) {
  color: #b9c7d8;
  line-height: 1.7;
}

.signal-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
}

.signal-list li > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 164, 0, 0.18);
  color: var(--gold-2);
  font-weight: 900;
}

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

.signal-list small {
  margin-top: 5px;
  color: #99abc0;
  font-size: 13px;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--gold-2);
  font-weight: 850;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.control-visual {
  min-width: 0;
  transform: perspective(1200px) rotateY(-3deg);
}

.control-admin {
  position: relative;
  inset: auto;
  width: 100%;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.capability-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.home-capabilities {
  grid-template-columns: repeat(3, 1fr);
}

.home-capabilities .card {
  min-height: 210px;
  border-radius: 18px;
  padding: 26px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto 90px;
  padding: 54px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 80% 10%, rgba(246, 164, 0, 0.18), transparent 30%),
    #fff8e8;
  border: 1px solid #f1d99e;
}

.final-cta h2 {
  max-width: 680px;
  margin: 8px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.final-cta p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta-actions {
  display: grid;
  gap: 12px;
  min-width: 230px;
  text-align: center;
}

.final-cta-actions span {
  color: var(--muted);
  font-size: 11px;
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #fff4da;
  color: #9a5b00;
  font-size: 22px;
  font-weight: 900;
}

.icon.green {
  background: #e9f8f1;
  color: var(--green);
}

.icon.blue {
  background: #eaf1ff;
  color: var(--blue);
}

.icon.red {
  background: #fff1f2;
  color: var(--red);
}

.icon.violet {
  background: #f3e8ff;
  color: var(--violet);
}

.band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-row {
  display: grid;
  grid-template-columns: 250px minmax(520px, 1fr);
  gap: 18px;
  align-items: center;
}

.product-phone,
.retailer-phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: 236px;
  margin: 0 auto;
}

.product-admin {
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
}


.before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0;
  max-width: 1450px;
  margin: -30px auto 0;
  padding: 0 clamp(24px, 4vw, 58px) 42px;
  position: relative;
  z-index: 8;
}

.before-after .before,
.before-after .after {
  border-radius: 14px;
  min-height: 280px;
}

.retailer-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.05)),
    url("/assets/generated/retailer-ordering-v2.jpg") center right / cover no-repeat;
}

.retailer-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.retailer-visual .retailer-phone {
  justify-self: start;
  align-self: end;
  width: 288px;
  margin: 0 0 64px 68px;
  transform: none;
}

.qr-card {
  position: absolute;
  right: 4%;
  bottom: 138px;
  display: grid;
  place-items: center;
  width: 150px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 18px;
}

.qr-card img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

.qr-card span {
  color: var(--muted);
  font-size: 12px;
}

.steps-panel {
  margin-top: -36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7,18,36,0.08);
}

.contact-hero {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  align-items: start;
}

.pricing-hero {
  max-width: 1340px;
  padding-bottom: 48px;
}

.pricing-hero > div:first-child {
  max-width: 760px;
  margin-bottom: 30px;
}

.pricing-hero h1 {
  max-width: 720px;
}

.contact-hero {
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
}

.contact-options {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-options .card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-options .card h3,
.contact-options .card p {
  grid-column: 2;
  margin: 0;
  min-width: 0;
}

.contact-options .card .icon {
  grid-row: 1 / span 2;
}

.contact-options .card h3 {
  align-self: end;
  overflow-wrap: anywhere;
}

.resource-search {
  display: grid;
  gap: 8px;
  width: min(100%, 320px);
  margin-top: 28px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.resource-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--muted);
  background: #fff;
}

.resource-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  outline: 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.resource-card {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7,18,36,0.05);
}

.resource-card > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.resource-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.resource-card details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.resource-card summary {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.resource-card a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.resource-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: 36px;
  align-items: center;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.before,
.after {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.before {
  background: #fff8f8;
}

.after {
  background: #f4fffa;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.mini-tile {
  min-height: 122px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 13px;
}

.mini-tile.image-tile {
  min-height: 242px;
  padding: 10px;
}

.mini-tile img {
  width: 100%;
  height: 132px;
  border-radius: 9px;
  object-fit: cover;
  margin-bottom: 10px;
}

.mini-tile strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.mini-tile p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 18, 36, 0.07);
}

.story-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.story-card div {
  padding: 15px;
}

.story-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 7px 0 6px;
  font-size: 17px;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.arrow-circle {
  align-self: center;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 18, 36, 0.1);
  font-size: 24px;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px 24px 38px;
}

.page-hero.grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: 36px;
  align-items: center;
}

.product-flow {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(7, 18, 36, 0.06);
}

.product-tour {
  max-width: 1280px;
}

.tour-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(7,18,36,0.09);
}

.tour-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 8px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.tour-tabs button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.tour-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 7px 20px rgba(7,18,36,0.08);
}

.tour-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: 50px;
  align-items: center;
  min-height: 570px;
  padding: 54px;
}

.tour-panel[hidden] {
  display: none;
}

.tour-panel h3 {
  margin: 9px 0 16px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.tour-panel > div:first-child > p:not(.eyebrow),
.tour-panel li {
  color: var(--muted);
  line-height: 1.65;
}

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

.tour-panel li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.tour-phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: 250px;
  margin: 0 auto;
}

.tour-admin {
  position: relative;
  inset: auto;
  width: 100%;
}


.flow-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.flow-top div {
  min-height: 132px;
  padding: 20px;
  background: #fff;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
}

.flow-steps span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #fff;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.pricing-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.pricing-layout {
  grid-template-columns: minmax(720px, 1fr) minmax(380px, 460px);
}

.pricing-layout .form-grid {
  grid-template-columns: 1fr;
}

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

.plan {
  min-width: 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.plan.is-featured {
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(246, 164, 0, 0.14);
}

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

.pricing-factors article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.pricing-factors h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.pricing-factors p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pricing-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
}

.pricing-promise strong {
  margin-right: auto;
}

.pricing-promise span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #c3d0df;
  font-size: 11px;
}

.plan-body {
  flex: 1;
  padding: 22px;
}

.plan-body h3,
.plan-body p,
.plan-footer strong,
.check-list li {
  overflow-wrap: anywhere;
}

.plan-footer {
  padding: 18px;
  background: #fff7e7;
}

.plan-footer .btn {
  width: 100%;
  margin-top: 12px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(7, 18, 36, 0.07);
}

.form-card.is-submitting {
  opacity: 0.86;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 830;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.resource-hero {
  min-height: 330px;
  padding: 30px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(7,18,36,0.92), rgba(7,18,36,0.54)),
    url("/assets/generated/operations-desk.jpg") center / cover;
  color: #fff;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 820;
}

.faq p {
  color: var(--muted);
  line-height: 1.55;
}

.diagram-card {
  display: grid;
  min-height: 122px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.notice {
  border: 1px solid #f5d48b;
  border-radius: 14px;
  background: #fffaf0;
  padding: 18px;
  color: #6b4300;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(520px, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 32px clamp(24px, 4vw, 58px);
  background: var(--navy);
  color: #fff;
}

.footer-intro small {
  display: block;
  max-width: 320px;
  color: #8fa2b9;
  font-size: 12px;
  line-height: 1.6;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand span {
  color: #fff;
  font-size: 20px;
}

.footer-brand span span {
  color: var(--gold);
}

.site-footer p,
.site-footer a {
  color: #d6dfeb;
  font-size: 13px;
}

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

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

.site-footer nav strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 12px;
}

.site-footer nav a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #7890aa;
  font-size: 11px;
}

.implementation-hero,
.trust-hero {
  max-width: 960px;
  padding-top: 92px;
  padding-bottom: 80px;
  text-align: center;
}

.implementation-hero .hero-actions {
  justify-content: center;
}

.rollout-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(7,18,36,0.07);
  overflow: hidden;
}

.rollout-timeline article {
  min-height: 350px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.rollout-timeline article:last-child {
  border-right: 0;
}

.rollout-timeline article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.rollout-timeline h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.rollout-timeline p,
.rollout-timeline li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.rollout-timeline ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.rollout-timeline li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 900;
}

.readiness-list {
  display: grid;
  gap: 10px;
}

.readiness-list div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.readiness-list span {
  color: var(--green);
}

.trust-badge-large {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 30px;
  padding: 13px 18px;
  border: 1px solid #c9e6da;
  border-radius: 14px;
  background: #f1fbf6;
  text-align: left;
}

.trust-badge-large > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.trust-badge-large strong,
.trust-badge-large small {
  display: block;
}

.trust-badge-large small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.scope-note {
  max-width: 680px;
  margin: 28px auto 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--soft);
  font-size: 12px;
  line-height: 1.55;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 760px);
  gap: 70px;
  justify-content: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: 84px 24px 110px;
}

.legal-layout > aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

.legal-layout > aside h1 {
  margin: 8px 0 12px;
  font-size: 44px;
  line-height: 1;
}

.legal-layout > aside > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.legal-layout > aside .btn {
  margin-top: 20px;
}

.legal-callout {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #f0d48e;
  border-radius: 12px;
  background: #fffaf0;
  color: #694600;
  font-size: 13px;
  line-height: 1.6;
}

.legal-document > section {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-document > section > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.legal-document h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.legal-document p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.modal-open {
  overflow: hidden;
}

.login-modal[hidden] {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 11, 23, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.login-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.login-modal.is-open .login-backdrop,
.login-modal.is-open .login-dialog {
  opacity: 1;
}

.login-modal.is-open .login-dialog {
  transform: translateY(0) scale(1);
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 21px;
  font-weight: 900;
}

.login-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.login-brand > span {
  color: #fff;
}

.login-brand span span {
  color: var(--gold);
}

.login-hero {
  position: relative;
  padding: 28px 38px 32px;
  background:
    radial-gradient(circle at 88% 12%, rgba(246,164,0,0.26), transparent 32%),
    linear-gradient(145deg, #06182e, #0b294b);
  color: #fff;
}

.login-kicker {
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.login-hero h2 {
  margin: 9px 0 8px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.login-hero > p {
  margin: 0;
  color: #b9c8da;
  font-size: 14px;
}

.login-body {
  padding: 30px 38px 28px;
}

.google-login {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cdd7e4;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.google-login:hover {
  border-color: #9bacbf;
  box-shadow: 0 10px 26px rgba(7,18,36,0.09);
  transform: translateY(-1px);
}

.google-login:disabled {
  cursor: wait;
  opacity: 0.65;
}

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

.google-login span {
  grid-column: 2;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: #8391a3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.login-dialog form {
  display: grid;
  gap: 18px;
}

.login-dialog .field label {
  color: #334155;
  font-size: 12px;
}

.login-dialog .field input {
  min-height: 50px;
  border-color: #cdd7e4;
  border-radius: 10px;
  background: #fbfcfe;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-dialog .field input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  outline: 0;
}

.password-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 64px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-50%);
  cursor: pointer;
}

.login-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border-radius: 11px;
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.login-status {
  min-height: 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.login-status.success {
  color: var(--green);
}

.login-status.error {
  color: var(--red);
}

.login-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.login-security {
  margin: 22px -38px -28px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: #718096;
  font-size: 11px;
  text-align: center;
}

.login-security span {
  color: var(--green);
  font-weight: 900;
}

.login-help a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
    flex: 1 0 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-grid,
  .coded-hero,
  .page-hero.grid,
  .split,
  .pricing-layout,
  .contact-layout,
  .resources-grid,
  .control-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .control-section {
    margin-inline: 18px;
    padding: 70px 44px;
  }

  .control-visual {
    transform: none;
  }

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

  .journey-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-grid article:last-child {
    border-bottom: 0;
  }

  .final-cta {
    margin-inline: 24px;
  }

  .final-cta-actions {
    justify-self: start;
  }

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

  .rollout-timeline article:nth-child(2) {
    border-right: 0;
  }

  .rollout-timeline article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .legal-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 40px;
  }

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

  .tour-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 590px;
  }

  .coded-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-art,
  .retailer-visual {
    min-height: 620px;
  }

  .showcase-row,
  .pricing-hero,
  .contact-hero,
  .pricing-hero .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .cards,
  .cards.four,
  .cards.five,
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .admin-layout {
    grid-template-columns: 120px 1fr;
  }

  .ai-panel {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .arrow-circle {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: 100%;
    max-width: 100vw;
    padding: 12px 16px;
    gap: 12px;
  }

  .account-menu {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .brand span {
    font-size: 21px;
  }

  .nav-toggle {
    position: fixed;
    top: 12px;
    right: auto;
    left: min(calc(100vw - 58px), 332px);
    z-index: 100;
    display: flex !important;
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    opacity: 1;
    visibility: visible;
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 10px 22px rgba(246, 164, 0, 0.32);
  }

  .nav-toggle span {
    display: none;
  }

  .nav-toggle::before {
    content: "☰";
    display: block;
    color: var(--ink);
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero {
    padding-inline: 18px;
  }

  .coded-hero {
    width: 100%;
    max-width: 100%;
    gap: 24px;
    padding: 32px 18px 48px;
    overflow: hidden;
  }

  .pricing-hero {
    width: 100%;
    max-width: 100%;
    padding-inline: 18px;
    overflow: hidden;
  }

  .page-hero.contact-hero {
    width: 100%;
    max-width: 100vw;
    padding-inline: 18px;
    overflow: hidden;
  }

  .contact-hero > div,
  .contact-options,
  .contact-options .card,
  .contact-hero .form-card {
    width: min(calc(100vw - 36px), 354px);
    max-width: 100%;
  }

  .contact-options .card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .contact-options .card p {
    overflow-wrap: anywhere;
  }

  .pricing-hero > div:first-child,
  .pricing-layout,
  .plans,
  .plan,
  .pricing-layout .form-card {
    width: min(calc(100vw - 36px), 354px);
    max-width: 100%;
  }

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

  .hero-copy,
  .hero-copy h1,
  .lead {
    max-width: 100%;
  }

  .hero-copy {
    width: min(calc(100vw - 36px), 354px);
  }

  .hero-copy h1,
  .lead,
  .trust-row,
  .hero-actions {
    width: 100%;
  }

  .lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-art,
  .retailer-visual {
    width: min(calc(100vw - 36px), 354px);
    min-height: 590px;
    overflow: hidden;
  }

  .retailer-visual .retailer-phone {
    justify-self: center;
    align-self: center;
    width: 190px;
    margin: 0;
  }

  .store-photo {
    inset: 0;
    border-radius: 14px;
    transform: none;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .home-hero .hero-copy h1 {
    font-size: 43px;
    line-height: 1.01;
  }

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

  .chip {
    justify-content: center;
    min-width: 0;
    padding-inline: 9px;
    white-space: normal;
    text-align: center;
  }

  .hero-admin {
    left: 0;
    right: 0;
    top: 22px;
    width: 100%;
  }

  .hero-phone {
    right: 10px;
    width: 180px;
  }

  .phone-preview.hero-phone {
    right: 10px;
    bottom: 8px;
    width: 180px;
  }

  .dispatch-card,
  .sync-card,
  .feature-stack,
  .qr-card {
    display: none;
  }

  .command-center {
    position: relative;
    top: auto;
    max-width: 100%;
    border-radius: 12px;
  }

  .window-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .window-title {
    min-width: 0;
    flex: 1 1 180px;
    line-height: 1.1;
  }

  .business-pill {
    max-width: 100%;
    font-size: 11px;
  }

  .phone-preview {
    right: 12px;
    bottom: 8px;
    width: 190px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-menu {
    display: none;
  }

  .metric-grid,
  .queue-head,
  .queue-row,
  .flow-top,
  .flow-steps,
  .form-grid,
  .cards,
  .cards.four,
  .cards.five,
  .plans,
  .story-grid,
  .mini-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding-inline: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    grid-column: 1;
    flex-direction: column;
  }

  .rollout-timeline,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .rollout-timeline article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-layout {
    gap: 30px;
    padding-top: 54px;
  }

  .legal-layout > aside {
    position: static;
  }

  .pricing-factors,
  .thesis-grid {
    grid-template-columns: 1fr;
  }

  .pricing-promise,
  .diligence-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .tour-tabs {
    grid-template-columns: 1fr;
  }

  .tour-panel {
    min-height: auto;
    padding: 28px 20px;
  }

  .login-dialog {
    border-radius: 20px;
  }

  .login-hero {
    padding: 24px 24px 27px;
  }

  .login-brand {
    margin-bottom: 28px;
  }

  .login-body {
    padding: 24px 22px 24px;
  }

  .login-security {
    margin: 20px -22px -24px;
  }

  .narrative-section,
  .capability-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .journey-grid article {
    padding: 24px 20px;
  }

  .control-section {
    width: calc(100% - 24px);
    margin-inline: 12px;
    padding: 58px 20px;
    border-radius: 20px;
  }

  .control-copy h2 {
    font-size: 38px;
  }

  .control-admin .ai-panel {
    display: none;
  }

  .home-capabilities {
    grid-template-columns: 1fr;
  }

  .final-cta {
    margin: 0 12px 64px;
    padding: 38px 22px;
    border-radius: 20px;
  }

  .final-cta h2 {
    font-size: 36px;
  }

  .final-cta-actions,
  .final-cta-actions .btn {
    width: 100%;
  }
}

@media (min-width: 501px) and (max-width: 720px) {
  .nav-toggle {
    right: 16px;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
