:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: #030605;
  margin: 0;
  min-height: 100%;
}

body {
  color: #f7f6f1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  align-items: center;
  color: #f7f6f1;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 20px clamp(20px, 5vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  filter: invert(1);
  height: 38px;
  width: auto;
}

.brand span {
  color: #f7f6f1;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-button {
  align-items: center;
  background: rgba(3, 6, 5, 0.18);
  border: 1px solid rgba(247, 246, 241, 0.34);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-button span {
  background: #f7f6f1;
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
  width: 20px;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-menu {
  align-items: flex-end;
  background: rgba(3, 6, 5, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(247, 246, 241, 0.14);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
  padding: 12px;
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  top: 76px;
  z-index: 3;
}

.site-menu[hidden] {
  display: none;
}

.site-menu a {
  border-radius: 6px;
  color: #f7f6f1;
  display: block;
  font-size: 18px;
  padding: 10px 12px;
  text-align: right;
  text-decoration: none;
  width: 100%;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(247, 246, 241, 0.12);
}

.hero {
  background: #030605;
  height: 100dvh;
  min-height: 100svh;
  position: relative;
  width: 100vw;
}

.hero::before {
  background-image: url("assets/moonbrief-soon-hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
}

.site-footer {
  bottom: 0;
  color: rgba(247, 246, 241, 0.58);
  font-size: 12px;
  left: 0;
  letter-spacing: 0.04em;
  padding: 18px clamp(20px, 5vw, 64px);
  position: fixed;
  right: 0;
  text-align: center;
  z-index: 2;
}

.content-page .site-footer {
  border-top: 1px solid rgba(247, 246, 241, 0.12);
  margin-top: auto;
  position: static;
}

@media (max-width: 760px), (orientation: portrait) {
  .hero::before {
    background-size: contain;
  }
}

.content-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: auto;
}

.content-page .site-header {
  background: rgba(3, 6, 5, 0.84);
  position: sticky;
}

.page-main {
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(72px, 12vw, 128px) clamp(22px, 6vw, 64px);
}

.page-main h1 {
  font-size: clamp(42px, 8vw, 84px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.page-main p {
  color: rgba(247, 246, 241, 0.78);
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.55;
  margin: 26px 0 0;
}

.legal-main {
  max-width: 980px;
}

.page-main .legal-kicker {
  color: rgba(247, 246, 241, 0.56);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.legal-section {
  border-top: 1px solid rgba(247, 246, 241, 0.14);
  margin-top: 36px;
  padding-top: 30px;
}

.legal-section h2 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.08;
  margin: 0;
}

.legal-section h3 {
  color: rgba(247, 246, 241, 0.9);
  font-size: 21px;
  line-height: 1.2;
  margin: 28px 0 0;
}

.legal-section p,
.legal-section li {
  color: rgba(247, 246, 241, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.legal-section p {
  margin: 18px 0 0;
}

.legal-section ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 14px;
}

.legal-main a {
  color: #f7f6f1;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.moonbrief-main {
  max-width: 1120px;
}

.moonbrief-showcase {
  margin-top: 44px;
}

.moonbrief-hero-panel {
  background:
    linear-gradient(90deg, rgba(3, 6, 5, 0.98), rgba(3, 6, 5, 0.62)),
    url("assets/moonbrief-soon-hero.png") center / cover;
  border: 1px solid rgba(247, 246, 241, 0.12);
  border-radius: 8px;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
}

.moonbrief-lockup {
  align-items: center;
  display: flex;
  gap: 22px;
}

.moonbrief-lockup img {
  border-radius: 20px;
  height: 82px;
  width: 82px;
}

.moonbrief-lockup p {
  margin: 0;
}

.moonbrief-lockup p:last-child {
  color: rgba(247, 246, 241, 0.72);
  font-size: 22px;
  line-height: 1.35;
  margin-top: 8px;
}

.app-store-badge {
  display: inline-block;
  margin-top: 28px;
}

.app-store-badge img {
  display: block;
  height: auto;
  width: 180px;
}

.moonbrief-wordmark {
  color: #f7f6f1;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.moonbrief-wordmark span {
  color: #ff3842;
}

.feature-list {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.feature-list article {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.feature-icon {
  align-items: center;
  background: rgba(3, 6, 5, 0.72);
  border: 1px solid rgba(247, 246, 241, 0.12);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 68px;
  justify-content: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 68px;
}

.feature-icon svg {
  fill: none;
  height: 40px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 40px;
}

.feature-icon circle {
  fill: currentColor;
}

.feature-icon .pdf-icon text {
  fill: currentColor;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 6.4px;
  font-weight: 800;
  letter-spacing: 0;
  stroke: none;
}

.feature-green {
  color: #2fd85a;
}

.feature-red {
  color: #ff3842;
}

.feature-orange {
  color: #ff9d26;
}

.feature-blue {
  color: #179cff;
}

.feature-list h2,
.screenshot-card h2,
.report-preview h2 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}

.feature-list p,
.screenshot-card p,
.report-preview p {
  color: rgba(247, 246, 241, 0.72);
  font-size: 17px;
  line-height: 1.45;
  margin: 7px 0 0;
}

.hero-phone {
  align-self: center;
  background: #040605;
  border: 2px solid rgba(247, 246, 241, 0.18);
  border-radius: 42px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.54);
  max-width: 355px;
  overflow: hidden;
  transform: rotate(6deg);
  width: min(100%, 355px);
}

.hero-phone img {
  display: block;
  height: auto;
  width: 100%;
}

.screenshot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.screenshot-card,
.report-preview {
  background: rgba(247, 246, 241, 0.04);
  border: 1px solid rgba(247, 246, 241, 0.12);
  border-radius: 8px;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px 22px 0;
}

.screenshot-card img {
  background: #040605;
  border: 1px solid rgba(247, 246, 241, 0.16);
  border-radius: 28px 28px 0 0;
  display: block;
  margin-top: auto;
  width: 100%;
}

.screenshot-card p {
  margin-bottom: 24px;
}

.report-preview {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  margin-top: 18px;
  padding: clamp(24px, 4vw, 36px);
}

.report-preview a {
  color: #f7f6f1;
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  margin-top: 18px;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.report-thumbnail {
  background: #f4f4ef;
  border-radius: 8px;
  padding: 12px;
}

.report-thumbnail img {
  display: block;
  height: auto;
  width: 100%;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.app-card,
.page-link {
  border: 1px solid rgba(247, 246, 241, 0.18);
  border-radius: 8px;
  color: #f7f6f1;
  display: block;
  padding: 22px;
  text-decoration: none;
}

.app-card {
  text-align: center;
}

.app-logo {
  border-radius: 16px;
  display: block;
  height: 72px;
  margin: 0 auto 20px;
  width: 72px;
}

.app-card:hover,
.app-card:focus-visible,
.page-link:hover,
.page-link:focus-visible {
  background: rgba(247, 246, 241, 0.08);
}

.app-card strong,
.page-link strong {
  display: block;
  font-size: 24px;
}

.app-card span,
.page-link span {
  color: rgba(247, 246, 241, 0.64);
  display: block;
  line-height: 1.45;
  margin-top: 8px;
}

@media (max-width: 680px) {
  .brand span {
    font-size: 13px;
  }

  .moonbrief-hero-panel,
  .report-preview {
    grid-template-columns: 1fr;
  }

  .moonbrief-lockup {
    align-items: flex-start;
  }

  .moonbrief-lockup img {
    height: 62px;
    width: 62px;
  }

  .moonbrief-wordmark {
    font-size: 34px;
  }

  .hero-phone {
    justify-self: center;
    transform: rotate(0);
    width: min(78vw, 330px);
  }

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

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