:root {
  color-scheme: light;
  --ink: #182033;
  --muted: #667085;
  --line: #dde3ee;
  --panel: #ffffff;
  --soft: #f5f7fb;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --accent: #d94d66;
  --gold: #b7791f;
  --shadow: 0 18px 50px rgba(24, 32, 51, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(15, 118, 110, .12), transparent 26rem),
    linear-gradient(180deg, #eef4f7 0%, #fbfcfe 42%, #f4f7fb 100%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 32px;
}

.hero {
  min-height: 52vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: .95;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: #495267;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-visual { min-width: 0; }
.browser-frame {
  border: 1px solid rgba(24, 32, 51, .1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-dots {
  height: 38px;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9d1df;
}

.booking-preview {
  min-height: 280px;
  padding: 26px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
}

.calendar-card {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  box-shadow: 0 14px 30px rgba(15, 118, 110, .26);
}

.calendar-card span { font-size: 3rem; font-weight: 900; line-height: 1; }
.calendar-card strong { margin-top: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

.preview-lines { display: grid; gap: 12px; }
.preview-lines i {
  height: 15px;
  border-radius: 4px;
  background: #e8edf5;
}
.preview-lines i:nth-child(1) { width: 86%; }
.preview-lines i:nth-child(2) { width: 68%; }
.preview-lines i:nth-child(3) { width: 76%; }

.preview-slots {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-slots b {
  padding: 13px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcff;
  color: var(--brand-strong);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.demo-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(24, 32, 51, .08);
}

.demo-card.pro { border-top-color: var(--accent); }
.card-top { min-height: 166px; }
.edition-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f3f1;
  color: var(--brand-strong);
  font-weight: 800;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pro .edition-badge { background: #fce7ec; color: #ad2844; }
h2 {
  margin: 16px 0 8px;
  font-size: 1.45rem;
  line-height: 1.2;
}
.demo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 18px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.btn:focus-visible,
button:focus-visible { outline: 3px solid rgba(15, 118, 110, .25); outline-offset: 2px; }

.credentials {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.credentials div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
dd {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem;
  font-weight: 700;
}
button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--brand-strong);
  padding: 6px 9px;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
}

.note-band {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff8e7;
  border: 1px solid #f4d99a;
  color: #6f5215;
}
.note-band p { margin: 0; line-height: 1.6; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-size: .86rem;
  font-weight: 800;
  transition: opacity .18s, transform .18s;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .page-shell { padding-top: 30px; }
  .hero { grid-template-columns: 1fr; gap: 26px; min-height: auto; }
  .demo-grid { grid-template-columns: 1fr; }
  .card-top { min-height: auto; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 22px, 1120px); }
  .booking-preview { grid-template-columns: 1fr; padding: 18px; }
  .calendar-card { max-width: 150px; }
  .preview-slots { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr; }
  .credentials div { grid-template-columns: 1fr; }
  dd { align-items: flex-start; }
}
