:root {
  --ink: #293241;
  --muted: #65738a;
  --line: #d7e2f1;
  --surface: #ffffff;
  --field: #f6f9ff;
  --brand: #087df2;
  --brand-dark: #293241;
  --gold: #087df2;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(41, 50, 65, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f9ff;
}

a {
  color: var(--brand-dark);
}

.home-body {
  background: #f6f9ff;
}

.landing-body {
  color: #293241;
  background: #f6f9ff;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  width: 100%;
  min-height: 90px;
  padding: 0 max(24px, calc((100vw - 1250px) / 2));
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #d7e2f1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.landing-logo {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #293241;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.footer-logo {
  height: 62px;
}

.landing-nav nav {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-self: end;
}

.landing-nav nav a {
  color: #293241;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-nav nav a:hover,
.landing-nav nav a:focus-visible {
  color: #087df2;
}

.landing-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #087df2;
  border-radius: 12px;
  background: #087df2;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 125, 242, 0.22);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.landing-button.secondary {
  border-color: #c9d9ee;
  background: #ffffff;
  color: #293241;
  box-shadow: none;
}

.landing-page {
  width: min(1250px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  min-height: calc(100svh - 90px);
  padding: clamp(58px, 8vw, 104px) 0 clamp(34px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: clamp(38px, 8vw, 88px);
  align-items: center;
}

.landing-eyebrow {
  margin: 0 0 24px;
  color: #087df2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-text h1,
.landing-section h2,
.contact-band h2 {
  color: #293241;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-text h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1;
}

.hero-text h1 span {
  color: #087df2;
}

.hero-lede {
  max-width: 570px;
  margin: 0;
  color: #445267;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

.hero-lede strong {
  color: #293241;
  font-weight: 900;
}

.hero-lede-secondary {
  margin-top: 12px;
}

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

.trust-list {
  display: flex;
  max-width: 640px;
  margin: 30px 0 0;
  padding: 0;
  gap: 16px 30px;
  flex-wrap: wrap;
  color: #293241;
  font-size: 0.94rem;
  font-weight: 800;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 22px;
}

.trust-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #087df2;
}

.hero-showcase {
  min-width: 0;
}

.counter-scene {
  position: relative;
  min-height: 336px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 18, 20, 0.12), transparent 35%),
    linear-gradient(90deg, #16120f 0 16%, #8a633f 16% 100%);
  box-shadow: 0 24px 50px rgba(16, 38, 93, 0.18);
  overflow: hidden;
}

.counter-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 72px);
}

