:root {
  --bg: #f3f0e8;
  --paper: #fffdf8;
  --ink: #171717;
  --ink-soft: #4a4a4a;
  --line: #d8d1c4;
  --accent: #c26d2a;
  --accent-2: #2e5f5a;
  --accent-3: #9a3f27;
  --card: #f8f4ea;
  --shadow: 0 24px 48px rgba(23, 23, 23, 0.12);
  --shadow-soft: 0 10px 24px rgba(27, 22, 15, 0.08);
  --shadow-press: 0 2px 8px rgba(27, 22, 15, 0.18);
  --ring: 0 0 0 3px rgba(194, 109, 42, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #fff8ea 0%, var(--bg) 45%, #e9e4d7 100%);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

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

.page {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.main {
  padding: 1.25rem 1.25rem 2rem;
}

.shell {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 252, 245, 0.98));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  min-height: calc(100vh - 2.5rem);
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 241, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, var(--accent), #ef9a55, var(--accent-2), var(--accent));
  border: 2px solid rgba(23, 23, 23, 0.15);
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 220px);
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: transform 140ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nav a.active,
.nav a:hover {
  color: var(--ink);
  background: rgba(194, 109, 42, 0.16);
  box-shadow: 0 4px 12px rgba(170, 95, 37, 0.12);
}

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

.cta {
  background: linear-gradient(135deg, var(--accent), #dd8340);
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(194, 109, 42, 0.35), 0 2px 4px rgba(112, 58, 21, 0.28);
  transition: transform 150ms ease, box-shadow 180ms ease, filter 150ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(194, 109, 42, 0.32), 0 4px 8px rgba(112, 58, 21, 0.25);
  filter: saturate(1.06);
}

.cta:active {
  transform: translateY(0);
  box-shadow: var(--shadow-press);
}

.cta:focus-visible,
.ghost:focus-visible,
.button:focus-visible,
.step-btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.content {
  padding: 1.75rem 1.35rem 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.77rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0.3rem 0 0.8rem;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

p {
  margin: 0.2rem 0 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 0.42rem 0.72rem;
  color: var(--ink-soft);
  background: #fff;
  box-shadow: 0 2px 6px rgba(23, 23, 23, 0.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  box-shadow: 0 6px 12px rgba(23, 23, 23, 0.06);
}

.stat b {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  display: block;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.journey-phase {
  position: relative;
  overflow: hidden;
}

.journey-phase::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #c26d2a 0%, #2e5f5a 100%);
}

.journey-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  border-radius: 999px;
  border: 1px solid #ccbca8;
  background: #fff7ea;
  color: #7b5532;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
}

.flow-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.34rem;
}

.flow-list li {
  color: #3d352a;
  line-height: 1.45;
  font-size: 0.9rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 200ms ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(27, 22, 15, 0.12);
}

.panel h3 {
  font-size: 1.1rem;
}

.stack {
  display: grid;
  gap: 0.8rem;
}

.kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-3);
  font-weight: 700;
}

.form-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.step-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
  box-shadow: var(--shadow-soft);
}

.step-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf7ef;
  color: var(--ink-soft);
  text-align: left;
  padding: 0.58rem 0.62rem;
  font-size: 0.84rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(23, 23, 23, 0.05);
  transition: transform 120ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.step-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(23, 23, 23, 0.08);
}

.step-btn.active {
  border-color: #c7884f;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.form-pane {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

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

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.68rem;
  font: inherit;
  background: #fffcf5;
}

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

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

.wizard-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.ghost {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #faf7ef 100%);
  color: var(--ink);
  border-radius: 10px;
  font-weight: 700;
  padding: 0.67rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(23, 23, 23, 0.08);
  transition: transform 140ms ease, box-shadow 160ms ease;
}

.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(23, 23, 23, 0.12);
}

.pill-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.32rem 0.55rem;
  font-size: 0.77rem;
}

.testimonials-section {
  margin-top: 1.05rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffef9, #f7f2e7);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.reaction-marquee {
  margin-top: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffcf5;
  max-width: 100%;
}

.reaction-track {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  padding: 0.7rem;
  animation: reactionScroll 120s linear infinite;
  will-change: transform;
}

.reaction-marquee:hover .reaction-track {
  animation-play-state: paused;
}

.reaction-card {
  flex: 0 0 clamp(220px, 70vw, 360px);
  min-width: 0;
  border: 1px solid #d7ccb9;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbf6ec);
  padding: 0.78rem 0.8rem;
  box-shadow: 0 10px 20px rgba(41, 33, 21, 0.08);
}

