:root {
  color-scheme: dark;
  --bg: #070912;
  --text: #f3f4f2;
  --muted: rgba(243, 244, 242, 0.68);
  --faint: rgba(243, 244, 242, 0.43);
  --line: rgba(243, 244, 242, 0.15);
  --blue: #149eef;
  --ice: #a9c7d8;
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --hand: "Illusion Script", Georgia, "Times New Roman", serif;
}

@font-face {
  font-display: swap;
  font-family: "Illusion Script";
  font-style: normal;
  font-weight: 400;
  src: url("../../assets/fonts/IllusionScript-Regular.otf") format("opentype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.011) 1px, transparent 1px),
    var(--bg);
  background-size: 58px 58px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

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

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

.site-header,
footer,
.hero,
.core-features,
.organize-section,
.analysis-section,
.editions,
.requirements {
  width: min(calc(100% - 56px), 1240px);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.site-header p,
footer p {
  margin: 0;
  color: var(--faint);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lab-link {
  font-family: var(--hand);
  font-size: 1.75rem;
  line-height: 1;
  transition: color 180ms ease;
}

.lab-link:hover,
.lab-link:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--ice);
  outline: none;
}

.eyebrow,
.edition-label {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, 0.58fr);
  gap: 46px;
  padding: clamp(68px, 8vw, 104px) 0 clamp(76px, 9vw, 112px);
  isolation: isolate;
}

.hero-aura {
  position: absolute;
  top: -16%;
  right: -2%;
  z-index: -1;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 158, 239, 0.22), rgba(20, 90, 145, 0.07) 48%, transparent 72%);
  filter: blur(8px);
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  margin-bottom: 0;
  font-size: clamp(4.7rem, 9.5vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
  white-space: nowrap;
}

.hero-summary {
  align-self: end;
}

.app-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tagline {
  margin-bottom: 11px;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.4;
}

.intro {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.product-frame {
  grid-column: 1 / -1;
  margin: clamp(36px, 5vw, 60px) 0 0;
  padding: clamp(8px, 1vw, 13px);
  border: 1px solid rgba(20, 158, 239, 0.22);
  background:
    linear-gradient(140deg, rgba(20, 158, 239, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.product-frame img {
  width: 100%;
  height: auto;
}

.hero-footnote {
  grid-column: 1 / -1;
  margin: 13px 0 0;
  color: var(--faint);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.core-features,
.organize-section,
.analysis-section,
.editions,
.requirements {
  padding: clamp(70px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.core-features,
.editions,
.requirements {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(46px, 6vw, 78px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.core-features h2,
.editions h2,
.requirements h2 {
  max-width: 540px;
  font-size: clamp(2.9rem, 4.4vw, 4.6rem);
  line-height: 0.96;
}

.editions-heading h2 span {
  display: block;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-list article {
  display: grid;
  grid-template-columns: 42px minmax(150px, 0.8fr) minmax(210px, 1.2fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  margin: 0;
  color: var(--faint);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.feature-list h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature-list article > p:last-child,
.section-copy > p,
.edition-grid article > p,
.edition-grid li,
.requirements-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.organize-section,
.analysis-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: clamp(50px, 7vw, 94px);
  align-items: center;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  min-height: 430px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(20, 158, 239, 0.16);
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 158, 239, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.018);
}

.detail-gallery figure {
  display: grid;
  place-items: center;
  margin: 0;
}

.detail-gallery img {
  max-height: 350px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.section-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
}

.section-copy > p {
  max-width: 400px;
}

.section-copy > p + p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.analysis-section {
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
}

.analysis-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.38fr);
  gap: 13px;
  align-items: end;
}

.analysis-frame,
.bpm-frame {
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(20, 158, 239, 0.18);
  background: rgba(255, 255, 255, 0.022);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.analysis-frame img,
.bpm-frame img {
  width: 100%;
  height: auto;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.edition-grid article {
  display: flex;
  flex-direction: column;
  padding: 24px 32px 4px 0;
}

.edition-grid article + article {
  padding-right: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.edition-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.edition-grid ul {
  flex: 1;
  margin: 22px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.edition-grid li {
  position: relative;
  padding: 5px 0 5px 17px;
}

.edition-grid li::before {
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.purchase-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.purchase-options button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  min-height: 58px;
  padding: 10px 13px;
  border: 1px solid rgba(243, 244, 242, 0.18);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(243, 244, 242, 0.62);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-align: left;
}

.purchase-options button:disabled {
  cursor: not-allowed;
}

.purchase-options-lite {
  grid-template-columns: 1fr;
}

.purchase-status {
  color: rgba(243, 244, 242, 0.3);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.requirements {
  align-items: center;
}

.requirements-copy {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.requirements-copy p + p {
  margin-top: 16px;
}

.requirements-copy strong {
  color: var(--text);
  font-weight: 600;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.68rem;
}

footer p {
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
  transition: color 180ms ease;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px 0;
  }

  .hero-heading,
  .hero-summary {
    grid-column: 1;
  }

  .hero-summary {
    max-width: 520px;
  }

  .core-features,
  .organize-section,
  .analysis-section,
  .editions,
  .requirements {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .analysis-visuals {
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .site-header,
  footer,
  .hero,
  .core-features,
  .organize-section,
  .analysis-section,
  .editions,
  .requirements {
    width: calc(100% - 36px);
  }

  .site-header {
    min-height: 66px;
  }

  .hero {
    padding: 62px 0 74px;
  }

  h1 {
    font-size: clamp(3rem, 15.5vw, 5rem);
    white-space: normal;
  }

  .hero-summary {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0 17px;
    align-items: center;
  }

  .app-icon {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .tagline {
    margin-bottom: 5px;
    font-size: 0.98rem;
  }

  .intro {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .product-frame {
    width: calc(100% + 18px);
    margin-top: 16px;
    padding: 5px;
    overflow: hidden;
  }

  .product-frame img {
    width: 155%;
    max-width: none;
  }

  .hero-footnote {
    font-size: 0.52rem;
    line-height: 1.6;
  }

  .core-features,
  .organize-section,
  .analysis-section,
  .editions,
  .requirements {
    padding: 70px 0;
  }

  h2,
  .section-copy h2,
  .core-features h2,
  .editions h2,
  .requirements h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .feature-list article {
    grid-template-columns: 34px 1fr;
    gap: 8px 14px;
  }

  .feature-list article > p:last-child {
    grid-column: 2;
  }

  .detail-gallery {
    min-height: 0;
    padding: 18px 8px;
  }

  .analysis-visuals {
    grid-template-columns: 1fr 0.42fr;
    gap: 8px;
  }

  .analysis-frame,
  .bpm-frame {
    padding: 5px;
  }

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

  .edition-grid article,
  .edition-grid article + article {
    padding: 22px 0;
    border-left: 0;
  }

  .edition-grid article + article {
    border-top: 1px solid var(--line);
  }

  .purchase-options {
    margin-top: 20px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
