:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #101010;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --panel-border: rgba(255, 255, 255, 0.17);
  --text: #fbf7ef;
  --muted: #c8c0b6;
  --quiet: #8c857d;
  --accent: #d8322a;
  --accent-dark: #9f1713;
  --gold: #ffcc43;
  --ink: #151515;
  --radius: 24px;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

@font-face {
  font-family: "Font Awesome Brands";
  src: url("/assets/fa-brands-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 50, 42, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 8%, rgba(255, 204, 67, 0.12), transparent 22rem),
    linear-gradient(180deg, #111 0%, var(--bg) 46%, #080808 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 52px;
  opacity: 0.18;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

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

.brand {
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--panel-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.footer a {
  text-decoration: none;
}

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

.nav a.active {
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 116px clamp(20px, 6vw, 84px) 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.68) 48%, rgba(0, 0, 0, 0.25)),
    url("/assets/noclue-background.png") center / cover no-repeat;
  opacity: 0.64;
  transform: scale(1.02);
}

.hero-content,
.hero-product,
.section,
.footer {
  position: relative;
}

.hero-content {
  max-width: 860px;
}

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

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

h1 {
  margin-bottom: 24px;
  max-width: 920px;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.93;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.12rem, 2.1vw, 1.42rem);
}

.page-intro .lead,
.page-intro h1 {
  max-width: none;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.store-button {
  align-items: center;
  min-width: 172px;
  min-height: 62px;
  gap: 12px;
}

.store-copy {
  display: grid;
  gap: 2px;
}

.store-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1;
}

.store-button strong {
  color: white;
  font-size: 1.12rem;
  line-height: 1.1;
}

.store-icon {
  width: 26px;
  color: white;
  font-family: "Font Awesome Brands";
  font-size: 1.85rem;
  line-height: 1;
  text-align: center;
}

.brand-apple::before {
  content: "\f179";
}

.brand-android::before {
  content: "\f17b";
}

.app-store {
  background: #050505;
  border-color: rgba(255, 255, 255, 0.26);
}

.play-store {
  background: rgba(255, 255, 255, 0.09);
}

.store-button.disabled {
  cursor: default;
  opacity: 0.62;
}

.button.primary {
  background: linear-gradient(180deg, #e64238, var(--accent));
  border-color: rgba(255, 255, 255, 0.14);
  color: white;
}

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

.hero-product {
  align-self: end;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.product-kicker {
  margin: 22px 0 8px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-product h2 {
  margin-bottom: 8px;
}

.hero-product p,
.mechanic-card p,
.story-card span,
.product-kicker,
.eyebrow {
  text-align: left;
}

.mini-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 116px) 0;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

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

.story-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.story-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.story-card.raised {
  transform: translateY(-28px) rotate(2deg);
}

.story-card:nth-child(3) {
  transform: rotate(4deg);
}

.story-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.story-card span {
  display: block;
  padding: 12px 4px 2px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

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

.mechanic-card,
.studio-section,
.faq-section,
.contact-section {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.mechanic-card {
  padding: 28px;
}

.number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--quiet);
  font-weight: 900;
}

.studio-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(30px, 5vw, 58px);
}

.studio-heading p {
  max-width: 520px;
  margin-bottom: 0;
}

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

.studio-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.studio-grid h3,
.faq-grid h3,
.faq-list h3 {
  margin-bottom: 8px;
}

.studio-grid p,
.faq-grid p,
.faq-list p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.faq-section {
  padding: clamp(30px, 5vw, 58px);
}

.faq-section .section-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: end;
  margin-bottom: 28px;
}

.faq-section .section-copy h2 {
  margin-bottom: 0;
}

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

.faq-grid article {
  min-width: 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.faq-list article {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.faq-group {
  display: grid;
  gap: 18px;
}

.faq-group + .faq-group {
  margin-top: clamp(42px, 6vw, 70px);
}

.faq-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-group-heading span {
  color: var(--gold);
  font-weight: 900;
}

.faq-group-heading h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  text-align: right;
}

.contact-section {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 42px);
  padding-top: clamp(24px, 4vw, 38px);
  padding-bottom: clamp(24px, 4vw, 38px);
}

.contact-section h2 {
  margin-bottom: 10px;
  white-space: nowrap;
  font-size: clamp(2rem, 4.1vw, 4.1rem);
}

.contact-section p {
  margin-bottom: 0;
}

.contact-section .button {
  justify-self: end;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--quiet);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer div {
  gap: 18px;
}

.page {
  width: min(860px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 0 72px;
}

.page.wide {
  width: min(1080px, calc(100% - 40px));
}

.page h1 {
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page.wide > .lead,
.page.wide .page-intro .lead {
  max-width: none;
}

.page section,
.page-grid {
  margin-top: 38px;
}

.studio-story {
  display: grid;
  gap: 16px;
}

.studio-story article {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.studio-story h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.back {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--muted);
  text-decoration: none;
}

.muted {
  color: var(--quiet);
}

.contact a {
  color: var(--text);
  font-weight: 800;
}

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

  .nav {
    display: flex;
    gap: 10px 14px;
    max-width: 54vw;
    font-size: 0.82rem;
  }

  .hero,
  .product-section,
  .studio-section,
  .faq-section .section-copy,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-product {
    align-self: auto;
  }

  .story-showcase {
    grid-template-columns: repeat(3, 72%);
    overflow-x: auto;
    padding: 34px 4px;
    scroll-snap-type: x mandatory;
  }

  .story-card {
    scroll-snap-align: center;
  }

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

  .studio-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-section .button {
    justify-self: start;
  }

  .contact-section h2 {
    white-space: normal;
  }

  .footer {
    flex-direction: column;
  }

  .faq-group-heading {
    display: block;
  }

  .faq-group-heading h2 {
    margin-top: 8px;
    text-align: left;
  }
}