.reaction-quote {
  margin: 0;
  color: #302c26;
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reaction-meta {
  margin-top: 0.48rem;
  font-size: 0.74rem;
  color: #7a6e5f;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.faq-sales {
  display: grid;
  gap: 0.9rem;
}

.faq-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, #f7f1e6, #fffdfa);
}

.faq-search-wrap input[type="search"] {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffcf5;
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0.92rem;
  font-weight: 800;
  color: #1f1b15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #624f38;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0.92rem 0.9rem;
  color: #3b3328;
  line-height: 1.6;
  border-top: 1px dashed #d9cfbe;
}

.faq-answer p {
  margin: 0.7rem 0 0;
}

@keyframes reactionScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.compare {
  margin-top: 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  text-align: left;
}

th {
  background: #fbf8f1;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

.side {
  border-left: 1px solid var(--line);
  padding: 1rem 1rem 1.2rem;
  background: linear-gradient(160deg, #efe8d9, #f6f1e6 46%, #f0e8d8);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.side h3 {
  margin: 0;
  font-size: 1.05rem;
}

.muted {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.side input {
  width: 100%;
  border: 1px solid #c6bcaa;
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  background: rgba(255, 255, 255, 0.9);
}

.side .btns {
  display: grid;
  gap: 0.4rem;
}

.button {
  border: 1px solid #b7ab97;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 242, 232, 0.95));
  border-radius: 10px;
  padding: 0.54rem 0.65rem;
  text-align: left;
  cursor: pointer;
  font-size: 0.86rem;
  box-shadow: 0 4px 10px rgba(52, 43, 30, 0.1);
  transition: transform 120ms ease, box-shadow 160ms ease, background-color 120ms ease;
}

.button:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(52, 43, 30, 0.14);
}

iframe {
  width: 100%;
  border: 1px solid #bfb4a2;
  border-radius: 12px;
  background: #fff;
  min-height: 420px;
}

.hint {
  font-size: 0.78rem;
  color: #6a6258;
}

footer {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-copy,
.hero-card,
.panel,
.compare,
.form-pane,
.step-list {
  animation: rise 460ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .page {
    grid-template-columns: 1fr;
  }

  .side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .main {
    padding: 0.75rem;
  }

  .shell {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

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

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

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

  .field-grid,
  .form-shell {
    grid-template-columns: 1fr;
  }
}

.helper {
  font-size: 0.84rem;
  color: #6c655a;
}

.progress-wrap {
  display: grid;
  gap: 0.38rem;
  margin: 0.2rem 0 1rem;
}

.progress-track {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f3eddf;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #c26d2a, #de8b42);
  box-shadow: 0 0 18px rgba(194, 109, 42, 0.45);
  transition: width 220ms ease;
}

.progress-label {
  font-size: 0.8rem;
  color: #655f56;
  font-weight: 700;
}

.trust-form .form-pane h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.choice-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbf6ed);
  padding: 0.75rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(27, 22, 15, 0.08);
}

.choice-tile input {
  width: 18px;
  height: 18px;
  accent-color: #c26d2a;
}

.choice-tile span {
  font-weight: 700;
}

.mobile-sticky-actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.45), rgba(255, 252, 245, 0.96) 35%);
  padding: 0.75rem 0 0.2rem;
  backdrop-filter: blur(3px);
  z-index: 5;
}

.mobile-sticky-actions .cta,
.mobile-sticky-actions .ghost {
  min-height: 46px;
}

@media (max-width: 980px) {
  .main {
    padding: 0.55rem 0.55rem 1.1rem;
  }

  .shell {
    border-radius: 18px;
  }

  .content {
    padding: 1rem 0.8rem 1.2rem;
  }

  .step-list {
    display: flex;
    overflow-x: auto;
    gap: 0.45rem;
    padding: 0.5rem;
    position: sticky;
    top: 0.2rem;
    z-index: 6;
  }

  .step-btn {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.54rem 0.58rem;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0.7rem 0.72rem;
    border-radius: 0;
  }

  .brand {
    width: 100%;
  }

  .brand-logo {
    width: clamp(135px, 46vw, 190px);
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
  }

  .nav a {
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.42rem 0.6rem;
  }

  .topbar .cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  h1 {
    font-size: clamp(1.62rem, 9vw, 2.35rem);
  }

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

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

  .wizard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  #submit-step {
    grid-column: 1 / -1;
  }

  .reaction-track {
    animation-duration: 145s;
    padding: 0.58rem;
    gap: 0.52rem;
  }

  .reaction-card {
    flex-basis: 84vw;
    padding: 0.7rem;
  }
}

.qr-demo-page .hero {
  align-items: stretch;
}

.qr-preview-card {
  display: grid;
  gap: 0.85rem;
}

