:root {
  --text: #f5f7fb;
  --muted: #aeb8cc;
  --header: rgba(90, 100, 145, 0.95);
  --obsidian: #0a0d14;
  --midnight: #151b2d;
  --iris: #3d3a6b;
  --border: #2a3147;
  --amethyst: #8a7dff;
  --cyan: #8eddf8;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.1);
  --header-height: 5rem;
  --container: 80rem;
  --narrow: 64rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100%, var(--narrow));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--header);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  height: 3rem;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.hero,
.about,
.contact {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  background: linear-gradient(to right bottom, var(--midnight), var(--obsidian), var(--iris));
}

main > .hero:not(:first-child) {
  padding-top: 5rem;
}

.hero-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 0.5rem;
}

.pronounce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.pronounce button {
  display: inline-flex;
  padding: 0.25rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--amethyst);
  cursor: pointer;
}

.pronounce button:hover,
.pronounce button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.app-icon-wrap {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}

.app-icon {
  position: relative;
  z-index: 1;
  width: 16rem;
  height: 16rem;
  object-fit: cover;
  border-radius: 60px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.glow {
  position: absolute;
  border-radius: 999px;
  opacity: 0.2;
  filter: blur(48px);
  pointer-events: none;
}

.glow-amethyst {
  top: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background: var(--amethyst);
}

.glow-cyan {
  bottom: -2rem;
  left: -2rem;
  width: 10rem;
  height: 10rem;
  background: var(--cyan);
}

.feature-grid,
.shot-grid,
.value-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.card,
.panel,
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.card {
  padding: 1.5rem;
  border-radius: 14px;
  transition: background-color 0.2s ease;
}

.card:hover {
  background: var(--card-hover);
}

.card h3,
.value-card h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p,
.value-card p,
.muted {
  color: var(--muted);
}

.icon-tile,
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(to right bottom, var(--amethyst), var(--cyan));
  color: var(--text);
}

.icon-tile {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
}

.icon-badge {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  color: #fff;
}

.icon-soft {
  background-image: linear-gradient(to right bottom, rgba(138, 125, 255, 0.2), rgba(142, 221, 248, 0.2));
}

.icon-soft.amethyst { color: var(--amethyst); }
.icon-soft.cyan { color: var(--cyan); }

#product {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  margin-bottom: 4rem;
}

.shot {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.shot:hover {
  transform: scale(1.03);
}

.cta {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 1rem;
}

.cta p {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.store-badge {
  height: 3.5rem;
  width: auto;
  margin-inline: auto;
}

.legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration: underline;
}

.about {
  padding: 5rem 0;
  background: linear-gradient(to right bottom, var(--obsidian), var(--midnight));
}

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.section-intro h2,
.page-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-intro p {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.125rem;
}

.about-copy {
  max-width: 56rem;
  margin: 0 auto 4rem;
  display: grid;
  gap: 1.5rem;
}

.about-copy p {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.7;
}

.value-card {
  text-align: center;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
}

.contact {
  padding: 5rem 0;
  background: linear-gradient(to right bottom, var(--obsidian), var(--midnight), var(--iris));
}

.contact-list {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--muted);
}

.contact-item a:hover,
.contact-item a:focus-visible {
  text-decoration: underline;
}

.contact-intro h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-intro p {
  margin-bottom: 2rem;
  color: var(--muted);
}

.panel {
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
}

.form-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-field span {
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input);
  color: var(--text);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(174, 184, 204, 0.75);
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--amethyst);
  outline-offset: 2px;
}

.send {
  width: 100%;
  padding: 0.75rem 2rem;
  border: 0;
  border-radius: 10px;
  background-image: linear-gradient(to right, var(--amethyst), var(--cyan));
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
}

