@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  --bg: #f6f7f9;
  --paper: #ffffff;
  --ink: #1c2430;
  --muted: #667084;
  --line: #e3e7ee;
  --accent: #2563eb;
  --accent-soft: #eff4ff;
  --danger: #c23b2e;
  --ok: #1f7a4d;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --r: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14.5px;
  line-height: 1.45;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(880px, calc(100% - 1.5rem)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.nav-actions { display: flex; gap: .4rem; align-items: center; }

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: .45rem .75rem;
  font: inherit;
  font-weight: 650;
  font-size: .86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
}
.btn:hover { background: #f3f5f8; text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); background: var(--accent); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-danger { color: var(--danger); border-color: #f0d2ce; }
.btn-sm { padding: .3rem .55rem; font-size: .8rem; }
.btn-google {
  background: #fff;
  border: 1px solid var(--line);
  width: 100%;
  justify-content: center;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  max-width: 34rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 .75rem;
  font-weight: 700;
}
.hero p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28rem;
}
.hero-cta { display: flex; gap: .45rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.25rem; color: var(--muted); font-size: .85rem; }

.footer {
  margin-top: 2rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0 .2rem;
}
.app-meta { color: var(--muted); font-size: .8rem; }

.tabs {
  display: flex;
  gap: .15rem;
  margin-top: .4rem;
  border-bottom: 1px solid var(--line);
}
.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .55rem .7rem;
  font: inherit;
  font-weight: 650;
  font-size: .86rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }

.main-panel { padding: .8rem; margin-top: .65rem; }
.toolbar {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: .55rem;
}
.toolbar strong { font-size: .9rem; }

input, select {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: .45rem .6rem;
  font: inherit;
  font-size: .86rem;
}
input:focus, select:focus { outline: 2px solid var(--accent-soft); border-color: #9db7f5; }

.file-list { display: grid; gap: .25rem; }
.file-row {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  align-items: center;
  padding: .45rem .55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}
.file-row .meta { color: var(--muted); font-size: .75rem; }
.file-row .actions { display: flex; gap: .25rem; flex-shrink: 0; }

.muted { color: var(--muted); }
.err { color: var(--danger); }
.ok { color: var(--ok); }

.auth-box {
  width: min(360px, 100%);
  margin: 2rem auto;
  padding: 1.1rem;
  display: grid;
  gap: .5rem;
}
.auth-box h1 {
  font-family: var(--display);
  margin: 0;
  font-size: 1.4rem;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .78rem;
  margin: .15rem 0;
}
.auth-or::before, .auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.meter, .progress {
  height: 5px;
  border-radius: 99px;
  background: #e8ecf2;
  overflow: hidden;
  margin: .3rem 0 .55rem;
}
.progress { display: none; }
.progress.on { display: block; }
.meter > i, .progress > i {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0%;
}

.settings-grid { display: grid; gap: .75rem; }
.settings-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem;
  background: #fbfcfd;
}
.settings-card h3 {
  margin: 0 0 .35rem;
  font-size: .92rem;
}
.settings-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.settings-row { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .55rem; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin-top: .85rem;
}
@media (max-width: 840px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.price.featured { border-color: var(--accent); }
.price h3 { margin: 0; font-size: .95rem; }
.price .amt {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.price .amt span { font-size: .78rem; color: var(--muted); font-family: var(--font); }
.price ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  flex: 1;
}
.price ul li::before { content: "– "; }
.section-head { padding: 1rem 0 .2rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin: 0 0 .25rem;
}
.section-head p { margin: 0; color: var(--muted); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .4rem;
}
.media-grid img, .media-grid video {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #111;
}
.room-stage { min-height: 55vh; }