.qr-preview-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.qr-preview-code {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 30%, rgba(194, 109, 42, 0.22), transparent 42%),
    radial-gradient(circle at 28% 74%, rgba(46, 95, 90, 0.22), transparent 45%),
    repeating-linear-gradient(0deg, #1d1d1d 0 6px, #f5f0e8 6px 10px),
    repeating-linear-gradient(90deg, #1d1d1d 0 6px, #f5f0e8 6px 10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(23, 23, 23, 0.16);
}

.qr-finder {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 5px solid #111;
  background: #fff;
}

.qr-finder.tl {
  top: 10px;
  left: 10px;
}

.qr-finder.tr {
  top: 10px;
  right: 10px;
}

.qr-finder.bl {
  bottom: 10px;
  left: 10px;
}

.qr-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, transparent 44%, rgba(255, 255, 255, 0.2) 44% 46%, transparent 46%),
    linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.17) 50% 52%, transparent 52%);
  mix-blend-mode: screen;
}

.qr-preview-meta {
  display: grid;
  gap: 0.34rem;
  font-size: 0.82rem;
  color: #423c33;
}

.qr-preview-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  background: #f8f4ea;
  border: 1px solid #d8cebd;
  border-radius: 6px;
  padding: 0.07rem 0.35rem;
}

.qr-portal-shell {
  padding: 1rem;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 100%);
}

.qr-portal-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
}

.qr-portal-top h2 {
  margin-bottom: 0.38rem;
}

.qr-portal-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.qr-portal-actions .button {
  white-space: nowrap;
  flex: 0 0 auto;
}

.qr-portal-banners {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.42rem;
}

.qr-banner {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.55rem 0.68rem;
  font-size: 0.82rem;
  box-shadow: var(--shadow-soft);
}

.qr-banner.warn {
  background: #fff2df;
  border-color: #e6bf8f;
  color: #613b14;
}

.qr-banner.info {
  background: #eef8ff;
  border-color: #bfdcf5;
  color: #224c6f;
}

.qr-banner.accent {
  background: #f0f9f4;
  border-color: #b8dbc6;
  color: #2b6044;
}

.qr-portal-layout {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0.75rem;
}

.qr-portal-side {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.panel.compact {
  padding: 0.82rem 0.88rem;
}

.panel.compact h3 {
  margin-bottom: 0.52rem;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: #423c34;
  font-size: 0.89rem;
}

.plain-list li {
  padding-left: 1.05rem;
  position: relative;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c26d2a, #de8a40);
}

.qr-portal-main {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.doc-nav {
  display: flex;
  gap: 0.38rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.doc-chip {
  border: 1px solid #cfbfab;
  background: linear-gradient(180deg, #fff, #f8f1e5);
  border-radius: 999px;
  padding: 0.44rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #41372b;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(52, 43, 30, 0.08);
  transition: transform 120ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

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

.doc-chip.active {
  border-color: #c26d2a;
  color: #fff;
  background: linear-gradient(135deg, #c26d2a, #db8440);
  box-shadow: 0 9px 18px rgba(194, 109, 42, 0.35);
}

.demo-doc-stage {
  margin-top: 0.66rem;
  border: 1px solid #d9cebc;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fdf9f1);
  padding: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.demo-doc-page {
  display: none;
  color: #2f291f;
}

.demo-doc-page.active {
  display: block;
  animation: rise 230ms ease both;
}

.demo-doc-page p,
.demo-doc-page li,
.demo-doc-page td,
.demo-doc-page th {
  color: #3b352b;
}

.demo-doc-page ul {
  margin: 0.45rem 0 0.35rem;
  padding-left: 1.12rem;
  display: grid;
  gap: 0.25rem;
}

.demo-doc-head {
  margin-bottom: 0.54rem;
  padding-bottom: 0.56rem;
  border-bottom: 1px dashed #d5c9b6;
}

.doc-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #815836;
  font-weight: 700;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.sig-box {
  border: 1px solid #dacdb8;
  background: #fffcf4;
  border-radius: 12px;
  padding: 0.72rem;
  display: grid;
  gap: 0.5rem;
}

.sig-box span {
  font-size: 0.78rem;
  color: #5e5447;
  font-weight: 700;
}

.sig-line {
  border-bottom: 2px solid #746853;
  min-height: 18px;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d9cebc;
  border-radius: 10px;
  overflow: hidden;
}

.doc-table th,
.doc-table td {
  border-bottom: 1px solid #e1d6c6;
  padding: 0.6rem;
  font-size: 0.85rem;
}

.doc-table th {
  background: #fbf4e8;
}

.walk-grid {
  margin-top: 0.74rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.64rem;
}

@media (max-width: 1040px) {
  .qr-portal-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .qr-preview-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .qr-preview-code {
    width: min(64vw, 200px);
  }

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

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