/* Pydaho Labs — shared styles for /shortcuts/ pages (mirrors index.html tokens) */
:root {
  --copper: #C27D45;
  --copper-hi: #E0A06C;
  --copper-lo: #8E5426;
  --bg: #0d0b0a;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3eee9;
  --muted: #9a918a;
  --faint: #6a625c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(194, 125, 69, 0.20), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

.wrap {
  max-width: 460px; margin: 0 auto;
  padding: 28px 16px calc(40px + env(safe-area-inset-bottom));
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); font-weight: 500;
  margin-bottom: 28px;
}
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--copper-hi); }
.topbar svg { width: 16px; height: 16px; }
.topbar .mark { width: 22px; height: 22px; color: var(--copper); margin-right: 2px; }
.topbar .sep { color: var(--faint); }

/* ---------- Headings ---------- */
.kicker {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper);
}
h1 { margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.lede { margin-top: 10px; font-size: 15px; color: var(--muted); font-weight: 300; }
h2 {
  margin: 30px 0 12px; font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
p + p { margin-top: 10px; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .9em; color: var(--copper-hi);
  background: rgba(194,125,69,.1); padding: 1px 6px; border-radius: 6px;
}
strong { font-weight: 600; }

/* ---------- Primary CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(135deg, var(--copper-hi) 0%, var(--copper) 45%, var(--copper-lo) 100%);
  color: #1a120c;
  box-shadow: 0 10px 30px -12px rgba(194, 125, 69, 0.6), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s, box-shadow .2s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(194, 125, 69, 0.7), inset 0 1px 0 rgba(255,255,255,.25); }
.cta .ico { width: 22px; height: 22px; flex: none; }
.cta .txt { flex: 1; }
.cta .t { font-weight: 600; font-size: 16px; }
.cta .s { font-size: 13px; opacity: .75; }
.cta .go { width: 18px; height: 18px; flex: none; opacity: .8; }

/* ---------- Cards / rows (library list) ---------- */
.card {
  display: flex; align-items: center; gap: 14px;
  margin-top: 12px; padding: 15px 18px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.card:hover { border-color: rgba(194,125,69,.5); background: var(--panel-hover); }
.card .ico { width: 22px; height: 22px; flex: none; color: var(--copper); }
.card .txt { flex: 1; min-width: 0; }
.card .t { font-size: 15px; font-weight: 500; }
.card .s { font-size: 13px; color: var(--muted); font-weight: 300; }
.card .go { width: 16px; height: 16px; flex: none; color: var(--faint); transition: color .2s, transform .2s; }
.card:hover .go { color: var(--copper-hi); transform: translateX(2px); }
.pill {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--copper); border: 1px solid rgba(194,125,69,.4); border-radius: 999px;
  vertical-align: 2px;
}

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; font-size: 15px;
}
.steps li + li { margin-top: 8px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 13px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--copper); color: #1a120c;
  font-size: 13px; font-weight: 600;
}
.steps li .sub {
  margin-top: 8px; padding-left: 14px;
  font-size: 14px; color: var(--muted); font-weight: 300;
  border-left: 2px solid rgba(194,125,69,.35);
}
.steps li .sub div + div { margin-top: 4px; }
.steps li .ver {
  margin: 12px 0 6px; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--copper);
}

/* ---------- Video (vertical short) ---------- */
.video {
  margin-top: 12px; padding: 12px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
}
.video iframe {
  display: block; width: 100%; max-width: 300px; aspect-ratio: 9 / 16;
  margin: 0 auto; border: 0; border-radius: 12px; background: #000;
}

/* ---------- Note / aside ---------- */
.note {
  margin-top: 12px; padding: 13px 16px; border-radius: 14px;
  background: rgba(194,125,69,.07); border: 1px solid rgba(194,125,69,.25);
  font-size: 14px; color: var(--text);
}
.note.quiet { background: var(--panel); border-color: var(--line); color: var(--muted); font-weight: 300; }

/* ---------- QR block ---------- */
.qr {
  margin-top: 12px; padding: 20px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.qr .code {
  width: 180px; height: 180px; padding: 12px; border-radius: 12px;
  background: #ffffff; color: #0d0b0a;
}
.qr .code svg { width: 100%; height: 100%; }
.qr .url { font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.qr .hint { font-size: 13px; color: var(--muted); font-weight: 300; }

/* ---------- Details (FAQ) ---------- */
.faq { margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; font-size: 15px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--panel-hover); }
.faq .chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: transform .3s ease; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq .body { padding: 0 18px 16px; font-size: 14px; color: var(--muted); font-weight: 300; }

/* ---------- Help button ---------- */
.help {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding: 15px 18px; border-radius: 16px;
  background: var(--panel); border: 1px solid rgba(194,125,69,.4);
  transition: border-color .2s, background .2s;
}
.help:hover { border-color: var(--copper); background: var(--panel-hover); }
.help > svg:first-child { width: 22px; height: 22px; flex: none; color: var(--copper); }
.help .txt { flex: 1; min-width: 0; }
.help .t { font-size: 15px; font-weight: 500; }
.help .s { font-size: 13px; color: var(--muted); font-weight: 300; }
.help .go { width: 16px; height: 16px; flex: none; color: var(--faint); }

/* ---------- Footer ---------- */
footer { margin-top: 40px; text-align: center; }
.fine { font-size: 12px; color: var(--faint); font-weight: 300; letter-spacing: .02em; }
.fine a { color: var(--muted); }
.fine a:hover { color: var(--copper-hi); }
