/* Truth or Dare — support & marketing site
   Palette and type sampled directly from assets/icon.png and the shipped
   App Store screenshots — not invented. Truth = blue, Dare = pink, violet
   only ever appears as a soft connective glow, never a solid fill. */

:root {
  --ink: #07070c;
  --ink-raised: #0e0e15;
  --truth: #2f6bff;
  --dare: #ff2e9a;
  --bridge: #8419ed;
  --paper: #f5f6fa;
  --ink-60: rgba(245, 246, 250, 0.6);
  --ink-40: rgba(245, 246, 250, 0.4);
  --line: rgba(245, 246, 250, 0.12);

  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 7, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--paper);
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.brand-mark {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-60);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--paper);
  border-color: var(--dare);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.hero-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 20px 60px -20px rgba(132, 25, 237, 0.55);
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 0 0 1rem;
}

h1.headline {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
  max-width: 18ch;
  margin-inline: auto;
}

h1.headline .accent-dare {
  color: var(--dare);
}

h1.headline .accent-truth {
  color: var(--truth);
}

.subhead {
  font-size: 1.1rem;
  color: var(--ink-60);
  max-width: 40ch;
  margin: 0 auto 2.25rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px -12px rgba(245, 246, 250, 0.3);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(245, 246, 250, 0.4);
}

/* Screenshot fan */

.fan-section {
  padding: 1rem 0 5rem;
  overflow: hidden;
}

.fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 2rem 0;
}

.fan img {
  width: 210px;
  border-radius: 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
  background: var(--ink);
}

.fan img:hover {
  transform: translateY(-14px) rotate(0deg) !important;
  z-index: 5;
  position: relative;
}

.fan img:nth-child(1) {
  transform: rotate(-9deg) translateY(10px);
  margin-right: -30px;
}
.fan img:nth-child(2) {
  transform: rotate(-4deg) translateY(-6px);
  margin-right: -30px;
  z-index: 1;
}
.fan img:nth-child(3) {
  transform: rotate(0deg) translateY(-14px);
  z-index: 2;
}
.fan img:nth-child(4) {
  transform: rotate(4deg) translateY(-6px);
  margin-left: -30px;
  z-index: 1;
}
.fan img:nth-child(5) {
  transform: rotate(9deg) translateY(10px);
  margin-left: -30px;
}

.fan-scroll {
  display: none;
}

@media (max-width: 820px) {
  .fan {
    display: none;
  }
  .fan-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 1.5rem 1.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .fan-scroll img {
    flex: 0 0 auto;
    width: 62vw;
    max-width: 240px;
    scroll-snap-align: center;
    border-radius: 24px;
    border: 1px solid var(--line);
  }
}

/* Prose sections (about, support) */

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

.section .wrap {
  max-width: 640px;
}

.section h2 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
}

.section p {
  color: var(--ink-60);
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.contact-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px solid var(--dare);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-link:hover {
  color: var(--dare);
}

/* Legal pages */

.legal main.wrap {
  max-width: 720px;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.legal h1 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--ink-40);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--ink-60);
  font-size: 1rem;
}

.legal .placeholder {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: var(--ink-40);
  font-style: italic;
}

/* Footer */

footer.site {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-40);
  font-size: 0.85rem;
}

.footer-brand img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--ink-60);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--paper);
}