.send:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.site-footer {
  padding: 3rem 0;
  background: var(--obsidian);
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-grid {
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer li,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.copyright {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.policy {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(to right bottom, var(--obsidian), var(--midnight), var(--iris));
}

.policy article.container {
  width: min(100% - 2rem, 48rem);
}

.policy-body {
  max-width: 48rem;
  margin: 2.5rem auto 0;
  display: grid;
  gap: 1rem;
}

.policy-body h2 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.policy-body h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
}

.policy-body p,
.policy-body li {
  color: var(--muted);
  line-height: 1.7;
}

.policy-body ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.policy-body a {
  color: var(--cyan);
}

.policy-body a:hover,
.policy-body a:focus-visible {
  text-decoration: underline;
}

.dates {
  color: var(--muted);
}

.also {
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.also-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.also h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.also h2 a:hover,
.also h2 a:focus-visible {
  text-decoration: underline;
}

.kicker {
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.also .text-link {
  display: inline-block;
  margin-top: 1.25rem;
}

.text-link {
  color: var(--amethyst);
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.product {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(to right bottom, var(--obsidian), var(--midnight), var(--iris));
}

.product h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-title img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  flex: none;
}

.product-copy {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin-top: 1.5rem;
}

.product-copy p,
.product-copy li {
  color: var(--muted);
  line-height: 1.7;
}

.product-copy a,
.figure a {
  color: var(--cyan);
}

.product-copy a:hover,
.product-copy a:focus-visible,
.figure a:hover,
.figure a:focus-visible {
  text-decoration: underline;
}

.product-copy ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.product h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.gallery {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.figure {
  margin: 0;
}

.figure figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
}

.hash {
  margin-top: 1rem;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
}

.ps-window {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid #4a4a4a;
  border-radius: 0.45rem;
  background: #012456;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.ps-title {
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  color: #1a1a1a;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  line-height: 1.2;
}

.ps-body {
  margin: 0;
  padding: 0.85rem 0.9rem 1rem;
  overflow-x: auto;
  background: #012456;
  color: #f2f2f2;
  font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre;
}

.note {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.nav-menu {
  position: relative;
}

.nav-menu > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.nav-menu > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-menu > button:hover,
.nav-menu > button:focus-visible,
.nav-menu:hover > button,
.nav-menu.is-open > button {
  color: var(--text);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  padding: 0.4rem;
  background: var(--midnight);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 30;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown,
.nav-menu.is-open .nav-dropdown {
  display: grid;
}

.nav-dropdown a {
  padding: 0.6rem 0.75rem;
  border-radius: 0.45rem;
  color: var(--text);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--card-hover);
  color: var(--text);
}

.hero-intro .kicker {
  text-align: center;
}

.hero-intro .eql-version {
  margin-top: 2rem;
  margin-bottom: 0;
}

.carousel {
  margin-top: 4rem;
}

.carousel .shot,
.carousel .shot:hover {
  transform: none;
  box-shadow: none;
}

.eql-aside {
  margin: -2rem 0 0;
  text-align: center;
  color: var(--muted);
}

.eql-note {
  max-width: 42rem;
  margin: 2rem auto 0;
  text-align: center;
}

.section-intro a,
.cta a,
.about-copy a {
  color: var(--cyan);
}

.section-intro a:hover,
.section-intro a:focus-visible,
.cta a:hover,
.cta a:focus-visible,
.about-copy a:hover,
.about-copy a:focus-visible {
  text-decoration: underline;
}

.cta .hash {
  text-align: left;
  margin-top: 0;
}

.carousel-frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
}

.carousel-viewport {
  background: #07090f;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  overflow: hidden;
}

.carousel-viewport figure,
.clip {
  margin: 0;
}

.carousel-viewport img {
  width: 100%;
  max-height: 40rem;
  object-fit: contain;
  background: #07090f;
  cursor: zoom-in;
}

.feature-column {
  display: grid;
  gap: 1.5rem;
  align-content: center;
}

.feature-rest {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
}

.feature-rest .card {
  flex: 0 1 calc(50% - 0.75rem);
  max-width: calc(50% - 0.75rem);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 2rem 2rem;
  background: rgba(4, 6, 12, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  position: absolute;
  inset: 4.5rem 2rem 2rem;
  width: calc(100% - 4rem);
  height: calc(100% - 6.5rem);
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--card-hover);
}

.carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.carousel-nav:hover,
.carousel-nav:focus-visible {
  background: var(--card-hover);
}

.carousel-caption {
  margin-top: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3a4258;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--amethyst);
}

@media (max-width: 39.99rem) {
  .feature-rest .card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (min-width: 40rem) {
  .container {
    width: min(100% - 3rem, var(--container));
  }

  .logo {
    height: 3.5rem;
  }

  .app-icon {
    width: 20rem;
    height: 20rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta {
    padding: 3rem;
  }
}

@media (min-width: 48rem) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .shot-grid,
  .value-grid,
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64rem) {
  .container {
    width: min(100% - 4rem, var(--container));
  }

  .hero-grid,
  .contact-grid,
  .also-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .eql-hero.hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    align-items: stretch;
  }

  .eql-hero .card {
    height: 100%;
  }

  .eql-hero .app-icon-wrap {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    justify-self: stretch;
    width: auto;
    margin: 0;
  }

  .eql-hero .app-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(18rem, 78%);
    height: auto;
    max-height: 88%;
    transform: translate(-50%, -50%);
  }

  .eql-hero .card:nth-child(2) { grid-column: 4; grid-row: 1; }
  .eql-hero .card:nth-child(3) { grid-column: 3; grid-row: 2; }
  .eql-hero .card:nth-child(4) { grid-column: 4; grid-row: 2; }
  .eql-hero .card:nth-child(5) { grid-column: 1; grid-row: 3; }
  .eql-hero .card:nth-child(6) { grid-column: 2; grid-row: 3; }
  .eql-hero .card:nth-child(7) { grid-column: 3; grid-row: 3; }
  .eql-hero .card:nth-child(8) { grid-column: 4; grid-row: 3; }
}

@media (max-width: 47.99rem) {
  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgb(90, 100, 145);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-menu > button {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(42, 49, 71, 0.7);
  }

  .nav-menu > button {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav.is-open .nav-dropdown {
    display: grid;
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 0.25rem 0.75rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown a {
    border-bottom: 1px solid rgba(42, 49, 71, 0.7);
    border-radius: 0;
  }
}
