:root {
  --bg: #f5f7fb;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e1ee;
  --panel: #ffffff;
  --green: #15803d;
  --green-dark: #166534;
  --blue: #0f7490;
  --amber: #b45309;
  --radius: 8px;
  --shadow: 0 12px 34px rgba(25, 36, 64, .10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #eef5f1 0, var(--bg) 340px);
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}
.brand small { display: block; color: var(--muted); margin-top: 2px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 9px 12px; border-radius: 6px; color: var(--muted); font-weight: 650; font-size: 14px; }
.nav a.active, .nav a:hover { color: var(--green-dark); background: #e9f6ee; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 28px auto; }
.launch-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #bfe7cd;
  border-radius: var(--radius);
  background: #ecfdf3;
  color: #14532d;
  box-shadow: var(--shadow);
}
.launch-strip span {
  color: #166534;
  line-height: 1.5;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: 22px;
  align-items: stretch;
}
.hero-copy, .flow, .panel, .product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy { padding: 38px; }
.hero h1, .page-head h1, .panel h1, .admin-head h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.panel h1, .admin-head h1 { font-size: clamp(1.9rem, 3vw, 3rem); }
h2 { margin: 10px 0 12px; font-size: clamp(1.35rem, 2.3vw, 2rem); }
h3 { margin: 18px 0 10px; }
p { color: var(--muted); line-height: 1.65; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--blue);
  background: #e8f6fa;
  border: 1px solid #c9e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  padding: 6px 10px;
  text-transform: uppercase;
}
.actions, .inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 750;
  cursor: pointer;
}
.btn.primary { background: var(--green); color: white; }
.btn.primary:hover { background: var(--green-dark); }
.btn.secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.text-link { color: var(--green-dark); font-weight: 750; }
.flow { padding: 22px; display: grid; gap: 12px; }
.flow div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 7px;
  background: #f7faf8;
  border: 1px solid #e2ece6;
}
.flow b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  color: white;
  background: var(--green);
}
.platform-hero .hero-copy {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,246,250,.90)),
    #fff;
}
.platform-section { margin: 28px 0 18px; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.module-card {
  min-height: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.module-card h3 { margin-top: 16px; }
.ai-panel-public {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.94)),
    #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  min-height: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.price-card.highlighted {
  border-color: #93c5fd;
  box-shadow: 0 16px 42px rgba(29, 78, 216, .16);
}
.price {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 820;
  line-height: 1.25;
}
.price small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 650;
}
.comparison-panel { margin-top: 22px; }
.feature-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.feature-table div {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  padding: 16px;
}
.feature-table strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature-table span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}
.tenant-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}
.grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.panel { padding: 24px; }
.checks, .steps, .events { color: var(--muted); line-height: 1.8; padding-left: 20px; }
.hours-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}
.hours-list span { color: var(--muted); text-align: right; }
.hours-list.compact li { padding: 8px 10px; }
.page-head { margin-bottom: 18px; }
.page-head p { max-width: 760px; }
.toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 650;
}
.filter.active { background: #e9f6ee; color: var(--green-dark); border-color: #bfe7cd; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { padding: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 760;
  padding: 5px 9px;
  text-transform: uppercase;
}
.reservation-grid { align-items: start; }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 680; }
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
textarea { resize: vertical; }
.upload { border: 1px dashed #a9c7b5; background: #f7fbf8; border-radius: 7px; padding: 14px; }
.upload input { border: 0; padding: 0; min-height: 0; background: transparent; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 500; }
.check input { width: 18px; min-height: 18px; margin-top: 3px; }
.muted { color: var(--muted); }
.alert {
  padding: 12px 14px;
  border-radius: 7px;
  margin: 12px 0;
  border: 1px solid transparent;
}
.alert.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert.success { background: #ecfdf3; border-color: #bbf7d0; color: #14532d; }
.side-info { position: sticky; top: 86px; }
.narrow { max-width: 620px; margin: 0 auto; }
.status-card { margin-top: 16px; }
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.metric strong { display: block; font-size: 2rem; }
.metric span { color: var(--muted); }
.demo-dashboard { margin-top: 22px; }
.demo-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.demo-board div {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  padding: 16px;
}
.demo-board strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
}
.demo-board span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}
.demo-video {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 116, 144, .92), rgba(21, 128, 61, .88)),
    #0f7490;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.demo-video .play-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 30px;
}
.demo-video strong { font-size: 1.45rem; }
.demo-video span:last-child { max-width: 320px; line-height: 1.55; color: rgba(255,255,255,.86); }
.video-player-card {
  align-content: center;
}
.video-player-card video {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .28);
}
.video-storyboard {
  margin-top: 24px;
  overflow: hidden;
}
.video-caption {
  max-width: 720px;
  margin-bottom: 18px;
}
.storyboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.story-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}
.story-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: #dbeafe;
}
.story-card.active {
  background:
    linear-gradient(135deg, rgba(232, 246, 250, .98), rgba(236, 253, 243, .98)),
    #fff;
  border-color: #9ad4c1;
}
.story-card.active::after { background: var(--green); }
.story-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-weight: 820;
}
.story-card h3 { min-height: 54px; }
.video-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.video-timeline span {
  height: 6px;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
}
.video-timeline span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green);
}
.article-card { min-height: 300px; }
.article-head { max-width: 900px; }
.article-section {
  margin: 16px 0;
}
.article-section p {
  max-width: 900px;
  font-size: 1.05rem;
}
.table-panel { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; background: #f8fafc; }
td small { display: block; color: var(--muted); margin-top: 4px; }
.details {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 14px;
}
.details dt { color: var(--muted); font-weight: 760; }
.details dd { margin: 0; }
.events small { display: block; color: var(--muted); }
.ai-panel { margin-top: 22px; }
.ai-summary { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.priority {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  font-weight: 760;
  padding: 5px 9px;
  text-transform: uppercase;
}
.ai-response {
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
}
.ai-budget {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px;
  border-radius: 7px;
  background: #f7fbf8;
  border: 1px solid #d6eadb;
}
.ai-budget strong { color: var(--green-dark); font-size: 1.25rem; }
.ai-budget span, .ai-budget small { color: var(--muted); }
.ai-refresh { margin-top: 12px; }
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 940px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .hero, .grid.two, .catalog-grid, .metrics, .module-grid, .pricing-grid, .feature-table, .demo-board, .storyboard-grid { grid-template-columns: 1fr; }
  .launch-strip { align-items: flex-start; flex-direction: column; }
  .tenant-strip { align-items: flex-start; flex-direction: column; }
  .side-info { position: static; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 20px, 1180px); margin-top: 18px; }
  .hero-copy, .panel, .flow, .product-card { padding: 18px; }
  .details { grid-template-columns: 1fr; }
  .inline-form { display: grid; }
}
