@font-face {
  font-family: "TikTok Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/tiktok-sans:vf@latest/latin-wght-normal.woff2")
    format("woff2-variations");
}

:root {
  --bg: #05060a;
  --panel: #0a0d16;
  --text: #f7f9ff;
  --muted: #8c94a8;
  --line: #20283a;
  --brand: #0048ff;
  --brand-soft: #4f7cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "TikTok Sans", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 174px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.deploy,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(0, 72, 255, 0.08),
    0 0 28px rgba(0, 72, 255, 0.13);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.deploy:hover,
.button:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: center;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(79, 124, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 124, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.beam {
  position: absolute;
  top: 13%;
  width: 660px;
  height: 660px;
  background: conic-gradient(
    from 180deg at 50% 68%,
    transparent 0 28%,
    rgba(0, 72, 255, 0.34) 45%,
    transparent 62%
  );
  filter: blur(22px);
}

.hero > *:not(.grid, .beam) {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4.8rem, 10vw, 7.0rem);
  line-height: 0.83;
  letter-spacing: -0.082em;
}

.hero > p {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Product cards */

.product-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}

.product-links > a {
  position: relative;
  min-height: 100px;
  display: grid;
  grid-template-rows: auto 1fr 118px 96px;
  padding: 28px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.product-links > a:last-child {
  border-right: 0;
}

.product-links > a:hover {
  background: linear-gradient(
    180deg,
    rgba(0, 72, 255, 0.1),
    rgba(0, 72, 255, 0.025)
  );
}

.product-links > a > span {
  grid-row: 1;
  color: var(--muted);
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.025em;
}

.product-logo {
  grid-row: 3;
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin: 0;
}

.product-wordmark {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.skill-wordmark {
  width: min(78%, 300px);
  max-height: 64px;
}

.render-wordmark {
  width: min(76%, 290px);
  max-height: 66px;
}

.inspove-wordmark {
  width: min(68%, 250px);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.product-links p {
  grid-row: 4;
  min-height: 82px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.875rem;
}

.product-links > a > b {
  position: absolute;
  top: 27px;
  right: 28px;
  font-size: 1rem;
  transition: color 160ms ease;
}

.product-links > a:hover > b {
  color: var(--brand-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1.2fr 1fr;
  gap: 64px;
  padding: 64px 0 54px;
}

.footer-brand img {
  width: 160px;
}

.footer-brand-block > p {
  max-width: 310px;
  margin: 24px 0 0;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-column > span {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column > a {
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-column > a:hover {
  color: var(--text);
}

.footer-column address {
  font-style: normal;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: none;
}

@media (max-width: 800px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 28px), 1200px);
  }

  .site-header {
    min-height: 66px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 650px;
    padding: 90px 18px;
    border-right: 0;
    border-left: 0;
  }

  h1 {
    font-size: clamp(4rem, 14vw, 6.5rem);
  }

  .hero > p {
    font-size: 1rem;
  }

  .product-links {
    grid-template-columns: 1fr;
  }

  .product-links > a {
    min-height: 350px;
    grid-template-rows: auto 1fr 104px 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-links > a:last-child {
    border-bottom: 0;
  }


  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Balanced hero copy and official product wordmarks */
h1{max-width:980px;text-wrap:balance;}
h1 span{display:block;}
.hero>p{max-width:640px;text-wrap:balance;}
.product-logo {
  grid-row: 3;
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin: 0;
}
.product-logo .product-wordmark {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.skill-wordmark {
  width: min(78%, 300px);
  max-height: 64px;
}
.render-wordmark {
  width: min(76%, 290px);
  max-height: 66px;
}
.inspove-wordmark {
  width: min(68%, 250px);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
@media(max-width:800px){
  h1 span{white-space:normal;}
  .product-logo {
  grid-row: 3;
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin: 0;
}
  .skill-wordmark,.render-wordmark {
  width: min(76%, 290px);
  max-height: 66px;
}
  .inspove-wordmark {
  width: min(68%, 250px);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
}
@media(min-width:801px){h1 span{white-space:nowrap;}}

.product-logo img {
  flex-shrink: 0;
}
