/* riahstudio.com sub-pages: the product, answer, press and privacy pages share the
   landing's look through this one file. Captain, 2026-11-05: "restyle them to match,
   keep them if they're just for SEO." Tokens, fonts, hairline, grain, topbar and
   footer mirror public/landing/index.html; change them there first, then here. */

:root {
  --bg:        #0a0b12;
  --bg-2:      #0d0f18;
  --card:      #13151f;
  --card-2:    #181b27;
  --text:      #eef0f6;
  --body:      #c6cbd9;
  --muted:     #98a0b4;
  --faint:     #616a7e;
  --cyan:      #45e0cd;
  --cyan-soft: #93f1e6;
  --magenta:   #ec5f97;
  --violet:    #9b6bff;
  --line:      rgba(69,224,205,0.18);
  --hair:      rgba(255,255,255,0.07);
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* thin neon broadcast hairline at the very top (same as the landing) */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--magenta) 70%, transparent);
  opacity: .7;
}
/* cool film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 80;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--cyan-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px; max-width: 1120px; margin: 0 auto; position: relative; z-index: 5;
}
.mark { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .01em; color: var(--text); }
.mark b { color: var(--cyan); font-weight: 600; }
.mark:hover { color: var(--text); text-decoration: none; }
.top-link {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan-soft);
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px;
  background: rgba(69,224,205,0.05);
  transition: border-color .2s ease, background .2s ease;
}
.top-link:hover { border-color: var(--cyan); background: rgba(69,224,205,0.1); color: var(--cyan-soft); text-decoration: none; }

/* ---------- page body ---------- */
main.page {
  max-width: 760px; margin: 0 auto; padding: 44px 28px 72px;
  position: relative; z-index: 1;
}
main.page::before {
  content: ""; position: absolute; left: -200px; right: -200px; top: -80px; height: 460px;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 20% 0%, rgba(69,224,205,0.14), transparent 60%),
    radial-gradient(50% 50% at 95% 12%, rgba(236,95,151,0.10), transparent 60%);
}

.meta, .eyebrow {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan-soft);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 6.4vw, 58px); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--text); margin: 0 0 18px;
}
.lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--text); max-width: 620px; margin: 0 0 20px; }
p { margin: 0 0 14px; color: var(--body); }
.lede, .blurb { color: var(--text); }
strong, b { color: var(--text); }

h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.01em; line-height: 1.2;
  color: var(--text); margin: 40px 0 12px; padding-top: 22px; position: relative;
}
h2::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(155,107,255,.5) 34%, rgba(255,255,255,0.06) 62%, transparent);
}
h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--text); margin: 22px 0 4px; }

main.page ul:not(.cluster):not(.more), main.page ol { padding-left: 22px; margin: 0 0 14px; }
main.page li { margin: 4px 0; color: var(--body); }

/* buttons: first one cyan (same as the landing's contact button), the rest outlined */
.live, .btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; font-family: var(--sans); letter-spacing: .02em;
  color: var(--bg); background: var(--cyan);
  padding: 12px 26px; border-radius: 100px; border: 1px solid transparent;
  margin: 8px 10px 8px 0;
  box-shadow: 0 0 28px -4px rgba(69,224,205,0.45), 0 2px 8px rgba(0,0,0,.3);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease, border-color .25s ease, color .25s ease;
}
.live:hover, .btn:hover {
  background: var(--cyan-soft); color: var(--bg); text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 0 36px -2px rgba(69,224,205,0.6), 0 4px 14px rgba(0,0,0,.35);
}
.live.secondary, .btn.secondary {
  background: transparent; color: var(--text); border-color: var(--line); box-shadow: none;
}
.live.secondary:hover, .btn.secondary:hover {
  background: rgba(69,224,205,0.08); color: var(--cyan-soft); border-color: var(--cyan); box-shadow: none;
}

/* press kit bits */
.blurb { font-size: 17px; }
code, .copy {
  display: block; white-space: pre-wrap; font-family: var(--sans); font-size: 15px; color: var(--text);
  background: var(--card); border: 1px solid var(--hair); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px;
}
.shot {
  width: 100%; max-width: 680px; display: block; margin: 12px 0 8px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.cap { color: var(--faint); font-size: 13px; margin: 0 0 18px; }

/* "More from Riah Studio" pills */
ul.cluster, ul.more { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 14px; }
ul.cluster li, ul.more li { margin: 0; }
ul.cluster li a, ul.more a {
  display: block; color: var(--muted); font-size: 13.5px;
  border: 1px solid rgba(255,255,255,0.1); padding: 6px 13px; border-radius: 999px;
  transition: border-color .2s ease, color .2s ease;
}
ul.cluster li a:hover, ul.more a:hover { border-color: var(--cyan); color: var(--cyan-soft); text-decoration: none; }

/* the page's own small print, under the content */
.note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--hair); color: var(--faint); font-size: 13px; }

/* ---------- footer (same bones as the landing) ---------- */
.site-foot { max-width: 1120px; margin: 0 auto; padding: 0 28px 48px; position: relative; z-index: 1; }
.foot-line { height: 1px; background: var(--hair); margin-bottom: 30px; }
.foot-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-mark { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--text); }
.foot-mark b { color: var(--cyan); }
.foot-mark:hover { color: var(--text); text-decoration: none; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-links a { color: inherit; }
.foot-links a:hover { color: var(--cyan); text-decoration: none; }
.foot-small { margin-top: 26px; font-size: 12px; color: var(--faint); }

@media (max-width: 560px) {
  .topbar { padding: 18px 16px; }
  main.page { padding: 28px 16px 56px; }
  .site-foot { padding: 0 16px 40px; }
  h1 { font-size: 34px; }
  .live, .btn { padding: 11px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .live, .btn, a, .top-link { transition: none; }
}
