/* ThisCrush marketing + legal. Coral is the stage. Glass is the paper.
   Web glass is a backdrop-filter approximation, not Apple Liquid Glass. */

:root {
  --coral: #FF5C5C;
  --ink-blue: #5C88FF;
  --rose: #E11D48;
  --ink: #161616;
  --ink-soft: #3a3a3a;
  --paper: rgba(255, 255, 255, 0.9);
  --paper-edge: rgba(255, 255, 255, 0.55);
  --radius-card: 22px;
  --radius-control: 16px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--coral);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--rose); }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus { left: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px 0;
  min-height: 64px;
  max-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 72px;
}

/* Web glass approximation */
.glass {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgb(255 255 255 / .42), rgb(255 255 255 / .12)),
    var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .55),
    0 18px 40px rgb(80 20 20 / .16);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-control);
  background: var(--ink-blue);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.btn:hover { color: #fff; filter: brightness(1.05); }
.btn:active { transform: scale(0.98); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgb(255 255 255 / .7);
}
.btn-ghost:hover { color: #fff; background: rgb(255 255 255 / .12); }

/* Marketing hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 28px;
  align-items: end;
}
.hero-copy h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 12ch;
}
.hero-copy p {
  margin: 0 0 22px;
  color: #fff;
  font-size: 1.15rem;
  max-width: 32ch;
  font-weight: 500;
}
.hero-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 0 22px 50px rgb(80 20 20 / .22);
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
.split-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}
.split-copy {
  padding: 28px 26px;
}
.split-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.split-copy p { margin: 0 0 14px; color: var(--ink-soft); }
.split-copy p:last-child { margin-bottom: 0; }

.share-panel { display: none; padding-top: 48px; }
body.is-share .marketing { display: none; }
body.is-share .share-panel { display: block; }
.share-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 32px 28px;
  text-align: center;
}
.share-card h1 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -0.03em; }
.share-card p { margin: 0 0 22px; color: var(--ink-soft); }
.share-card .username { font-weight: 750; color: var(--ink); }

.legal {
  margin-top: 28px;
  padding: 32px 28px 40px;
}
.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.legal .meta { color: var(--ink-soft); margin: 0 0 24px; }
.legal h2 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.35rem 0; }
.legal a { color: var(--rose); }
.callout {
  background: rgb(255 92 92 / .12);
  border-radius: var(--radius-control);
  padding: 16px 18px;
  margin: 18px 0;
}
.callout strong { color: var(--ink); }

.faq { margin: 12px 0 0; }
.faq details {
  border-top: 1px solid rgb(22 22 22 / .1);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 12px; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px 36px;
  color: #fff;
  font-size: 0.9rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 10px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0; opacity: 0.85; }

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
    padding-top: 36px;
    min-height: calc(100dvh - 220px);
  }
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .hero-photo { transform: none; }
}
