.hero {
  position: relative;
  overflow: hidden;
  padding-top: 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: 72px;
  width: min(100% - 64px, 1240px);
  min-height: 670px;
  margin: 0 auto;
  padding: 72px 0 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.eyebrow-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(232, 61, 132, 0.12);
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 750;
  line-height: 1.06;
}

.hero h1 span {
  display: block;
  position: relative;
  z-index: 0;
}

.hero h1 span::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  z-index: -1;
  height: 12px;
  background: rgba(232, 61, 132, 0.22);
  content: "";
}

.hero-description {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
}

.hero-meta span {
  flex: 1 1 auto;
  min-width: 88px;
  padding: 12px 16px 11px 0;
  border-right: 1px solid var(--line);
}

.hero-meta span + span {
  padding-left: 16px;
}

.hero-meta span:last-child {
  border-right: 0;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-accent {
  position: absolute;
  top: 34px;
  right: -25px;
  width: 52%;
  height: 82%;
  background: var(--brand);
  transform: rotate(3deg);
}

.hero-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(17, 19, 24, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.screen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #e2e5e6;
  background: #f9faf9;
}

.screen-hint {
  color: #888f96;
  font-family: var(--mono);
  font-size: 10px;
}

.hero-window > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.lyric-float {
  position: absolute;
  z-index: 4;
  bottom: 52px;
  left: -32px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(17, 19, 24, 0.14);
}

.lyric-label {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.lyric-float strong,
.lyric-float small {
  display: block;
}

.lyric-float strong {
  font-size: 14px;
}

.lyric-float small {
  color: var(--text-muted);
  font-size: 11px;
}

.hero-timeline {
  position: absolute;
  right: -10px;
  bottom: -10px;
  left: 8%;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  background: rgba(17, 19, 24, 0.16);
}

.hero-timeline span {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--brand);
  animation: playhead 5s ease-in-out infinite alternate;
}

@keyframes playhead {
  from {
    width: 32%;
  }
  to {
    width: 78%;
  }
}

.format-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 64px, 1240px);
  margin: 0 auto 112px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #7a8188;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.section-heading {
  width: min(100%, 780px);
  margin: 0 auto 58px;
}

.section-heading h2,
.trust-copy h2,
.download-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 740;
  line-height: 1.12;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
}

.features {
  padding-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.feature-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  min-height: 248px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: #b7bec1;
  background: #ffffff;
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
}

.feature-icon-pink {
  background: rgba(232, 61, 132, 0.12);
  color: var(--brand-dark);
}

.feature-icon-blue {
  background: rgba(49, 92, 255, 0.11);
  color: var(--blue);
}

.feature-icon-mint {
  background: rgba(116, 197, 154, 0.2);
  color: #287a4d;
}

.feature-icon-amber {
  background: rgba(239, 178, 77, 0.2);
  color: #9a650f;
}

.feature-label {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 720;
  line-height: 1.35;
}

.feature-card div > p:last-child {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.screens {
  background: var(--surface-muted);
}

.screens-heading,
.screen-tabs,
.screen-stage {
  width: min(100%, 1240px);
  margin-right: auto;
  margin-left: auto;
}

.screen-tabs {
  position: relative;
  display: flex;
  border-bottom: 1px solid #cfd5d5;
}

.screen-tab {
  flex: 1 1 0;
  min-width: 96px;
  padding: 15px 16px 17px;
  border: 0;
  background: transparent;
  color: #727981;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease;
}

.screen-tab:hover,
.screen-tab.is-active {
  color: var(--ink);
}

.tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: calc(100% / 6);
  height: 3px;
  background: var(--brand);
  transform: translateX(calc(var(--tab-index, 0) * 100%));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.screen-stage {
  overflow: hidden;
  border: 1px solid #cfd5d5;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
}

.window-separator {
  color: #a4aaaf;
  font-weight: 500;
}

.screen-toolbar strong {
  font-size: 12px;
}

.screen-image-wrap {
  position: relative;
  overflow: hidden;
  background: #f2f4f3;
}

.screen-image-wrap::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  content: "";
}

#screen-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

#screen-image.is-switching {
  animation: screen-in 280ms ease both;
}

