:root {
  --bg: #0d0c0d;
  --ink: #f4f1ee;
  --muted: #a39d99;
  --line: rgba(244, 241, 238, .16);
  --card: #171516;
  --accent: #ffa274;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); position: relative; isolation: isolate; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
code { font-size: .9em; background: rgba(244, 241, 238, .08); padding: .1em .35em; border-radius: 6px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.pill { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .45rem .95rem; border-radius: 999px; background: rgba(244, 241, 238, .1); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.pill:hover { background: rgba(244, 241, 238, .2); }
.cta { display: inline-block; text-decoration: none; font-weight: 600; background: var(--ink); color: var(--bg); padding: .8rem 1.5rem; border-radius: 999px; transition: transform .2s; }
.cta:hover { color: var(--bg); transform: translateY(-2px); }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 30px; height: auto; }

/* ---------- App, privacy and terms pages ---------- */

/* Soft glow behind the top of the page */
body:not(.home)::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 560px; pointer-events: none;
  background:
    radial-gradient(40% 70% at 35% 0, rgba(216, 35, 28, .55), transparent 70%),
    radial-gradient(30% 55% at 62% 0, rgba(255, 106, 58, .45), transparent 70%),
    radial-gradient(25% 60% at 85% 10%, rgba(92, 27, 85, .5), transparent 70%);
  filter: blur(40px);
}

.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.top nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .4rem .85rem; border-radius: 999px; background: rgba(244, 241, 238, .1); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.top nav a:hover { background: rgba(244, 241, 238, .2); }

main { padding: 2.5rem 0 4rem; }
main h2 { font-weight: 500; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.15; margin: 3rem 0 .6rem; }

.hero { text-align: center; padding: 1.5rem 0 1rem; }
.hero img { width: 132px; height: 132px; border-radius: 30px; background: #fff; border: 4px solid #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); transform: rotate(-4deg); }
.hero h1 { font-weight: 500; font-size: clamp(3rem, 11vw, 5.5rem); letter-spacing: -.045em; line-height: .95; margin: 1.6rem 0 .8rem; }
.hero p { color: rgba(244, 241, 238, .78); font-size: 1.1rem; max-width: 32em; margin: 0 auto; }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2.5rem 0; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.4rem; }
.card h3 { margin: 0 0 .35rem; font-weight: 600; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

.doc h1 { font-weight: 500; font-size: clamp(2.6rem, 9vw, 4.2rem); letter-spacing: -.04em; line-height: 1; margin: 1rem 0 .6rem; }
.doc .meta { color: var(--muted); margin: 0 0 2.5rem; }
.doc h2 { font-size: 1.4rem; margin: 2.6rem 0 .5rem; }
.doc h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 .3rem; }
.doc p, .doc li { color: rgba(244, 241, 238, .86); }
.doc ul { padding-left: 1.3rem; }
.doc li { margin: .3rem 0; }
.doc strong { color: var(--ink); }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding-top: 1.5rem; padding-bottom: 2.5rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Homepage ---------- */

.home .wrap { max-width: 1080px; }
.home footer .wrap { justify-content: space-between; }
.home main { padding: 0; }

/* Hero: blurred glow + halftone dots */
.intro { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.glow { position: absolute; inset: -20%; z-index: -2; filter: blur(90px); opacity: .85; }
.glow span { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.glow .a { width: 30vmax; height: 50vmax; left: 30%; top: 0; background: #d8231c; }
.glow .b { width: 26vmax; height: 36vmax; left: 52%; top: -8%; background: #ff6a3a; animation-duration: 22s; }
.glow .c { width: 22vmax; height: 40vmax; left: 74%; top: 25%; background: #5c1b55; animation-duration: 26s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vmax, 4vmax) scale(1.15); }
}
.dots {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(rgba(13, 12, 13, .55) 1px, transparent 1.4px) 0 0 / 5px 5px;
  -webkit-mask: linear-gradient(to bottom, transparent 20%, #000 95%);
          mask: linear-gradient(to bottom, transparent 20%, #000 95%);
}
.intro::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; z-index: -1; background: linear-gradient(transparent, var(--bg)); }

.bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 24px 16px; }
@media (min-width: 720px) { .bar { padding: 40px 48px; } }
.bar-left { display: flex; gap: .9rem; align-items: flex-start; }
.bar-left img { width: 40px; height: auto; flex: none; }
.tag { margin: 0; font-size: .95rem; line-height: 1.45; max-width: 22em; }
.pills { display: flex; gap: .5rem; flex: none; }

.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 16px 1rem; }
.eyebrow {
  margin: 0 0 1rem; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(90deg, #ffb3dc, #ffd6a3); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro h1 { margin: 0; font-weight: 500; font-size: clamp(3.4rem, 13vw, 9.5rem); line-height: .92; letter-spacing: -.045em; }
.intro h1 em { letter-spacing: -.02em; padding-right: .05em; }
.sub { max-width: 30em; margin: 1.6rem auto 1.8rem; color: rgba(244, 241, 238, .78); font-size: 1.05rem; }

/* Fanned app icons, like cards on a table */
.fan { display: flex; justify-content: center; padding: 1rem 0 3rem; }
.fan img { width: 112px; height: 112px; border-radius: 26px; background: #fff; border: 4px solid #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transition: transform .3s; }
.fan img:first-child { transform: rotate(-9deg) translateX(14px); }
.fan img:last-child  { transform: rotate(8deg) translate(-14px, 10px); }
.fan:hover img:first-child { transform: rotate(-12deg) translateX(0); }
.fan:hover img:last-child  { transform: rotate(11deg) translate(0, 10px); }

.rule { margin: 0 16px; border-top: 1px solid var(--line); display: flex; justify-content: center; gap: .8rem; padding: 1rem 0 1.4rem; color: var(--muted); font-size: .9rem; }
@media (min-width: 720px) { .rule { margin: 0 48px; } }
.rule a { color: var(--muted); text-decoration: none; }
.rule a:hover { color: var(--ink); }

.section-title { font-weight: 500; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.03em; line-height: 1; margin: 5rem 0 2rem; }
.apps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .apps { grid-template-columns: 1fr 1fr; } }
.app { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.shot { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.shot img { width: 38%; max-width: 150px; aspect-ratio: 1; border-radius: 24%; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); transition: transform .4s; }
.app:hover .shot img { transform: scale(1.05) rotate(-3deg); }
.onyx .shot { background: radial-gradient(circle at 30% 20%, #ff6a3a, #7a1616 55%, #1a0d0d); }
.ws .shot   { background: radial-gradient(circle at 70% 20%, #f3b2c1, #a8455f 55%, #2b1c21); }
.body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.app h3 { margin: 0; font-weight: 500; font-size: 2rem; letter-spacing: -.02em; line-height: 1.1; }
.app p { margin: 0; color: var(--muted); }
.links { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .95rem; }
.links a { text-decoration: none; color: var(--muted); }
.links a:first-child { color: var(--ink); font-weight: 600; }
.links a:hover { color: var(--ink); }

.contact { text-align: center; padding: 7rem 0 5rem; }
.contact h2 { margin: 0 0 1.2rem; font-weight: 500; font-size: clamp(3rem, 11vw, 7rem); letter-spacing: -.045em; line-height: .95; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow span { animation: none; }
  .fan img, .shot img, .cta { transition: none; }
}
