/* meeros.app — the app's own night-violet world (brand: #8A31FC, Unbounded for display, Inter for text) */
:root {
  --bg: #0B0B10;
  --surface: #17141F;
  --surface-2: #211C2C;
  --line: rgba(255, 255, 255, 0.10);
  --fg: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.68);
  --accent: #8A31FC;
  --accent-soft: #C9A2FF;
  --pink: #F5B3D3;
  --display: "Unbounded", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 55% at 50% -10%, #2A1650 0%, var(--bg) 62%) var(--bg) no-repeat;
  color: var(--fg);
  font: 16px/1.6 var(--body);
}
a { color: var(--accent-soft); }
img { max-width: 100%; }
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding-block: 28px 64px;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .brand img { height: 26px; width: auto; display: block; }
.nav nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--fg); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 7.5vw, 58px); font-weight: 800; letter-spacing: 0.01em; }
h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; max-width: 62ch; }
.hero { display: grid; gap: 22px; padding: 64px 0 40px; }
.hero .lead { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); }
.hero .lead b { color: var(--fg); font-weight: 600; }
.icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 48px rgba(138, 49, 252, 0.45); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 26px; font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--accent); color: #fff; border: 0;
}
.btn.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.25); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.note { font-size: 13px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 8px; min-width: 0; }
.card .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-soft); font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }
section { display: grid; gap: 14px; padding: 28px 0; }
footer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); }
/* documents */
.doc { display: grid; gap: 16px; padding-top: 36px; }
.doc h1 { font-size: clamp(28px, 6vw, 40px); }
.doc h2 { font-size: 20px; margin-top: 18px; }
.doc ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; max-width: 62ch; }
.doc li, .doc p { color: rgba(255, 255, 255, 0.82); }
.draft { border: 1px solid rgba(245, 179, 211, 0.45); background: rgba(245, 179, 211, 0.08); color: var(--pink); border-radius: 14px; padding: 12px 14px; font-size: 14px; max-width: 62ch; }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
/* the plan invitation (/p/…) */
.plan { max-width: 460px; margin: 26px auto 0; display: grid; gap: 16px; }
.pcard { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid rgba(138, 49, 252, 0.35); }
.pcard .cover { height: 200px; background: linear-gradient(135deg, #3B2A6B, #8A31FC 55%, #F5B3D3); display: flex; align-items: flex-end; padding: 16px; }
.pcard .cover h1 { font-size: 28px; }
.pcard .in { padding: 16px; display: grid; gap: 10px; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.pcard .host { display: flex; align-items: center; gap: 10px; }
.pcard .av { width: 38px; height: 38px; border-radius: 19px; background: linear-gradient(135deg, #A9CFF5, #5B6CF0); display: grid; place-items: center; font-weight: 700; flex: none; }
.row { display: flex; gap: 10px; align-items: baseline; }
.row span:first-child { width: 22px; flex: none; text-align: center; }
.plan .btn { width: 100%; }
.center { text-align: center; }
@media (max-width: 560px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav .brand img { height: 22px; }
  .nav nav { gap: 16px; font-size: 14px; }
  .hero { padding-top: 32px; }
}
