:root {
  color-scheme: light;
  --page-bg: #eeeeee;
  --ink: #070707;
  --muted: #676168;
  --line: #e8e5e2;
  --paper: #ffffff;
  --green: #1ab77a;
  --violet: #6c59dc;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-shell {
  width: min(1504px, calc(100% - 72px));
  min-height: 100vh;
  margin: 82px auto 0;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 32px 82px;
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 29px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  width: 39px;
  height: 24px;
  overflow: hidden;
}

.brand-mark::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: var(--paper);
  border-top: 2px solid var(--paper);
  content: "";
}

.brand-mark span {
  display: block;
  width: 7px;
  height: 24px;
  background: var(--ink);
  border-radius: 999px 999px 0 0;
  transform-origin: bottom center;
}

.brand-mark span:nth-child(1) { transform: rotate(-58deg) translateY(9px); }
.brand-mark span:nth-child(2) { transform: rotate(-28deg) translateY(3px); }
.brand-mark span:nth-child(3) { transform: translateY(0); }
.brand-mark span:nth-child(4) { transform: rotate(28deg) translateY(3px); }
.brand-mark span:nth-child(5) { transform: rotate(58deg) translateY(9px); }

.nav-links {
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a { white-space: nowrap; }

.header-actions {
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 0 33px;
  border-radius: 999px;
}

.button-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
}

.hero {
  padding: 78px 82px 0;
  text-align: center;
}

.announcement {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 14px rgb(0 0 0 / 4%);
  font-size: 14px;
  font-weight: 500;
}

.bolt { font-size: 22px; line-height: 1; }

.arrow-dot {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.hero h1 {
  max-width: 930px;
  margin: 42px auto 20px;
  font-size: clamp(3.1rem, 5.4vw, 5.05rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(540px, 1fr);
  gap: 22px;
  width: min(1250px, 100%);
  margin: 78px auto 0;
  text-align: left;
}

.portrait-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 12px;
  background: #ecebea;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.engagement-card {
  position: absolute;
  right: 64px;
  bottom: 34px;
  left: 64px;
  display: grid;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 10px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 22px 40px rgb(0 0 0 / 12%);
  backdrop-filter: blur(18px);
}

.agent-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 13px;
}

.agent-row strong,
.agent-row span {
  display: inline;
  font-size: 12px;
}

.avatar {
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 8%);
}

