/* Shared stylesheet for the static content pages (scripts/gen-pages.mjs). */
:root {
  --ink: #1b1430;
  --purple: #6d4fc4;
  --purple-tint: #efeafb;
  --text: #2a2338;
  --muted: #6b6480;
  --paper: #f7f5fb;
  --line: #ddd6ec;
  --success: #1f7a52;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
header.site {
  background: var(--ink);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; }
.brand img:first-child { border-radius: 8px; }
.langnav { display: flex; gap: 6px; font-size: 13px; letter-spacing: 0.06em; }
.langnav a, .langnav span { color: #cfc6ea; text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.langnav span { background: rgba(255, 255, 255, 0.14); color: #fff; }
.langnav a:hover { color: #fff; }

main { max-width: 720px; margin: 0 auto; padding: 44px 24px 24px; }
main.wide { max-width: 980px; }
h1 { font-size: 36px; line-height: 1.12; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: 24px; line-height: 1.2; margin: 44px 0 10px; color: var(--ink); text-wrap: balance; }
h3 { font-size: 18px; margin: 28px 0 6px; color: var(--ink); }
p { margin: 10px 0; }
a { color: var(--purple); }
.lede { font-size: 20px; line-height: 1.5; color: var(--text); margin: 0 0 8px; }
.byline { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin: 0 0 10px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 22px 0; }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.note { font-size: 15px; color: var(--muted); }
.sources { font-size: 14px; color: var(--muted); }
.sources li { margin: 8px 0; }

.tablewrap { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--purple-tint); color: var(--ink); font-size: 13px; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }
td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink); }

.cta { background: var(--ink); color: #e9e4f6; border-radius: 18px; padding: 26px 28px; margin: 56px 0 8px; }
.cta h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.cta p { margin: 6px 0; font-size: 16px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.btn {
  display: inline-block; background: var(--purple); color: #fff; text-decoration: none;
  border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  font-family: inherit;
}
.btn.ghost { background: #fff; color: var(--purple); border: 1px solid var(--line); }
footer.site { max-width: 720px; margin: 0 auto; padding: 24px 24px 56px; font-size: 14px; color: var(--muted); }
footer.site .h { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
footer.site ul { margin: 0 0 16px; }

/* Name-tent generator */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 26px 0; }
.tool label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin: 14px 0 6px; }
.tool textarea, .tool select {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--text);
}
.tool textarea { min-height: 260px; resize: vertical; line-height: 1.45; }
.tool .row { display: flex; gap: 12px; }
.tool .row > div { flex: 1; }
.tool .check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.tool .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.count { font-size: 14px; color: var(--muted); }
.preview { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.preview .cap { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

.sheet {
  background: #fff; aspect-ratio: 297 / 210; width: 100%; display: flex; flex-direction: column;
  border: 1px dashed #b9b0d3; container-type: inline-size; overflow: hidden;
}
.sheet .half { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3cqw; text-align: center; min-height: 0; }
/* Rotated 180°, so its top edge is the fold line in the middle of the sheet. */
.sheet .half.back { transform: rotate(180deg); border-top: 1px dashed #b9b0d3; }
.sheet .name { font-weight: 800; line-height: 1; color: #000; white-space: nowrap; font-family: "Helvetica Neue", Arial, sans-serif; }
.sheet .sub { color: #333; margin-top: 1.4cqw; font-size: 3.2cqw; white-space: nowrap; }
#sheets { display: none; }

@media (max-width: 760px) {
  h1 { font-size: 29px; }
  .lede { font-size: 18px; }
  .tool { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4 landscape; margin: 0; }
  body { background: #fff; }
  header.site, .no-print, main > :not(#sheets) { display: none !important; }
  main, main.wide { max-width: none; padding: 0; margin: 0; }
  #sheets { display: block; }
  .sheet { width: 297mm; height: 209.5mm; aspect-ratio: auto; border: none; page-break-after: always; break-after: page; }
  .sheet:last-child { page-break-after: auto; break-after: auto; }
  .sheet .half.back { border-top: 0.3mm dashed #999; }
}

/* GudMem for Business (pages/business.*.html) */
.biz-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 36px; align-items: center; margin-bottom: 8px; }
.biz-hero h1 { font-size: 44px; }
.biz-soon { display: inline-block; background: var(--purple-tint); color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; margin: 0 0 16px; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 6px; }
.biz-actions .btn { padding: 13px 22px; font-size: 16px; }
.biz-shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(27, 20, 48, 0.14); background: #fff; }
.biz-phone { display: block; width: min(260px, 70%); height: auto; margin: 0 auto; border-radius: 30px; border: 8px solid #0b0a12; box-shadow: 0 18px 44px rgba(27, 20, 48, 0.18); }
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.biz-grid .box { margin: 0; }
.biz-grid h3 { margin-top: 0; }
.biz-steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.biz-steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0; }
.biz-steps li::before { content: counter(step); display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.biz-steps strong { display: block; color: var(--ink); font-size: 18px; }
.biz-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 22px 0; }
.biz-facts { list-style: none; padding: 0; margin: 14px 0; }
.biz-facts li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; margin: 0; }
.biz-facts li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.biz-facts strong { color: var(--ink); }
.biz-wait { background: var(--ink); color: #e9e4f6; border-radius: 18px; padding: 30px 32px; margin: 56px 0 8px; }
.biz-wait h2 { color: #fff; margin: 0 0 8px; }
.biz-wait p { margin: 6px 0; max-width: 62ch; }
.biz-wait .btn { margin-top: 14px; padding: 13px 22px; font-size: 16px; }
.biz-wait a:not(.btn) { color: #cfc6ea; }
@media (max-width: 860px) {
  .biz-hero, .biz-split { grid-template-columns: 1fr; gap: 24px; }
  .biz-hero h1 { font-size: 32px; }
  .biz-grid, .biz-steps { grid-template-columns: 1fr; }
  .biz-wait { padding: 24px 22px; }
}
