@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --spala-bg: #1e293b;
  --spala-panel: rgba(15, 23, 42, 0.42);
  --spala-panel-strong: rgba(15, 23, 42, 0.64);
  --spala-ink: #f8fafc;
  --spala-muted: #cbd5e1;
  --spala-soft: #dbeafe;
  --spala-line: rgba(248, 250, 252, 0.16);
  --spala-dark: #0f172a;
  --spala-accent: #fde68a;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--spala-bg);
}

body {
  margin: 0;
  position: relative;
  min-height: 100%;
  color: var(--spala-ink);
  font-family: var(--font-sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: .72;
  background: center / contain no-repeat;
}

body::before {
  left: -92px;
  bottom: 30px;
  width: 250px;
  height: 250px;
  background-image: url("/decoration.svg");
}

body::after {
  right: -118px;
  top: 68px;
  width: 290px;
  height: 290px;
  background-image: url("/decoration-1.svg");
  transform: rotate(180deg);
}

header,
main,
footer {
  max-width: 1160px;
  width: min(1160px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

main {
  min-width: 0;
  overflow-x: clip;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--spala-line);
  background: transparent;
  padding: 30px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 105px;
  height: 43px;
  overflow: hidden;
  color: #fff;
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 105px;
  height: 43px;
  display: inline-block;
  background: url("/logo-header.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: .95rem;
}

nav a {
  color: var(--spala-muted);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 0;
  transition: color .16s ease, background-color .16s ease;
}

nav a:hover {
  color: #fff;
}

nav a.nav-cta {
  color: #fff;
  border: 1px solid rgba(248, 250, 252, .22);
  padding: 9px 14px;
  background: transparent;
  font-weight: 700;
}

nav a.nav-cta:hover {
  color: #fff;
  background: rgba(248, 250, 252, 0.07);
}

.hero {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  column-gap: 44px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 58px;
  border-top: 0;
}

.hero > * {
  grid-column: 1;
}

.hero::before,
.hero::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  justify-self: end;
}

.hero::before {
  width: min(70%, 360px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(253, 230, 138, .22), rgba(14, 116, 144, .15) 40%, transparent 70%);
  filter: blur(18px);
}

.hero::after {
  width: min(100%, 500px);
  aspect-ratio: 1.32;
  border-radius: 32px;
  background: url("/block-aibuilder.png") center / cover no-repeat;
  box-shadow: 0 26px 80px rgba(2, 6, 23, .34);
}

.eyebrow,
h3 {
  font-family: var(--font-mono);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--spala-soft);
  border: 1px solid var(--spala-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .88rem;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--spala-accent);
  box-shadow: 0 0 22px rgba(253, 230, 138, .7);
}

h1,
h2 {
  color: #fff;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 600;
  line-height: .96;
  margin-top: 0;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.04;
}

h3,
strong,
th {
  color: #fff;
}

p {
  margin: 0 0 14px;
}

.lead {
  color: var(--spala-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  max-width: 680px;
  text-wrap: pretty;
}

.strip {
  border-top: 1px solid var(--spala-line);
  border-bottom: 1px solid var(--spala-line);
  padding: 22px 0;
  color: var(--spala-muted);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-left: 0;
}

.strip-inner > div {
  min-height: 0;
  padding: 0;
  border-right: 0;
}

.strip strong,
.strip span {
  display: block;
}

.strip strong {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.strip span {
  color: var(--spala-muted);
  font-size: .94rem;
}

section {
  border-top-color: var(--spala-line);
  color: var(--spala-muted);
  padding: 62px 0;
}

main > section:not(.hero):not(.strip) {
  border-top: 1px solid var(--spala-line);
}

main > section:not(.hero):not(.strip) > h2 {
  max-width: 760px;
  margin-top: 0;
  margin-bottom: 18px;
}

section p,
section li,
td,
.muted {
  color: var(--spala-muted);
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

a {
  color: var(--spala-soft);
  overflow-wrap: anywhere;
  text-decoration-color: rgba(219, 234, 254, .45);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .7);
}

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

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.item,
.note {
  border: 1px solid var(--spala-line);
  background: rgba(15, 23, 42, .36);
  box-shadow: none;
  border-radius: 16px;
  padding: 22px;
}

.item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.item p:last-child,
.note p:last-child {
  margin-bottom: 0;
}

.note {
  border-left: 4px solid var(--spala-accent);
  background: rgba(15, 23, 42, .46);
  margin: 22px 0;
}

.warning,
.note.warning {
  border-left-color: var(--spala-accent);
  background: rgba(15, 23, 42, .68);
}

.shot {
  display: block;
  width: 100%;
  border: 1px solid var(--spala-line);
  border-radius: 12px;
  background: var(--spala-dark);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

code,
pre {
  color: var(--spala-soft);
  background: rgba(15, 23, 42, .68);
  border: 1px solid var(--spala-line);
  border-radius: 6px;
  font-family: var(--font-mono);
}

code {
  padding: 1px 4px;
}

pre {
  padding: 14px;
  overflow: auto;
  box-shadow: none;
}

table {
  display: block;
  width: 100%;
  max-width: 100%;
  background: rgba(15, 23, 42, .36);
  border: 1px solid var(--spala-line);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: none;
  margin: 22px 0;
}

th,
td {
  border-color: var(--spala-line);
  border-width: 0 1px 1px 0;
  padding: 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: var(--spala-panel-strong);
  font-weight: 700;
}

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

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--spala-dark);
  text-decoration: none;
  font-weight: 720;
  box-shadow: none;
}

.button:hover {
  color: var(--spala-dark);
  background: var(--spala-soft);
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--spala-line);
  color: #fff;
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(248, 250, 252, 0.07);
  color: #fff;
}

footer {
  border-top: 1px solid var(--spala-line);
  color: #94a3b8;
  padding: 26px 0 40px;
  font-size: .92rem;
}

@media (max-width: 820px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .hero {
    display: block;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .hero::after {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-top: 28px;
  }

  .hero::before {
    display: none;
  }

  .grid,
  .two,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    border-left: 0;
  }

  .strip-inner > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--spala-line);
  }
}

@media (max-width: 560px) {
  header,
  main,
  footer {
    width: min(100% - 28px, 1160px);
  }

  nav a {
    padding-left: 0;
  }

  nav a:nth-child(n+4) {
    display: none;
  }

  body::before,
  body::after {
    opacity: .32;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.9rem);
    text-wrap: pretty;
  }
}
