/* Fame website. Layout and colors follow the old Webflow site; fonts come from tokens.css. */

:root {
  --pink: #dc3d81;
  --pink-soft: #f4e3eb;
  --pink-tile: #2c1820;
  --site-black: #000;
  --site-gray: #1b1b1b;
  --site-card: #2a2a2a;
  --site-text: #fff;
  --site-muted: #b5b5b5;
  --font-heading: "Inter", "Helvetica Neue", Arial, sans-serif;
  --site-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-black);
  color: var(--site-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Same logo2026trans artwork as Fame.Web, trimmed to the visible mark. */

.brand-logo img {
  width: auto;
  height: 64px;
}

.brand-logo--footer img {
  height: 56px;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: 14px 0 18px;
  background: var(--site-black);
}

/* Shared pieces */

.label {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--pink);
  color: var(--site-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label--pink {
  color: var(--pink);
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: var(--pink-tile);
}

.icon-tile svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 12px 26px;
  border: 0;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.btn--light {
  background: var(--pink-soft);
  color: #111;
}

.btn--light:hover,
.btn--light:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--site-text);
  border: 1px solid #3a3a3a;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--pink);
  color: var(--pink);
}

.section {
  padding-block: 110px;
}

.section--gray {
  background: var(--site-gray);
}

.section--gray + .section--gray {
  border-top: 1px solid #2a2a2a;
}

.section--flush {
  padding-block: 40px 60px;
}

.section-title {
  margin-bottom: 64px;
  color: var(--pink);
  font-size: 1.9rem;
  text-align: center;
}

/* Hero */

/* hero.jpg is 4:1, so the fade layer is sized to the image, not to the section. */
.hero {
  --hero-w: max(100vw, 960px);
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, var(--site-black) 100%) center top / var(--hero-w) calc(var(--hero-w) / 4 + 2px) no-repeat,
    url("../img/site/hero.jpg") center top / var(--hero-w) auto no-repeat,
    var(--site-black);
  padding-top: max(calc(25vw - 110px), 150px);
  padding-bottom: 80px;
}

.hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: 1440px;
  padding-inline: 32px;
}

.hero__title {
  max-width: 820px;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 400;
  line-height: 1.12;
}

.hero__aside {
  max-width: 340px;
  padding-bottom: 18px;
}

.hero__aside p {
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* Two-column image + text blocks */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.split__media {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.split__media--small {
  max-width: 360px;
  justify-self: center;
  aspect-ratio: auto;
  border-radius: 0;
}

.split__body h2 {
  margin-bottom: 32px;
  font-size: 1.9rem;
}

.split__body p + p {
  margin-top: 22px;
}

.eyebrow {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 36px;
}

/* Categories over the sunset photo */

.categories {
  position: relative;
  width: 90%;
  margin-inline: auto;
  aspect-ratio: 922 / 553;
  overflow: hidden;
}

.categories img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}

.categories__item {
  position: absolute;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Key features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 24px;
}

.feature {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #0d0d0d;
}

.feature img {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}

/* Only the top of these photos exists, so they keep their own height and fade into the card. */
.feature--partial img {
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

.feature__body {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55) 40%);
}

.feature__body .label {
  margin-bottom: 14px;
  color: #ddd;
}

.feature__body p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

/* How it works */

.how__title {
  max-width: 800px;
  margin: 32px 0 12px;
  color: var(--pink);
  font-size: 1.75rem;
}

.how__lead {
  max-width: 720px;
  color: var(--site-muted);
}

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.how__item {
  padding: 4px 20px 16px;
  border-left: 1px solid var(--pink);
}

.how__item h3 {
  margin: 0 0 18px;
  font-size: 1.3rem;
}

.how__item p {
  font-size: 0.92rem;
  color: var(--site-muted);
}

/* Testimonials */

.section-head {
  margin-bottom: 56px;
  text-align: center;
}

.section-head h2 {
  margin: 28px 0 14px;
  font-size: 2rem;
}

.section-head__pink {
  color: var(--pink);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px 20px 18px;
  border-radius: 8px;
  background: linear-gradient(to bottom, var(--site-card), var(--site-gray));
}