.counter-top {
  position: relative;
  height: 112px;
  border-bottom: 9px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(90deg, #251b12, #ead6bb 42%, #fff7e8 58%, #2b1c12);
}

.counter-top span:first-child {
  position: absolute;
  left: 36px;
  bottom: 16px;
  width: 82px;
  height: 54px;
  border-radius: 6px 6px 2px 2px;
  background: #15191f;
  box-shadow: 0 14px 0 #0c1015;
}

.counter-top span:last-child {
  position: absolute;
  right: 58px;
  bottom: 18px;
  width: 78px;
  height: 44px;
  border: 3px solid #39271a;
  border-radius: 4px;
  background: #101010;
}

.review-sign {
  position: absolute;
  left: 50%;
  bottom: 48px;
  display: grid;
  width: 112px;
  min-height: 150px;
  padding: 10px 9px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 9px;
  background:
    linear-gradient(165deg, #087df2 0 35%, #ffffff 36% 100%);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.32);
  color: #293241;
  text-align: center;
  transform: translateX(-50%);
}

.sign-stars {
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.review-sign strong {
  color: #ffffff;
  font-size: 0.55rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.google-mark {
  color: #087df2;
  font-size: 2.1rem;
  font-weight: 900;
}

.tap-icon {
  width: 34px;
  height: 34px;
  border: 3px solid #293241;
  border-left-color: transparent;
  border-radius: 50%;
}

.review-sign small {
  color: #293241;
  font-size: 0.48rem;
  font-weight: 800;
}

.feature-row,
.platform-grid,
.pricing-grid,
.process-grid,
.industry-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 22px 0 70px;
}

.feature-row article,
.pricing-grid article,
.process-grid article,
.faq-grid article {
  border: 1px solid #d7e2f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(41, 50, 65, 0.06);
}

.feature-row article {
  padding: 30px;
}

.feature-row h2 {
  margin-bottom: 10px;
  color: #293241;
  font-size: 1.35rem;
}

.feature-row p,
.section-heading-row p,
.pricing-grid p,
.faq-grid p,
.contact-band p,
.landing-footer p {
  color: #65738a;
  line-height: 1.6;
}

.landing-section {
  padding: 78px 0;
  border-top: 1px solid #d7e2f1;
}

.section-heading-row {
  display: grid;
  margin-bottom: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
}

.landing-section h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.4vw, 3.35rem);
  line-height: 1.05;
}

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

.pricing-grid article {
  display: grid;
  min-height: 300px;
  padding: 28px;
  align-content: start;
  gap: 14px;
}

.pricing-grid article > span {
  color: #087df2;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-grid h3 {
  margin: 0;
  color: #293241;
  font-size: 1.8rem;
}

.pricing-grid .landing-button {
  align-self: end;
  margin-top: 8px;
}

.featured-plan {
  border-color: #087df2 !important;
  transform: translateY(-10px);
}

.steps-section-home h2,
.industries-section h2 {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.process-grid article {
  min-height: 145px;
  padding: 22px;
}

.process-grid span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #087df2;
  color: #ffffff;
  font-weight: 900;
}

.process-grid h3 {
  margin: 0;
  color: #293241;
  font-size: 1.05rem;
  line-height: 1.25;
}

.platforms-section h2 {
  max-width: 830px;
  margin-bottom: 28px;
}

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

.platform-grid article {
  display: grid;
  min-height: 132px;
  padding: 24px 20px;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px solid #d7e2f1;
  border-radius: 12px;
  background: #ffffff;
  color: #293241;
  box-shadow: 0 14px 36px rgba(41, 50, 65, 0.06);
  text-align: center;
}

.platform-grid img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.platform-grid span {
  font-size: 1.08rem;
  font-weight: 900;
}

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

.industry-grid span {
  display: grid;
  min-height: 72px;
  padding: 0 18px;
  place-items: center;
  border: 1px solid #d7e2f1;
  border-radius: 12px;
  background: #ffffff;
  color: #293241;
  font-weight: 900;
  text-align: center;
}

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

.faq-grid article {
  padding: 28px;
}

.faq-grid h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.contact-band {
  display: grid;
  margin: 26px 0 80px;
  padding: clamp(32px, 5vw, 54px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 16px;
  background: #293241;
  color: #ffffff;
}

.contact-band h2,
.contact-band .landing-eyebrow,
.contact-band p {
  color: #ffffff;
}

.contact-band p {
  max-width: 760px;
  margin-bottom: 0;
}

.landing-footer {
  display: flex;
  width: min(1250px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d7e2f1;
}

.landing-footer p {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

.generator-body {
  background:
    radial-gradient(circle at top left, rgba(8, 125, 242, 0.11), transparent 30rem),
    #f6f9ff;
}

.generator-nav,
.generator-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.generator-page {
  padding-bottom: 70px;
}

.generator-hero {
  display: grid;
  min-height: calc(100svh - 92px);
  padding: clamp(38px, 7vw, 86px) 0 48px;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.star-line {
  margin-bottom: 18px;
  color: #087df2;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

.generator-copy h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #293241;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.generator-copy p {
  max-width: 600px;
  color: #526177;
  font-size: 1.08rem;
  line-height: 1.65;
}

.generator-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d7e2f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(41, 50, 65, 0.11);
}

.generator-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.generator-results {
  display: grid;
  gap: 10px;
}

.generator-result-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d7e2f1;
  border-radius: 10px;
  background: #f6f9ff;
}

.generator-result-card h2 {
  margin: 0;
  color: #293241;
  font-size: 1rem;
}

.generator-result-card p {
  margin: 0;
  color: #65738a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.generator-result-card .landing-button {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.86rem;
}

.generator-output {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.generator-output[hidden] {
  display: none;
}

.qr-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.qr-preview img {
  width: 124px;
  height: 124px;
  padding: 8px;
  border: 1px solid #d7e2f1;
  border-radius: 10px;
  background: #ffffff;
}

.generator-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 54px 0;
  border-top: 1px solid #d7e2f1;
}

.generator-steps article,
.generator-info {
  border: 1px solid #d7e2f1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(41, 50, 65, 0.06);
}

.generator-steps article {
  padding: 24px;
}

.generator-steps span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #087df2;
  color: #ffffff;
  font-weight: 900;
}

.generator-steps h2 {
  margin-bottom: 10px;
  color: #293241;
  font-size: 1.25rem;
}

.generator-steps p,
.generator-info p {
  color: #65738a;
  line-height: 1.6;
}

.generator-info {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 34px);
}

.generator-info h2 {
  margin: 0;
  color: #293241;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1;
}

.generator-info code {
  color: #293241;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-nav nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.site-nav nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.home-hero {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 52px 0 76px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
}

.hero-copy .lede {
  max-width: 700px;
  font-size: 1.2rem;
}

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

.tap-demo {
  position: relative;
  min-height: 520px;
}

.phone-mock {
  position: absolute;
  right: 0;
  top: 20px;
  display: grid;
  width: min(320px, 82vw);
  min-height: 520px;
  padding: 34px 24px;
  border: 10px solid #111a16;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  align-content: center;
  gap: 16px;
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 82px;
  height: 7px;
  border-radius: 999px;
  background: #111a16;
  transform: translateX(-50%);
}

.phone-mock p {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}

.phone-mock span {
  color: var(--muted);
  font-weight: 700;
}

.mini-stars {
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}

.signal-card {
  position: absolute;
  left: 0;
  bottom: 34px;
  display: grid;
  width: 220px;
  min-height: 220px;
  padding: 22px;
  border-radius: 8px;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
  place-items: center;
}

.nfc-rings {
  position: relative;
  width: 130px;
  height: 130px;
}

.nfc-rings span {
  position: absolute;
  inset: calc(var(--ring) * 18px);
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-left-color: transparent;
  border-radius: 50%;
}

.nfc-rings span:nth-child(1) {
  --ring: 0;
}

.nfc-rings span:nth-child(2) {
  --ring: 1;
}

.nfc-rings span:nth-child(3) {
  --ring: 2;
}

.qr-grid {
  display: grid;
  width: 76px;
  height: 76px;
  margin-top: 12px;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.qr-grid span {
  background: rgba(255, 255, 255, 0.9);
}

.qr-grid span:nth-child(3n),
.qr-grid span:nth-child(5),
.qr-grid span:nth-child(14) {
  opacity: 0.35;
}

.home-section,
.benefit-grid,
.home-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.impact-band,
.growth-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.home-section h2,
.home-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.home-section p,
.growth-list {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 70px;
}

.benefit-card,
.steps-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(41, 50, 65, 0.06);
}

.benefit-card h3,
.steps-grid h3 {
  font-size: 1.25rem;
}

.benefit-card p,
.steps-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.steps-section {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

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

.steps-grid article span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.growth-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.home-cta {
  display: grid;
  min-height: 360px;
  padding: 80px 24px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(135deg, rgba(8, 125, 242, 0.92), rgba(41, 50, 65, 0.92)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px);
  color: #ffffff;
  text-align: center;
  place-items: center;
}

.home-cta .eyebrow,
.home-cta h2 {
  color: #ffffff;
}

.home-cta .button {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--brand-dark);
}

.company-home {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: hidden;
}

.compact-nav {
  width: 100%;
  padding: clamp(14px, 2.2vw, 22px) 0 0;
}

.small-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
}

