:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #fff8f3;
  --muted: #b9b5c0;
  --accent: #ff4f79;
  --accent-two: #35d5ff;
  --accent-three: #ffe16a;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 79, 121, 0.28), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(53, 213, 255, 0.22), transparent 24%),
    linear-gradient(140deg, #08090d 0%, #171016 46%, #071015 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
}

.site-header,
main,
.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 0;
}

.brand,
.top-nav,
.hero-actions,
.links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 9px;
  box-shadow: 0 10px 26px rgba(255, 79, 121, 0.34);
  object-fit: cover;
}

.top-nav {
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.top-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.11);
}

.page {
  max-width: 880px;
  padding: 54px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 52px;
  padding: 26px 0 34px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.updated,
.back {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back {
  display: inline-block;
  margin-bottom: 28px;
  text-decoration: none;
}

h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: 4.65rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.document h1 {
  font-size: 4.25rem;
  line-height: 0.95;
}

h2 {
  margin-top: 36px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  max-width: 760px;
  color: var(--muted);
}

.lede {
  max-width: 610px;
  font-size: 1.22rem;
}

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

.button,
.links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #9b5cff 58%, var(--accent-two));
  box-shadow: 0 18px 42px rgba(255, 79, 121, 0.28);
}

.button.secondary,
.links a {
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.phone-stage::before {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-three), var(--accent-two), #9b5cff, var(--accent));
  content: "";
  filter: blur(34px);
  opacity: 0.54;
}

.phone {
  position: relative;
  width: min(100%, 360px);
  min-height: 490px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    #101116;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 32%);
  content: "";
  pointer-events: none;
}

.phone-bar {
  width: 92px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.camera-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.9), transparent 7%),
    linear-gradient(135deg, #ff4f79 0%, #f6a65a 32%, #35d5ff 66%, #3b2a74 100%);
  overflow: hidden;
}

.camera-card::before,
.camera-card::after {
  position: absolute;
  inset: auto 12% 12% auto;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  content: "";
}

.camera-card::after {
  inset: 18% auto auto 14%;
  width: 30%;
  background: rgba(8, 9, 13, 0.22);
}

.main-shot {
  height: 250px;
  box-shadow: inset 0 -90px 120px rgba(0, 0, 0, 0.32);
}

.shot-label,
.shot-count {
  position: absolute;
  z-index: 1;
  color: #fff;
  font-weight: 850;
}

.shot-label {
  left: 20px;
  bottom: 20px;
  font-size: 1.45rem;
}

.shot-count {
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.tool-row span {
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
}

.tool-row span:nth-child(2) {
  background: rgba(255, 79, 121, 0.72);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-grid .camera-card {
  aspect-ratio: 1;
  border-radius: 20px;
}

.tile-two {
  background: linear-gradient(135deg, #35d5ff, #2444d8 52%, #fff8f3);
}

.tile-three {
  background: linear-gradient(135deg, #ffe16a, #fb7f3f 48%, #16151c);
}

.tile-four {
  background: linear-gradient(135deg, #b5ff7a, #35d5ff 48%, #9b5cff);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 0 74px;
}

.feature-band article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px);
}

.feature-band span {
  color: var(--accent-three);
  font-weight: 850;
}

.feature-band h2 {
  margin: 42px 0 12px;
  font-size: 1.35rem;
}

.feature-band p {
  margin: 0;
}

.links {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.document {
  position: relative;
}

.document::before {
  display: block;
  width: 70px;
  height: 5px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  content: "";
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    max-width: 210px;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-radius: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 48px;
  }

  h1 {
    font-size: 4.3rem;
  }

  .document h1 {
    font-size: 3.6rem;
  }

  .phone-stage {
    min-height: 470px;
  }

  .phone {
    width: min(100%, 330px);
    min-height: 470px;
  }

  .main-shot {
    height: 230px;
  }

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

@media (max-width: 560px) {
  .site-header,
  main,
  .page {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    display: grid;
  }

  .top-nav {
    width: 100%;
    max-width: none;
    justify-content: space-between;
  }

  h1 {
    font-size: 3.45rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 450px;
  }

  .phone {
    border-radius: 34px;
  }

  .feature-band article {
    min-height: 210px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 3.05rem;
  }
}
