/* Looky site. Same world as the App Store set A: stone paper, ink type, one blue accent line, glass objects. */
@font-face { font-family: Satoshi; src: url("Satoshi-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url("Satoshi-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --stone: #ECEBE7;
  --paper: #F7F6F3;
  --ink: #0E1116;
  --soft: #6B6F76;
  --line: rgba(14, 17, 22, .08);
  --blue: #2F6BFF;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--stone);
  color: var(--ink);
  font-family: Satoshi, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 9999px; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav: full width bar, clear over the page top, frosted once you scroll */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  /* lines the logo and links up with the .wrap content edges */
  padding: 0 max(24px, calc((100% - 1120px) / 2 + 24px));
  background: rgba(236, 235, 231, 0); box-shadow: 0 1px 0 rgba(14, 17, 22, 0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(236, 235, 231, .78); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 20px; line-height: 28px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; line-height: 20px; color: var(--soft); transition: color .3s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav .btn.sm { padding: 10px 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; line-height: 24px;
  padding: 12px 24px; border-radius: 9999px;
  transition: transform .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 12px 32px rgba(14, 17, 22, .18);
}
.btn i { font-size: 20px; }
.btn:hover { background: #20242c; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.sm { font-size: 14px; line-height: 20px; padding: 8px 12px; box-shadow: none; }

/* Type */
h1, h2 { font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: 72px; line-height: 1; }
h2 { font-size: 60px; line-height: 1; }
h1 span, h2 span { display: block; color: var(--blue); }
.lead { margin-top: 24px; font-size: 20px; line-height: 28px; color: var(--soft); max-width: 480px; text-wrap: pretty; }
p { text-wrap: pretty; }

/* Hero */
.hero { padding: 160px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero .cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.proof { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--soft); }
.proof .stars { color: var(--blue); letter-spacing: 2px; font-size: 16px; }

/* Phone */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone {
  position: relative; z-index: 2; width: 300px; aspect-ratio: 1320 / 2868;
  background: #15171b; border-radius: 48px; padding: 8px;
  border: 2px solid #3a3d44;
  box-shadow: 0 0 0 1px #0c0d10, 0 40px 80px rgba(14, 17, 22, .22);
}
.phone .screen { width: 100%; height: 100%; border-radius: 40px; overflow: hidden; position: relative; background: var(--stone); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 30%; height: 3.2%; border-radius: 9999px; background: #000; }
.art { position: absolute; z-index: 1; pointer-events: none; -webkit-mask-image: radial-gradient(circle, #000 48%, transparent 66%); mask-image: radial-gradient(circle, #000 48%, transparent 66%); }
.art.front { z-index: 3; }

/* Feature rows */
.feature { padding: 96px 0; }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.feature.flip .copy { order: 2; }
.points { margin-top: 32px; display: grid; gap: 16px; list-style: none; max-width: 480px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 28px; }
.points i { flex: none; margin-top: 4px; font-size: 20px; color: var(--blue); }

/* Stolen: real result rows around the shield */
.stolen { padding: 96px 0; text-align: center; }
.stolen .lead { margin-left: auto; margin-right: auto; }
.cards { position: relative; height: 560px; max-width: 760px; margin: 48px auto 0; }
.cards .art { left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); }
.match {
  position: absolute; z-index: 2; width: 420px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 32px 64px rgba(14, 17, 22, .16), 0 0 0 1px rgba(14, 17, 22, .04);
}
.match.m1 { left: 0; top: 24px; rotate: -4deg; }
.match.m2 { right: 0; top: 216px; rotate: 3deg; }
.match.m3 { left: 40px; top: 416px; rotate: -2deg; }

/* Tagline reveal */
.tagline { padding: 160px 0; }
.tagline p { font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -.035em; max-width: 920px; text-wrap: balance; }
.tagline .w { color: rgba(14, 17, 22, .22); transition: color .8s var(--ease); }
.tagline .w.on { color: var(--ink); }
.tagline .w.blue.on { color: var(--blue); }

/* Steps */
.steps { padding: 96px 0; }
.steps ol { margin-top: 48px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--paper); border-radius: 24px; padding: 32px; box-shadow: 0 0 0 1px var(--line); }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9999px; background: var(--blue); color: #fff; font-weight: 700; }
.steps h3 { margin-top: 24px; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--soft); }

/* FAQ */
.faq { padding: 96px 0; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-weight: 700; font-size: 18px; line-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: 20px; color: var(--soft); transition: transform .6s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); color: var(--blue); }
.faq details p { padding: 0 0 24px; color: var(--soft); max-width: 600px; }

/* Final CTA */
.final { padding: 96px 0 128px; text-align: center; }
.final .stage { min-height: 0; height: 320px; }
.final .art { width: 360px; height: 360px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.final .btn { margin-top: 40px; }

/* Footer */
footer { padding: 48px 0; box-shadow: 0 -1px 0 var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; line-height: 20px; color: var(--soft); }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { text-decoration: none; transition: color .5s var(--ease); }
footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { padding: 160px 0 96px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: 60px; }
.legal .date { margin-top: 16px; color: var(--soft); }
.legal h2 { margin-top: 48px; font-size: 24px; line-height: 32px; letter-spacing: -.02em; }
.legal p, .legal li { margin-top: 16px; font-size: 18px; line-height: 28px; color: #2a2e35; }
.legal ul { padding-left: 24px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--blue); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--soft); text-decoration: none; font-size: 14px; line-height: 20px; }
.back:hover { color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .tagline .w { transition: none; }
}

/* Tablet */
@media (max-width: 900px) {
  .hero { padding: 128px 0 64px; }
  .hero .wrap, .feature .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 48px; }
  .feature.flip .copy { order: 0; }
  h1 { font-size: 60px; }
  h2 { font-size: 48px; }
  .stage { min-height: 560px; }
  .steps ol { grid-template-columns: 1fr; }
  .tagline { padding: 96px 0; }
  .tagline p { font-size: 48px; }
}

/* Phone */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav { height: 64px; padding: 0 16px; }
  .nav-links { gap: 20px; }
  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .nav-links .hide-sm { display: none; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; line-height: 40px; }
  .lead { font-size: 18px; line-height: 28px; }
  .hero .cta { gap: 16px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .stage { min-height: 520px; }
  .phone { width: 240px; border-radius: 40px; padding: 6px; }
  .phone .screen { border-radius: 34px; }
  .feature, .stolen, .steps, .faq { padding: 64px 0; }
  .cards { height: 460px; }
  .cards .art { width: 420px; height: 420px; }
  .match { width: 300px; border-radius: 16px; }
  .match.m1 { left: 0; top: 16px; }
  .match.m2 { right: 0; top: 176px; }
  .match.m3 { left: 8px; top: 336px; }
  .tagline p { font-size: 36px; line-height: 40px; }
  .legal h1 { font-size: 48px; }
  .final .stage { height: 240px; }
  .final .art { width: 280px; height: 280px; }
}
.hero .copy { position: relative; z-index: 4; }
/* Glass art may bleed past the edges, never widen the page on phones. */
html, body, main section { overflow-x: clip; }
.collage { position: relative; z-index: 2; width: 100%; max-width: 520px; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