.company-copy h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.92;
}

.company-copy .lede {
  max-width: 650px;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.company-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.device-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.nfc-badge {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 900;
}

.qr-mini {
  display: grid;
  width: 126px;
  height: 126px;
  padding: 12px;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
}

.qr-mini span {
  background: var(--ink);
}

.qr-mini span:nth-child(3n),
.qr-mini span:nth-child(6),
.qr-mini span:nth-child(15) {
  background: var(--line);
}

.review-preview {
  padding: 20px;
  border-radius: 8px;
  background: var(--field);
}

.mini-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-preview h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.review-preview p {
  margin: 10px 0 0;
  color: var(--muted);
}

.metric-strip {
  display: grid;
  max-width: 680px;
  margin-top: clamp(18px, 3vw, 30px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.metric-strip div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

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

.metric-strip strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: clamp(16px, 2vw, 24px);
}

.company-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(41, 50, 65, 0.06);
}

.company-grid h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.company-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.review-body {
  background:
    linear-gradient(135deg, rgba(8, 125, 242, 0.88), rgba(41, 50, 65, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px),
    #087df2;
}

.review-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.review-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.rating-panel {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1;
}

.review-panel h1 {
  font-size: clamp(2rem, 7vw, 4rem);
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.rating-grid {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.rating-grid form {
  margin: 0;
}

.rating-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.rating-button:hover,
.rating-button:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(8, 125, 242, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.stars {
  color: var(--gold);
  font-size: clamp(1.3rem, 6vw, 2rem);
  line-height: 1;
  white-space: nowrap;
}

.rating-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--field);
  font-weight: 700;
}

.dashboard-body {
  min-height: 100vh;
  background: #eef4fb;
}

.portal-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 250px minmax(0, 1fr);
}

.portal-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  padding: 22px 16px;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.portal-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.portal-logo {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.portal-menu {
  display: grid;
  align-content: start;
  gap: 6px;
}

.portal-menu a {
  display: flex;
  min-height: 42px;
  padding: 0 12px;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.portal-menu a:hover,
.portal-menu a:focus-visible,
.portal-menu a.active {
  background: #edf5ff;
  color: var(--brand);
  outline: none;
}

.portal-support {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

.portal-support span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-support a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.dashboard-shell {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.dashboard-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

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

.dashboard-header h1 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.85rem);
}

.dashboard-header .lede {
  max-width: 680px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.full-width {
  width: 100%;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-panel h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
}

.portal-stats {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portal-stats article {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(41, 50, 65, 0.06);
}

.portal-stats span,
.panel-kicker {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portal-stats strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1;
}

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

.editor-panel,
.list-panel,
.notice,
.settings-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(41, 50, 65, 0.07);
}

.editor-panel,
.list-panel {
  padding: 20px;
}

.panel-title {
  margin-bottom: 16px;
}

.panel-title h2 {
  margin: 4px 0 0;
  font-size: 1.18rem;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.map-link-tool {
  display: grid;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

.map-link-tool .field {
  margin-bottom: 0;
}

.dashboard-generator {
  margin: 4px 0 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--field);
  box-shadow: none;
}

.dashboard-generator .panel-title {
  margin-bottom: 12px;
}

.dashboard-generator .generator-input-row,
.dashboard-generator .copy-row {
  grid-template-columns: 1fr;
}

.dashboard-generator .button {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.92rem;
}

.dashboard-generator .generator-result-card {
  background: #ffffff;
}

.dashboard-generator .qr-preview img {
  width: 96px;
  height: 96px;
}

.generated-link {
  display: grid;
  gap: 8px;
}

.generated-link[hidden] {
  display: none;
}

.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.map-link-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.map-link-message.error-text {
  color: var(--danger);
}

label {
  font-size: 0.92rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

input:focus {
  border-color: var(--brand);
  outline: none;
}

small {
  color: var(--muted);
}

.form-actions,
.row-actions,
.panel-heading {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-actions {
  flex-wrap: wrap;
}

.panel-heading {
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.panel-heading span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.site-row h3 {
  margin-bottom: 6px;
}

.site-row p {
  margin: 8px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.site-row a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.row-actions {
  flex: 0 0 auto;
  align-items: flex-start;
}

.row-actions form {
  margin: 0;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
}

.icon-button.danger {
  color: var(--danger);
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
}

.settings-panel {
  display: grid;
  margin-bottom: 20px;
  padding: 20px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: end;
}

.settings-panel h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.settings-panel p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.settings-panel form {
  display: grid;
  gap: 8px;
}

.notice p {
  margin: 0;
}

.notice.success {
  border-color: #afd3ff;
  color: #293241;
}

.notice.error {
  border-color: #f1a8a0;
  color: var(--danger);
}

.empty-state {
  margin: 26px 0 8px;
  color: var(--muted);
}

.text-link {
  font-weight: 700;
}

@media (max-width: 820px) {
  .portal-layout {
    display: block;
  }

  .portal-sidebar {
    position: static;
    height: auto;
    padding: 12px 14px;
    grid-template-rows: none;
    gap: 10px;
  }

  .portal-brand {
    margin-bottom: 0;
  }

  .portal-logo {
    height: 40px;
  }

  .portal-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .portal-menu a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .portal-support {
    display: none;
  }

  .dashboard-shell {
    width: min(100% - 24px, 680px);
    padding: 20px 0 34px;
  }

  .portal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .portal-stats article {
    min-height: 88px;
    padding: 14px;
  }

  .landing-nav {
    position: relative;
    min-height: auto;
    padding: 10px 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-nav nav {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 8px 16px;
    flex-wrap: wrap;
  }

  .landing-nav nav a {
    font-size: 0.84rem;
  }

  .site-logo {
    height: 52px;
  }

  .landing-page,
  .landing-footer {
    width: min(100% - 28px, 640px);
  }

  .landing-hero,
  .feature-row,
  .section-heading-row,
  .platform-grid,
  .pricing-grid,
  .process-grid,
  .industry-grid,
  .faq-grid,
  .contact-band,
  .generator-hero,
  .generator-input-row,
  .generator-steps,
  .generator-info {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
    padding: 28px 0 22px;
    gap: 22px;
  }

  .landing-eyebrow {
    margin-bottom: 10px;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hero-text h1 {
    max-width: 620px;
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 8.5vw, 3.25rem);
    line-height: 1.03;
  }

  .hero-lede {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .landing-actions {
    margin-top: 18px;
  }

  .trust-list {
    margin-top: 18px;
    gap: 8px 16px;
    font-size: 0.82rem;
  }

  .counter-scene {
    min-height: 265px;
  }

  .counter-top {
    height: 88px;
  }

  .feature-row {
    padding: 14px 0 34px;
  }

  .feature-row article,
  .pricing-grid article,
  .faq-grid article {
    padding: 18px;
  }

  .landing-section {
    padding: 36px 0;
  }

  .featured-plan {
    transform: none;
  }

  .process-grid,
  .platform-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    margin: 14px 0 38px;
    padding: 24px 20px;
  }

  .landing-footer {
    display: grid;
  }

  .landing-footer p {
    text-align: left;
  }

  .generator-nav,
  .generator-page {
    width: min(100% - 28px, 640px);
  }

  .generator-hero {
    min-height: auto;
    padding: 28px 0 36px;
  }

  .generator-copy h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .generator-card {
    border-radius: 12px;
  }

  .site-nav,
  .dashboard-header,
  .dashboard-grid,
  .site-row,
  .settings-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav nav {
    flex-wrap: wrap;
  }

  .home-hero,
  .company-hero,
  .company-grid,
  .impact-band,
  .growth-section,
  .benefit-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .tap-demo {
    min-height: 430px;
  }

  .phone-mock {
    right: 0;
  }

  .signal-card {
    left: 0;
    bottom: 0;
    width: 180px;
    min-height: 180px;
  }

  .dashboard-header .button {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .company-copy h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .company-panel {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
  }

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

  .nfc-badge {
    min-height: 82px;
    font-size: 1.45rem;
  }

  .qr-mini {
    width: 82px;
    height: 82px;
    padding: 8px;
    gap: 4px;
  }

  .company-grid {
    gap: 10px;
  }

  .company-grid article {
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .portal-sidebar {
    padding: 10px 12px;
  }

  .portal-brand span {
    font-size: 0.9rem;
  }

  .portal-logo {
    height: 34px;
  }

  .dashboard-shell {
    width: min(100% - 20px, 460px);
    padding-top: 16px;
  }

  .dashboard-header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .dashboard-header h1 {
    font-size: 1.65rem;
  }

  .dashboard-header .lede {
    font-size: 0.9rem;
  }

  .portal-stats {
    margin-bottom: 12px;
  }

  .portal-stats article {
    min-height: 76px;
    padding: 12px;
  }

  .portal-stats strong {
    font-size: 1.2rem;
  }

  .editor-panel,
  .list-panel,
  .settings-panel {
    padding: 16px;
  }

  .settings-panel {
    margin-bottom: 14px;
  }

  .settings-panel h2,
  .panel-heading h2,
  .panel-title h2 {
    font-size: 1.08rem;
  }

  .field {
    margin-bottom: 14px;
  }

  .site-row {
    gap: 12px;
    padding: 12px 0;
  }

  .site-row h3 {
    font-size: 1rem;
  }

  .site-row a,
  .site-row p,
  label,
  input,
  .button {
    font-size: 0.88rem;
  }

  .landing-nav {
    padding: 10px 14px;
  }

  .landing-logo {
    font-size: 0.96rem;
  }

  .site-logo {
    height: 46px;
  }

  .landing-nav nav {
    justify-content: center;
    gap: 7px 12px;
  }

  .landing-nav nav a {
    font-size: 0.74rem;
  }

  .hero-text h1 {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 9.3vw, 2.65rem);
    line-height: 1.05;
  }

  .landing-button {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .landing-actions {
    display: flex;
    gap: 8px;
  }

  .generator-nav {
    min-height: 80px;
  }

  .generator-nav .landing-button {
    min-height: 40px;
    padding: 0 14px;
  }

  .generator-input-row {
    gap: 8px;
  }

  .generator-copy h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.25rem);
  }

  .generator-copy p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .generator-steps {
    padding: 34px 0;
  }

  .generator-steps article {
    padding: 18px;
  }

  .qr-preview {
    display: grid;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
  }

  .counter-scene {
    min-height: 210px;
    border-radius: 14px;
  }

  .counter-top {
    height: 70px;
  }

  .counter-top span:first-child {
    left: 24px;
    width: 58px;
    height: 38px;
  }

  .counter-top span:last-child {
    right: 30px;
    width: 58px;
    height: 32px;
  }

  .review-sign {
    bottom: 26px;
    width: 92px;
    min-height: 124px;
  }

  .sign-stars {
    font-size: 0.62rem;
  }

  .review-sign strong {
    font-size: 0.46rem;
  }

  .google-mark {
    font-size: 1.6rem;
  }

  .tap-icon {
    width: 28px;
    height: 28px;
  }

  .feature-row {
    gap: 10px;
  }

  .feature-row article {
    padding: 14px;
  }

  .feature-row h2,
  .pricing-grid h3,
  .faq-grid h2 {
    font-size: 1rem;
    line-height: 1.18;
  }

  .feature-row p,
  .section-heading-row p,
  .pricing-grid p,
  .faq-grid p,
  .contact-band p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .landing-section h2,
  .contact-band h2 {
    font-size: clamp(1.35rem, 6.4vw, 1.85rem);
    line-height: 1.1;
  }

  .contact-band h2 {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .pricing-grid article {
    min-height: 0;
  }

  .process-grid article {
    min-height: 86px;
    padding: 14px;
  }

  .process-grid span {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
  }

  .platform-grid,
  .industry-grid {
    gap: 10px;
  }

  .platform-grid article,
  .industry-grid span {
    min-height: 52px;
    font-size: 0.9rem;
  }

  .platform-grid article {
    padding: 14px 10px;
    gap: 8px;
  }

  .platform-grid img {
    width: 34px;
    height: 34px;
  }

  .home-body {
    background: #f6f9ff;
  }

  .company-home {
    width: min(100% - 24px, 460px);
    gap: 12px;
  }

  .compact-nav {
    display: flex;
    padding-top: 12px;
  }

  .brand-mark {
    font-size: 0.96rem;
  }

  .company-hero {
    gap: 14px;
    align-items: start;
  }

  .company-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(2.35rem, 13vw, 3.3rem);
    line-height: 0.95;
  }

  .company-copy .lede {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .metric-strip {
    margin-top: 12px;
  }

  .metric-strip div {
    padding: 10px 8px;
  }

  .metric-strip strong {
    font-size: 0.92rem;
  }

  .metric-strip span {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .company-panel {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .device-row {
    gap: 8px;
  }

  .review-preview {
    padding: 12px;
  }

  .mini-label {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .review-preview h2 {
    margin-bottom: 6px;
    font-size: 1.14rem;
  }

  .review-preview .mini-stars {
    font-size: 1.35rem;
  }

  .review-preview p {
    margin-top: 6px;
    font-size: 0.82rem;
  }

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

  .company-grid article {
    min-height: 66px;
    padding: 10px 8px;
    text-align: center;
  }

  .company-grid h3 {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.15;
  }

  .company-grid p {
    display: none;
  }

  .review-shell {
    min-height: 100svh;
    padding: 12px;
    place-items: center;
  }

  .review-panel {
    display: grid;
    align-content: start;
    width: min(292px, 100%);
    min-height: auto;
    padding: 12px 10px;
  }

  .rating-panel {
    align-self: center;
  }

  .rating-panel .eyebrow {
    margin-bottom: 4px;
    font-size: 0.58rem;
  }

  .rating-panel h1 {
    margin-bottom: 4px;
    font-size: 0.78rem;
    line-height: 1.12;
  }

  .rating-panel .lede {
    margin-bottom: 0;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .rating-grid {
    gap: 5px;
    margin-top: 9px;
  }

  .rating-button {
    grid-template-columns: minmax(0, 1fr) 26px;
    min-height: 36px;
    padding: 4px 7px 4px 10px;
    border-radius: 6px;
  }

  .rating-number {
    width: 26px;
    height: 26px;
    font-size: 0.76rem;
  }

  .stars {
    font-size: clamp(0.88rem, 4.7vw, 1.08rem);
  }
}

@media (max-width: 380px) {
  .review-shell {
    padding: 8px;
  }

  .review-panel {
    width: min(282px, 100%);
    padding: 11px 9px;
  }

  .rating-panel h1 {
    font-size: 0.72rem;
  }

  .rating-grid {
    gap: 4px;
    margin-top: 8px;
  }

  .rating-button {
    min-height: 34px;
  }

  .rating-number {
    width: 24px;
    height: 24px;
  }
}
