:root {
  --ink: #1b2324;
  --ink-soft: #2f3839;
  --charcoal: #20282a;
  --paper: #eee6d5;
  --ecru: #f5eddb;
  --white: #fffaf0;
  --muted: #667172;
  --line: rgba(27, 35, 36, 0.16);
  --aqua: #40c6c4;
  --aqua-deep: #218f8b;
  --red: #40c6c4;
  --red-dark: #218f8b;
  --green: #40c6c4;
  --amber: #d7ccb6;
  --steel: #6f7c7e;
  --shadow: 0 24px 70px rgba(27, 35, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(238, 230, 213, 0.93);
  box-shadow: 0 12px 40px rgba(27, 35, 36, 0.1);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: clamp(176px, 17vw, 246px);
}

.brand-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

.site-header.is-scrolled .brand-mark img {
  filter: drop-shadow(0 1px 1px rgba(255, 250, 240, 0.55)) drop-shadow(0 10px 20px rgba(27, 35, 36, 0.16));
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(64, 198, 196, 0.12);
}

.site-header.is-scrolled .nav-action {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-floorlayr.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(27, 35, 36, 0.94) 0%, rgba(27, 35, 36, 0.74) 39%, rgba(27, 35, 36, 0.22) 72%, rgba(27, 35, 36, 0.1) 100%),
    linear-gradient(0deg, rgba(27, 35, 36, 0.5) 0%, rgba(27, 35, 36, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: clamp(132px, 18vh, 196px) 0 clamp(92px, 13vh, 132px);
  margin-left: clamp(18px, 6vw, 78px);
}

.hero-logo {
  width: min(360px, 76vw);
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #62dfdc;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.1rem, 11vw, 9.2rem);
  line-height: 0.87;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.13rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.46rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button.primary {
  background: var(--red);
  color: #0f1718;
  box-shadow: 0 18px 50px rgba(64, 198, 196, 0.28);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary {
  border: 1px solid rgba(255, 250, 240, 0.26);
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -44px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.signal-strip div {
  min-height: 108px;
  padding: 24px;
  background: var(--ecru);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  font-size: clamp(1.35rem, 2.3vw, 2.3rem);
}

.signal-strip span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 128px) 0;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 720px;
}

.problem-grid,
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-grid article,
.role-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--ecru);
}

.role-grid {
  grid-template-columns: repeat(4, 1fr);
}

.role-grid article {
  min-height: 236px;
  background: #fbf5e8;
}

.tile-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 7px;
}

.tile-icon.red {
  background: var(--red);
}

.tile-icon.green {
  background: var(--green);
}

.tile-icon.amber {
  background: var(--amber);
}

.workflow-section {
  width: 100%;
  max-width: none;
  padding-left: clamp(18px, 6vw, 78px);
  padding-right: clamp(18px, 6vw, 78px);
  background: var(--charcoal);
  color: var(--white);
}

.workflow-section .section-heading {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.workflow-section h2,
.workflow-section h3 {
  color: var(--white);
}

.workflow-section p {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.workflow-step {
  position: relative;
  min-height: 268px;
  padding: 34px 28px 28px 0;
}

.workflow-step + .workflow-step {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.workflow-step span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
}

.platform-copy p {
  max-width: 620px;
  font-size: 1.05rem;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.feature-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-showcase {
  position: relative;
  min-height: 560px;
}

.screen {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #171b1f;
  box-shadow: var(--shadow);
}

.desktop-screen {
  position: absolute;
  inset: 42px 8px auto 0;
  min-height: 390px;
  padding: 18px;
}

.screen-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4c555d;
}

.screen-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.metric-panel,
.table-panel {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: #242a2f;
  color: var(--white);
}

.metric-panel small,
.metric-panel strong,
.metric-panel span {
  display: block;
}

.metric-panel small,
.table-panel span {
  color: #99a3ad;
}

.metric-panel strong {
  margin: 14px 0 18px;
  font-size: 1.6rem;
}

.metric-panel.dark {
  background: #111417;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #3b444b;
}

.progress i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--green);
}

