:root {
  color-scheme: dark;
  --ink: #f8fbfa;
  --muted: #aab6b2;
  --accent: #ff5369;
  --accent-rgb: 255, 83, 105;
  --action: #73f2b6;
  --deep: #080c0d;
  --panel: rgba(12, 18, 18, .82);
  --line: rgba(255, 255, 255, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--deep);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 7, 8, .2), rgba(4, 7, 8, .9) 78%, #080c0d),
    linear-gradient(90deg, rgba(4, 7, 8, .76), rgba(4, 7, 8, .14) 50%, rgba(4, 7, 8, .76)),
    url("/use-case-scenes.png?v=20260730-2");
  background-repeat: no-repeat;
  background-size: cover, cover, 300% auto;
  background-position: center, center, left top;
  filter: saturate(.95);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(var(--accent-rgb), .2), transparent 34rem),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
}

body[data-experience="cinema"] {
  --accent: #ff5369;
  --accent-rgb: 255, 83, 105;
  --action: #ff6b7e;
}

body[data-experience="loan"] {
  --accent: #f1bf69;
  --accent-rgb: 241, 191, 105;
  --action: #e6b760;
}

body[data-experience="car-rental"] {
  --accent: #55c9f4;
  --accent-rgb: 85, 201, 244;
  --action: #65d4fb;
}

body[data-experience="loan"]::before { background-position: center, center, center top; }
body[data-experience="car-rental"]::before { background-position: center, center, right top; }

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

.site-header,
footer {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .72);
  border-radius: 13px;
  color: #111;
  background: var(--accent);
  box-shadow: 0 10px 34px rgba(var(--accent-rgb), .25);
  font-size: 16px;
  font-weight: 950;
}

.brand-name {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .13em;
}

.business-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: #c6cecb;
  font-size: 12px;
}

.business-nav span:first-child { color: var(--accent); }

.header-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}

.header-meta > span {
  color: #a7b1ae;
  letter-spacing: .14em;
}

.header-meta strong {
  padding: 9px 13px;
  border: 1px solid rgba(var(--accent-rgb), .4);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
  font-size: 9px;
  letter-spacing: .14em;
}

main {
  min-height: calc(100vh - 160px);
  padding: 64px 24px 88px;
}

.landing {
  width: min(1320px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-copy { margin-bottom: 44px; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .27em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .8);
}

h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .94;
  letter-spacing: -.058em;
  text-wrap: balance;
  text-shadow: 0 8px 44px rgba(0, 0, 0, .78);
}

.intro {
  max-width: 690px;
  margin: 21px auto 10px;
  color: #c9d0ce;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .9);
}

.slogan {
  margin: 0 auto 23px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: .02em;
}

.slogan::before { content: "— "; }

.trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.trust-points span {
  padding: 8px 13px;
  border: 1px solid rgba(var(--accent-rgb), .24);
  border-radius: 999px;
  color: #e1e6e4;
  background: rgba(8, 13, 13, .62);
  backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .04em;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(410px, 490px) minmax(230px, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}

.business-panel,
.access-card {
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(145deg, rgba(22, 29, 28, .8), rgba(8, 13, 13, .91));
  box-shadow: 0 28px 76px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(22px);
}

.business-panel {
  position: relative;
  overflow: hidden;
  min-height: 354px;
  padding: 29px;
  border-radius: 26px;
  text-align: left;
}

.business-panel::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 68%);
  pointer-events: none;
}

.story-panel::after { left: -76px; top: -74px; }
.offer-panel::after { right: -76px; bottom: -74px; }

.panel-kicker {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 17px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .21em;
}

.business-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 0 14px;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.06;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.business-panel > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 27px;
}

.metrics div {
  min-width: 0;
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 14px;
  background: rgba(255, 255, 255, .032);
}

.metrics strong,
.metrics small { display: block; }

.metrics strong {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: -.035em;
}

.metrics small {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #818f8a;
  font-size: 8px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin: 23px 0 26px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  color: #afbbb7;
  font-size: 12px;
  line-height: 1.5;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.availability {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #85928e;
  font-size: 10px;
  letter-spacing: .04em;
}

.availability i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .8);
}

.access-column {
  width: 100%;
  min-width: 0;
}

.access-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 31px;
  border-color: rgba(var(--accent-rgb), .3);
  border-radius: 31px;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, .66),
    0 0 92px rgba(var(--accent-rgb), .09),
    inset 0 1px rgba(255, 255, 255, .06);
}

.access-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .045), transparent 30%);
}

