:root {
  --ink: #11172a;
  --ink-soft: #596178;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #e2e6ef;
  --blue: #2854ff;
  --blue-dark: #1637c6;
  --mint: #47d7ac;
  --danger: #c93345;
  --shadow: 0 24px 70px rgba(25, 37, 68, 0.12);
  --shadow-soft: 0 12px 34px rgba(25, 37, 68, 0.08);
  --radius: 22px;
  --radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(226, 230, 239, 0.8);
  display: flex;
  height: 70px;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.03em;
}

.brand-logo {
  height: 38px;
  object-fit: contain;
  width: auto;
}

.brand-product {
  border-left: 1px solid #cbd2df;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding-left: 10px;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 10px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.95rem;
  height: 34px;
  justify-content: center;
  position: relative;
  width: 34px;
}

.brand-mark::after {
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 4px;
  bottom: -2px;
  content: "";
  height: 10px;
  position: absolute;
  right: -2px;
  width: 10px;
}

.desktop-nav {
  align-items: center;
  display: none;
  font-size: 0.9rem;
  font-weight: 650;
  gap: 24px;
}

.desktop-nav form {
  margin: 0;
}

.nav-button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  padding: 0;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

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

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(40, 84, 255, 0.25);
  outline-offset: 2px;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button-soft {
  background: #edf1ff;
  color: #233d9b;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-danger {
  background: #ffeaed;
  color: var(--danger);
}

.button-large {
  min-height: 54px;
  padding: 0 26px;
}

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

.button-full {
  width: 100%;
}

.messages {
  left: 50%;
  max-width: 560px;
  padding: 12px 20px;
  position: fixed;
  top: 72px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 60;
}

.message {
  background: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 0.9rem;
  padding: 13px 16px;
}

.message-success {
  background: #117a60;
}

.message-error {
  background: var(--danger);
}

.message-warning {
  background: #8a5c0a;
}

.eyebrow {
  color: var(--blue);
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #aebcff;
}

.hero {
  display: grid;
  gap: 48px;
  margin: 0 auto;
  max-width: 1220px;
  overflow: hidden;
  padding: 62px 20px 50px;
}

.hero h1 {
  font-size: clamp(2.6rem, 12vw, 5.7rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin: 0;
  max-width: 850px;
}

.hero-copy > p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 28px 0;
  max-width: 650px;
}

.hero-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .button {
  width: 100%;
}

.trust-row {
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 650;
  gap: 14px;
  margin-top: 20px;
}

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 600px;
  position: relative;
}

.hero-visual::before,
.hero-visual::after {
  border-radius: 999px;
  content: "";
  position: absolute;
}

.hero-visual::before {
  background: rgba(40, 84, 255, 0.14);
  height: 440px;
  width: 440px;
}

.hero-visual::after {
  background: var(--mint);
  height: 90px;
  opacity: 0.9;
  right: 2%;
  top: 12%;
  width: 90px;
}

.phone-shell {
  background: #070b16;
  border: 7px solid #070b16;
  border-radius: 46px;
  box-shadow: 0 40px 90px rgba(15, 25, 56, 0.28);
  max-width: 320px;
  overflow: hidden;
  padding: 8px;
  position: relative;
  transform: rotate(2deg);
  width: 84%;
  z-index: 2;
}

.demo-card-stack {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 10px;
  height: 76px;
  padding: 14px;
  position: absolute;
  width: 170px;
  z-index: 1;
}

