:root {
  color-scheme: light;
  --ink: #101419;
  --muted: #5a6370;
  --line: #dce3e6;
  --paper: #f8faf7;
  --white: #ffffff;
  --teal: #0c8f8a;
  --saffron: #d79b28;
  --clay: #b9563c;
  --indigo: #4056a1;
  --mint: #dff4ed;
  --sand: #f2ead7;
  --rose: #f4dfd8;
  --shadow: 0 18px 50px rgba(16, 20, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 20, 25, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 25, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(16, 20, 25, 0.08);
  background: rgba(248, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.site-header.is-elevated {
  box-shadow: 0 10px 24px rgba(16, 20, 25, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--white);
  color: var(--ink);
  outline: 2px solid transparent;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 92px;
}

.hero-copy {
  max-width: 650px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 4.35rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: 2.4rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid transparent;
}

.product-frame {
  min-height: 520px;
  border: 1px solid rgba(16, 20, 25, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 247, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame-topbar {
  display: flex;
  gap: 7px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.frame-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.frame-topbar span:nth-child(1) {
  background: var(--clay);
}

.frame-topbar span:nth-child(2) {
  background: var(--saffron);
}

.frame-topbar span:nth-child(3) {
  background: var(--teal);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px;
}

.leave-console,
.metric-stack > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.leave-console {
  padding: 22px;
}

.console-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.console-header small {
  color: var(--muted);
  font-weight: 700;
}

.leave-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.type {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(16, 20, 25, 0.09);
  border-radius: 8px;
  font-weight: 900;
}

.vacation {
  background: var(--mint);
}

.sick {
  background: var(--rose);
}

.business {
  background: var(--sand);
}

.info {
  background: #e3e8fa;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.timeline span {
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--saffron), var(--clay));
}

.timeline span:nth-child(2) {
  width: 76%;
}

.timeline span:nth-child(3) {
  width: 52%;
}

.metric-stack {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.metric-stack > div {
  min-height: 124px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-stack span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.metric-stack strong {
  font-size: 1.38rem;
  line-height: 1.15;
}

.signal-band,
.analytics-band,
.section,
.workflow-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.signal-band {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-band p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section,
.workflow-section {
  padding: 86px 0 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 232px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.feature-card:nth-child(2n) > span {
  background: var(--teal);
}

.feature-card:nth-child(3n) > span {
  background: var(--clay);
}

.feature-card p,
.workflow p,
.faq-list p,
.analytics-band p {
  color: var(--muted);
}

.workflow-section {
  padding-bottom: 86px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow li {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.workflow li:last-child {
  border-right: 0;
}

.workflow span {
  display: block;
  margin-bottom: 52px;
  color: var(--teal);
  font-weight: 900;
}

.analytics-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 46px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.analytics-band p {
  margin: 0;
  font-size: 1.08rem;
}

.faq-section {
  padding-bottom: 86px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  min-height: 58px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer img {
  width: 156px;
  height: 48px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    max-width: 13ch;
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .product-frame {
    min-height: 420px;
  }

  .feature-grid,
  .workflow,
  .analytics-band {
    grid-template-columns: 1fr 1fr;
  }

  .workflow li:nth-child(2) {
    border-right: 0;
  }

  .workflow li:nth-child(1),
  .workflow li:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .analytics-band {
    gap: 26px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding: 14px 20px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .signal-band,
  .analytics-band,
  .section,
  .workflow-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 32px;
    padding-bottom: 58px;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .product-frame {
    min-height: 0;
  }

  .dashboard-grid {
    padding: 14px;
  }

  .leave-types,
  .feature-grid,
  .workflow,
  .analytics-band,
  .metric-stack {
    grid-template-columns: 1fr;
  }

  .metric-stack > div {
    min-height: 94px;
  }

  .workflow li,
  .workflow li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow li:last-child {
    border-bottom: 0;
  }

  .workflow span {
    margin-bottom: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 20px;
  }
}
