/* =========================================================
   insta.gift — recipient page + landing.
   Card faces are ported verbatim from the gift_designs_preview.html
   approved during design review; the surrounding page chrome is new.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  line-height: 1.5;
  color: var(--page-ink, #181511);
  background: var(--page-bg, #F4EEDD);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

/* -------- brand header -------- */
.brand-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 28px;
}
.brand-bar .brand { font-weight: 600; }
.brand-bar .dot { opacity: 0.4; margin: 0 6px; }

/* =========================================================
   Card base — FIXED 360×227 so per-template absolute positions
   (ported verbatim from the preview) stay put. The stage wrapper
   below gives us responsive scaling on narrow viewports via
   CSS `transform` without having to rewrite every template.
========================================================= */
.card-stage {
  width: min(100%, 360px);
  aspect-ratio: 1.586;  /* reserves layout space equal to the scaled card */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* CSS variable computed per stage; 360 is the card's native width.
     On viewports ≥ 380px the scale resolves to 1; smaller stages
     shrink the card to fit without breaking internal positioning. */
  --scale: min(1, calc((100% - 0px) / 360));
}
.card {
  width: 360px;
  height: 227px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  transform-origin: top center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 60px -20px rgba(0,0,0,0.28),
    0 10px 20px -10px rgba(0,0,0,0.22);
}
.card * { position: relative; }
.card--dimmed { opacity: 0.55; }
.card--dimmed::after {
  content: ''; position: absolute; inset: 0; z-index: 5;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

/* On narrow viewports (phones), scale the fixed-size card to fit
   the available width. The stage's aspect-ratio already reserves the
   scaled space, so neighbours stay where they should. */
@media (max-width: 400px) {
  .card-stage {
    overflow: visible;
  }
  .card-stage > .card {
    transform: scale(calc((100vw - 32px) / 360));
  }
}
.card .grain {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.55;
}

/* =========================================================
   1. UNIVERSAL — editorial / timeless
========================================================= */
.card--universal {
  background:
    radial-gradient(140% 120% at 0% 0%, #F6EEE3 0%, #EFE4D0 60%, #E6D8BF 100%);
  color: #181511;
  padding: 22px 26px;
  font-family: 'Fraunces', serif;
}
.card--universal .topline {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7A6A53;
}
.card--universal .brand { color: #181511; font-weight: 500; }
.card--universal .amount {
  display: flex; align-items: baseline; gap: 6px;
  margin: 18px 0 14px;
}
.card--universal .amount .val {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 300; font-style: italic;
  font-size: 72px; line-height: 0.9;
  letter-spacing: -0.04em;
}
.card--universal .amount .ccy {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 300;
  color: #8A6B3D; transform: translateY(-18px);
}
.card--universal .rule {
  display: flex; align-items: center; gap: 10px;
  color: #B08A52; margin: 4px 0 14px;
}
.card--universal .rule span { flex: 1; height: 1px; background: currentColor; opacity: 0.5; }
.card--universal .foot {
  display: flex; justify-content: space-between; align-items: flex-end;
}
.card--universal .foot .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #8A7558; display: block; margin-bottom: 3px;
}
.card--universal .foot .value {
  font-family: 'Fraunces', serif;
  font-size: 16px; font-weight: 400; font-style: italic;
  font-variation-settings: "opsz" 72;
}
.card--universal .greeting-inline {
  position: absolute;
  right: 26px; top: 86px;
  width: 128px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 12px; line-height: 1.3;
  color: #6B5A3F;
  text-align: right;
  border-right: 1px solid rgba(176,138,82,0.45);
  padding-right: 10px;
}

/* =========================================================
   2. BIRTHDAY — joyful warm / golden hour
========================================================= */
.card--birthday {
  background:
    radial-gradient(120% 120% at 85% 10%, #FBE4C8 0%, #F3B98B 45%, #D96E3B 95%);
  color: #3B1F17;
  padding: 22px 26px;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.card--birthday .rays { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.card--birthday .topline {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #5F1C1C;
}
.card--birthday .topline .occasion {
  background: #3B1F17; color: #F8EBD5;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 9px;
}
.card--birthday .amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 82px; line-height: 0.85;
  letter-spacing: -0.05em;
  color: #3B1F17;
  margin-top: 28px;
  font-variation-settings: "wdth" 105;
}
.card--birthday .amount sup {
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 400;
  font-size: 30px; color: #5F1C1C;
  top: -24px; margin-left: 6px;
}
.card--birthday .foot {
  position: absolute; left: 26px; right: 26px; bottom: 20px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.card--birthday .to {
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1;
  color: #3B1F17;
}
.card--birthday .greeting-inline {
  text-align: right;
  max-width: 180px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 12.5px; line-height: 1.3;
  color: #5F1C1C;
}
.card--birthday .greeting-inline .shop {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-style: normal;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #7E3A1E;
  margin-top: 4px;
}

/* =========================================================
   3. NEW YEAR — midnight / constellation
========================================================= */
.card--new_year {
  background:
    radial-gradient(120% 90% at 70% 20%, #1E2C5B 0%, #0B1538 45%, #050813 100%);
  color: #E5C77C;
  padding: 22px 26px;
  font-family: 'Italiana', serif;
}
.card--new_year .stars,
.card--new_year .constellation { position: absolute; inset: 0; pointer-events: none; }
.card--new_year .topline {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #8BA3C4;
}
.card--new_year .topline .year { color: #E5C77C; }
.card--new_year .amount {
  margin-top: 22px;
  font-family: 'Italiana', serif;
  font-size: 64px; line-height: 0.95;
  letter-spacing: -0.02em;
  color: #F4E2B0;
}
.card--new_year .amount .ccy {
  font-size: 34px; margin-left: 4px; color: #E5C77C;
  letter-spacing: 0;
}
.card--new_year .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: 14px; color: #C8DAEB;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.card--new_year .foot {
  position: absolute;
  left: 26px; right: 26px; bottom: 18px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8BA3C4;
}
.card--new_year .foot strong {
  display: block;
  font-family: 'Italiana', serif;
  font-size: 16px; letter-spacing: 0.04em;
  font-weight: 400; text-transform: none;
  color: #E5C77C;
  margin-top: 2px;
}

/* =========================================================
   4. 8 МАРТА — botanical / refined
========================================================= */
.card--womens_day {
  background: linear-gradient(180deg, #F6EFDD 0%, #F0E4CC 100%);
  color: #30402A;
  padding: 22px 24px 22px 30px;
  font-family: 'Cormorant Garamond', serif;
}
.card--womens_day .botanical {
  position: absolute;
  left: -12px; top: -10px; bottom: -10px;
  width: 180px;
  pointer-events: none;
}
.card--womens_day .content {
  position: relative;
  margin-left: 134px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card--womens_day .topline {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #7E8A68;
  display: flex; justify-content: space-between;
}
.card--womens_day .topline .brand { color: #30402A; font-weight: 500; }
.card--womens_day .amount {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500; font-size: 60px;
  line-height: 0.9; letter-spacing: -0.02em;
  color: #30402A;
  font-style: italic;
  margin-top: 12px;
}
.card--womens_day .amount .ccy {
  font-size: 26px; color: #A36860;
  margin-left: 4px; font-weight: 400;
}
.card--womens_day .greeting-inline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px; color: #6B7A57;
  line-height: 1.3; max-width: 200px;
}
.card--womens_day .foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #7E8A68;
}
.card--womens_day .foot strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 500;
  font-size: 18px; letter-spacing: 0;
  text-transform: none;
  color: #30402A;
  margin-top: 2px;
}

/* =========================================================
   5. 23 ФЕВРАЛЯ — stoic / engineered
========================================================= */
.card--defenders_day {
  background: linear-gradient(180deg, #2E3520 0%, #1E2316 100%);
  color: #ECE5D5;
  padding: 20px 24px;
  font-family: 'Antonio', sans-serif;
}
.card--defenders_day .compass {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.16;
}
.card--defenders_day .topline {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: #C19A5B;
  border-bottom: 1px solid rgba(193,154,91,0.4);
  padding-bottom: 10px;
}
.card--defenders_day .topline .id { color: #7E8166; }
.card--defenders_day .middle {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 14px; margin-top: 14px;
}
.card--defenders_day .amount {
  font-family: 'Antonio', sans-serif;
  font-weight: 300; font-size: 74px;
  line-height: 0.85; letter-spacing: -0.01em;
  color: #ECE5D5;
}
.card--defenders_day .amount .ccy { color: #C19A5B; margin-left: 6px; font-weight: 300; }
.card--defenders_day .mark { width: 44px; height: 44px; display: block; }
.card--defenders_day .foot {
  position: absolute;
  left: 24px; right: 24px; bottom: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #8A8A6B;
}
.card--defenders_day .foot strong {
  display: block;
  font-family: 'Antonio', sans-serif;
  font-size: 18px; font-weight: 400;
  letter-spacing: 0.02em; color: #ECE5D5;
  text-transform: uppercase; margin-top: 3px;
}
.card--defenders_day .greeting-inline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 12px; color: #C19A5B;
  text-transform: none; letter-spacing: 0;
  position: absolute; right: 24px; top: 56px;
  text-align: right; max-width: 160px;
  line-height: 1.3;
}

/* =========================================================
   6. WEDDING — romantic / couture
========================================================= */
.card--wedding {
  background: radial-gradient(120% 100% at 50% 0%, #FBF5EA 0%, #F1E6CD 100%);
  color: #324438;
  padding: 20px 22px;
  font-family: 'Cormorant Garamond', serif;
  border: 1px solid rgba(182,137,87,0.3);
}
.card--wedding .wreath {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 54px;
  pointer-events: none;
}
.card--wedding .rings {
  position: absolute;
  bottom: 16px; right: 22px;
  width: 52px; height: 32px;
  opacity: 0.9;
}
.card--wedding .content {
  position: absolute; inset: 0;
  padding: 66px 22px 22px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card--wedding .brand {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #8B7A5B;
}
.card--wedding .amount {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: 54px; line-height: 1;
  color: #324438;
  letter-spacing: -0.01em;
}
.card--wedding .amount .ccy {
  color: #B68957;
  font-style: italic;
  font-size: 26px; margin-left: 4px;
}
.card--wedding .greeting-inline {
  font-family: 'Marcellus', serif;
  font-size: 13px;
  color: #6B5B3E;
  letter-spacing: 0.04em;
}
.card--wedding .foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #8B7A5B;
  text-align: left;
}
.card--wedding .foot .right { text-align: right; }
.card--wedding .foot strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px; letter-spacing: 0;
  font-weight: 500; text-transform: none;
  color: #324438;
  margin-top: 2px;
}

/* =========================================================
   status / summary / qr / greeting / shop / footer chrome
========================================================= */
.status-row {
  display: flex; gap: 8px; align-items: center;
  margin-top: 24px; flex-wrap: wrap;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
  background: rgba(255,255,255,0.6);
  color: var(--status-color, #3E7A2F);
  border: 1px solid currentColor;
}
.status-pill::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
}
.summary {
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  display: grid; gap: 12px;
}
.summary dl {
  margin: 0; display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
.summary dt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.6;
}
.summary dd {
  margin: 0 0 6px;
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em;
}
.summary dd span.sub {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; opacity: 0.55;
  font-weight: 400; letter-spacing: 0.04em;
  margin-top: 2px;
}
.summary dd.warn { color: #997000; }

.qr-wrap {
  margin-top: 24px;
  background: #FFFDF7;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px -12px rgba(0,0,0,0.25);
}
.qr-wrap__title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.65; margin-bottom: 14px;
}
.qr-wrap__body { max-width: 260px; margin: 0 auto; }
.qr-wrap svg { width: 100%; height: auto; }
.qr-wrap__hint {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  margin: 18px 0 0;
  color: #181511;
}
.qr-wrap__code {
  margin-top: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em;
  color: rgba(24,21,17,0.55);
  word-break: break-all;
}

.greeting {
  margin: 24px 0 0;
  padding: 22px 24px;
  background: rgba(255,255,255,0.55);
  border-left: 3px solid var(--card-accent, #B08A52);
  border-radius: 0 14px 14px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px; line-height: 1.5;
  color: var(--page-ink);
}
.greeting cite {
  display: block;
  margin-top: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.65; font-style: normal;
}

.wallet-buttons {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.wallet-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 14px;
  min-height: 54px;
  border-radius: 10px;
  text-decoration: none;
  border: none; cursor: pointer;
  background: #181511; color: #F6EFDD;
}
.wallet-btn--light {
  background: #fff; color: #181511; border: 1px solid #dcd0b4;
}
.wallet-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.wallet-btn span {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.01em;
}
.wallet-btn span small {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.04em; opacity: 0.8;
  text-transform: lowercase;
  margin-bottom: 1px;
}

.shop {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: grid; gap: 6px;
  font-family: 'Fraunces', serif;
  font-size: 15px;
}
.shop strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
}
.shop a { text-decoration: none; opacity: 0.85; }
.shop a:hover { opacity: 1; }
.shop-socials {
  margin-top: 6px;
  display: flex; gap: 10px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.shop-socials a {
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.7;
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.55;
  text-align: center;
}

/* =========================================================
   landing
========================================================= */
.landing {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.landing__hero {
  display: grid; gap: 18px;
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.landing__eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.6;
}
.landing__title {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.landing__title em {
  font-style: italic;
  color: #B08A52;
  font-weight: 300;
}
.landing__lede {
  font-family: 'Instrument Serif', 'Fraunces', serif;
  font-style: italic;
  font-size: 20px; line-height: 1.4;
  opacity: 0.85;
  margin: 0;
}
.landing__cta {
  display: inline-block;
  padding: 14px 28px;
  background: #181511;
  color: #F6EFDD;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500;
  margin-top: 8px;
  justify-self: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 40px 28px;
  margin-top: 40px;
  justify-items: center;
}
.gallery figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.gallery figcaption {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7;
}

.steps {
  margin: 72px auto 0;
  max-width: 840px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.step {
  padding: 22px;
  background: rgba(255,255,255,0.5);
  border-radius: 14px;
}
.step__num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 36px; line-height: 1;
  color: #B08A52;
  margin-bottom: 8px;
}
.step__title {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 500;
  margin: 4px 0 6px;
}
.step__body {
  font-family: 'Instrument Serif', 'Fraunces', serif;
  font-style: italic;
  font-size: 15px; line-height: 1.5;
  opacity: 0.85;
}

/* =========================================================
   error / 404
========================================================= */
.message-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.message-page__title {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 12px;
}
.message-page__text {
  font-family: 'Instrument Serif', 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  margin: 0 0 24px;
  opacity: 0.8;
}
.message-page a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}

@media (max-width: 420px) {
  .container { padding: 20px 16px 48px; }
  .qr-wrap { padding: 20px; }
}