.demo-card-stack span {
  align-items: center;
  background: #edf1ff;
  border-radius: 12px;
  color: var(--blue);
  display: flex;
  font-size: 0.7rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.demo-card-stack strong {
  font-size: 0.8rem;
}

.demo-stack-one {
  left: -5%;
  top: 13%;
  transform: rotate(-8deg);
}

.demo-stack-two {
  bottom: 18%;
  left: -7%;
  transform: rotate(6deg);
}

.demo-stack-three {
  right: -5%;
  top: 34%;
  transform: rotate(8deg);
}

.phone-speaker {
  background: #070b16;
  border-radius: 0 0 14px 14px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 90px;
  z-index: 4;
}

.sample-card {
  background: var(--white);
  border-radius: 34px;
  min-height: 570px;
  overflow: hidden;
  padding: 0 22px 28px;
  text-align: center;
}

.sample-cover {
  height: 135px;
  margin: 0 -22px;
  overflow: hidden;
  position: relative;
}

.sample-cover::after {
  background: linear-gradient(180deg, rgba(12, 20, 45, 0.02), rgba(12, 20, 45, 0.32));
  content: "";
  inset: 0;
  position: absolute;
}

.sample-cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.demo-count {
  background: rgba(16, 23, 43, 0.82);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 850;
  padding: 6px 9px;
  position: absolute;
  right: 12px;
  top: 32px;
  z-index: 2;
}

.sample-avatar {
  align-items: center;
  background: var(--mint);
  border: 5px solid var(--white);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 1.3rem;
  font-weight: 900;
  height: 84px;
  justify-content: center;
  margin: -42px auto 10px;
  overflow: hidden;
  position: relative;
  width: 84px;
}

.sample-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sample-brand-logo {
  height: 42px;
  margin: 8px auto 18px;
  object-fit: contain;
  width: 145px;
}

.sample-card h2 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.sample-title {
  color: var(--ink-soft);
  margin: 5px 0 0;
}

.sample-company {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  margin: 3px 0 20px;
}

.sample-save {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 13px;
}

.sample-save svg {
  height: 17px;
  width: 17px;
}

.sample-actions {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0;
}

.sample-actions span {
  align-items: center;
  background: #f0f3fb;
  border-radius: 11px;
  color: #3c4763;
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  font-weight: 750;
  gap: 4px;
  padding: 10px 3px;
}

.sample-actions svg {
  color: var(--blue);
  height: 16px;
  width: 16px;
}

.sample-address {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
  padding-top: 16px;
}

.floating-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 11px 15px;
  position: absolute;
  z-index: 4;
}

.chip-scan {
  left: 1%;
  top: 20%;
}

.chip-save {
  bottom: 16%;
  right: 0;
}

.logo-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: #727b91;
  display: grid;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  letter-spacing: 0.04em;
  padding: 26px 20px;
  text-align: center;
  text-transform: uppercase;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 90px 20px;
}

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

.section h2 {
  font-size: clamp(2.1rem, 7vw, 3.9rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
  margin: 0;
}

.steps-grid {
  display: grid;
  gap: 16px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  padding: 26px;
  position: relative;
}

.step-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 22px 0 8px;
}

.step-card p {
  color: var(--ink-soft);
  margin: 0;
}

.step-number {
  color: #a3aabc;
  font-size: 0.75rem;
  font-weight: 800;
  position: absolute;
  right: 24px;
  top: 24px;
}

.feature-icon {
  align-items: center;
  background: #edf1ff;
  border-radius: 16px;
  color: var(--blue);
  display: flex;
  font-size: 1.3rem;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.feature-section {
  align-items: center;
  display: grid;
  gap: 50px;
}

.feature-copy > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 24px 0 30px;
}

.feature-list {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding: 17px 0;
}

.feature-list strong {
  font-size: 0.95rem;
}

.feature-list span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.qr-showcase {
  align-items: center;
  background: var(--ink);
  border-radius: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
  padding: 50px 20px;
  position: relative;
}

.qr-showcase::after {
  background: var(--mint);
  border-radius: 999px;
  content: "";
  filter: blur(60px);
  height: 160px;
  opacity: 0.45;
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
}

.qr-pattern {
  background: var(--white);
  border-radius: 20px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
  max-width: 260px;
  padding: 22px;
  transform: rotate(-2deg);
  width: 82%;
}

.qr-pattern span {
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 4px;
}

.qr-pattern span:nth-child(3n),
.qr-pattern span:nth-child(5n + 2) {
  background: var(--white);
}

.qr-caption {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 850;
  margin-top: 30px;
}

.pricing-section {
  max-width: 880px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin: 14px 0 4px;
}

.pricing-card p {
  color: var(--ink-soft);
  margin: 0;
}

.pricing-badge {
  background: #e9fbf5;
  border-radius: 999px;
  color: #14725b;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 7px 11px;
  text-transform: uppercase;
}

.price {
  font-size: 4.6rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  margin: 34px 0;
}

.price > span {
  font-size: 1.6rem;
  vertical-align: top;
}

.price small {
  color: var(--ink-soft);
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-top: 10px;
}

