:root {
  --bg: #080807;
  --panel: #12110f;
  --panel-strong: #181612;
  --text: #f7f4ed;
  --muted: #b9b0a1;
  --quiet: #857b6d;
  --gold: #d1b16f;
  --blue: #7db5ff;
  --green: #89d6b1;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(209, 177, 111, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(125, 181, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, #0d0c0a 0%, var(--bg) 42%, #0b0b09 100%);
  color: var(--text);
  font-family: "Avenir", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(8, 8, 7, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero,
.split-section,
.section,
.download-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 4rem 0 5rem;
}

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

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.microcopy {
  color: var(--quiet);
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #151008;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.expandable-image {
  cursor: zoom-in;
}

.device.expandable-image,
.image-grid .expandable-image,
.platform-collage .expandable-image {
  transition: filter 0.2s ease, transform 0.2s ease;
}

.expandable-image:hover {
  filter: brightness(1.08) saturate(1.08);
}

.image-grid .expandable-image:hover,
.platform-collage .expandable-image:hover {
  transform: translateY(-2px);
}

.expandable-image:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 56px;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: #050505;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.app-store-badge svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.app-store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.app-store-badge small {
  font-size: 0.7rem;
  font-weight: 700;
}

.app-store-badge strong {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.device {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #050505;
}

.desktop {
  width: 82%;
  right: 0;
  top: 6%;
}

.phone-one,
.phone-two {
  width: 28%;
}

.phone-one {
  left: 4%;
  bottom: 4%;
}

.phone-two {
  left: 29%;
  bottom: 14%;
}

.pain-strip {
  width: min(1180px, calc(100% - 2rem));
  margin: -1.5rem auto 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(18, 17, 15, 0.72);
}

.pain-strip div {
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.pain-strip div:last-child {
  border-right: 0;
}

.pain-strip strong,
.pain-strip span {
  display: block;
}

.pain-strip strong {
  margin-bottom: 0.25rem;
}

.pain-strip span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section-copy p,
.section-heading p,
.download-section p,
.platform-showcase p,
.quote p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 1.65rem;
  position: relative;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.image-grid img,
.platform-card,
.report-list,
.quote,
.download-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 17, 15, 0.75);
}

.image-grid img {
  min-height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-grid img:nth-child(2) {
  margin-top: 3rem;
}

.image-grid img:nth-child(3) {
  margin-top: 1.5rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.platform-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.platform-card {
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0.75rem 1.2rem;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
}

.iphone-card::before {
  background: linear-gradient(135deg, rgba(125, 181, 255, 0.16), transparent 48%);
}

.ipad-card::before {
  background: linear-gradient(135deg, rgba(137, 214, 177, 0.16), transparent 48%);
}

.mac-card::before {
  background: linear-gradient(135deg, rgba(209, 177, 111, 0.2), transparent 48%);
}

.platform-collage {
  position: relative;
  min-height: 310px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 181, 255, 0.16), transparent 12rem),
    radial-gradient(circle at 84% 18%, rgba(137, 214, 177, 0.14), transparent 11rem),
    radial-gradient(circle at 50% 92%, rgba(209, 177, 111, 0.18), transparent 12rem),
    #090909;
}

.platform-collage.wide {
  min-height: 300px;
}

.platform-collage img {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
}

.shot-main {
  width: 63%;
  height: 84%;
  left: 0.8rem;
  top: 1rem;
}

.wide .shot-main {
  width: 76%;
  height: 68%;
}

.shot-small {
  width: 42%;
  height: 42%;
  right: 0.75rem;
}

.shot-small.top {
  top: 1rem;
}

.shot-small.bottom {
  bottom: 1rem;
}

.status-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0.35rem;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  color: #0b0b09;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.submitted,
.status.active,
.status.insight {
  background: #7db5ff;
}

.status.read,
.status.follow,
.status.timing {
  background: #ffd166;
}

.status.passed {
  background: #ff7a90;
}

.status.open,
.status.backup {
  background: #89d6b1;
}

.platform-card h3,
.platform-card p {
  position: relative;
  z-index: 1;
  padding: 0 0.35rem;
}

.platform-card h3 {
  margin-top: 1.1rem;
}

.platform-card p {
  margin-bottom: 0;
}

.reports-section {
  grid-template-columns: 0.9fr 1.1fr;
}

.report-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.report-list span {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.testimonial-section {
  padding-top: 3rem;
}

.quote {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.quote p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.25;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.download-section div {
  max-width: 720px;
}

.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--quiet);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: min(94vw, 1200px);
  max-height: 84vh;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72);
  background: #050505;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.8);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-caption {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  width: min(90vw, 760px);
  margin: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .split-section,
  .reports-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-media {
    min-height: 450px;
  }

  .pain-strip,
  .platform-showcase {
    grid-template-columns: 1fr;
  }

  .platform-collage,
  .platform-collage.wide {
    min-height: 390px;
  }

  .pain-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pain-strip div:last-child {
    border-bottom: 0;
  }

  .download-section,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero,
  .split-section,
  .section,
  .download-section {
    width: min(100% - 1rem, 1180px);
  }

  h1 {
    font-size: 3.05rem;
  }

  .nav {
    gap: 0.85rem;
    font-size: 0.86rem;
  }

  .hero-media {
    min-height: 360px;
  }

  .desktop {
    width: 92%;
  }

  .phone-one,
  .phone-two {
    width: 34%;
  }

  .phone-two {
    left: 38%;
  }

  .image-grid,
  .report-list {
    grid-template-columns: 1fr;
  }

  .platform-collage,
  .platform-collage.wide {
    min-height: 320px;
  }

  .shot-main,
  .wide .shot-main {
    width: 72%;
    height: 72%;
  }

  .shot-small {
    width: 38%;
    height: 38%;
  }

  .image-grid img,
  .image-grid img:nth-child(2),
  .image-grid img:nth-child(3) {
    min-height: 0;
    margin-top: 0;
  }
}