.avatar-coral {
  background:
    radial-gradient(circle at 48% 34%, #2c201d 0 16%, transparent 17%),
    radial-gradient(circle at 50% 44%, #ba7168 0 28%, transparent 29%),
    linear-gradient(145deg, #67b9d4, #f06f74);
}

.avatar-green {
  background:
    radial-gradient(circle at 48% 34%, #4b341c 0 16%, transparent 17%),
    radial-gradient(circle at 50% 44%, #b87655 0 28%, transparent 29%),
    linear-gradient(145deg, #8bd16b, #e2c14e);
}

.mini-bars {
  display: grid;
  grid-template-columns: 9px 35px 9px 28px 11px 32px 10px;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.mini-bars i {
  display: block;
  height: 4px;
  border-radius: 999px;
}

.mini-bars i:nth-child(3n + 1) { background: var(--violet); }
.mini-bars i:nth-child(3n + 2) { background: #e44083; }
.mini-bars i:nth-child(3n) { background: var(--green); }
.mini-bars.alt { grid-template-columns: 7px 29px 10px 13px 26px 8px 34px; }

.dashboard-card {
  position: relative;
  min-height: 548px;
  overflow: hidden;
  border: 1px solid #c85280;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 10% 35%, rgb(230 30 106 / 62%), transparent 25%),
    radial-gradient(circle at 34% 5%, rgb(223 182 81 / 78%), transparent 22%),
    radial-gradient(circle at 73% 0%, rgb(220 82 150 / 90%), transparent 33%),
    radial-gradient(circle at 0% 88%, rgb(52 146 108 / 34%), transparent 25%),
    #f5e8e6;
}

.glass-frame {
  position: absolute;
  inset: 38px 0 auto 34px;
  height: 76px;
  border: 1px solid rgb(255 255 255 / 64%);
  border-right: 0;
  border-radius: 22px 0 0 0;
}

.glass-frame::before {
  position: absolute;
  top: -24px;
  left: -36px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgb(255 255 255 / 60%);
  border-left: 1px solid rgb(255 255 255 / 60%);
  border-radius: 16px 0 0;
  content: "";
}

.product-window {
  position: absolute;
  top: 78px;
  right: -1px;
  bottom: -1px;
  left: 88px;
  padding: 22px 22px 24px;
  border-radius: 14px 0 0 0;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 16px 50px rgb(0 0 0 / 12%);
}

.window-top,
.welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meeting-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meeting-meta strong,
.meeting-meta span,
.window-actions,
.metric-label,
.metric-card small,
.score-card p,
.address-list {
  font-size: 11px;
}

.meeting-meta span,
.metric-card small,
.score-card p,
.address-list span {
  color: #626262;
}

.video-dot {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
}

.video-dot::before {
  width: 8px;
  height: 6px;
  border-radius: 1px;
  background: #fff;
  content: "";
}

.window-actions {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.welcome-row { margin-top: 24px; }

.welcome-row h2 {
  margin: 0 0 6px;
  font-size: 23px;
  letter-spacing: 0;
}

.welcome-row p {
  margin: 0;
  color: #5e5e5e;
  font-size: 10px;
}

.welcome-row button {
  min-width: 83px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: 88px 88px 78px;
  gap: 10px;
  margin-top: 20px;
  padding-right: 184px;
}

.metric-card,
.score-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 0 0 / 2%);
}

.metric-card {
  min-width: 0;
  overflow: hidden;
  padding: 12px 14px;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: 0;
}

.metric-card em {
  color: var(--green);
  font-size: 10px;
  font-style: normal;
}

.chart-card { grid-row: span 2; }

.chart-card svg {
  display: block;
  width: 100%;
  height: 78px;
  margin-top: 8px;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: #f0eeee;
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: var(--violet);
  stroke-width: 2.6;
}

.chart-card circle {
  fill: #fff;
  stroke: var(--violet);
  stroke-width: 3;
}

.small strong { font-size: 23px; }
.utilization-card { grid-column: span 2; }

.tabs {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  margin-top: -27px;
}

.tabs span {
  min-width: 48px;
  padding: 7px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.tabs span:first-child {
  background: var(--ink);
  color: #fff;
}

.score-card {
  position: absolute;
  top: 136px;
  right: 22px;
  width: 164px;
  min-height: 300px;
  padding: 18px;
}

.score-card h3 {
  margin: 0 0 22px;
  font-size: 15px;
}

.gauge {
  position: relative;
  width: 120px;
  height: 64px;
  margin: 0 auto;
  overflow: hidden;
}

.gauge::before,
.gauge::after {
  position: absolute;
  inset: 0;
  border: 14px solid #e4e4e4;
  border-bottom: 0;
  border-radius: 120px 120px 0 0;
  content: "";
}

.gauge::after {
  border-color: var(--green);
  border-right-color: transparent;
  border-bottom: 0;
  clip-path: polygon(0 0, 84% 0, 68% 100%, 0 100%);
}

.gauge span {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 8%);
}

.score-card > strong {
  display: block;
  margin-top: -12px;
  text-align: center;
  font-size: 40px;
}

.score-card > strong span { font-size: 16px; }

.score-card p {
  margin: 0 0 32px;
  text-align: center;
}

.address-list {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.address-list strong { font-size: 11px; }

.trusted {
  width: min(1250px, calc(100% - 164px));
  margin: 84px auto 54px;
}

.trusted-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 50px;
}

.trusted-heading span {
  height: 1px;
  background: var(--line);
}

.trusted-heading p {
  margin: 0;
  font-size: 17px;
  text-align: center;
  text-transform: capitalize;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 28px;
}

.logo-row span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d8d8d8;
  font-size: 23px;
  font-weight: 800;
}

.logo-row span:last-child {
  border-right: 0;
  font-weight: 500;
}

@media (max-width: 1300px) {
  .window-actions { display: none; }
}

@media (max-width: 1160px) {
  .page-shell {
    width: min(100%, calc(100% - 32px));
    margin-top: 32px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 28px 34px;
  }

  .nav-links { display: none; }
  .hero { padding: 58px 34px 0; }
  .hero-showcase { grid-template-columns: 1fr; }
  .portrait-card { min-height: 420px; }
  .dashboard-card { min-height: 540px; }
  .product-window { left: 54px; }
  .metrics-grid { padding-right: 176px; }
  .trusted { width: calc(100% - 68px); }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    margin-top: 0;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .header-actions { justify-content: flex-start; }
  .hero { padding: 36px 20px 0; }

  .announcement {
    max-width: 100%;
    justify-content: center;
    text-align: left;
  }

  .hero h1 {
    margin-top: 32px;
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .hero-copy { font-size: 17px; }
  .hero-showcase { margin-top: 44px; }

  .portrait-card,
  .dashboard-card {
    min-height: 390px;
  }

  .dashboard-card { min-height: 930px; }

  .engagement-card {
    right: 20px;
    left: 20px;
  }

  .product-window {
    inset: 72px 0 auto 26px;
    min-height: 840px;
    padding: 18px;
  }

  .welcome-row {
    align-items: flex-start;
    gap: 14px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-right: 0;
  }

  .chart-card,
  .utilization-card {
    grid-column: auto;
    grid-row: auto;
  }

  .score-card { display: none; }

  .trusted {
    width: calc(100% - 40px);
    margin-top: 54px;
  }

  .trusted-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trusted-heading span { display: none; }
  .logo-row { grid-template-columns: 1fr 1fr; }

  .logo-row span {
    border: 0;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .header-actions { width: 100%; }

  .button {
    flex: 1;
    padding: 0 20px;
  }

  .hero { padding-inline: 16px; }
  .announcement { font-size: 12px; }

  .portrait-card,
  .dashboard-card {
    min-height: 350px;
  }

  .dashboard-card { min-height: 910px; }
  .metrics-grid { gap: 8px; }
  .metric-card { padding: 12px; }
  .metric-card strong { font-size: 21px; }
  .welcome-row h2 { font-size: 18px; }
}
