/* ---------------------------------------------------------------
   Pixarify — shared styles
   Direction: dark cinema. Grain, deep field, a warm/cool accent pair
   pulled from the app's own gradient (#00E5FF → #FDABFF).
   --------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,900&family=Archivo:wght@400;500;600&display=swap');

:root {
  --ink: #05070f;
  --ink-2: #0a0e1c;
  --ink-3: #121829;
  --paper: #f4f2ee;
  --muted: #8b93ad;
  --line: rgba(255, 255, 255, 0.09);

  --cyan: #00e5ff;
  --rose: #fdabff;
  --amber: #ffc46b;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Archivo', -apple-system, sans-serif;

  --wrap: 1140px;
  --gut: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain — the one texture that makes the whole thing feel shot,
   not rendered. Fixed so it never scrolls with content. */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

a { color: inherit; }

/* ── nav ─────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand span { color: var(--cyan); }

.nav__links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav__links a {
  text-decoration: none;
  transition: color 0.25s;
}

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

@media (max-width: 620px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ── shared type ─────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.1rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  max-width: 58ch;
}

/* ── buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.22s cubic-bezier(.2,.9,.3,1), box-shadow 0.22s, background 0.22s;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(96deg, var(--cyan), var(--rose));
  color: #05070f;
  box-shadow: 0 10px 34px -14px rgba(0, 229, 255, 0.75);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px rgba(0, 229, 255, 0.9);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ── footer ──────────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  margin-top: clamp(4rem, 10vw, 8rem);
  padding-block: 3rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.foot__links a {
  text-decoration: none;
  transition: color 0.2s;
}

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

.foot__legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ── document pages (privacy / terms) ────────────────────────── */

.doc {
  padding-block: clamp(3.5rem, 9vw, 6rem) 0;
}

.doc__head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
}

.doc__head h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 1.2rem;
}

/* The identity block Google's reviewers look for — deliberately the
   first thing on the page, not buried in a paragraph. */
.identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1.6rem;
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(0, 229, 255, 0.01));
  font-size: 0.94rem;
}

.identity dt {
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.identity dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 560px) {
  .identity { grid-template-columns: 1fr; gap: 0.15rem; }
  .identity dd { margin-bottom: 0.7rem; }
}

.doc__body {
  max-width: 72ch;
  padding-bottom: 2rem;
}

.doc__body h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 3rem 0 1rem;
  padding-top: 0.5rem;
}

.doc__body h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0;
  margin: 1.9rem 0 0.5rem;
  color: var(--cyan);
}

.doc__body p,
.doc__body li {
  color: #cdd2e0;
}

.doc__body ul {
  padding-left: 1.15rem;
  margin: 0.8rem 0;
}

.doc__body li { margin-bottom: 0.55rem; }

.doc__body strong { color: var(--paper); }

.doc__body a { color: var(--cyan); }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data th {
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}

table.data td { color: #cdd2e0; }

.note {
  margin: 1.6rem 0;
  padding: 1.1rem 1.35rem;
  border-radius: 8px;
  background: rgba(255, 196, 107, 0.07);
  border-left: 3px solid var(--amber);
  font-size: 0.93rem;
}

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