.testimonial img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial figcaption {
  margin: 12px 0 18px;
  font-size: 0.78rem;
}

.testimonial figcaption strong,
.testimonial figcaption span {
  display: block;
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 24px;
  font-size: 1rem;
}

.testimonial small {
  color: var(--site-muted);
  font-size: 0.75rem;
}

.cta {
  margin-top: 72px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 30px;
  color: var(--pink);
  font-size: 1.75rem;
}

/* FAQ */

.faq {
  max-width: 660px;
}

.faq__title {
  color: var(--pink);
  font-size: 4.5rem;
  font-weight: 600;
  text-align: center;
}

.faq__lead {
  margin: 20px 0 40px;
  color: var(--site-muted);
  text-align: center;
}

.faq__item {
  border-bottom: 1px solid #3a3a3a;
}

.faq__item summary {
  position: relative;
  padding: 20px 48px 32px 10px;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 30px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
}

.faq__item p {
  padding: 0 10px 24px;
  color: var(--site-muted);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 820px;
}

.contact__intro h2 {
  margin: 12px 0 10px;
  font-size: 1.75rem;
}

.contact__intro p {
  color: var(--site-muted);
}

.contact__list {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__list li {
  display: flex;
  gap: 18px;
}

.contact__list .icon-tile {
  width: 56px;
  height: 56px;
}

.contact__list strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
}

.contact__list a {
  text-underline-offset: 3px;
}

.contact__media {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 16px;
  border-radius: 8px;
}

/* Footer */

.site-footer {
  padding-top: 64px;
  background: #141414;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  max-width: 820px;
  padding-bottom: 48px;
}

.site-footer__columns {
  display: flex;
  gap: 48px;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: var(--pink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__columns a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-decoration: none;
}

.site-footer__columns a:hover {
  color: var(--pink);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink);
}

.socials svg {
  width: 11px;
  height: 11px;
  fill: #141414;
}

.site-footer__copyright {
  margin: 0 18px;
  padding: 14px 0 16px;
  border-top: 1px solid #ddd;
  font-size: 0.8rem;
  text-align: center;
}

/* Generic content pages (Privacy, Error) */

.page {
  max-width: 800px;
  padding-block: 64px 96px;
}

.page h1 {
  margin-bottom: 20px;
  color: var(--pink);
}

.page p {
  color: var(--site-muted);
}

/* Long legal text (Terms) */

.legal {
  line-height: 1.7;
}

.legal__date {
  margin-bottom: 40px;
}

.legal h2 {
  margin: 48px 0 16px;
  font-size: 1.4rem;
  scroll-margin-top: 24px;
}

.legal h3 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

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

.legal ul {
  margin: 14px 0;
  padding-left: 22px;
  color: var(--site-muted);
}

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

.legal li strong {
  color: var(--site-text);
}

.legal a {
  color: var(--pink);
  text-underline-offset: 3px;
}

/* Scroll reveal; site.js adds .is-visible. Without JS the content is shown as-is. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */

@media (max-width: 991px) {
  .features,
  .how {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 72px;
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse .split__media {
    order: -1;
  }

  .features,
  .how,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .categories {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 14px 22px;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 32px 24px;
  }

  .categories img {
    position: absolute;
    inset: 0;
  }

  .categories__item {
    position: relative;
    inset: auto !important;
  }

  .faq__title {
    font-size: 3.2rem;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__columns {
    flex-wrap: wrap;
    gap: 32px;
  }
}

/* Start choice: Continue on web vs Get APP */

.start-dialog {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 36px 28px 28px;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: var(--site-gray);
  color: var(--site-text);
}

.start-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.start-dialog h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.start-dialog p,
.start-dialog li {
  color: var(--site-muted);
}

.start-dialog ol {
  margin: 20px 0;
  padding-left: 20px;
}

.start-dialog li + li {
  margin-top: 8px;
}

.start-dialog .btn {
  width: 100%;
  margin-top: 12px;
}

.start-dialog__close {
  position: absolute;
  top: 10px;
  right: 14px;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--site-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
