/* Public marketing pages (landing / pricing / contact) — Studio Paper.
   Split by page: landing/base.css (this file: tokens, header, hero, strips,
   footer, shared responsive) is linked by _public_head.html on every
   marketing page; landing/pricing.css and landing/contact.css are linked by
   their own pages only, each with its responsive rules.
   Print-shop hero with rotated paper "prints", numbered how-it-works cards,
   gathering-type photo cards, a features ledger, FAQ cards and an ink closing
   band. Shares the app's tokens so marketing → product feels like one product.
   Reference: design_handoff_studio_paper (screens 3a / 3b / 3c). */

:root {
  --paper: #f5f1e8;
  --panel: #fffdf8;
  --ink: #211a12;
  --text-muted: #6f6555;
  --text-faint: #9a8f7c;
  --amber: #a86414;
  --amber-bg: #f7efdf;
  --amber-border: #e9dcc0;
  --gold: #d9a648;
  --gold-ink: #241a10;
  --on-ink: #f7f1e5;
  --on-ink-muted: #b5a992;
  --border: #e6ddcb;
  --border-control: #d6cbb4;
  --hairline: #efe8d8;
  --font-ui: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow-print: 0 14px 34px rgba(63, 48, 29, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
.mono { font-family: var(--font-mono); }

h1, h2 { font-family: var(--font-display); font-weight: 400; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--border-control);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: filter 140ms ease-out, border-color 140ms ease-out, background 140ms ease-out;
}
.btn:hover { border-color: #b8ab8e; background: #fff; }
.btn-primary { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink); filter: brightness(.94); }
.btn-ghost { background: var(--panel); }
/* "Try the demo" — a form so prefetchers can't trigger it. When demo mode is
   on, the template makes it the hero's gold primary and demotes "Create Your
   Event" to outline, so first-timers reach for the no-signup path. */
.demo-busy-note { margin-top: 8px; font-size: 15.5px; color: var(--text-muted); }
.btn-gold { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.btn-gold:hover { background: var(--gold); filter: brightness(.94); }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-hero { height: 48px; padding: 0 24px; font-size: 17px; }

/* ---------- header ---------- */
.site-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
}
.wordmark-name { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav .nav-link { font-size: 15.5px; color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.site-nav .nav-link:hover { color: var(--ink); text-decoration: underline; }
.site-nav .nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav .nav-link.signin { color: var(--ink); font-weight: 600; }
.site-nav .btn-head { white-space: nowrap; }
.lang-switch { display: inline-flex; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.lang-switch a { color: var(--text-faint); text-decoration: none; }
.lang-switch a.on { color: var(--ink); font-weight: 600; }
.lang-switch a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  padding: 64px 40px 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  text-wrap: balance;
}
.hero-sub {
  margin: 20px 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 440px;
}
.hero-cta { display: flex; gap: 12px; margin: 30px 0 0; flex-wrap: wrap; }
.sample-link { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; flex-wrap: wrap; }
.sample-link .host { font-size: 12px; color: var(--text-faint); }
.sample-link .slug {
  font-size: 12px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}
.sample-link .note { font-size: 13px; color: var(--text-faint); }

/* rotated paper prints */
.hero-pile { position: relative; height: 440px; }
.print {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 10px 30px;
  box-shadow: var(--shadow-print);
  margin: 0;
}
.print img { display: block; object-fit: cover; border-radius: 3px; }
.print figcaption {
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: 9px;
  text-align: center;
}
.print-1 { top: 6px; left: 8%; transform: rotate(-3deg); }
.print-1 img { width: 250px; height: 180px; }
.print-2 { top: 120px; right: 2%; transform: rotate(2.4deg); box-shadow: 0 14px 34px rgba(63, 48, 29, .16); }
.print-2 img { width: 265px; height: 190px; }
.print-3 { bottom: 0; left: 16%; transform: rotate(-1.2deg); }
.print-3 img { width: 240px; height: 168px; }
.qr-card {
  bottom: 34px;
  right: 6%;
  transform: rotate(3deg);
  width: 118px;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(63, 48, 29, .18);
}
.qr-card img { width: 94px; height: 94px; margin: 0 auto; border-radius: 0; }
.qr-caption { font-size: 9.5px; letter-spacing: .14em; color: var(--amber); margin-top: 9px; }

/* ---------- section strips ---------- */
.strip { padding: 0 40px 58px; }
.strip-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--border-control);
  padding-bottom: 12px;
}
.strip-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
}

