button{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer}h1,h2,p,dl,dd,ol{margin:0}
:root {
  --ink: #171615;
  --muted: #5e625f;
  --paper: #f8f7f2;
  --panel: #ffffff;
  --line: rgba(23, 22, 21, 0.14);
  --blue: #0078b8;
  --cyan: #36b9d8;
  --yellow: #ffc640;
  --red: #d7514c;
  --green: #27a06d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Segoe UI",
    "Inter",
    Arial,
    sans-serif;
}

.editor-frame {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  border: 0;
  background: #2b2b2b;
}

.launch-page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
  text-align: center;
}

.launch-page h1 {
  margin: 22px 0 10px;
  font-size: 42px;
  line-height: 1.05;
}

.launch-page p {
  color: var(--muted);
  font-size: 17px;
}

.launch-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 34px;
  font-weight: 850;
  box-shadow: 10px 10px 0 var(--yellow);
}

.launch-spinner {
  width: 28px;
  height: 28px;
  margin: 14px 0 28px;
  border: 3px solid rgba(23, 22, 21, 0.16);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: launch-spin 800ms linear infinite;
}

@keyframes launch-spin {
  to { transform: rotate(360deg); }
}

.pwa-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 11, 11, 0.62);
}

.pwa-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.pwa-dialog h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.pwa-dialog p,
.pwa-dialog li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.pwa-dialog ol {
  padding-left: 22px;
}

.pwa-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  cursor: pointer;
}

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

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      #0c0e0f 0%,
      #0c0e0f 39%,
      rgba(12, 14, 15, 0.78) 56%,
      rgba(12, 14, 15, 0.3) 100%
    ),
    url("/og.png") 70% center / cover no-repeat,
    #242829;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(10, 11, 11, 0.72), rgba(10, 11, 11, 0));
  z-index: -1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 72px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 72px
    );
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand,
.nav-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 700;
}

.brand {
  gap: 10px;
  font-size: 15px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: var(--yellow);
  border-radius: 6px;
}

.nav-link {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.11);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 850;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  padding: 0 20px;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--yellow);
  color: #171615;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
}

.button-dark {
  background: #171615;
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 10px;
  max-width: 560px;
  margin: 46px 0 0;
}

.hero-metrics div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 16, 17, 0.52);
  border-radius: 8px;
}

.hero-metrics dt {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}

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

.capabilities-band {
  padding: 58px 0 50px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 720px);
  gap: 42px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading .eyebrow,
.workflow-copy .eyebrow {
  color: var(--blue);
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.12;
}

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

.capability-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.capability-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 4px rgba(0, 120, 184, 0.13),
    0 0 0 8px rgba(255, 198, 64, 0.18);
}

.capability-item:nth-child(2) .capability-dot {
  background: var(--green);
}

.capability-item:nth-child(3) .capability-dot {
  background: var(--red);
}

.capability-item:nth-child(4) .capability-dot {
  background: var(--cyan);
}

.capability-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.workflow-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 0 62px;
  border-top: 1px solid var(--line);
}

.workflow-copy {
  max-width: 720px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 22px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 88svh;
  }

  .topbar {
    width: min(100% - 28px, 1180px);
    padding-top: 16px;
  }

  .nav-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.15;
  }

  .brand > span:last-child {
    max-width: 124px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 56px 0 62px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-metrics,
  .capability-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    max-width: none;
  }

  .capabilities-band,
  .workflow-band {
    width: min(100% - 28px, 1180px);
  }

  .workflow-band {
    align-items: flex-start;
    flex-direction: column;
  }
}
