:root {
  color-scheme: light;
  --bg: #f6f4f8;
  --bg-accent: #eef1fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #2f3444;
  --muted: #5f6476;
  --line: rgba(89, 106, 177, 0.16);
  --accent: #5d72df;
  --accent-deep: #4457ba;
  --accent-soft: rgba(93, 114, 223, 0.1);
  --shadow-lg:
    26px 26px 52px rgba(202, 205, 220, 0.52),
    -18px -18px 42px rgba(255, 255, 255, 0.92),
    inset 1px 1px 0 rgba(255, 255, 255, 0.72);
  --shadow-md:
    16px 16px 32px rgba(204, 207, 223, 0.45),
    -10px -10px 24px rgba(255, 255, 255, 0.88),
    inset 1px 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-sm:
    10px 10px 20px rgba(208, 211, 227, 0.36),
    -8px -8px 18px rgba(255, 255, 255, 0.9);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(93, 114, 223, 0.08), transparent 30%),
    radial-gradient(circle at right 20% top 18%, rgba(122, 138, 214, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg-accent) 0%, var(--bg) 24%, #f8f7f9 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

.text-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

pre,
code {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 999px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  padding: 0.9rem 0 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #7385e8, #4f63cb);
  color: #fff;
  box-shadow:
    8px 8px 18px rgba(93, 114, 223, 0.28),
    -5px -5px 12px rgba(255, 255, 255, 0.75);
}

.brand__text {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-deep);
}

.hero {
  padding: 1.35rem 0 0;
}

.surface {
  border: 1px solid rgba(91, 104, 149, 0.12);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.surface--hero {
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 253, 0.84)),
    var(--panel-strong);
  box-shadow: var(--shadow-lg);
}

.use-case,
.install-card,
.run-card {
  padding: 1.2rem;
}

.surface--screenshot {
  padding: 0.85rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 0.8rem;
  color: var(--accent-deep);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.site-footer__title {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.1;
}

h3 {
  font-size: 0.96rem;
  line-height: 1.22;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero__lede {
  max-width: 42rem;
  font-size: 0.98rem;
}

.hero__lede {
  margin-top: 0.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}


.button--primary {
  color: #fff;
  background: linear-gradient(145deg, #6d81e8, #4e61c6);
  box-shadow:
    12px 12px 24px rgba(93, 114, 223, 0.25),
    -8px -8px 18px rgba(255, 255, 255, 0.45);
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(93, 114, 223, 0.14);
  box-shadow: var(--shadow-sm);
}

.button:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(93, 114, 223, 0.25);
  outline-offset: 3px;
}

.hero__facts {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero__facts li {
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(93, 114, 223, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 0.86rem;
}

.section {
  padding: 2.35rem 0 0;
}

#product + .section {
  padding-top: 0.7rem;
}


.screenshot-card img {
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(80, 88, 120, 0.14);
  box-shadow:
    0 18px 30px rgba(68, 72, 97, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.benefit-list,
.use-case-list,
.install-grid {
  display: grid;
  gap: 0.8rem;
}

.benefit-list {
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.use-case-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.use-case,
.install-card,
.run-card {
  background: rgba(255, 255, 255, 0.74);
}

.benefit-item h3,
.use-case h3,
.install-card h3,
.run-card h3 {
  margin-bottom: 0.45rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(91, 104, 149, 0.12);
}

.benefit-item:last-child {
  border-bottom: 0;
}

.benefit-item h3,
.benefit-item p {
  margin: 0;
}

.run-card {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

pre {
  margin: 0.7rem 0 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(92, 105, 150, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(241, 243, 249, 0.95);
  overflow-x: auto;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.code-block {
  position: relative;
}

.code-block pre {
  padding-right: 2.75rem;
}

.copy-btn {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.copy-btn:hover {
  color: var(--accent-deep);
  background: rgba(93, 114, 223, 0.08);
}

.copy-btn.copied {
  color: #3a8a5c;
}

.run-card pre {
  margin: 0;
  min-width: min(100%, 23rem);
}

.run-card .code-block {
  min-width: min(100%, 23rem);
}

.run-card .code-block pre {
  min-width: 100%;
}

.site-footer {
  padding: 2.4rem 0 1.25rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(91, 104, 149, 0.16);
}

.site-footer__title {
  font-size: 0.98rem;
  font-weight: 800;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.4rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header__inner,
  .site-footer__inner {
    border-radius: 32px;
  }

  .site-header__inner,
  .site-footer__inner,
  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 2rem;
  }

  .run-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .shell {
    width: min(calc(100% - 1.2rem), var(--shell));
  }

  .site-header {
    padding-top: 0.75rem;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .site-nav {
    gap: 0.9rem 1rem;
  }

  .section {
    padding-top: 1.9rem;
  }

  #product + .section {
    padding-top: 0.55rem;
  }

  .surface--hero,
  .surface--screenshot,
  .use-case,
  .install-card,
  .run-card {
    padding: 1rem;
    border-radius: 26px;
  }

  .benefit-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__facts {
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