/* how it works: numbered cards */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.step-num { font-family: var(--font-display); font-size: 34px; color: var(--amber); display: block; }
.step h3 { font-size: 18.5px; font-weight: 600; margin: 10px 0 0; font-family: var(--font-ui); }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); margin: 8px 0 0; }

/* on the night: live wall + view-only gallery, with a CSS-drawn "screen"
   (an existing hero photo in a dark bezel, spark dots, laser beams, a music
   pill and a QR chip). Nothing here is a screenshot, so it can't go stale. */
.show-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  margin-top: 28px;
}
.show-copy h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  text-wrap: balance;
}
.show-item { margin-top: 26px; }
.show-item h3 { font-size: 18.5px; font-weight: 600; margin: 0; }
.show-item p { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); margin: 8px 0 0; }
.show-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.show-chips li {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 999px;
  padding: 5px 11px;
}
.show-note { margin: 22px 0 0; font-size: 13.5px; color: var(--text-faint); }

.wall-mock { padding: 0 6px; }
.wall-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0908;
  border: 6px solid #1a1512;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(33, 26, 18, .32), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.wall-screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
/* rotating cone of laser beams from the bottom-left corner */
.wall-beam {
  position: absolute;
  left: -2%;
  bottom: -4%;
  width: 150%;
  height: 2px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255, 88, 140, .7), rgba(255, 88, 140, 0) 80%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.beam-1 { transform: rotate(-12deg); }
.beam-2 { transform: rotate(-22deg); background: linear-gradient(90deg, rgba(90, 210, 255, .65), rgba(90, 210, 255, 0) 80%); }
.beam-3 { transform: rotate(-34deg); background: linear-gradient(90deg, rgba(217, 166, 72, .65), rgba(217, 166, 72, 0) 80%); }
/* spark burst: soft radial dots near the top-right */
.wall-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 25%, rgba(255, 255, 255, .55) 40%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.spark-1 { top: 12%; right: 14%; width: 22px; height: 22px; }
.spark-2 { top: 22%; right: 26%; }
.spark-3 { top: 8%; right: 34%; width: 9px; height: 9px; }
.spark-4 { top: 30%; right: 9%; width: 10px; height: 10px; }
.spark-5 { top: 40%; right: 20%; width: 7px; height: 7px; }
.wall-pill, .wall-count, .wall-qr {
  position: absolute;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #f7f1e5;
  background: rgba(11, 9, 8, .62);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 5px 10px;
  backdrop-filter: blur(4px);
}
.wall-pill { top: 12px; left: 12px; }
.wall-count { bottom: 12px; left: 12px; }
.wall-count::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a5a;
  margin-right: 7px;
  vertical-align: 1px;
}
.wall-qr {
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  background: rgba(255, 253, 248, .94);
  color: var(--amber);
  font-size: 8.5px;
  letter-spacing: .12em;
  max-width: 132px;
  line-height: 1.3;
}
.wall-qr img { width: 44px; height: 44px; flex: none; }
.wall-stand {
  width: 22%;
  height: 10px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1512, #2c241d);
  border-radius: 0 0 8px 8px;
}

/* gathering types: photo cards with serif pill captions */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.type-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.type-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 150ms ease-out;
}
.type-card:hover img { transform: scale(1.02); }
.type-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 17px;
}
.type-list-intro {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 28px 0 0;
}
.type-list {
  columns: 3;
  column-gap: 32px;
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-muted);
}
.type-list li { break-inside: avoid; }
.type-list li::marker { color: var(--amber); }

