/* Pyrra marketing site — ember theme. Tokens mirror legal-site/shared.css. */
:root {
  --bg: #111111;
  --surface: #1a1a1a;
  --surface-2: #221a16;
  --text: #e8e3df;
  --text-dim: #a59b93;
  --heading: #ffffff;
  --accent: #e87c3e;
  --accent-2: #f5a46b;
  --border: #332b25;
  --maxw: 1080px;
  --radius: 16px;
  --shot-rx: 14.8%;
  --shot-ry: 6.8%;
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35em;
}
p {
  margin-bottom: 1em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75em;
}
/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--heading);
}
.nav-brand img {
  width: 28px;
  height: 28px;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--heading);
  text-decoration: none;
}
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #1a0f08;
}
/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.15s;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #1a0f08;
}
.btn-primary:hover {
  filter: brightness(1.06);
  text-decoration: none;
}
.btn-primary::after {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transform: translateY(-2px) rotate(-35deg);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2v7z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2v7z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  text-decoration: none;
}
/* sections */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.section:first-of-type {
  border-top: none;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 44ch;
}
/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 56px;
}
.hero-copy h1 {
  margin-bottom: 0.4em;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 1.5em;
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 1em;
}
.hero-media video,
.hero-media img {
  height: 660px;
  width: auto;
  border-radius: var(--shot-rx) / var(--shot-ry);
  margin: 0 auto;
  box-shadow: 0 30px 80px -30px rgba(232, 124, 62, 0.35);
}
/* facts list */
.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 1.5em 0;
}
.facts li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
}
.facts li b {
  color: var(--heading);
  display: block;
  margin-bottom: 2px;
}
/* loop cards — framed marketing screenshots (self-captioned) */
.loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.loop-card {
  margin: 0;
}
.loop-card img {
  width: 100%;
  border-radius: var(--shot-rx) / var(--shot-ry);
  display: block;
}
/* features */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}
.feature:nth-child(even) .feature-media {
  order: 2;
}
.feature-copy {
  min-width: 0;
}
.feature-copy p {
  color: var(--text-dim);
}
.shot img {
  border-radius: var(--shot-rx) / var(--shot-ry);
  margin: 0 auto;
}
/* comparison table */
.compare-wrap {
  overflow-x: auto;
  margin-top: 24px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--surface-2);
  color: var(--heading);
}
.compare-table th[scope="row"] {
  background: var(--surface);
  font-weight: 600;
}
.compare-table .yes {
  color: #6fcf7f;
  font-weight: 700;
}
.compare-table .no {
  color: var(--text-dim);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* faq */
.faq {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq-item h3 {
  margin-bottom: 0.4em;
}
.faq-item p {
  margin: 0;
  color: var(--text-dim);
}
/* footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}
.footer a {
  color: var(--text-dim);
}
.updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 8px;
}
/* responsive */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-media {
    order: -1;
  }
  .loop {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature:nth-child(even) .feature-media {
    order: 0;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    gap: 14px;
  }
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-links {
    margin-left: 0;
  }
}
