:root {
  --navy: #1e1b26;
  --ink: #121018;
  --cream: #f6f3ec;
  --lime: #d1ff4e;
  --violet: #5540d7;
  --muted: #8b8798;
  --card: #fff;
  --line: rgba(30, 27, 38, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--navy); font-family: "DM Sans", system-ui, sans-serif; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8vw;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, .88);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand em { font-style: normal; color: var(--violet); }
.mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--violet); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { font-weight: 600; font-size: 14px; color: var(--muted); }
.header-link:hover { color: var(--navy); }

.btn {
  border: 0;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.btn:hover { background: #2a2633; }
.btn.lime { background: var(--lime); color: var(--navy); }
.btn.lime:hover { background: #c4f23a; }
.btn.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn.full { width: 100%; justify-content: center; display: inline-flex; }

main { flex: 1; padding: 36px 8vw 80px; }
.hero {
  max-width: 1180px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--violet);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
h1 { font-size: clamp(32px, 4.8vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.lead { margin: 18px 0 28px; max-width: 500px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-art {
  background: #fff;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(18, 16, 24, .08);
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.cal-head strong { font-size: 18px; }
.cal-head span { color: var(--muted); font-size: 13px; font-weight: 600; }
.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.day {
  text-align: center;
  padding: 10px 4px;
  border-radius: 14px;
  background: var(--cream);
}
.day b { display: block; font-size: 18px; }
.day small { color: var(--muted); font-size: 11px; font-weight: 600; }
.day.on { background: var(--navy); color: #fff; }
.day.on small { color: rgba(255,255,255,.65); }
.slots { display: grid; gap: 10px; }
.slot {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--cream);
}
.slot time { font-size: 13px; font-weight: 700; color: var(--muted); }
.slot b { display: block; font-size: 14px; }
.slot span { font-size: 12px; color: var(--muted); }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot.v { background: var(--violet); }
.dot.l { background: #c4a35a; }
.dot.g { background: #3d9b6a; }
.slot.accent { background: #efeaff; }

.features {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(18, 16, 24, .06);
}
.card h2 { font-size: 22px; margin: 10px 0 8px; }
.card p { color: var(--muted); line-height: 1.5; }
.tag {
  display: inline-block;
  background: var(--lime);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

footer {
  padding: 20px 8vw 28px;
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  max-width: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 24, .46);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}
.modal.open { display: flex; }
.login-card {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 60px rgba(18, 16, 24, .22);
  position: relative;
  max-height: min(92vh, 760px);
  overflow: auto;
}
.login-card.wide { max-width: 440px; }
.switch { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.switch button {
  border: 0; background: none; color: var(--violet);
  font-weight: 700; cursor: pointer; font: inherit; font-size: 13px;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
}
.login-card .eyebrow { margin-bottom: 6px; }
.login-card h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.login-card .hint { color: var(--muted); font-size: 14px; margin-bottom: 22px; line-height: 1.45; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  outline: none;
}
.field input:focus { border-color: var(--violet); background: #fff; }
.error { display: none; color: #c23b3b; font-size: 13px; font-weight: 600; margin: 10px 0 0; }

@media (max-width: 860px) {
  .hero, .features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-link { display: none; }
  header, main, footer { padding-left: 22px; padding-right: 22px; }
}