/* features ledger */
.feat-ledger { margin: 6px 0 0; padding: 0; list-style: none; }
.feat-row {
  display: grid;
  grid-template-columns: 64px 300px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.feat-row:last-child { border-bottom: none; }
.feat-no { font-family: var(--font-display); font-size: 22px; color: var(--amber); }
.feat-title { font-size: 18px; font-weight: 600; }
.feat-body { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* FAQ cards */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.faq-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.faq-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 18px; margin: 0; }
.faq-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); margin: 8px 0 0; }

/* closing band */
.cta-band {
  margin: 0 40px;
  background: var(--ink);
  border-radius: 14px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-band h2 {
  font-size: 34px;
  line-height: 1.15;
  color: var(--on-ink);
  max-width: 520px;
  text-wrap: balance;
}
.cta-band h2 em { color: var(--gold); }
.cta-band p {
  margin: 12px 0 0;
  font-size: 16.5px;
  color: var(--on-ink-muted);
  max-width: 460px;
  line-height: 1.6;
}
.cta-band .btn-gold { flex: none; height: 50px; padding: 0 26px; font-size: 17px; }

/* ---------- footer ---------- */
.site-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 40px 34px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.foot-brand { margin-right: auto; }
.foot-brand .wordmark { margin-right: 0; }
.foot-brand .wordmark-name { font-size: 18px; }
.foot-tagline { font-size: 13px; color: var(--text-faint); margin: 6px 0 0; }
.foot-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot-nav a { font-size: 13.5px; color: var(--text-muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-nav .lang-switch { text-transform: uppercase; }


/* =====================================================================
   Responsive — hero stacks under ~900px; grids collapse 4 → 2 → 1
   ===================================================================== */
@media (max-width: 1024px) {
  .feat-row { grid-template-columns: 48px 1fr; }
  .feat-row .feat-body { grid-column: 2; }
}
@media (max-width: 900px) {
  .site-head { padding: 14px 20px; gap: 14px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding: 44px 20px 40px; }
  .hero-pile { height: 400px; max-width: 560px; }
  .strip { padding-left: 20px; padding-right: 20px; }
  .steps { grid-template-columns: 1fr; }
  .show-grid { grid-template-columns: 1fr; gap: 30px; }
  .wall-mock { order: -1; }
  .cta-band { margin: 0 20px; flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .site-foot { padding: 26px 20px 30px; }
}
@media (max-width: 640px) {
  /* Phone header: two rows instead of one overflowing flex line. The nav
     dissolves (display: contents) so its links can be placed on the grid:
       wordmark ............ lang  Log in
       Pricing  Contact ..... [Create your event]
     Labels never break mid-phrase (nowrap); the CTA is a size down. */
  .site-head {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-areas:
      "mark mark . lang signin"
      "pricing contact . btn btn";
    gap: 12px 14px;
  }
  .site-nav { display: contents; }
  .site-head .wordmark { grid-area: mark; margin-right: 0; }
  .site-nav .nav-pricing { grid-area: pricing; }
  .site-nav .nav-contact { grid-area: contact; }
  .site-nav .lang-menu { grid-area: lang; }
  .site-nav .signin { grid-area: signin; }
  .site-nav .btn-head { grid-area: btn; justify-self: end; height: 36px; padding: 0 12px; font-size: 14px; }
  .site-nav .nav-link { font-size: 14.5px; }
  .type-grid, .faq-grid { grid-template-columns: 1fr; }
  .type-list { columns: 2; }
  .hero-pile { height: 360px; }
  .print-1 img { width: 190px; height: 136px; }
  .print-2 img { width: 200px; height: 144px; }
  .print-3 img { width: 180px; height: 126px; }
  .print-2 { top: 100px; }
  .qr-card { display: none; }
  .wall-qr span { display: none; }
  .wall-qr { padding: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
