:root {
  color-scheme: light;
  --ink: #07090d;
  --muted: #5f6874;
  --paper: #f7f7f5;
  --line: rgba(7, 9, 13, 0.08);
  --orange: #ff512c;
  --orange-soft: #ffa38d;
  --blue: #2f9bd8;
  --dark: #111214;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(20, 36, 54, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #cfd4da;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

svg {
  display: block;
}

.page-shell {
  width: min(1400px, calc(100% - 48px));
  margin: 48px auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--paper);
  box-shadow: 0 40px 120px rgba(55, 63, 72, 0.18);
}

.hero,
.cta,
.sky-card {
  background:
    linear-gradient(180deg, rgba(166, 205, 249, 0.1), rgba(247, 247, 245, 0.96) 88%),
    url("assets/agency-sky.webp") center top / cover no-repeat;
}

.hero {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
  padding: 28px 96px 0;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 340px;
  background: linear-gradient(180deg, rgba(247, 247, 245, 0), var(--paper) 72%);
  content: "";
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(700px, 100%);
  min-height: 48px;
  margin: 0 auto;
  padding: 5px 6px 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(21, 23, 26, 0.73);
  color: #fff;
  box-shadow: 0 18px 42px rgba(37, 61, 86, 0.2);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-button,
.button,
.button-row,
.dashboard-top,
.status,
.panel-head {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  min-width: max-content;
  font-size: 13px;
  font-weight: 800;
}

.brand-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #111214;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-icon::before {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  content: "";
}

.nav-links {
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.nav-button,
.button {
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
}

.nav-button {
  min-height: 34px;
  padding: 0 14px 0 17px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 108px auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.96;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.04;
}

.hero-copy > p:not(.eyebrow) {
  width: min(560px, 100%);
  margin: 22px auto 0;
  color: #1f2933;
  font-weight: 500;
  line-height: 1.55;
}

.button-row {
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.button-row.left {
  justify-content: flex-start;
}

.button {
  min-width: 132px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 16px 28px rgba(17, 18, 20, 0.24);
}

.button.light {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.dashboard {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 160px 1fr;
  width: min(1080px, 100%);
  min-height: 540px;
  margin: 122px auto 0;
  overflow: hidden;
  border: 1px solid rgba(105, 124, 145, 0.22);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.sidebar-logo {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, transparent 32%, #fff 34% 43%, transparent 45%),
    var(--dark);
}

.sidebar a {
  min-height: 34px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #77808b;
  font-size: 12px;
  font-weight: 800;
}

.sidebar a.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(43, 55, 70, 0.08);
}

.dashboard-main {
  min-width: 0;
  padding: 26px;
}

.dashboard-top {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.dashboard-top span,
.metrics span,
.metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-top strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
  line-height: 1.1;
}

.status {
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  color: #4c5967;
  font-size: 12px;
  font-weight: 800;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #45d16d;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metrics article,
.panel,
.services article,
.process-grid article,
.float-card {
  border: 1px solid rgba(12, 18, 27, 0.06);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.metrics article {
  min-height: 118px;
  padding: 18px;
}

.metrics strong {
  display: block;
  margin: 18px 0 6px;
  font-size: 38px;
  line-height: 1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  margin-top: 10px;
}

.panel {
  min-height: 244px;
  padding: 20px;
}

.panel-head {
  justify-content: space-between;
  gap: 16px;
}

.panel-head button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f3;
  font-size: 14px;
  font-weight: 800;
}

.tabs {
  display: flex;
  gap: 4px;
}

.tabs span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

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

.risk-bar {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr 0.8fr;
  min-height: 66px;
  margin-top: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f2f1;
}

.risk-bar span {
  display: grid;
  place-items: center;
  color: #333942;
  font-size: 12px;
  font-weight: 800;
}

.risk-bar .black {
  background: #151619;
  color: #fff;
}

.risk-bar .orange {
  background: var(--orange);
  color: #fff;
}

.risk-bar i {
  background:
    repeating-linear-gradient(90deg, rgba(6, 9, 13, 0.06) 0 5px, transparent 5px 14px),
    #f6f6f4;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 28px;
}

.pipeline span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #f1f2f1;
  color: #6f7884;
  font-size: 11px;
  font-weight: 800;
}

.gauge {
  position: relative;
  display: grid;
  min-height: 178px;
  place-items: center;
}

.gauge svg {
  position: absolute;
  inset: 18px 8px 8px;
  width: calc(100% - 16px);
  height: calc(100% - 26px);
}

.gauge path {
  fill: none;
  stroke-width: 18;
  stroke-linecap: butt;
}

.gauge .track {
  stroke: #f1ded9;
}

.gauge .fill {
  stroke: var(--orange);
  stroke-dasharray: 180;
  stroke-dashoffset: 60;
}

.gauge strong {
  margin-top: 54px;
  font-size: 38px;
}

.gauge span {
  margin-top: -34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.logo-strip,
.intro,
.services,
.process,
.cases {
  width: min(1080px, calc(100% - 96px));
  margin-right: auto;
  margin-left: auto;
}

.logo-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: -2px;
  margin-bottom: 96px;
}

.logo-strip span {
  display: grid;
  min-height: 44px;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 48px;
}

.intro > p,
.case-copy > p:not(.eyebrow),
.cta-copy > p {
  color: #1f2933;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 136px;
}

.services article {
  display: grid;
  min-height: 360px;
  padding: 24px;
  box-shadow: 0 22px 54px rgba(39, 49, 60, 0.04);
}

.services .featured {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 54px 76px rgba(255, 81, 44, 0.32);
}

.service-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #f4f5f4;
  font-size: 11px;
  font-weight: 800;
}

.featured .service-icon {
  background: rgba(255, 255, 255, 0.16);
}

.services h3 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.08;
}

.services p {
  align-self: end;
  color: #1d2530;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.featured p {
  color: rgba(255, 255, 255, 0.88);
}

.process {
  margin-bottom: 132px;
  text-align: center;
}

.process h2 {
  width: min(650px, 100%);
  margin: 0 auto 42px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.2fr;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.process-grid article {
  min-height: 250px;
  padding: 24px;
  text-align: left;
}

.process-grid .span {
  grid-column: span 1;
}

.process-grid h3 {
  font-size: 23px;
}

.process-grid p,
.process-grid li {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.process-grid p {
  margin-top: 10px;
}

.process-grid ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  padding-left: 18px;
}

.process-grid li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

.bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  height: 124px;
  margin-top: 26px;
  padding: 16px;
  border-radius: 8px;
  background: #f4f5f4;
}

.bars.tall {
  grid-template-columns: repeat(6, 1fr);
  height: 170px;
}

.bars span {
  display: block;
  height: var(--h);
  min-height: 26px;
  border: 1px solid rgba(8, 12, 18, 0.05);
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.bars .hot {
  background: var(--orange);
}

.line-card {
  height: 180px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(6, 9, 13, 0.04) 1px, transparent 1px) 0 0 / 58px 100%,
    #f7f7f5;
}

.line-card svg {
  width: 100%;
  height: 100%;
}

.line-card path {
  fill: none;
  stroke: rgba(8, 12, 18, 0.08);
  stroke-width: 1;
}

.line-card .orange-line,
.line-card .blue-line {
  stroke-width: 5;
  stroke-linecap: round;
}

.orange-line {
  stroke: var(--orange) !important;
}

.blue-line {
  stroke: var(--blue) !important;
}

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 84px 72px;
  margin-bottom: 132px;
}

