:root {
  --ink: #1f2937;
  --ink-muted: #4a637f;
  --paper: #f3efe8;
  --paper-strong: #ffffff;
  --accent: #35165a;
  --accent-dark: #5b2594;
  --accent-soft: #f1ebfb;
  --accent-pale: #edf2fa;
  --secondary: #69c1ce;
  --warm: #f17437;
  --line: #d8cdec;
  --line-soft: #c9d3e3;
  --shadow: rgba(53, 22, 90, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.95), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(105, 193, 206, 0.18), transparent 30%),
    linear-gradient(180deg, #f3efe8 0%, #e6eef9 100%);
}

.page-shell {
  width: min(72rem, calc(100vw - 3rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.site-header {
  margin-bottom: 3rem;
}

.topbar,
.hero-grid,
.release-heading,
.site-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  flex-direction: column;
  justify-content: center;
  margin-bottom: 2.5rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: clamp(4.5rem, 9vw, 6.75rem);
  height: clamp(4.5rem, 9vw, 6.75rem);
}

.brand-wordmark {
  display: block;
  width: clamp(11rem, 30vw, 18rem);
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.site-nav a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: var(--line);
}

.site-nav {
  justify-content: center;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.93;
  text-wrap: balance;
}

.lede,
.card p,
.hero-copy p,
.release-summary,
.release-highlights {
  font-size: 1.1rem;
  line-height: 1.7;
}

.lede {
  max-width: 34rem;
  margin-bottom: 0;
}

.page-intro {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.page-intro .lede {
  max-width: 42rem;
}

.hero-grid {
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-copy,
.product-shot,
.card,
.release-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 1.25rem 2.5rem var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  display: flex;
  flex: 0 1 24rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  text-align: left;
}

.hero-summary {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hero-support {
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-shot {
  flex: 1 1 38rem;
  padding: 0.75rem;
  overflow: hidden;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  border: 1px solid var(--line-soft);
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--accent-dark);
  border: 1px solid var(--line-soft);
  background: var(--paper-strong);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.25rem;
}

.card-accent {
  background:
    linear-gradient(180deg, rgba(241, 235, 251, 0.95), rgba(255, 255, 255, 0.82));
}

.card-label {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.card h2 {
  margin-bottom: 0.75rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.release-list {
  display: grid;
  gap: 1rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.release-card {
  padding: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 34rem);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
}

.feature-copy {
  max-width: 40rem;
}

.feature-copy h2 {
  margin-bottom: 0.75rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 2rem;
}

.feature-description {
  margin-bottom: 0;
}

.feature-screenshot-rotator {
  position: relative;
  width: 100%;
  display: grid;
  justify-items: center;
  align-items: start;
  overflow: visible;
  border-radius: 1rem;
  border: 1px solid var(--line-soft);
  background: var(--paper-strong);
  padding: 0.5rem;
}

.feature-screenshot {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.feature-screenshot[data-active] {
  opacity: 1;
  pointer-events: auto;
}

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

.feature-screenshot-dots {
  position: absolute;
  inset: auto 0 0.6rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  z-index: 2;
}

.feature-screenshot-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--line-strong) 55%, var(--paper));
  opacity: 0.75;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.feature-screenshot-dot[aria-current="true"] {
  opacity: 1;
  transform: scale(1.2);
  background: var(--accent-dark);
}

.release-heading {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.release-heading h2 {
  margin-bottom: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 2rem;
}

.release-date {
  margin-bottom: 0;
  padding-top: 0.2rem;
  color: var(--ink-muted);
}

.release-summary {
  max-width: 44rem;
}

.release-body {
  max-width: 44rem;
  margin-bottom: 1.2rem;
}

.release-body h2,
.release-body h3 {
  margin-bottom: 0.75rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.release-body h2 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.release-body h3 {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.release-body p,
.release-body li {
  font-size: 1.05rem;
  line-height: 1.7;
}

.release-body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.release-link {
  margin-bottom: 0;
}

.release-link a {
  color: var(--accent-dark);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 1.5rem, 72rem);
    padding: 2.5rem 0 3rem;
  }

  .topbar,
  .hero-grid,
  .release-heading,
  .site-footer {
    flex-direction: column;
    align-items: center;
  }

  .topbar {
    margin-bottom: 2rem;
  }

  .site-nav {
    gap: 0.5rem;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    flex-basis: auto;
    width: 100%;
    text-align: center;
  }

  .hero-support {
    margin: 0 auto 1.5rem;
  }

  .product-shot {
    width: 100%;
  }
}
