:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --surface: #ffffff;
  --canvas: #f5f5f7;
  --teal: #007a78;
  --teal-dark: #005f5d;
  --green: #34a853;
  --amber: #c97816;
  --red: #d24b3f;
  --graphite: #2c2c2e;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    Inter, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
}

body.nav-open {
  overflow: hidden;
}

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

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

.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: 24px;
  min-height: 52px;
  padding: 0 max(22px, calc((100% - 1120px) / 2));
  color: rgba(29, 29, 31, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(251, 251, 253, 0.92);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.brand span {
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(29, 29, 31, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-links a,
.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
}

.nav-links a:hover,
.ghost-link:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: rgba(29, 29, 31, 0.78);
  font-size: 0.82rem;
}

.button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button {
  color: #ffffff;
  background: var(--teal);
}

.button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.button:hover {
  background: var(--teal-dark);
}

.button-small {
  min-height: 30px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.secondary-button {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 122, 120, 0.22);
}

.secondary-button:hover {
  color: var(--teal-dark);
  border-color: rgba(0, 122, 120, 0.42);
  background: #ffffff;
}

.secondary-button.dark {
  color: var(--teal);
  border-color: rgba(0, 122, 120, 0.22);
  background: #ffffff;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.menu-open .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: auto;
  overflow: hidden;
  color: var(--ink);
  background: #f5f5f7;
}

.hero-overlay {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 106px 0 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.demo-section .eyebrow {
  color: var(--teal);
}

.hero h1 {
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(4.8rem, 14vw, 12rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 900px;
  margin: 24px auto 0;
  color: #1d1d1f;
  font-size: clamp(2rem, 5vw, 5.2rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subcopy {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  width: min(1080px, 100%);
  margin: clamp(36px, 6vw, 72px) auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.hero-visual > img {
  width: 100%;
  height: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin: 18px auto 0;
}

.hero-stats div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(210, 210, 215, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-stats strong {
  display: block;
  margin: 6px 0 0;
  color: #1d1d1f;
  font-size: 1.65rem;
  font-weight: 760;
}

.signal-band {
  background: var(--canvas);
  color: var(--ink);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.signal-grid > div {
  min-height: 150px;
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
}

.signal-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

.signal-grid strong {
  display: block;
  color: #1d1d1f;
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.dashboard-copy h2,
.security-copy h2,
.demo-content h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.dashboard-copy p,
.security-copy p,
.demo-content p {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  line-height: 1.5;
}

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

.feature-card,
.workflow-step,
.pricing-card {
  border-radius: 8px;
  background: #ffffff;
}

.feature-card {
  min-height: 318px;
  padding: 28px;
}

.icon-badge {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 58px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 760;
}

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

.icon-badge.graphite {
  background: var(--graphite);
}

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

.feature-card h3,
.workflow-step h3,
.pricing-card h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 760;
  letter-spacing: 0;
}

.feature-card p,
.workflow-step p,
.pricing-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.dashboard-section {
  width: min(1320px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.dashboard-copy {
  text-align: center;
}

.dashboard-shell {
  overflow: hidden;
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(210, 210, 215, 0.72);
  border-radius: 8px;
  background: #ffffff;
}

.dashboard-topbar {
  display: flex;
  gap: 7px;
  height: 38px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfd;
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7c7cc;
}

.dashboard-topbar span:nth-child(2) {
  background: #d8a35b;
}

.dashboard-topbar span:nth-child(3) {
  background: #58b66f;
}

.dashboard-content {
  padding: clamp(18px, 3vw, 34px);
}

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

.metric-tile {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.metric-tile small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.metric-tile strong {
  display: block;
  margin-top: 10px;
  color: #1d1d1f;
  font-size: 2.5rem;
  font-weight: 760;
}

.bar {
  display: block;
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e8ed;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.amber-bar i {
  background: var(--amber);
}

.red-bar i {
  background: var(--red);
}

.dashboard-main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 14px;
}

.checklist-panel,
.ticket-panel {
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #1d1d1f;
  font-size: 0.94rem;
}

.panel-title span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.task-row,
.ticket-row {
  display: grid;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  color: #2f2f31;
  border-top: 1px solid #e8e8ed;
  font-size: 0.92rem;
}

.task-row {
  grid-template-columns: 16px minmax(0, 1fr) auto;
}

.task-row span {
  width: 14px;
  height: 14px;
  border: 1px solid #c7c7cc;
  border-radius: 4px;
}

.task-row.done span {
  border-color: var(--green);
  background: var(--green);
}

.task-row b {
  color: var(--muted);
  font-size: 0.74rem;
}

.ticket-row {
  grid-template-columns: 14px minmax(0, 1fr);
}

.status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status.active {
  background: var(--teal);
}

.status.warning {
  background: var(--amber);
}

.status.open {
  background: var(--red);
}

.workflow-section,
.pricing-section {
  width: 100%;
  margin: 0;
  padding: 92px max(20px, calc((100% - 1120px) / 2));
  background: var(--canvas);
}

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

.workflow-step {
  min-height: 310px;
  padding: 30px;
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--teal);
  font-weight: 760;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: start;
}

.security-copy {
  position: sticky;
  top: 92px;
}

.security-copy h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
}

.security-list {
  display: grid;
  gap: 12px;
}

.security-item {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 18px;
  min-height: 136px;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
}

.security-item strong {
  color: #1d1d1f;
  font-size: 1rem;
}

.security-item span {
  color: var(--muted);
  line-height: 1.5;
}

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

.pricing-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 32px;
}

.pricing-card.featured {
  border: 1px solid rgba(0, 122, 120, 0.36);
}

.plan-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(0, 122, 120, 0.1);
  font-size: 0.76rem;
  font-weight: 760;
}

.pricing-card strong {
  display: block;
  margin: 28px 0 0;
  color: #1d1d1f;
  font-size: 2.15rem;
  font-weight: 760;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 760;
}

.pricing-card .button,
.pricing-card .secondary-button {
  margin-top: auto;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 44px;
}

.faq-section .section-heading {
  margin: 0;
  text-align: left;
}

.faq-section .section-heading p:not(.eyebrow) {
  margin-left: 0;
}

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

details {
  border-radius: 8px;
  background: #ffffff;
}

summary {
  min-height: 72px;
  padding: 24px;
  cursor: pointer;
  color: #1d1d1f;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.55;
}

.demo-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #f5f5f7;
}

.demo-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
  text-align: center;
}

.demo-content h2 {
  color: #1d1d1f;
}

.demo-content p {
  color: var(--muted);
}

.demo-content .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  min-height: 104px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

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

  .nav-links {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-content: stretch;
    padding: 12px 16px 18px;
    color: var(--ink);
    background: rgba(251, 251, 253, 0.97);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-height: 46px;
  }

  .ghost-link,
  .header-actions .button-small {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .signal-grid,
  .feature-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .security-copy {
    position: static;
    text-align: center;
  }

  .faq-section .section-heading {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .hero-inner {
    width: min(100% - 32px, 560px);
    padding: 86px 0 36px;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 25vw, 7rem);
  }

  .hero-copy {
    font-size: clamp(2.15rem, 12vw, 4.2rem);
  }

  .hero-subcopy {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 30px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .hero-stats div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }

  .signal-grid,
  .feature-grid,
  .workflow-grid,
  .pricing-grid,
  .metrics-row,
  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .signal-grid {
    width: min(100% - 24px, 560px);
  }

  .section,
  .workflow-section,
  .pricing-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading h2,
  .dashboard-copy h2,
  .security-copy h2,
  .demo-content h2 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .feature-card,
  .workflow-step,
  .pricing-card {
    min-height: auto;
  }

  .icon-badge,
  .workflow-step span {
    margin-bottom: 34px;
  }

  .security-item {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
