/* Peerless beta site — visual identity borrowed directly from the app itself. */

:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-border: rgba(255, 255, 255, 0.08);
  --orange: #f19648;
  --orange-bright: #ff7a03;
  --orange-dim: #40331b;
  --white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-dimmer: rgba(255, 255, 255, 0.4);
  --max-width: 760px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  padding: 24px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.site-header img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

/* Hero */

.hero {
  padding: 40px 0 64px;
  text-align: center;
  border-top: none;
}

.hero img.icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  margin: 0 auto 28px;
  box-shadow: 0 20px 60px rgba(241, 150, 72, 0.25);
}

.hero h1 {
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero p.tagline {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 14px;
}

.hero p.pitch {
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--orange-bright);
  color: #000;
  transform: translateY(-1px);
}

.btn-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-dimmer);
}

/* Sections */

section {
  padding: 56px 0;
  border-top: 1px solid var(--surface-border);
}

section h2 {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  text-align: center;
}

/* Feature cards */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Screenshots */

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
}

.screenshot figure {
  margin: 0;
}

.screenshot img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--surface-border);
}

.screenshot figcaption {
  text-align: center;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Requirements */

.requirements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.requirements li {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 1rem;
}

.requirements li strong {
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq p {
  margin: 14px 0 0;
  color: var(--text-dim);
  line-height: 1.6;
}

/* CTA section */

.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p.lede {
  color: var(--text-dim);
  margin: 0 0 32px;
}

/* Footer */

footer {
  border-top: 1px solid var(--surface-border);
  padding: 40px 0 64px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  align-items: center;
  color: var(--text-dimmer);
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
}

footer a:hover {
  color: var(--orange);
}

/* Privacy page */

.policy {
  padding: 16px 0 64px;
}

.policy h1 {
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 800;
  margin: 8px 0 8px;
}

.policy .updated {
  color: var(--text-dimmer);
  font-size: 0.9rem;
  margin: 0 0 40px;
}

.policy h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 12px;
  text-align: left;
}

.policy p, .policy li {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 1.02rem;
}

.policy ul {
  padding-left: 1.2em;
}

.policy a {
  color: var(--orange);
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }

  .requirements li {
    flex-direction: column;
    gap: 4px;
  }
}
