/* Skanzu site design — one stylesheet for every page on skanzu.com.
   Palette and type follow the app's design system; the dark set is swapped by
   prefers-color-scheme rather than light-dark(), so older browsers get it. */
:root {
  color-scheme: light dark;
  --paper: #f7faf6; --card: #fff; --ink: #142822; --muted: #4b635b;
  --line: #dbe5dd; --accent: #086c5b; --on: #fff; --soft: #e7f5ed;
  --night: #102f28; --mint: #a4f0cd; --danger: #b42318;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121c1a; --card: #1b2926; --ink: #edf7f1; --muted: #b0c4ba;
    --line: #3b5148; --accent: #91edcd; --on: #112920; --soft: #243c33;
    --night: #0c211b; --danger: #fca5a5;
  }
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink);
       font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif }
:is(h1, h2, h3, p, figure) { margin: 0; color: inherit }
img { max-width: 100%; height: auto }
a { color: inherit }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.hidden { display: none !important }
.wrap { max-width: 1160px; margin: auto; padding-inline: clamp(17px, 5vw, 56px) }
.skip { position: absolute; z-index: 10; inset: 6px auto auto 6px;
        padding: 8px; background: var(--card); transform: translateY(-150%) }
.skip:focus { transform: none }

/* ------------------------------- chrome ------------------------------- */

.bar { border-bottom: 1px solid var(--line) }
.mainnav { min-height: 67px; display: flex; align-items: center;
           justify-content: space-between; gap: 14px; flex-wrap: wrap }
.logo { font-size: 23px; letter-spacing: -0.05em; font-weight: 800;
        text-decoration: none; display: inline-flex; align-items: center; gap: 9px }
.logo .mark { display: inline-grid; place-items: center; background: var(--accent);
              color: var(--on); padding: 6px; border-radius: 8px }
.logo svg { width: 24px; height: 24px }
.navlinks { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); flex-wrap: wrap }
.navlinks a { font-size: 13px; font-weight: 650; text-decoration: none }
.navlinks a:hover { text-decoration: underline }

footer { border-top: 1px solid var(--line) }
footer .wrap { min-height: 67px; display: flex; align-items: center;
               justify-content: space-between; gap: 14px; flex-wrap: wrap;
               font-size: 12px; color: var(--muted); padding-block: 12px }
footer .logo { font-size: 19px; color: var(--ink) }
footer .navlinks a { font-size: 12px; font-weight: 600 }
footer a:hover { text-decoration: underline }

/* ------------------------------ typography ------------------------------ */

.eyebrow { font-size: 12px; letter-spacing: 0.13em; font-weight: 750;
           text-transform: uppercase; color: var(--accent) }
h1 { font-size: clamp(36px, 6vw, 70px); line-height: 1.01; letter-spacing: -0.065em;
     margin: 12px 0 16px; font-weight: 800 }
h1 span { display: block; color: var(--accent) }
h2 { font-size: clamp(25px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.045em;
     margin: 8px 0 10px; font-weight: 750 }
h3 { font-size: 17px; font-weight: 750 }
.sub { color: var(--muted); font-size: 16px; max-width: 60ch }
small { color: var(--muted) }

/* ------------------------------- controls ------------------------------- */

:is(button, .button) { display: inline-flex; align-items: center; justify-content: center;
                       gap: 7px; border: 1px solid var(--line); padding: 10px 14px;
                       min-height: 44px; border-radius: 8px; background: var(--card);
                       color: var(--ink); font: 650 13px system-ui, sans-serif;
                       text-decoration: none; cursor: pointer }
.primary { background: var(--accent); border-color: var(--accent); color: var(--on) }
button:disabled { opacity: 0.55; cursor: default }
:is(button, .button):hover { text-decoration: underline }

label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 4px }
:is(input, select) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--line);
                     border-radius: 8px; padding: 8px 10px; background: var(--card);
                     color: var(--ink); font: inherit }
.field { margin-bottom: 10px }
.field label:not(:first-child) { margin-top: 10px }

/* -------------------------------- hero -------------------------------- */

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center; gap: clamp(22px, 5vw, 58px);
        padding-block: clamp(34px, 6vw, 72px) }
.hero .sub { max-width: 38ch }
.hero .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
                 margin: 21px 0 10px }
.trust { display: block; font-size: 13px; color: var(--muted) }

.demo { background-color: var(--night);
        background-image: radial-gradient(#a4f0cd30 1px, transparent 1px);
        background-size: 17px 17px; border-radius: 20px;
        padding: clamp(13px, 3.2vw, 30px); color: #e8fcf2 }
.demo .eyebrow { color: var(--mint) }
.demo-card { background: var(--card); color: var(--ink); border-radius: var(--radius);
             margin-top: 12px; padding: 15px; display: grid; gap: 12px }
.demo-top { display: flex; gap: 12px; align-items: center; min-width: 0 }
.demo-qr { width: 70px; height: 70px; flex: none; background: #fff;
           border: 1px solid var(--line); border-radius: 7px; overflow: hidden }
.demo-qr :is(svg, canvas) { display: block; width: 100%; height: 100% }
.target { display: grid; gap: 1px; padding: 9px 11px; border-radius: 8px;
          background: var(--soft); font-size: 13px; min-width: 0; flex: 1 1 auto }
.target b { font-size: 12px; font-weight: 650; color: var(--muted) }
.target span { overflow-wrap: anywhere }
.demo-card button { justify-self: start }
.demo figcaption { font-size: 12px; margin-top: 9px; color: #d0e7dd }

/* --------------------------- page head + tool --------------------------- */

.page-head { padding-block: clamp(26px, 5vw, 52px) 6px }
.page-head h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.05em }
.page-head .sub { margin-top: 0; max-width: 62ch }
.page-head .actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
                      margin-top: 16px }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px }