.table-panel {
  grid-column: 1 / -1;
  min-height: 162px;
}

.table-panel div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-panel div:last-child {
  border-bottom: 0;
}

.phone-screen {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 238px;
  min-height: 432px;
  padding: 12px;
  border: 8px solid #101316;
  border-radius: 34px;
  background: #101316;
  box-shadow: 0 28px 72px rgba(15, 19, 22, 0.28);
}

.phone-notch {
  width: 74px;
  height: 18px;
  margin: 0 auto 12px;
  border-radius: 0 0 13px 13px;
  background: #050607;
}

.phone-content {
  display: flex;
  min-height: 366px;
  flex-direction: column;
  gap: 12px;
  padding: 22px 16px;
  border-radius: 22px;
  background: #22282d;
  color: var(--white);
}

.phone-content small {
  color: #aeb7bf;
}

.phone-content strong {
  font-size: 2rem;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(39, 118, 104, 0.22);
  color: #8ce0d1;
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-content button {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  background: #303842;
  color: var(--white);
  font-weight: 800;
  text-align: left;
  padding: 0 14px;
}

.phone-content button:first-of-type {
  margin-top: auto;
  background: var(--red);
  color: #0f1718;
}

.roles-section {
  padding-top: 40px;
}

.rollout-section {
  width: 100%;
  max-width: none;
  padding-left: clamp(18px, 6vw, 78px);
  padding-right: clamp(18px, 6vw, 78px);
  background: #dcd5c7;
}

.rollout-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.rollout-panel h2 {
  max-width: 760px;
}

.rollout-panel p {
  max-width: 680px;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 52px;
  padding: 16px 18px 16px 54px;
  border-radius: 7px;
  background: var(--ecru);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 50px;
  align-items: center;
}

.contact-copy p {
  max-width: 720px;
  font-size: 1.06rem;
}

.contact-card {
  padding: 28px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  color: #9ba6ad;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  margin: 12px 0 16px;
  font-size: 1.7rem;
  line-height: 1.1;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card .button {
  width: 100%;
  margin-top: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 78px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 214px;
  height: auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .nav-action {
    justify-self: end;
  }

  .signal-strip,
  .problem-grid,
  .workflow-rail,
  .role-grid,
  .platform-section,
  .rollout-panel,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .platform-section,
  .rollout-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .workflow-step + .workflow-step {
    border-left: 0;
    padding-left: 0;
  }

  .workflow-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .product-showcase {
    min-height: 580px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 158px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(27, 35, 36, 0.96) 0%, rgba(27, 35, 36, 0.8) 64%, rgba(27, 35, 36, 0.3) 100%),
      linear-gradient(0deg, rgba(27, 35, 36, 0.56) 0%, rgba(27, 35, 36, 0) 44%);
  }

  .hero-content {
    margin-left: 18px;
    margin-right: 18px;
    width: calc(100vw - 36px);
    padding-top: 112px;
  }

  .hero-logo {
    width: 238px;
    margin-bottom: 28px;
  }

  .hero-lede {
    max-width: 320px;
  }

  h1 {
    font-size: 4.1rem;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .signal-strip,
  .problem-grid,
  .workflow-rail,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: -22px;
  }

  .signal-strip div {
    min-height: 92px;
  }

  .section {
    padding: 66px 0;
  }

  .problem-grid article,
  .role-grid article {
    min-height: 0;
  }

  .workflow-step {
    min-height: 0;
    padding: 26px 0;
  }

  .workflow-step span {
    margin-bottom: 24px;
  }

  .product-showcase {
    min-height: 720px;
  }

  .desktop-screen {
    inset: 0 0 auto;
    min-height: 430px;
  }

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

  .table-panel {
    grid-column: auto;
  }

  .table-panel div {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
