@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit/outfit-v6-latin-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit/outfit-v6-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0a18;
  --bg-elevated: rgba(22, 16, 40, 0.78);
  --line: rgba(176, 136, 249, 0.14);
  --line-strong: rgba(176, 136, 249, 0.26);
  --text: #f0eaf8;
  --text-soft: #b8a8d0;
  --accent: #b088f9;
  --accent-strong: #9b6dff;
  --accent-ink: #0d0a18;
  --kiwi: #8bc34a;
  --kiwi-soft: #a5d66f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(176, 136, 249, 0.18), transparent 32%),
    linear-gradient(180deg, #1a1030 0%, #0d0a18 42%, #08060e 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header,
.hero,
.section,
.site-footer,
.strip {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.lang-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 18, 18, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text-soft);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.2rem auto;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 3rem;
  align-items: center;
  padding: 6.5rem 0 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.site-footer h3 {
  margin: 0;
  line-height: 0.97;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 7vw, 6.3rem);
}

.hero-text,
.section-heading p,
.feature-card p,
.info-panel p,
.cta-card p,
.site-footer p,
.callout-panel li,
.image-panel figcaption {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--accent-ink);
  box-shadow: 0 18px 36px rgba(105, 213, 162, 0.24);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 0;
}

.hero-stats div {
  min-width: 9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats dt {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-stats dd {
  margin: 0.5rem 0 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 39rem;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-back {
  top: 7%;
  left: 0;
  width: 45%;
  transform: rotate(-7deg);
}

.hero-card-front {
  right: 0;
  bottom: 0;
  width: 66%;
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  justify-content: center;
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.strip p {
  margin: 0;
  color: var(--text-soft);
}

.section {
  padding: 6rem 0 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 4rem -2rem -2rem;
  z-index: -1;
  border-radius: 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.section-heading {
  max-width: 52rem;
}

.section h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.section-heading p:last-child {
  margin-top: 1.1rem;
}

.screenshot-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 320px);
  gap: 1rem;
  margin-top: 2rem;
  padding: 0.5rem 0 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.screenshot-scroller img,
.comparison img,
.image-panel img {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.screenshot-scroller img {
  width: 100%;
  scroll-snap-align: start;
}

.credits {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.credits a {
  color: var(--accent);
}

.feature-grid,
.two-column,
.split-visual {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-column,
.split-visual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.info-panel,
.callout-panel,
.image-panel,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.feature-card h3,
.info-panel h3,
.callout-panel .callout-kicker,
.image-panel figcaption,
.site-footer h3 {
  margin: 0;
}

.feature-card-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.feature-card h3,
.info-panel h3 {
  font-size: 1.3rem;
}

.feature-card p,
.info-panel p,
.callout-panel ul,
.image-panel figcaption {
  margin-top: 0.8rem;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.callout-kicker {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plain-list {
  padding-left: 1.1rem;
}

.plain-list li+li {
  margin-top: 0.7rem;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.comparison figure {
  margin: 0;
}

.comparison figcaption {
  margin-top: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

.image-panel {
  margin: 0;
}

.image-panel img {
  width: min(100%, 320px);
  margin: 0 auto;
}

.cta-section {
  padding-bottom: 4rem;
}

.cta-card {
  text-align: center;
  padding: 2.4rem;
}

.cta-card .hero-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  gap: 2rem;
  padding: 0 0 4rem;
}

.site-footer .plain-list {
  margin: 0.8rem 0 0;
}

::-webkit-scrollbar {
  width: 0.8rem;
  height: 0.8rem;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {

  .hero,
  .feature-grid,
  .two-column,
  .split-visual,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-visual {
    min-height: 32rem;
    max-width: 34rem;
    margin: 0 auto;
  }

  .section-alt::before {
    inset-inline: -1rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: 1.5rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.8rem;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-card-back {
    width: 48%;
  }

  .hero-card-front {
    width: 72%;
  }

  .comparison {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {

  .site-header,
  .hero,
  .section,
  .site-footer,
  .strip {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-visual {
    min-height: 24rem;
  }

  .hero-card-back {
    top: 4%;
  }

  .strip {
    justify-content: flex-start;
    border-radius: 1.6rem;
  }

  .screenshot-scroller {
    grid-auto-columns: minmax(240px, 84vw);
  }
}