/* Ospitalk — "Il libretto di casa che sa rispondere".
   Carta calda, inchiostro, verde portone e terracotta: oggetti dell'accoglienza
   (targhetta QR, portachiavi, ricevuta, biglietto di benvenuto, timbri). */
:root {
  --paper: #f6f0e4;
  --paper-2: #ece3d2;
  --card: #fffdf8;
  --ink: #1b2420;
  --ink-soft: #4a524c;
  --rule: rgba(27, 36, 32, .24);
  --green: #1f5a45;
  --green-dk: #163f31;
  --terra: #a8462a;
  --terra-dk: #8e3a22;
  --gold: #e3b54c;
  --brass: #9a7a3f;
  --bubble: #dce8de;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--terra-dk); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--terra); }
main a:not(.btn) { text-decoration-style: dashed; }
main a:not(.btn):hover { text-decoration-style: solid; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 23px; line-height: 1.2; }
.lead { max-width: 640px; margin: 0 0 1em; color: var(--ink-soft); font-size: 20px; }
.nowrap { white-space: nowrap; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Numero di sezione come la targhetta di una stanza */
main { counter-reset: room; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--terra-dk);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-grid;
  min-width: 50px;
  height: 34px;
  padding: 0 10px;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  outline: 1px solid currentColor;
  outline-offset: 2px;
  content: counter(room, decimal-leading-zero);
  counter-increment: room;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow::after { flex: 0 1 110px; border-top: 2px dotted currentColor; content: ''; opacity: .55; }
.label { display: block; margin: 0 0 12px; color: var(--terra-dk); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Pulsante: terracotta pieno con "spessore" da timbro */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 12px;
  background: var(--terra);
  box-shadow: 0 4px 0 var(--terra-dk);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background .15s, box-shadow .15s, transform .15s;
}
.btn:hover { background: var(--terra-dk); box-shadow: 0 2px 0 #6a2a17; color: #fff; transform: translateY(2px); }
.btn .ico { width: 22px; height: 22px; stroke-width: 1.8; }
.text-link { font-weight: 700; }

/* Timbri */
.stamp {
  display: inline-block;
  padding: 3px 10px;
  border: 2px solid currentColor;
  border-radius: 6px;
  background: var(--card);
  color: var(--terra-dk);
  font-family: var(--sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-5deg);
}
.stamp-green { color: var(--green); }
.stamp-ink { color: var(--ink); }

/* Testata */
.site-head { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.01em; line-height: 1; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 26px; height: 34px; flex: none; }
.site-head nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px 22px; flex-wrap: wrap; }
.site-head nav a { color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--terra-dk); text-decoration: underline; text-decoration-style: dashed; }
.site-head .nav-cta { padding: 10px 16px; border-radius: 10px; background: var(--green); color: #fff; }
.site-head .nav-cta:hover { background: var(--green-dk); color: #fff; text-decoration: none; }

/* Hero */
.hero { padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.kicker { display: block; margin-bottom: 18px; color: var(--green); font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: .01em; line-height: 1.4; }
.hero h1 { margin-bottom: 24px; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.02; }
.hero h1 em, .vertical-hero h1 em { color: var(--terra-dk); font-style: italic; font-weight: 500; }
.hero .lead { margin-bottom: 30px; }
.hero-note { max-width: 520px; margin: 20px 0 0; color: var(--ink-soft); font-size: 16px; }

/* Scena: targhetta QR appesa + percorso della domanda */
.scene { position: relative; margin: 0; }
.placard {
  position: relative;
  z-index: 2;
  width: 196px;
  margin: 40px 0 -34px 18px;
  padding: 26px 18px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 5px 5px 0 var(--paper-2);
  color: var(--ink);
  text-align: center;
  transform: rotate(-4deg);
  transform-origin: 50% 0;
}
.placard::before, .placard::after { position: absolute; top: 10px; width: 8px; height: 8px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); content: ''; }
.placard::before { left: 22px; }
.placard::after { right: 22px; }
.placard-string { position: absolute; top: -36px; left: 24px; width: calc(100% - 48px); height: 50px; overflow: visible; }
.placard-name { display: block; font-family: var(--serif); font-size: 21px; font-style: italic; font-weight: 600; line-height: 1.1; }
.placard-qr { display: block; width: 104px; height: 104px; margin: 10px auto; color: var(--ink); }
.placard-text { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }

.trail {
  position: relative;
  margin: 0;
  padding: 58px 26px 28px 56px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 8px 8px 0 var(--green);
  list-style: none;
}
.trail::before { position: absolute; top: 70px; bottom: 44px; left: 29px; border-left: 2px dashed var(--terra); content: ''; transform-origin: top; animation: draw 1.4s ease-out .2s backwards; }
.msg { position: relative; max-width: 360px; margin: 0 0 16px; padding: 12px 16px; border-radius: 4px 16px 16px 16px; font-size: 17px; line-height: 1.4; }
.msg::before { position: absolute; top: 16px; left: -33px; width: 12px; height: 12px; border: 2px solid var(--terra); border-radius: 50%; background: var(--card); content: ''; }
.msg:last-child { margin-bottom: 0; }
.who { display: block; margin-bottom: 3px; color: var(--ink-soft); font-size: 16px; font-weight: 700; }
.msg-guest { border: 1.5px solid var(--ink); background: var(--paper); }
.msg-auto { margin-left: 24px; background: var(--green); color: #fff; }
.msg-auto .who { color: #dbe8df; }
.msg-auto::before { left: -57px; }
.msg-relay { display: flex; width: fit-content; align-items: center; gap: 8px; padding: 8px 16px; border: 2px dashed var(--terra); border-radius: 999px; color: var(--terra-dk); font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 500; }
.msg-relay .ico { width: 22px; height: 22px; }
.msg-host { margin-left: 24px; border: 1.5px solid var(--green); background: var(--bubble); }
.msg-host::before { left: -57px; }
.msg:has(.stamp) { margin-bottom: 30px; padding-bottom: 24px; }
.msg .stamp { position: absolute; right: -12px; bottom: -16px; animation: thump .45s cubic-bezier(.3, 1.5, .6, 1) 1.1s; }
.msg-host .stamp { animation-delay: 2s; }
.scene figcaption { max-width: 460px; margin: 26px 0 0 4px; color: var(--ink-soft); font-size: 16px; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes thump { 0% { transform: rotate(-5deg) scale(1); } 40% { transform: rotate(-8deg) scale(1.25); } 100% { transform: rotate(-5deg) scale(1); } }

/* Sezioni */
section { padding: 96px 0; }
.band { background: var(--paper-2); }
.sec-head { max-width: 780px; }
.sec-head .lead { margin-bottom: 0; }

/* Registro: domande vere, cosa succede */
.ledger { margin: 40px 0 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 230px; gap: 12px 40px; align-items: center; padding: 28px 0; border-bottom: 2px dashed var(--rule); }
.ledger q { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); font-style: italic; line-height: 1.2; quotes: '«' '»'; }
.ledger p { margin: 0; color: var(--ink-soft); }
.ledger .stamp { justify-self: end; }

/* Come funziona: ricevuta di attivazione */
.how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.voice { display: flex; max-width: 330px; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 18px 10px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--green); }
.voice-play { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border-radius: 50%; background: var(--green); }
.voice-play::before { margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #fff; content: ''; }
.voice .ico { width: auto; height: 28px; flex: 1; stroke-width: 3; }
.voice-time { color: var(--ink-soft); font-size: 16px; font-weight: 700; }
.voice-cap { max-width: 360px; margin: 12px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 19px; font-style: italic; line-height: 1.4; }
.receipt { position: relative; padding: 26px 34px 30px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--card); box-shadow: 6px 6px 0 var(--ink); transform: rotate(.6deg); }
.receipt-head { margin: 0; padding-bottom: 16px; border-bottom: 2px dashed var(--rule); font-size: 16px; font-weight: 700; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.steps { margin: 0; padding: 0; counter-reset: step; list-style: none; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; border-bottom: 2px dashed var(--rule); }
.step::before { grid-row: span 2; color: var(--terra); content: counter(step, decimal-leading-zero); counter-increment: step; font-family: var(--serif); font-size: 40px; font-style: italic; font-weight: 500; line-height: 1; }
.step h3 { font-size: 22px; }
.step p { margin: 0; color: var(--ink-soft); }
.receipt-foot { margin: 18px 0 0; font-family: var(--serif); font-size: 20px; font-style: italic; text-align: center; }

/* Punti di forza: pagina di libretto, non card */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; border-top: 4px double var(--ink); }
.feature { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 18px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.feature .ico { grid-row: span 2; width: 52px; height: 52px; padding: 11px; border: 1.5px solid var(--green); border-radius: 50%; color: var(--green); }
.feature h3 { align-self: end; font-size: 22px; }
.feature p { margin: 0; color: var(--ink-soft); }

/* Bacheca delle chiavi: un portachiavi per ogni tipo di struttura */
.keyrack { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 56px; padding-top: 52px; }
.keyrack::before { position: absolute; top: 0; right: 0; left: 0; height: 12px; border-radius: 6px; background: #5c4330; content: ''; }
.keytag { position: relative; padding: 66px 28px 30px; border-radius: 48px 48px 16px 16px; background: var(--green); color: var(--paper); transform: rotate(-2deg); transform-origin: 50% -40px; }
.keytag:nth-child(2) { background: var(--terra); transform: rotate(1.5deg); }
.keytag:nth-child(3) { background: var(--ink); transform: rotate(-1deg); }
.keytag::before { position: absolute; top: 20px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); content: ''; }
.keytag::after { position: absolute; top: -46px; left: 50%; width: 34px; height: 82px; margin-left: -17px; border: 3px solid var(--brass); border-radius: 17px; content: ''; }
.keytag h3 { margin-bottom: 10px; font-size: 28px; text-align: center; }
.keytag p { margin: 0 0 14px; }
.keytag p:last-child { margin: 0; }
.keytag a { color: var(--paper); }
.keytag a:hover { color: #fff; }

/* Biglietto di benvenuto per i primi host */
.welcome-sec { background: var(--green-dk); color: var(--paper); }
.welcome { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.welcome-card { padding: 46px 46px 40px; border-radius: 6px; background: var(--card); box-shadow: 10px 10px 0 rgba(0, 0, 0, .28); color: var(--ink); outline: 1.5px solid var(--terra); outline-offset: -14px; transform: rotate(-1.2deg); }
.welcome-card p { margin: 0 0 22px; color: var(--ink-soft); }
.welcome-card p:last-child { margin: 0; }
.welcome ul { margin: 0; padding: 0; list-style: none; }
.welcome li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-bottom: 1px dashed rgba(246, 240, 228, .4); }
.welcome li .ico { margin-top: 2px; color: var(--gold); stroke-width: 2.2; }

/* Domande frequenti */
.faq { max-width: 820px; margin-top: 32px; border-top: 2px solid var(--ink); }
details { border-bottom: 2px dashed var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.25; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border: 1.5px solid var(--terra-dk); border-radius: 50%; color: var(--terra-dk); content: '+'; font-family: var(--sans); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 720px; margin: 0 0 24px; color: var(--ink-soft); }

/* Chiusura: grande etichetta da valigia con il QR reale */
.final-cta { padding: 96px 0 112px; }
.bigtag { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; max-width: 1000px; margin-inline: auto; padding: 50px 56px 50px 132px; border: 2px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: 8px 8px 0 var(--terra); }
.bigtag::before { position: absolute; top: 50%; left: 34px; width: 34px; height: 34px; margin-top: -17px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 6px var(--paper-2); content: ''; }
.bigtag::after { position: absolute; top: 18px; bottom: 18px; left: 96px; border-left: 2px dashed var(--rule); content: ''; }
.bigtag h2 { max-width: 620px; }
.bigtag .lead { margin-bottom: 28px; }
.bigtag-number { margin: 20px 0 0; color: var(--green); font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.bigtag-qr { width: 190px; margin: 0; text-align: center; }
.bigtag-qr img { display: block; width: 168px; height: 168px; margin: 0 auto 10px; padding: 6px; border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; }
.bigtag-qr figcaption { color: var(--ink-soft); font-size: 16px; line-height: 1.4; }
.related { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.related a { font-weight: 700; }

/* Pagine per tipo di struttura */
.vertical-hero { padding: 40px 0 84px; }
.vertical-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; align-items: center; }
.vertical-hero h1 { margin-bottom: 22px; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; }
.vertical-hero .lead { margin-bottom: 30px; }
.vertical-hero .placard { width: 220px; margin: 40px auto 0; transform: rotate(3deg); }
.breadcrumb { margin: 0 0 26px; color: var(--ink-soft); font-size: 16px; }
.breadcrumb a { color: var(--ink-soft); }
.badge { display: block; margin-bottom: 14px; color: var(--green); font-size: 17px; font-weight: 700; }

/* Tre voci in colonna, come un registro (non card) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 2px solid var(--ink); border-bottom: 2px dashed var(--rule); counter-reset: voce; }
.card { padding: 26px 28px 28px 0; }
.card + .card { padding-left: 28px; border-left: 2px dashed var(--rule); }
.card h3 { margin-bottom: 10px; font-size: 22px; }
.card h3::before { display: block; margin-bottom: 6px; color: var(--terra); content: 'N° ' counter(voce); counter-increment: voce; font-size: 19px; font-style: italic; font-weight: 500; }
.card p { margin: 0; color: var(--ink-soft); }
.band .narrow { padding-left: 28px; border-left: 3px solid var(--terra); }
.band .narrow p:last-child { margin-bottom: 0; }

/* Piede */
.site-foot { padding: 48px 0 56px; border-top: 2px dashed var(--rule); color: var(--ink-soft); font-size: 16px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr); gap: 28px 48px; }
.site-foot strong { color: var(--ink); }
.foot-nav { display: flex; flex-direction: column; gap: 4px; }
.foot-nav a { color: var(--ink); font-weight: 700; }
.footer-links { text-align: right; }

/* Privacy */
.privacy-page { width: min(760px, 100% - 40px); margin: 48px auto 88px; }
.privacy-page h1 { margin: 0 0 8px; font-size: clamp(38px, 6vw, 52px); }
.privacy-page h2 { margin-top: 40px; padding-top: 24px; border-top: 2px dashed var(--rule); font-size: 26px; }
.privacy-page li + li { margin-top: 8px; }
.privacy-page .meta { color: var(--ink-soft); font-size: 16px; }
.privacy-page h3 { margin: 28px 0 8px; font-size: 21px; }
.privacy-page ol > li::marker { font-weight: 700; }
.privacy-page .box { margin: 24px 0; padding: 20px 24px; border: 2px solid var(--ink); border-radius: 14px; background: var(--card); }
.privacy-page .box > :first-child { margin-top: 0; }
.privacy-page .box > :last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 24px 0; }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.legal-table th, .legal-table td { padding: 12px 10px; border-bottom: 1.5px dashed var(--rule); text-align: left; vertical-align: top; }
.legal-table th { border-bottom: 2px solid var(--ink); font-family: var(--serif); font-size: 18px; }

/* Consenso cookie */
.link-btn { padding: 0; border: 0; background: none; color: var(--terra-dk); font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--terra); }
.cookie-banner { position: fixed; z-index: 50; right: 16px; bottom: 16px; left: 16px; max-width: 560px; margin-inline: auto; padding: 22px 24px 20px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 6px 6px 0 var(--green); font-size: 16px; line-height: 1.5; }
.cookie-banner p { margin: 0 0 14px; padding-right: 28px; }
.cookie-title { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.cookie-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.cookie-x:hover { background: var(--paper); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cookie-btn { padding: 12px 18px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.cookie-btn:hover { background: var(--ink); color: var(--paper); }
@media print { .cookie-banner { display: none; } }

@media (max-width: 1000px) {
  .site-head .nav-x { display: none; }
  .hero-grid, .how, .welcome { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding-top: 32px; }
  .scene { max-width: 520px; }
  .ledger li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ledger .stamp { grid-column: 1 / -1; justify-self: start; }
  .keyrack { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 64px; padding-top: 0; }
  .keyrack::before { display: none; }
  .keytag::after { top: -40px; height: 74px; }
  .vertical-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .vertical-hero .placard { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card, .card + .card { padding: 24px 0; border-left: 0; }
  .card + .card { border-top: 2px dashed var(--rule); }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-links { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 760px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .bigtag { grid-template-columns: minmax(0, 1fr); padding: 92px 24px 34px; text-align: left; }
  .bigtag::before { top: 26px; left: 50%; margin-top: 0; margin-left: -17px; }
  .bigtag::after { top: 76px; right: 18px; bottom: auto; left: 18px; border-top: 2px dashed var(--rule); border-left: 0; }
  .bigtag-qr { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { width: min(1120px, 100% - 32px); }
  .lead { font-size: 18px; }
  section { padding: 64px 0; }
  .site-head .nav-y { display: none; }
  .logo { font-size: 26px; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .btn { width: 100%; justify-content: center; }
  .placard { width: 176px; margin-left: 10px; }
  .placard-qr { width: 88px; height: 88px; }
  .trail { padding: 54px 18px 26px 44px; box-shadow: 6px 6px 0 var(--green); }
  .trail::before { left: 21px; }
  .msg::before { left: -29px; }
  .msg-auto, .msg-host { margin-left: 14px; }
  .msg-auto::before, .msg-host::before { left: -43px; }
  .msg .stamp { right: -8px; }
  .eyebrow { gap: 12px; }
  .eyebrow::after { display: none; }
  .keytag { padding: 62px 22px 26px; transform: rotate(-1deg); transform-origin: 50% 0; }
  .keytag:nth-child(2) { transform: rotate(.6deg); }
  .band .narrow { padding-left: 18px; }
  .keytag:nth-child(3) { transform: rotate(-.6deg); }
  .ledger li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .receipt { padding: 20px 20px 24px; transform: none; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; }
  .step::before { font-size: 32px; }
  .welcome-card { padding: 38px 30px 32px; transform: none; }
  summary { font-size: 20px; }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .logo { font-size: 23px; }
  .site-head .nav-cta { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