.pricing-card ul,
.auth-benefits {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.pricing-card li::before,
.auth-benefits li::before {
  color: var(--blue);
  content: "✓";
  font-weight: 900;
  margin-right: 10px;
}

.final-cta {
  background: var(--ink);
  color: var(--white);
  padding: 86px 20px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  letter-spacing: -0.065em;
  line-height: 1;
  margin: 0 auto 34px;
  max-width: 860px;
}

.site-footer {
  align-items: flex-start;
  background: var(--ink);
  border-top: 1px solid #29314a;
  color: #b8bfd1;
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  gap: 16px;
  padding: 30px 20px 48px;
}

.brand-light {
  color: var(--white);
}

.brand-logo-light {
  height: 40px;
}

.brand-light .brand-product {
  border-left-color: #4c5570;
  color: var(--white);
}

.auth-shell {
  display: grid;
  min-height: calc(100vh - 70px);
}

.auth-panel {
  padding: 42px 20px;
}

.auth-intro {
  background: var(--ink);
  color: var(--white);
}

.auth-intro h1 {
  font-size: clamp(2.4rem, 11vw, 4.6rem);
  letter-spacing: -0.065em;
  line-height: 1;
  margin: 0 0 20px;
}

.auth-intro > p {
  color: #bbc3d8;
  font-size: 1rem;
  max-width: 520px;
}

.auth-quote {
  border-left: 2px solid var(--mint);
  color: #d9deec;
  margin-top: 36px;
  padding: 8px 0 8px 18px;
}

.auth-benefits {
  color: #d7dcec;
  margin-top: 34px;
}

.auth-form-panel {
  align-items: center;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form-panel > * {
  max-width: 460px;
  width: 100%;
}

.form-heading {
  margin-bottom: 28px;
}

.form-heading h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.form-heading p {
  color: var(--ink-soft);
  margin: 7px 0 0;
}

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

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

.field label {
  font-size: 0.82rem;
  font-weight: 750;
}

.field input:not([type="checkbox"]):not([type="color"]),
.field select,
.field textarea,
.stack-form input {
  background: var(--white);
  border: 1px solid #d8deea;
  border-radius: 12px;
  color: var(--ink);
  min-height: 48px;
  padding: 11px 13px;
  width: 100%;
}

.field input[type="file"] {
  border: 1px dashed #c9d0df;
  border-radius: 12px;
  padding: 11px;
  width: 100%;
}

.field input[type="color"] {
  background: transparent;
  border: 0;
  height: 48px;
  padding: 0;
  width: 100%;
}

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

.field small,
.helptext {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.field ul,
.errorlist {
  color: var(--danger);
  font-size: 0.75rem;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

.field .helptext ul {
  color: var(--ink-soft);
  list-style: disc;
  padding-left: 18px;
}

.form-errors {
  background: #ffedf0;
  border-radius: 12px;
  color: var(--danger);
  padding: 12px;
}

.auth-switch {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin: 24px 0 0;
  text-align: center;
}

.auth-switch a {
  color: var(--blue);
  font-weight: 750;
}

.app-body {
  padding-bottom: 86px;
}

.app-shell,
.builder-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 36px 20px 70px;
}

.dashboard-top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dashboard-top h1,
.builder-heading h1 {
  font-size: clamp(2.2rem, 9vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.dashboard-top p,
.builder-heading p {
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.trial-pill {
  align-items: center;
  align-self: flex-start;
  background: var(--ink);
  border-radius: 999px;
  color: #dce2f2;
  display: flex;
  font-size: 0.78rem;
  gap: 7px;
  padding: 9px 14px;
}

.trial-pill span {
  align-items: center;
  background: var(--mint);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 0.82rem;
  font-weight: 900;
  height: 25px;
  justify-content: center;
  width: 25px;
}

.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin: 34px 0 48px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 18px;
}

.stat-card > span {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
}

.stat-card strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
  margin-top: 10px;
}

.stat-card small {
  color: #8b93a6;
  font-size: 0.7rem;
}

.stat-action {
  background: var(--blue);
  color: var(--white);
  grid-column: 1 / -1;
}

.stat-action > span {
  color: #d8e0ff;
}

.stat-action a {
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: auto;
}

.section-row {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

.section-row h2 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-row p {
  color: var(--ink-soft);
  font-size: 0.84rem;
  margin: 5px 0 0;
}

.section-row .row-actions {
  width: 100%;
}

.section-row .button {
  flex: 1;
}

.dashboard-grid {
  display: grid;
  gap: 16px;
}

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.dashboard-card-accent {
  background: var(--card-accent);
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.dashboard-card-head {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
}

.dashboard-card-head h3 {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.dashboard-card-head p {
  color: var(--ink-soft);
  font-size: 0.75rem;
  margin: 3px 0 0;
}

.mini-avatar {
  align-items: center;
  background: #e9edfa;
  border-radius: 14px;
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 48px;
}

.mini-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.status-dot {
  background: #eef0f4;
  border-radius: 999px;
  color: #747d91;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 6px 8px;
}

.status-live {
  background: #e8faf4;
  color: #0f765a;
}

.card-metrics {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  margin: 18px 0;
  padding: 12px 0;
}

.card-metrics strong {
  color: var(--ink);
}

.card-qr-mini {
  align-items: center;
  background: #f7f8fb;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  min-height: 140px;
}

.card-qr-mini img {
  height: 122px;
  width: 122px;
}

.qr-disabled {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.dashboard-card-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.empty-state {
  background: var(--white);
  border: 1px dashed #cbd2e0;
  border-radius: var(--radius);
  padding: 52px 20px;
  text-align: center;
}

.empty-icon {
  align-items: center;
  background: #edf1ff;
  border-radius: 18px;
  color: var(--blue);
  display: flex;
  font-size: 1.5rem;
  height: 62px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 62px;
}

.empty-state h2 {
  letter-spacing: -0.04em;
  margin: 0;
}

.empty-state p {
  color: var(--ink-soft);
  margin: 8px auto 22px;
  max-width: 500px;
}

.empty-state .row-actions {
  justify-content: center;
}

.mobile-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  min-height: 70px;
  padding: 7px 26px calc(7px + env(safe-area-inset-bottom));
  position: fixed;
  right: 0;
  z-index: 40;
}

.mobile-nav a:not(.mobile-create) {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  font-size: 0.64rem;
  font-weight: 750;
  gap: 1px;
}

.mobile-nav a:last-child {
  justify-self: end;
}

.mobile-nav a > svg {
  color: var(--ink);
  height: 20px;
  width: 20px;
}

.mobile-create {
  align-items: center;
  background: var(--blue);
  border: 5px solid var(--paper);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-size: 1.6rem;
  height: 56px;
  justify-content: center;
  margin-top: -34px;
  width: 56px;
}

.builder-heading {
  margin-bottom: 32px;
}

.back-link {
  color: var(--ink-soft);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  margin-bottom: 34px;
}

.import-layout,
.builder-layout {
  display: grid;
  gap: 20px;
}

.upload-panel,
.scan-tips,
.builder-form,
.live-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.upload-panel {
  display: grid;
  gap: 18px;
}

.dropzone {
  align-items: center;
  background: #f8f9fc;
  border: 2px dashed #cbd2e0;
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 34px 20px;
  text-align: center;
}

.dropzone:hover {
  border-color: var(--blue);
}

.dropzone h2 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin: 18px 0 7px;
}

.dropzone p {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0 0 22px;
  max-width: 380px;
}

.dropzone input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.dropzone small {
  color: #838b9d;
  font-size: 0.7rem;
  margin-top: 10px;
}

.upload-icon {
  align-items: center;
  background: #e9edff;
  border-radius: 18px;
  color: var(--blue);
  display: flex;
  font-size: 1.5rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.image-preview-wrap {
  background: #f4f5f8;
  border-radius: 14px;
  max-height: 340px;
  overflow: hidden;
}

.image-preview-wrap img {
  max-height: 340px;
  object-fit: contain;
  width: 100%;
}

.scan-tips ol {
  display: grid;
  gap: 22px;
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.scan-tips li {
  align-items: center;
  display: grid;
  font-size: 0.9rem;
  gap: 12px;
  grid-template-columns: auto 1fr;
}

.scan-tips li span {
  align-items: center;
  background: #edf1ff;
  border-radius: 999px;
  color: var(--blue);
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.privacy-note {
  background: #eefaf6;
  border-radius: 14px;
  color: #376459;
  font-size: 0.8rem;
  padding: 16px;
}

.privacy-note strong {
  color: #164e40;
  display: block;
  margin-bottom: 5px;
}

.builder-form {
  display: grid;
  gap: 24px;
}

.builder-form fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0 0 26px;
}

.builder-form legend {
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.checkbox-field {
  align-items: flex-start;
  background: #f7f8fb;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.checkbox-field input {
  height: 20px;
  margin: 2px 0 0;
  width: 20px;
}

.checkbox-field label {
  display: grid;
  gap: 2px;
}

.checkbox-field span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.builder-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.builder-actions .button {
  flex: 1;
}

.live-preview {
  align-self: start;
}

.preview-label {
  color: var(--ink-soft);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 0 18px 20px;
  text-align: center;
}

.preview-cover {
  background: linear-gradient(135deg, var(--ink), var(--preview-accent));
  height: 105px;
  margin: 0 -18px;
  overflow: hidden;
}

.preview-cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.preview-avatar {
  align-items: center;
  background: var(--preview-accent);
  border: 5px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-size: 1.1rem;
  font-weight: 900;
  height: 76px;
  justify-content: center;
  margin: -38px auto 14px;
  overflow: hidden;
  position: relative;
  width: 76px;
}

.preview-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.preview-company {
  color: var(--preview-accent);
  font-size: 0.74rem;
  font-weight: 850;
  margin-bottom: 7px;
}

.preview-card h2 {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.preview-card > p {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin: 3px 0 18px;
}

.preview-save {
  background: var(--preview-accent);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 11px;
}

.preview-links {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}

.preview-links span {
  background: #f2f4f8;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  padding: 8px 2px;
}

.ocr-details,
.danger-zone {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
}

.ocr-details summary,
.danger-zone summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
}

.ocr-details pre {
  background: #f5f6f9;
  border-radius: 10px;
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

.danger-zone p {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.install-button {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  bottom: 84px;
  box-shadow: var(--shadow);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  padding: 12px 17px;
  position: fixed;
  right: 16px;
  z-index: 45;
}

.public-card-body {
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--card-accent) 24%, transparent), transparent 35%),
    var(--paper);
  min-height: 100vh;
}

.public-card-shell {
  margin: 0 auto;
  max-width: 560px;
  min-height: 100vh;
  padding: 0 0 30px;
}

.digital-card {
  background: var(--white);
  min-height: calc(100vh - 55px);
  overflow: hidden;
}

.digital-cover {
  background: linear-gradient(135deg, var(--ink), var(--card-accent));
  height: 170px;
  overflow: hidden;
  position: relative;
}

.digital-cover::after {
  background: linear-gradient(180deg, rgba(6, 12, 28, 0.02), rgba(6, 12, 28, 0.38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.digital-cover > img {
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  width: 100%;
}

.digital-cover-badge {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(17, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-size: 0.67rem;
  font-weight: 800;
  gap: 5px;
  left: 18px;
  padding: 7px 10px;
  position: absolute;
  top: 18px;
  z-index: 2;
}

.digital-cover-badge svg {
  height: 14px;
  width: 14px;
}

.theme-clean .digital-cover {
  background: var(--card-accent);
}

.theme-sand .digital-cover {
  background: linear-gradient(135deg, #2f281f, #a4713c);
}

.digital-profile-row {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-top: -52px;
  padding: 0 22px;
}

.digital-avatar {
  align-items: center;
  background: var(--card-accent);
  border: 6px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-size: 1.5rem;
  font-weight: 900;
  height: 104px;
  justify-content: center;
  overflow: hidden;
  width: 104px;
}

.digital-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.digital-logo {
  background: var(--white);
  border: 1px solid rgba(226, 230, 239, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(17, 23, 42, 0.09);
  max-height: 54px;
  max-width: 140px;
  object-fit: contain;
  padding: 7px;
}

.digital-wordmark {
  background: var(--white);
  border-radius: 10px;
  color: var(--card-accent);
  font-size: 0.9rem;
  font-weight: 900;
  max-width: 150px;
  overflow: hidden;
  padding: 9px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.digital-content {
  padding: 22px;
}

.digital-content h1 {
  font-size: 2rem;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0;
}

.digital-title {
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.digital-company {
  color: var(--card-accent);
  font-size: 0.85rem;
  font-weight: 850;
  margin: 3px 0 0;
}

.digital-bio {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 18px 0 0;
}

.save-contact {
  align-items: center;
  background: var(--card-accent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--card-accent) 28%, transparent);
  display: flex;
  gap: 9px;
  justify-content: center;
  margin: 25px 0 16px;
}

.save-contact svg {
  height: 20px;
  width: 20px;
}

.contact-action-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(4, 1fr);
}

.contact-action-grid a,
.contact-action-grid button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 8px 20px rgba(17, 23, 42, 0.055);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 0.64rem;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  min-height: 84px;
  padding: 10px 2px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-action-grid a:active,
.contact-action-grid button:active {
  transform: scale(0.96);
}

.contact-action-grid span {
  align-items: center;
  background: color-mix(in srgb, var(--card-accent) 11%, white);
  border-radius: 13px;
  color: var(--card-accent);
  display: flex;
  height: 39px;
  justify-content: center;
  width: 39px;
}

.contact-action-grid span svg {
  height: 19px;
  width: 19px;
}

.contact-action-grid .action-whatsapp span {
  background: #e8f9ef;
  color: #159447;
}

.contact-action-grid b {
  font: inherit;
}

.contact-list {
  border-top: 1px solid var(--line);
  display: grid;
  margin-top: 24px;
  padding-top: 8px;
}

.contact-list > a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 13px;
  grid-template-columns: auto 1fr auto;
  padding: 14px 0;
}

.contact-list-icon {
  align-items: center;
  background: color-mix(in srgb, var(--card-accent) 10%, white);
  border-radius: 11px;
  color: var(--card-accent);
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.contact-list-icon svg {
  height: 19px;
  width: 19px;
}

.contact-list > a > span:nth-child(2) {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.contact-row-arrow {
  color: #a1a8b8;
  height: 17px;
  width: 17px;
}

.contact-list small {
  color: var(--ink-soft);
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.public-qr {
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 24px;
  padding: 17px;
  text-align: center;
}

.public-qr summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
}

.public-qr summary::-webkit-details-marker {
  display: none;
}

.public-qr summary span {
  align-items: center;
  display: flex;
  gap: 8px;
}

.public-qr summary svg {
  color: var(--card-accent);
  height: 18px;
  width: 18px;
}

.public-qr[open] .qr-chevron {
  transform: rotate(180deg);
}

.qr-chevron {
  transition: transform 180ms ease;
}

.public-qr img {
  margin: 16px auto 8px;
  width: 210px;
}

.public-qr p {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.powered-by {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 0.72rem;
  gap: 9px;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.powered-by img {
  height: 24px;
  object-fit: contain;
  width: 74px;
}

@media (min-width: 640px) {
  .site-header {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-actions .button {
    width: auto;
  }

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

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

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

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

  .builder-actions .button {
    flex: initial;
  }

  .pricing-card {
    padding: 42px;
  }

  .public-card-shell {
    padding: 34px 0;
  }

  .digital-card {
    border-radius: 30px;
    box-shadow: var(--shadow);
    min-height: auto;
  }
}

@media (min-width: 860px) {
  .site-header {
    height: 78px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .desktop-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .app-body {
    padding-bottom: 0;
  }

  .hero {
    align-items: center;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: calc(100vh - 78px);
    padding-bottom: 70px;
    padding-top: 70px;
  }

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

  .phone-shell {
    max-width: 350px;
  }

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

  .feature-section {
    grid-template-columns: 1fr 0.9fr;
  }

  .feature-list li {
    grid-template-columns: 170px 1fr;
  }

  .site-footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 6vw;
    padding-right: 6vw;
  }

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

  .auth-panel {
    padding: 8vw;
  }

  .auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .dashboard-top {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr 1.4fr;
  }

  .stat-action {
    grid-column: auto;
  }

  .section-row {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .section-row .row-actions,
  .section-row .button {
    flex: initial;
    width: auto;
  }

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

  .import-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .builder-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  }

  .upload-panel,
  .scan-tips,
  .builder-form,
  .live-preview {
    padding: 30px;
  }

  .live-preview {
    position: sticky;
    top: 100px;
  }

  .install-button {
    bottom: 24px;
  }
}

@media (min-width: 1180px) {
  .hero,
  .section,
  .app-shell,
  .builder-shell {
    padding-left: 0;
    padding-right: 0;
  }
}

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

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