.accent-orb {
  position: absolute;
  right: -64px;
  top: -64px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  opacity: .55;
  background: radial-gradient(circle at 38% 38%, #fff, var(--accent) 28%, rgba(var(--accent-rgb), .22) 70%);
  box-shadow: 0 0 76px rgba(var(--accent-rgb), .25);
}

.accent-orb span {
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
}

.card-context {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 9px 14px;
  border: 1px solid rgba(var(--accent-rgb), .3);
  border-radius: 13px;
  background: rgba(var(--accent-rgb), .08);
}

.card-context span {
  color: #86938f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}

.card-context strong {
  color: var(--accent);
  font-size: 13px;
}

.qr-shell {
  position: relative;
  width: 268px;
  height: 268px;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 12px;
  border-radius: 24px;
  background: #f4fff9;
  box-shadow:
    0 17px 46px rgba(0, 0, 0, .34),
    0 0 0 7px rgba(var(--accent-rgb), .055);
}

#qr {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.qr-loading {
  position: absolute;
  inset: 12px;
  display: grid;
  place-content: center;
  gap: 12px;
  color: #283a34;
  background: #f4fff9;
  border-radius: 12px;
  font-size: 13px;
}

.qr-loading[hidden] { display: none; }
.qr-loading > span { max-width: 190px; line-height: 1.4; }
.qr-loading button { width: auto; margin: 3px auto 0; padding: 10px 16px; }

.loader {
  width: 30px;
  height: 30px;
  margin: auto;
  border: 2px solid rgba(40, 58, 52, .15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.026em;
}

.setup-state > p,
.result-state > p {
  max-width: 360px;
  margin: 9px auto 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 22px 5px;
}

.steps span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #35413d;
  border-radius: 50%;
  color: #76837f;
  font-size: 10px;
  font-weight: 800;
}

.steps span.active {
  border-color: var(--accent);
  color: #111;
  background: var(--accent);
}

.steps i { flex: 1; height: 1px; background: #35413d; }

.step-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 9px;
  color: #74817d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.access-note {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 420px;
  margin: 17px auto 0;
  color: #899691;
  font-size: 10px;
  line-height: 1.5;
}

.result-state {
  position: relative;
  z-index: 1;
  padding-top: 7px;
}

.result-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .3);
  border-radius: 24px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
  font-size: 32px;
}

.result-icon.rejected {
  border-color: rgba(255, 111, 97, .22);
  color: #ff9c91;
  background: rgba(255, 90, 76, .09);
}

.result-icon.override {
  border-color: rgba(255, 197, 94, .28);
  color: #ffd37a;
  background: rgba(255, 185, 75, .1);
}

.result-kicker {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .2em;
}

.result-content {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  text-align: left;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}

.option strong,
.option small { display: block; }
.option strong { font-size: 13px; }
.option small { color: #82908b; font-size: 11px; }
.option b { color: var(--accent); font-size: 12px; white-space: nowrap; }

.policy-note {
  padding: 11px 13px;
  border-left: 2px solid var(--accent);
  color: #a7b3af;
  background: rgba(var(--accent-rgb), .055);
  font-size: 12px;
  line-height: 1.5;
}

button {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  color: #111;
  background: var(--action);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

button:hover { filter: brightness(1.07); }
button:disabled { cursor: wait; opacity: .68; }

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

footer {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  color: #77837f;
  font-size: 10px;
}

footer span:first-child { color: #a9b3b0; font-weight: 800; letter-spacing: .12em; }
footer span:last-child { text-align: right; }

@media (max-width: 1080px) {
  .business-nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(880px, 100%);
    margin: 0 auto;
  }
  .access-column {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(490px, 100%);
    margin: 0 auto 10px;
  }
  .business-panel { min-height: 322px; }
}

@media (max-width: 680px) {
  body::before { background-size: cover, cover, 450% auto; }
  .site-header,
  footer { width: min(100% - 28px, 1320px); }
  .site-header { min-height: 70px; gap: 12px; }
  .brand-name { font-size: 11px; letter-spacing: .08em; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .header-meta > span { display: none; }
  .header-meta strong { padding: 8px 10px; font-size: 8px; }
  main { padding: 42px 14px 58px; }
  .hero-copy { margin-bottom: 32px; }
  h1 { font-size: clamp(41px, 13vw, 60px); }
  .intro { font-size: 15px; }
  .experience-grid { grid-template-columns: 1fr; }
  .access-column { grid-column: auto; }
  .business-panel { min-height: auto; padding: 24px; }
  .access-card { padding: 25px 18px; border-radius: 26px; }
  .qr-shell { width: 246px; height: 246px; }
  footer { grid-template-columns: 1fr auto; }
  #footer-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .loader { animation-duration: 1.8s; }
}