.crumbs a { text-decoration: none }
.crumbs a:hover { text-decoration: underline }

.section { padding-block: clamp(30px, 5vw, 56px); border-top: 1px solid var(--line) }

.tool { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        background: var(--card); border: 1px solid var(--line);
        border-radius: var(--radius); overflow: hidden; margin-top: 20px }
.tool form, .tool .preview { padding: clamp(14px, 3vw, 27px) }
.tool .preview { border-left: 1px solid var(--line); background: var(--soft);
                 display: grid; align-content: center; justify-items: center; gap: 10px }
#qr { width: 110px; height: 110px; background: #fff; border: 1px solid var(--line);
      border-radius: 7px; overflow: hidden }
#qr :is(svg, canvas) { display: block; width: 100%; height: 100% }
#qr:empty { display: none }
.qr-label { font-size: 13px; font-weight: 650 }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
                margin-top: 14px }
.hint { font-size: 12px; color: var(--muted); max-width: 46ch }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
         gap: 10px; margin-top: 18px }
.step { border: 1px solid var(--line); border-radius: 12px; padding: 14px;
        background: var(--card) }
.step b { color: var(--accent); font-size: 13px }
.step p { color: var(--muted); font-size: 13px; margin-top: 5px }

.uses-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
             gap: 10px; margin-top: 18px }
.uses-grid a { display: flex; align-items: center; gap: 9px; font-size: 13px;
               font-weight: 650; text-decoration: none; min-height: 48px;
               border: 1px solid var(--line); border-radius: 12px; padding: 14px;
               background: var(--card) }
.uses-grid a:hover { border-color: var(--accent) }
.uses-grid i { color: var(--accent); flex: none; display: inline-flex }
.uses-grid svg { width: 24px; height: 24px }

/* ------------------------------ waitlist ------------------------------ */

.wait-band { background: var(--soft) }
.wait { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center; gap: clamp(22px, 5vw, 58px) }
.wait .sub { font-size: 15px }
.wait-cta { margin-top: 16px }
.wait-form label { margin-top: 0 }
.wait-form .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center }
.wait-form input { flex: 1 1 145px; width: auto }
.wait-form .note { font-size: 12px; color: var(--muted); margin-top: 6px }
.wait-form .note a { text-decoration: underline }
.wait-alt { font-size: 13px; color: var(--muted); text-align: center }
.wait-alt a { color: var(--accent); text-decoration: underline }
#wl-done { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent) }
#wl-msg { margin-top: 8px; font-size: 13px; color: var(--danger) }

/* --------------------------- prose, FAQ, chips --------------------------- */

.stack { display: grid; gap: 14px; max-width: 820px; margin-inline: auto }
.legal-page .wrap { max-width: 960px }
.legal { padding-block: clamp(24px, 5vw, 48px) }
.legal .stack { max-width: 760px }
.legal h1 { font-size: clamp(29px, 5vw, 44px); line-height: 1.08;
            letter-spacing: -0.05em; margin: 0 0 7px }
.legal .fine { margin: 12px 0 0; font-size: 13px; color: var(--muted) }
.legal .prose h2 { font-size: 19px; letter-spacing: -0.02em }
.legal .prose h2:first-of-type { margin-top: 22px }
.legal a { color: var(--accent) }
.legal-page footer .wrap { justify-content: flex-start; gap: 8px; min-height: 56px;
                           padding-block: 0; font-size: 13px }
.legal-page footer a { color: var(--accent) }
/* Long-form guides: the header and the cards share one narrower column, so the
   article reads as a block and lines stay near a comfortable measure. */
.article-col { max-width: 700px; margin-inline: auto }
.article .stack { max-width: 700px }
.article .page-head h1 { text-wrap: balance }
.card { background: var(--card); border: 1px solid var(--line);
        border-radius: var(--radius); padding: clamp(14px, 3vw, 24px) }
.prose h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 22px 0 0 }
.prose :is(h2:first-child, h2:first-of-type) { margin-top: 0 }
.prose p { color: var(--muted); margin-top: 6px }
.prose :is(ul, ol) { margin-top: 6px; padding-left: 20px; color: var(--muted);
            display: grid; gap: 6px }
.prose li::marker { color: var(--accent) }
.prose code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: 0.9em }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0 }
.faq details:last-of-type { border-bottom: none; padding-bottom: 0 }
.faq summary { cursor: pointer; font-weight: 650 }
.faq p { font-size: 14px }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.chips a { font-size: 13px; font-weight: 650; padding: 8px 12px; min-height: 44px;
           display: inline-flex; align-items: center;
           border: 1px solid var(--line); border-radius: 999px;
           background: var(--card); text-decoration: none }
.chips a:hover { border-color: var(--accent); color: var(--accent) }

/* ------------------------------ responsive ------------------------------ */

@media (max-width: 760px) {
  .hero, .wait { grid-template-columns: 1fr }
  .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 640px) {
  .tool, .steps { grid-template-columns: 1fr }
  .tool .preview { border-left: 0; border-top: 1px solid var(--line) }
}
@media (max-width: 460px) {
  .bar .navlinks a:first-child { display: none }
}
