:root {
  color-scheme: dark;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #10151d;
  color: #eef2f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(16, 21, 29, 0.88), rgba(16, 21, 29, 1)),
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.14), transparent 38%);
  overflow-x: clip;
  line-height: 1.6;
}

body.app-browser-fill {
  overflow: hidden;
}

a {
  color: #67e8f9;
}

.site-shell {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 9px 18px 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.74);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.24);
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.brand-link:hover,
.brand-link:focus-visible {
  border-color: rgba(103, 232, 249, 0.72);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.32);
}

.brand-link:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.28);
  outline-offset: 3px;
}

.brand-link:active {
  transform: translateY(1px);
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 0;
  filter: none;
}

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #cbd5e1;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: #f8fafc;
}

.home-about-line {
  max-width: 640px;
  margin: 52px 0 0;
  color: #cbd5e1;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #8b98aa;
  font-size: 0.86rem;
}

.site-footer a {
  color: #a7b3c5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f8fafc;
}

.page-hero {
  padding: 72px 0 36px;
}

.compact-hero {
  padding-bottom: 24px;
}

.compact-hero h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  line-height: 1.08;
}

.home-intro {
  padding: 72px 0 28px;
}

.page-kicker {
  max-width: 620px;
  margin: 0 0 14px;
  color: #a7b3c5;
  font-size: 1rem;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.98;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: #34d399;
  color: #082f26;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.34);
}

.content {
  display: grid;
  gap: 24px;
}

.section {
  padding: 24px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.section h2 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 1.35rem;
}

.section p,
.section li {
  color: #cbd5e1;
}

.legal-date {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.48);
  color: #67e8f9;
  font-weight: 750;
  text-decoration: none;
}

.contact-link:hover {
  border-color: rgba(103, 232, 249, 0.52);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon-x {
  fill: currentColor;
  stroke: none;
}

.project-section {
  margin: 0 0 42px;
}

.project-section-title {
  margin: 0 0 14px;
  color: #f8fafc;
  font-size: 1.35rem;
}

.launch-grid {
  display: grid;
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 0 0 40px;
}

.launch-grid.project-launch-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 460px));
  margin-bottom: 0;
}

.home-launch-grid {
  margin-top: 24px;
  margin-bottom: 28px;
}

.home-contact {
  align-items: center;
  border-top: 0;
  justify-content: center;
  margin-top: 0;
  padding: 0;
}

.launch-card {
  display: flex;
  height: 100%;
  width: 100%;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  text-decoration: none;
}

.launch-card:hover {
  border-color: rgba(103, 232, 249, 0.52);
  background: rgba(15, 23, 42, 0.9);
}

.launch-card:hover .launch-card-media img {
  transform: scale(1.035);
}

.launch-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: #05070a;
}

.launch-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.launch-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.launch-card-title {
  min-width: 0;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.launch-card small {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  border-radius: 999px;
  background: #34d399;
  padding: 0 12px;
  color: #082f26;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-page-shell {
  width: min(1320px, calc(100% - 24px));
  padding-bottom: 24px;
}

.app-site-footer {
  margin-top: 18px;
}

.app-setup-section {
  margin: 28px 0 18px;
}

.app-setup-section > * {
  min-width: 0;
}

.quick-setup-copy {
  min-width: 0;
  max-width: 920px;
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.quick-setup-video {
  display: block;
  width: min(100%, 760px);
  margin: 18px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: #05070a;
}

.quick-setup-copy h2 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 1.15rem;
}

.quick-setup-copy ol {
  margin: 0;
  padding-left: 1.25rem;
}

.quick-setup-copy li {
  padding-left: 0.25rem;
}

.quick-setup-copy li + li {
  margin-top: 8px;
}

.quick-setup-copy a {
  overflow-wrap: anywhere;
}

.app-editor-title {
  margin: 24px 0 10px;
  color: #f8fafc;
  font-size: 1.2rem;
  line-height: 1.2;
}

.app-stage {
  position: relative;
  height: calc(100vh - 128px);
  min-height: 620px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #05070a;
}

.app-page-shell.is-browser-filled .app-stage {
  position: fixed;
  inset: 0;
  z-index: 50;
  height: 100vh;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.app-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.app-fill-button {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 12px;
}

.app-page-shell.is-browser-filled .app-fill-button {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 60;
}

.app-fill-button:hover {
  border-color: rgba(103, 232, 249, 0.58);
}

@media (max-width: 640px) {
  .site-shell {
    padding: 22px 12px 56px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-link {
    width: 100%;
    justify-content: center;
  }

  .site-nav {
    width: 100%;
  }

  .page-hero {
    padding-top: 48px;
  }

  .page-kicker {
    max-width: 30ch;
  }

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

  .contact-links {
    display: grid;
  }

  .contact-link {
    width: 100%;
    min-width: 0;
  }

  .contact-link span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .launch-card-body {
    min-height: 74px;
    gap: 12px;
    padding: 14px 16px;
  }

  .launch-card-title {
    font-size: 1.4rem;
  }

  .app-page-shell {
    width: 100%;
    padding: 12px 8px;
  }

  .app-setup-section {
    margin: 24px 0 16px;
  }

  .app-stage {
    height: calc(100vh - 104px);
    min-height: 540px;
  }

}
