/* ============================================================
   tmrwX Group — Scan-to-book QR page
   A poster-style landing built for on-screen display at
   MyToday Lifestyle Hub and for clean A4/A5 printing.
   ============================================================ */

.qr-page {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--paper-2) 0%, var(--paper) 55%);
}

.qr-header {
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
}
.qr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.qr-logo img { width: clamp(120px, 20vw, 168px); height: auto; }
.qr-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-mute);
  padding: .55rem .9rem;
  border-radius: 999px;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.qr-back:hover { color: var(--ink); background: var(--surface-hover); }

.qr-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.qr-card {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
}

.qr-eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--champagne);
}

.qr-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  font-size: clamp(1.9rem, 5.2vw, 2.9rem);
  color: var(--ink);
  text-wrap: balance;
  max-width: 15ch;
}

.qr-lede {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--ink-mute);
  max-width: 40ch;
}

/* --- the code itself --- */
.qr-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-lift);
  padding: clamp(1rem, 3vw, 1.5rem);
}
.qr-frame img {
  width: clamp(220px, 60vw, 320px);
  height: auto;
  display: block;
}

.qr-scanline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.qr-scanline svg { width: 18px; height: 18px; flex: none; color: var(--champagne); }

.qr-url {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  justify-content: center;
}

.qr-textlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 48px;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.qr-textlink:hover { color: var(--champagne); border-color: var(--champagne); }

.qr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: center;
  padding-top: .35rem;
  color: var(--ink-mute);
  font-size: .84rem;
}
.qr-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.qr-meta b { color: var(--ink); font-weight: 600; }
.qr-meta i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--champagne); flex: none; font-style: normal;
}

.qr-footer {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-top: 1px solid var(--stone);
}
.qr-footer .wrap { text-align: center; }
.qr-footer p { font-size: .8rem; color: var(--ink-mute); }
.qr-footer a { color: var(--ink-mute); text-decoration: none; }
.qr-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------
   Print: strip the chrome, hand the page over to the code.
   ------------------------------------------------------------ */
@media print {
  :root { --paper: #fff; --paper-2: #fff; }
  .qr-page { background: #fff; min-height: auto; }
  .qr-back, .qr-actions, .qr-footer { display: none !important; }
  .qr-header { padding-top: 0; }
  .qr-main { padding: 0.5in 0; }
  .qr-frame {
    box-shadow: none;
    border: none;
  }
  .qr-frame img { width: 3.6in; }
  .qr-title { color: #000; }
  a[href]::after { content: ""; }
}