.case-copy {
  align-self: center;
}

.case-copy.lower {
  align-self: end;
}

.sky-card {
  display: grid;
  min-height: 360px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
}

.float-card {
  width: min(430px, 100%);
  min-height: 308px;
  margin: 0 auto;
  padding: 24px;
  box-shadow: 0 28px 74px rgba(26, 42, 60, 0.16);
}

.float-card.compact {
  min-height: 270px;
}

.donut {
  width: 190px;
  height: 190px;
  margin: 24px auto 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 43%, transparent 44%),
    conic-gradient(var(--orange) 0 66%, var(--orange-soft) 66% 78%, #f4ded8 78% 100%);
}

.legend {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
}

.legend span:nth-of-type(2) i {
  background: var(--orange-soft);
}

.cta {
  margin: 0 22px 22px;
  padding: 58px 20px 20px;
  border-radius: 22px;
  text-align: center;
}

.cta-copy {
  width: min(700px, 100%);
  margin: 0 auto 78px;
}

.cta-copy p:not(.eyebrow) {
  width: min(560px, 100%);
  margin: 18px auto 0;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 70px;
  padding: 36px;
  border: 1px solid rgba(66, 82, 100, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
  backdrop-filter: blur(18px);
}

.footer-brand {
  color: var(--ink);
}

.footer p {
  width: min(310px, 100%);
  margin: 20px 0 28px;
  color: #3d4854;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.email-form {
  position: relative;
  display: flex;
  width: min(300px, 100%);
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.email-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.email-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 12px;
  outline: 0;
  font-size: 12px;
  font-weight: 700;
}

.email-form button {
  width: 86px;
  margin: 4px;
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h3 {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-links a {
  color: #3d4854;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .page-shell {
    width: min(100% - 28px, 1400px);
    margin: 28px auto;
  }

  .hero {
    min-height: auto;
    padding: 22px 28px 0;
  }

  .nav {
    width: 100%;
  }

  .dashboard {
    grid-template-columns: 1fr;
    margin-top: 72px;
  }

  .sidebar {
    display: none;
  }

  .logo-strip,
  .intro,
  .services,
  .process,
  .cases {
    width: min(100% - 56px, 1080px);
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    padding: 18px 16px 0;
  }

  .nav {
    min-height: 52px;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 18px;
    padding: 8px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .hero-copy {
    margin-top: 72px;
  }

  .button-row {
    flex-wrap: wrap;
  }

  .dashboard {
    min-height: 0;
    border-radius: 18px 18px 0 0;
  }

  .dashboard-main {
    padding: 16px;
  }

  .dashboard-top {
    align-items: flex-start;
  }

  .status {
    display: none;
  }

  .metrics,
  .dashboard-grid,
  .intro,
  .services,
  .process-grid,
  .cases,
  .footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .metrics article {
    min-height: 96px;
  }

  .risk-bar {
    grid-template-columns: 1fr;
  }

  .risk-bar span,
  .risk-bar i {
    min-height: 42px;
  }

  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
    margin-bottom: 72px;
  }

  .intro,
  .services,
  .process,
  .cases {
    width: calc(100% - 32px);
  }

  .intro {
    gap: 24px;
  }

  .services,
  .process,
  .cases {
    margin-bottom: 84px;
  }

  .services article {
    min-height: 250px;
  }

  .panel,
  .process-grid article {
    min-height: auto;
  }

  .cases {
    gap: 28px;
  }

  .sky-card {
    min-height: 300px;
    padding: 14px;
  }

  .cta {
    margin: 0 10px 10px;
    padding: 48px 14px 14px;
  }

  .footer {
    gap: 32px;
    padding: 22px;
  }
}

@media (max-width: 460px) {
  .nav-links {
    display: none;
  }

  .brand {
    font-size: 12px;
  }

  .nav-button {
    padding: 0 10px;
    font-size: 11px;
  }

  .dashboard-top strong {
    font-size: 21px;
  }

  .metrics strong {
    font-size: 32px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .float-card {
    padding: 18px;
  }
}