@keyframes screen-in {
  from {
    opacity: 0.5;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust {
  padding-top: 112px;
  padding-bottom: 112px;
}

.trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.trust-copy h2 {
  font-size: 42px;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.trust-points p {
  margin: 0;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.trust-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
}

.download {
  position: relative;
  overflow: hidden;
  padding: 126px 32px;
  background: var(--ink);
  color: #ffffff;
}

.download::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--brand);
  content: "";
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 100px;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.section-kicker-light {
  color: #ff8fba;
}

.download-copy h2 {
  max-width: 510px;
  font-size: 52px;
}

.download-copy > p:not(.section-kicker) {
  max-width: 490px;
  margin: 24px 0 0;
  color: #aeb4bd;
  font-size: 17px;
  line-height: 1.85;
}

.text-link-light {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.text-link-light:hover {
  color: #ff8fba;
}

.download-options {
  display: grid;
  gap: 12px;
}

.platform-download {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 17px 20px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--ink-soft);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.platform-download:hover {
  border-color: var(--brand);
  background: #20232a;
  transform: translateX(5px);
}

.platform-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #292d35;
  color: #ffffff;
}

.platform-copy {
  min-width: 0;
}

.platform-copy strong,
.platform-copy small {
  display: block;
}

.platform-copy strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.platform-copy small {
  margin-top: 3px;
  color: #9fa6af;
  font-family: var(--mono);
  font-size: 10px;
}

.download-arrow {
  margin-left: auto;
  color: #747b85;
  transition: color 180ms ease;
}

.platform-download:hover .download-arrow {
  color: #ff8fba;
}

.alternate-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 14px 4px 0;
  color: #848b94;
  font-family: var(--mono);
  font-size: 10px;
}

.alternate-downloads a {
  color: #c9ced5;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 650;
}

.alternate-downloads a:hover {
  color: #ffffff;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .lyric-float {
    left: 18px;
  }

  .download-inner {
    gap: 64px;
  }
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 70px;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

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

  .trust-inner,
  .download-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .trust-points {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 0;
  }

  .hero-inner {
    width: min(100% - 40px, 1240px);
    padding: 54px 0 54px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-visual {
    padding: 26px 0 24px;
  }

  .hero-accent {
    top: 0;
    right: -12px;
    height: 82%;
  }

  .lyric-float {
    bottom: -14px;
    left: 12px;
  }

  .hero-timeline {
    right: 12px;
    bottom: 8px;
    left: 12px;
  }

  .format-rail {
    justify-content: flex-start;
    width: min(100% - 40px, 1240px);
    margin-bottom: 88px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .format-rail::-webkit-scrollbar {
    display: none;
  }

  .format-rail span {
    flex: 0 0 auto;
  }

  .features {
    padding-top: 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .trust-copy h2,
  .download-copy h2 {
    font-size: 38px;
  }

  .section-heading > p:last-child,
  .download-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .feature-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 28px 24px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
  }

  .feature-card h3 {
    font-size: 21px;
  }

  .screen-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .screen-tabs::-webkit-scrollbar {
    display: none;
  }

  .screen-tab {
    flex: 0 0 auto;
    min-width: 92px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .tab-indicator {
    display: none;
  }

  .screen-hint {
    display: none;
  }

  .screen-stage {
    border-top: 1px solid #cfd5d5;
  }

  .trust {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .trust-points {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-points p {
    padding: 18px 0;
    border-top-width: 1px;
  }

  .trust-points p:first-child {
    border-top: 3px solid var(--ink);
  }

  .download {
    padding: 88px 20px;
  }

  .platform-download {
    min-height: 76px;
    padding: 14px 16px;
  }

  .platform-icon {
    width: 42px;
    height: 42px;
  }

  .alternate-downloads {
    gap: 10px 14px;
  }
}

@media (max-width: 460px) {
  .hero-inner {
    gap: 56px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero h1 span::after {
    bottom: 0;
    height: 8px;
  }

  .hero-meta span {
    flex-basis: 50%;
    min-width: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta span:nth-child(2) {
    border-right: 0;
  }

  .hero-meta span:nth-child(n + 3) {
    border-bottom: 0;
  }

  .lyric-float {
    min-width: 0;
    width: calc(100% - 24px);
  }

  .feature-card {
    display: block;
  }

  .feature-icon {
    margin-bottom: 20px;
  }

  .download-copy h2 {
    font-size: 35px;
  }

  .platform-copy small {
    line-height: 1.5;
  }
}
