/* Event App landing — one hand-written stylesheet, no build step. */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff4ff;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --page: #f5f6f8;
  --card: #ffffff;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -0.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); display: inline-block; }
.top-nav { display: flex; gap: 20px; margin-left: 12px; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top-nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9ced6; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Language switch (no JavaScript) */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 10px; min-height: 44px; min-width: 56px; display: flex; align-items: center; justify-content: center; padding: 0 12px; font-weight: 600; font-size: 15px; background: var(--card); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: "▾"; margin-left: 6px; color: var(--muted); font-size: 12px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 200px; box-shadow: 0 10px 30px rgba(17, 24, 39, .12); }
.lang a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang a span { font-weight: 600; width: 26px; color: var(--muted); }
.lang a:hover, .lang a[aria-current] { background: var(--blue-soft); }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
.section-lead { max-width: 640px; color: var(--muted); margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card h3 { margin-bottom: 6px; }

/* Hero */
.hero { background: var(--card); padding: 56px 0 64px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero .sub { font-size: 18px; color: var(--muted); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.ticks span::before { content: "✓ "; color: var(--blue); font-weight: 700; }
.phone { width: 280px; max-width: 100%; margin: 0 auto; border: 10px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--ink); }
.phone img { width: 100%; border-radius: 26px; }

/* Steps */
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }

/* Features */
.feature { display: flex; gap: 14px; }
.feature-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 9px; }
.soon { margin-top: 20px; color: var(--muted); font-size: 15px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.screens figure { margin: 0; }
.screens img { border-radius: 18px; border: 1px solid var(--line); }
.screens figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }

/* Pricing */
.price { font-size: 34px; font-weight: 700; margin: 6px 0 2px; }
.price-card.featured { border: 2px solid var(--blue); }
.price-note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* Demo and FAQ */
.demo-list { display: flex; flex-wrap: wrap; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Final call and footer */
.final { text-align: center; background: var(--blue); color: #fff; }
.final h2 { color: #fff; }
.final .btn-primary { background: #fff; color: var(--blue); }
.stores { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.foot { background: var(--card); border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.foot a { color: var(--muted); }

/* Legal pages */
.legal { padding: 48px 20px 64px; max-width: 780px; }
.legal h2 { font-size: 22px; margin-top: 28px; }
.draft-note { background: #fff7e6; border: 1px solid #f5d79e; color: #7a4a00; border-radius: var(--radius); padding: 12px 16px; font-size: 15px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .hero-row { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .top-actions .btn-ghost { padding: 0 12px; }
}
