/* ==========================================================================
   Retail Ticketing — public pages (landing, pricing, sign-in, account).
   The designer itself has its own stylesheet, app.css.
   ========================================================================== */

:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #16202c;
  --muted: #67748a;
  --line: #dde4ee;
  --accent: #1f5fd0;
  --accent-ink: #fff;
  --ok: #1c7a4a;
  --err: #b3261e;
  --radius: 12px;
}

* { box-sizing: border-box; }

body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
}

a { color: var(--accent); }

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

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 20px;
  height: 26px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  background:
    linear-gradient(var(--accent) 0 0) no-repeat 2px 3px / 12px 3px,
    linear-gradient(var(--accent) 0 0) no-repeat 2px 12px / 12px 7px;
}
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.inline-form { margin: 0; }

.site-main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 40px 24px 64px; }

.site-foot {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.hero { text-align: center; padding: 24px 0 8px; }
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.lede { margin: 0 auto; max-width: 640px; color: var(--muted); font-size: 18px; }
.lede.center { text-align: center; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.features article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.features h3 { margin: 0 0 8px; font-size: 17px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------- plans -- */

.page-title { text-align: center; margin: 0 0 10px; font-size: 34px; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0 24px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 8px 30px rgba(31,95,208,.13); }
.plan .tag {
  position: absolute;
  top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}
.plan h3 { margin: 0 0 6px; font-size: 18px; }
.plan .price { margin: 0 0 16px; font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.plan .price span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; font-size: 15px; }
.plan li { padding: 6px 0 6px 24px; position: relative; color: var(--muted); }
.plan li::before {
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 6px; height: 10px;
  border: solid var(--ok);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.plan .btn { width: 100%; }

/* ------------------------------------------------------------ cards -- */

.centred-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.centred-card h1 { margin: 0 0 8px; font-size: 26px; }

.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 22px 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 600; }

/* ------------------------------------------------------------- auth -- */

.auth .btn.google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-weight: 600;
}
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.auth-form small { font-weight: 400; color: var(--muted); }
.auth-form input {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.auth-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* ---------------------------------------------------------- buttons -- */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn:hover { border-color: #b9c3d2; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #1a51b4; }
.btn.big { padding: 13px 22px; font-size: 16px; }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: default; }

.linklike {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* --------------------------------------------------------- messages -- */

.banner {
  padding: 12px 16px;
  border-radius: 9px;
  background: #eef3fd;
  border: 1px solid #cfe0f7;
  margin: 0 0 24px;
  font-size: 15px;
}
.banner.warn { background: #fdf6e7; border-color: #f3d9a4; color: #6b4a12; }

.msg { margin: 16px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.msg.info { background: #eef3fd; color: #234a86; }
.msg.ok   { background: #eaf6ef; color: var(--ok); }
.msg.err  { background: #fdecea; color: var(--err); }
.msg[hidden] { display: none; }

.err { color: var(--err); font-size: 14px; }
.err[hidden] { display: none; }
.fineprint { color: var(--muted); font-size: 14px; text-align: center; }
