.qr-page {
  --qr-paper: #fafaf7;
  --qr-surface: #ffffff;
  --qr-ink: #11110f;
  --qr-muted: #64645f;
  --qr-line: #d9d9d3;
  --qr-signal: #f2f03a;
  --qr-data: #2457ff;
  --qr-success: #1d6b45;
  background: var(--qr-paper);
  color: var(--qr-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qr-page :is(h1, h2, h3, h4) {
  text-wrap: balance;
}

.qr-page :focus-visible {
  outline: 3px solid var(--qr-data);
  outline-offset: 3px;
}

.qr-header {
  width: 100%;
  min-height: 96px;
  padding: 0 clamp(24px, 4.5vw, 64px);
  border-color: var(--qr-line);
}

.qr-header .wordmark {
  color: var(--qr-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.qr-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.qr-nav > a:not(.button) {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.qr-nav > a:not(.button):hover {
  text-decoration: underline;
  text-decoration-color: var(--qr-signal);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.qr-nav-cta {
  min-height: 44px;
  padding-inline: 20px;
  background: var(--qr-ink);
}

.qr-main {
  width: 100%;
  margin: 0;
}

.qr-page .eyebrow {
  margin: 0;
  color: var(--qr-data);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.qr-page .button {
  gap: 10px;
  min-height: 52px;
  padding-inline: 24px;
  border: 1px solid var(--qr-ink);
  background: var(--qr-ink);
  color: white;
  font-size: 15px;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.qr-page .button:hover {
  background: var(--qr-data);
  transform: translateY(-2px);
}

.qr-hero {
  display: grid;
  min-height: 730px;
  border-bottom: 1px solid var(--qr-ink);
  grid-template-columns: minmax(0, 58fr) minmax(460px, 42fr);
}

.qr-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(56px, 6vw, 86px) clamp(32px, 4.5vw, 64px) 56px;
}

.qr-hero-copy h1 {
  max-width: 800px;
  margin: 22px 0 28px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(66px, 6.5vw, 94px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.qr-hero-copy h1 em {
  font-weight: 400;
}

.qr-lede {
  max-width: 690px;
  margin: 0;
  color: var(--qr-muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

.qr-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  flex-wrap: wrap;
}

.qr-page .qr-secondary {
  background: transparent;
  color: var(--qr-ink);
}

.qr-page .qr-secondary:hover {
  background: var(--qr-signal);
  color: var(--qr-ink);
}

.qr-fineprint {
  margin: 16px 0 0;
  color: var(--qr-muted);
  font-size: 12px;
  line-height: 1.55;
}

.qr-hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  padding: 58px 44px;
  background: var(--qr-signal);
  place-items: center;
}

.qr-hero-visual > p {
  position: absolute;
  top: 28px;
  right: 32px;
  margin: 0;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qr-code-card {
  width: min(390px, 86%);
  padding: 26px;
  border: 2px solid var(--qr-ink);
  background: white;
  box-shadow: 18px 18px 0 var(--qr-ink);
  transform: rotate(2deg);
}

.qr-code-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.qr-code-card > header strong {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.qr-code-card > header span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--qr-success);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.qr-code-card > header span::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--qr-success);
  content: "";
}

.qr-matrix {
  display: grid;
  padding: 28px;
  background: var(--qr-ink);
  place-items: center;
}

.qr-matrix svg {
  display: block;
  width: min(100%, 250px);
  height: auto;
}

.qr-code-card > footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}

.qr-code-card footer div {
  display: grid;
  gap: 3px;
}

.qr-code-card footer strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

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

.qr-code-card footer b {
  color: var(--qr-data);
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ownership-strip {
  display: grid;
  min-height: 124px;
  padding-left: clamp(32px, 4.5vw, 64px);
  background: var(--qr-ink);
  color: white;
  grid-template-columns: 35fr 65fr;
}

.ownership-strip h2 {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ownership-strip ul {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
}

.ownership-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #3a3a36;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.qr-paths {
  padding: clamp(84px, 8vw, 120px) clamp(32px, 4.5vw, 64px);
}

.qr-section-intro {
  display: grid;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 690px) minmax(280px, 360px);
}

.qr-section-intro h2,
.dashboard-copy h2,
.qr-steps h2,
.qr-faq h2,
.qr-final h2 {
  margin: 12px 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(54px, 5.2vw, 74px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.qr-section-intro > p {
  margin: 0;
  color: var(--qr-muted);
  font-size: 17px;
  line-height: 1.55;
}

.path-grid {
  display: grid;
  border-top: 2px solid var(--qr-ink);
  border-bottom: 1px solid var(--qr-ink);
  grid-template-columns: 43fr 57fr;
}

.path-card {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 40px;
}

.path-fixed {
  padding-left: 0;
  border-right: 1px solid var(--qr-line);
}

.path-managed {
  padding-right: 0;
}

.path-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.path-card > header span,
.path-card > header small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-card > header small {
  color: var(--qr-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.path-managed > header small {
  padding: 6px 10px;
  background: var(--qr-signal);
  color: var(--qr-ink);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.path-card h3 {
  margin: 0 0 18px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.path-card p {
  max-width: 610px;
  margin: 0;
  color: var(--qr-muted);
  font-size: 16px;
  line-height: 1.55;
}

.path-card ul {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--qr-line);
  list-style: none;
}

.path-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--qr-line);
  font-size: 14px;
  font-weight: 650;
}

.managed-benefits {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.managed-benefits p {
  padding-top: 14px;
  border-top: 1px solid var(--qr-line);
  font-size: 13px;
}

.managed-benefits strong {
  display: block;
  margin-bottom: 7px;
  color: var(--qr-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.dashboard-proof {
  display: grid;
  gap: clamp(40px, 4vw, 64px);
  padding: clamp(72px, 7vw, 104px) clamp(32px, 4.5vw, 64px);
  background: var(--qr-ink);
  color: white;
  grid-template-columns: minmax(290px, 34fr) minmax(0, 66fr);
}

.dashboard-copy {
  display: flex;
  flex-direction: column;
}

.dashboard-copy .eyebrow {
  color: var(--qr-signal);
}

.dashboard-copy h2 {
  font-size: clamp(48px, 4.6vw, 66px);
}

.dashboard-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin: 24px 0 0;
  color: #b8b8b2;
  font-size: 16px;
  line-height: 1.6;
}

.dashboard-copy aside {
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid #3a3a36;
  color: #b8b8b2;
  font-size: 13px;
  line-height: 1.55;
}

.dashboard-copy aside strong {
  display: block;
  margin-bottom: 7px;
  color: white;
}

.dashboard-demo {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 12px;
  background: var(--qr-paper);
  color: var(--qr-ink);
}

.dashboard-demo > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--qr-line);
}

.dashboard-demo > header > div:first-child {
  display: grid;
  gap: 4px;
}

.dashboard-demo > header span {
  color: var(--qr-data);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-demo h3,
.dashboard-demo h4 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 400;
}

.dashboard-demo h3 {
  font-size: clamp(26px, 2.7vw, 38px);
}

.dashboard-demo > header > div:last-child {
  display: flex;
  gap: 8px;
}

.dashboard-demo button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--qr-line);
  border-radius: 999px;
  background: transparent;
  color: var(--qr-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.dashboard-demo button:last-child {
  border-color: var(--qr-ink);
  background: var(--qr-ink);
  color: white;
}

.demo-metrics {
  display: grid;
  border-top: 1px solid var(--qr-line);
  border-left: 1px solid var(--qr-line);
  grid-template-columns: repeat(4, 1fr);
}

.demo-metrics > div {
  display: flex;
  min-width: 0;
  min-height: 94px;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-right: 1px solid var(--qr-line);
  border-bottom: 1px solid var(--qr-line);
}

.demo-metrics small {
  color: var(--qr-muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-metrics strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}

.demo-metrics > div:last-child strong {
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
}

.demo-panels {
  display: grid;
  gap: 18px;
  flex: 1;
  grid-template-columns: 1.55fr 1fr;
}

.demo-panels > section {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--qr-line);
  background: white;
}

.demo-panels > section > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.demo-panels h4 {
  font-size: 22px;
}

.demo-panels small {
  color: var(--qr-muted);
  font-size: 9px;
}

.demo-chart {
  display: flex;
  height: 165px;
  align-items: end;
  gap: 8px;
  padding: 12px 8px 0;
  border-bottom: 1px solid var(--qr-line);
}

.demo-chart i {
  width: 100%;
  height: var(--height);
  background: var(--qr-data);
}

.demo-by-code {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-by-code p {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  grid-template-columns: 1fr auto;
}

.demo-by-code p > i {
  display: block;
  height: 7px;
  background: var(--qr-line);
  grid-column: 1 / -1;
}

.demo-by-code p em {
  display: block;
  width: var(--width);
  height: 100%;
  background: var(--qr-data);
}

.demo-by-code > strong {
  padding: 12px;
  margin-top: auto;
  background: var(--qr-signal);
  font-size: 10px;
  text-align: center;
}

.qr-steps {
  display: grid;
  gap: clamp(48px, 6vw, 88px);
  padding: clamp(72px, 7vw, 104px) clamp(32px, 4.5vw, 64px);
  grid-template-columns: 34fr 66fr;
}

.qr-steps h2 {
  font-size: clamp(46px, 4.4vw, 62px);
}

.qr-steps ol {
  padding: 0;
  margin: 0;
  border-top: 2px solid var(--qr-ink);
  list-style: none;
}

.qr-steps li {
  display: grid;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--qr-line);
  grid-template-columns: 38px 180px 1fr;
}

.qr-steps li span {
  color: var(--qr-data);
  font-size: 12px;
  font-weight: 850;
}

.qr-steps li strong {
  font-size: 14px;
}

.qr-steps li p {
  margin: 0;
  color: var(--qr-muted);
  font-size: 14px;
  line-height: 1.5;
}

.qr-faq {
  display: grid;
  gap: clamp(48px, 6vw, 88px);
  padding: clamp(72px, 7vw, 104px) clamp(32px, 4.5vw, 64px);
  border-top: 1px solid var(--qr-line);
  background: white;
  grid-template-columns: 34fr 66fr;
}

.qr-faq h2 {
  font-size: clamp(46px, 4.4vw, 62px);
}

.faq-list {
  border-top: 2px solid var(--qr-ink);
}

.faq-list details {
  border-bottom: 1px solid var(--qr-line);
}

.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 16px;
  right: 4px;
  color: var(--qr-data);
  content: "+";
  font-size: 26px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  max-width: 700px;
  padding: 0 40px 22px 0;
  margin: 0;
  color: var(--qr-muted);
  line-height: 1.65;
}

.faq-list code {
  padding: 2px 5px;
  background: var(--qr-paper);
}

.qr-final {
  display: grid;
  min-height: 350px;
  border-top: 1px solid var(--qr-ink);
  background: var(--qr-signal);
  grid-template-columns: 68fr 32fr;
}

.qr-final > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(32px, 4.5vw, 64px);
}

.qr-final > div:last-child {
  align-items: flex-start;
  border-left: 1px solid var(--qr-ink);
}

.qr-final h2 {
  font-size: clamp(54px, 5vw, 72px);
}

.qr-final > div:last-child > p:first-child {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.55;
}

.kit-consent {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.55;
}

.qr-footer {
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(32px, 4.5vw, 64px);
  background: var(--qr-ink);
  color: white;
  font-size: 13px;
}

.qr-footer span {
  color: #b8b8b2;
}

@media (max-width: 1020px) {
  .qr-hero {
    grid-template-columns: 1fr;
  }

  .qr-hero-copy {
    min-height: 650px;
  }

  .qr-hero-visual {
    min-height: 640px;
  }

  .ownership-strip {
    padding-left: 32px;
    grid-template-columns: 1fr;
  }

  .ownership-strip h2 {
    min-height: 96px;
  }

  .ownership-strip ul {
    min-height: 96px;
  }

  .ownership-strip li:first-child {
    border-left: 0;
  }

  .dashboard-proof,
  .qr-steps,
  .qr-faq {
    grid-template-columns: 1fr;
  }

  .dashboard-copy aside {
    margin-top: 36px;
  }
}

@media (max-width: 760px) {
  .qr-header {
    min-height: 78px;
  }

  .qr-nav > a:not(.button) {
    display: none;
  }

  .qr-nav-cta {
    min-height: 40px !important;
    padding-inline: 15px !important;
    font-size: 12px !important;
  }

  .qr-hero-copy h1 {
    font-size: clamp(54px, 15vw, 76px);
  }

  .qr-section-intro,
  .path-grid,
  .qr-final {
    grid-template-columns: 1fr;
  }

  .path-card,
  .path-fixed,
  .path-managed {
    min-height: 460px;
    padding: 30px 0;
  }

  .path-fixed {
    border-right: 0;
    border-bottom: 1px solid var(--qr-line);
  }

  .demo-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .demo-panels {
    grid-template-columns: 1fr;
  }

  .qr-final > div:last-child {
    border-top: 1px solid var(--qr-ink);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .qr-header .mark {
    width: 34px;
    height: 34px;
  }

  .qr-header .wordmark > span:last-child {
    display: none;
  }

  .qr-hero-copy {
    min-height: 610px;
    padding-inline: 24px;
  }

  .qr-hero-visual {
    min-height: 520px;
    padding: 46px 24px;
  }

  .qr-code-card {
    width: min(330px, 88%);
    padding: 20px;
    box-shadow: 12px 12px 0 var(--qr-ink);
  }

  .qr-matrix {
    padding: 20px;
  }

  .ownership-strip {
    padding: 0 24px;
  }

  .ownership-strip ul {
    grid-template-columns: 1fr 1fr;
  }

  .ownership-strip li {
    min-height: 72px;
    border-top: 1px solid #3a3a36;
  }

  .ownership-strip li:nth-child(odd) {
    border-left: 0;
  }

  .managed-benefits,
  .demo-panels,
  .qr-steps li {
    grid-template-columns: 1fr;
  }

  .dashboard-demo {
    padding: 18px;
  }

  .dashboard-demo > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-demo > header button:first-child {
    display: none;
  }

  .demo-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .demo-chart {
    height: 130px;
  }

  .qr-steps li {
    gap: 5px;
  }

  .qr-steps li strong,
  .qr-steps li p {
    grid-column: 2;
  }

  .qr-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

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

  .qr-page .button {
    transition: none;
  }
}
