/* Guide-side: hent booking-appen (kan også printes som plakat) */

.g { max-width: 860px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top)) 20px 60px; }
.g-head { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; }
.g-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--clay); }
.g-brand .lotus { width: 40px; }
.g-brand .wordmark { width: 150px; }

.g-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-top: 48px; }
.g-top h1 { margin: 12px 0 0; font: 300 clamp(44px, 7vw, 76px)/1 var(--serif); letter-spacing: -.02em; font-variation-settings: 'SOFT' 80, 'opsz' 144; }
.g-top h1 em { color: var(--clay); }
.g-lead { margin: 20px 0 28px; max-width: 440px; color: var(--ink-2); font-size: 17px; }
.g-open svg { width: 18px; height: 18px; }
.g-qr { margin: 0; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--sh); text-align: center; }
.g-qr img { display: block; width: 220px; height: 220px; }
.g-qr figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: #4a4038; }

.g-warn { margin-top: 32px; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--warn) 14%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 35%, transparent); font-size: 15px; color: var(--ink); }

.g-steps { margin-top: 56px; }
.g-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.g-tabs button { height: 40px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.g-tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.g-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.g-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.g-list .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--clay); color: #fff; font: 400 20px var(--serif); }
.g-list b { font-weight: 600; font-size: 17px; }
.g-list p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.ico-inline svg { width: 18px; height: 18px; vertical-align: -3px; }

.g-faq { margin-top: 48px; }
.g-faq details { border-top: 1px solid var(--line); }
.g-faq details:last-child { border-bottom: 1px solid var(--line); }
.g-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; font: 300 24px/1 var(--serif); color: var(--muted); }
.g-faq details[open] summary::after { content: '−'; }
.g-faq p { margin: 0 0 18px; color: var(--ink-2); }
.g-print { margin-top: 40px; }
.g-foot { margin-top: 24px; font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .g-top { grid-template-columns: 1fr; margin-top: 32px; }
  .g-qr { justify-self: start; }
  .g-qr img { width: 160px; height: 160px; }
  .g-print { display: none; }
}

/* Print: en ren plakat med stor QR og trinene for begge telefoner */
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: #fff !important; color: #000; }
  .g { max-width: none; padding: 0; }
  .g-top { grid-template-columns: 1fr; text-align: center; justify-items: center; margin-top: 20mm; }
  .g-top h1 { font-size: 48pt; }
  .g-lead { margin: 8mm auto; font-size: 13pt; }
  .g-open, .g-tabs, .g-faq, .g-print, .g-warn { display: none !important; }
  .g-qr { box-shadow: none; padding: 0; }
  .g-qr img { width: 80mm; height: 80mm; }
  .g-qr figcaption { font-size: 14pt; }
  .g-list[hidden] { display: block !important; }
  .g-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; margin-top: 12mm; }
  .g-list::before { display: block; font: 600 13pt var(--sans); margin-bottom: 3mm; }
  .g-list[data-for="ios"]::before { content: 'iPhone'; }
  .g-list[data-for="android"]::before { content: 'Android'; }
  .g-list li { padding: 3mm 0; break-inside: avoid; }
  .g-list .n { width: 8mm; height: 8mm; font-size: 11pt; }
  .g-brand { display: flex; justify-content: center; }
  .g-foot { text-align: center; margin-top: 10mm; }
}
