/* reciproq.xyz — landing page styles
   brand reference: ../brand.md
   voice: lowercase, dry, no emojis, no em dashes
*/

:root {
  --amber: #F59E0B;
  --amber-strong: #D97706;
  --locked: #d6464a;
  --unlocked: #00ba7c;

  --fg: #0f1419;
  --fg-muted: #536471;
  --bg: #ffffff;
  --bg-soft: #f7f9f9;
  --border: #eff3f4;

  --radius: 12px;
  --max-w: 720px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e7e9ea;
    --fg-muted: #71767b;
    --bg: #000000;
    --bg-soft: #16181c;
    --border: #2f3336;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* typography ------------------------------------------------------------ */

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 {
  font-size: 56px;
  margin-bottom: 16px;
}

h2 {
  font-size: 24px;
  margin: 56px 0 16px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--amber);
  transition: text-decoration-color 150ms ease;
}

a:hover { text-decoration-color: var(--amber-strong); }
a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.muted { color: var(--fg-muted); }

code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

ul, ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
li { margin-bottom: 6px; }

/* hero ----------------------------------------------------------------- */

.hero {
  padding-top: 32px;
}

.hero .tagline {
  font-size: 19px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #0f1419;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.hero .cta:hover {
  background: var(--amber-strong);
  transform: translateY(-1px);
}

.hero .cta:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.hero .meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* demo block ----------------------------------------------------------- */

.demo {
  margin: 56px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 16 / 10;
  position: relative;
}

.demo video,
.demo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.demo .placeholder .ring {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 4px solid var(--border);
  border-top-color: var(--amber);
  position: relative;
  transform: rotate(-90deg);
}

.demo .placeholder .ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: var(--bg);
}

/* steps ---------------------------------------------------------------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: baseline;
}

.steps .num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 22px;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.steps .body {
  margin: 0;
}

/* privacy box ---------------------------------------------------------- */

.privacy-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-soft);
}

.privacy-card h2 {
  margin-top: 0;
  font-size: 17px;
}

.privacy-card .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: start;
  margin-bottom: 8px;
  font-size: 14.5px;
}

.privacy-card .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 8px;
}

.privacy-card .dot.yes { background: var(--unlocked); }
.privacy-card .dot.no  { background: var(--locked); }

/* footer --------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

footer nav {
  display: inline-flex;
  gap: 18px;
  margin-top: 6px;
}

footer a { color: var(--fg-muted); }

/* legal page styling --------------------------------------------------- */

.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .meta-line {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 14px;
}

.legal th, .legal td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  font-weight: 700;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--bg-soft);
}

.legal blockquote {
  border-left: 3px solid var(--amber);
  margin: 16px 0;
  padding: 8px 16px;
  background: var(--bg-soft);
  border-radius: 0 6px 6px 0;
}

.legal blockquote p:last-child { margin-bottom: 0; }

/* uninstall feedback --------------------------------------------------- */

.feedback-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feedback-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0;
}

.feedback-form legend {
  padding: 0 6px;
  font-weight: 700;
  font-size: 14px;
}

.feedback-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  cursor: pointer;
}

.feedback-form input[type="radio"],
.feedback-form input[type="checkbox"] {
  accent-color: var(--amber);
  width: 16px;
  height: 16px;
}

.feedback-form textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  resize: vertical;
}

.feedback-form textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.feedback-form button {
  justify-self: start;
  background: var(--amber);
  color: #0f1419;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.feedback-form button:hover { background: var(--amber-strong); transform: translateY(-1px); }
.feedback-form button:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.feedback-form .submitted {
  display: none;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--unlocked);
  border-radius: var(--radius);
  font-size: 15px;
}

.feedback-form.is-submitted .submitted { display: block; }
.feedback-form.is-submitted fieldset,
.feedback-form.is-submitted button { display: none; }

/* motion accessibility ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* narrow screens ------------------------------------------------------- */

@media (max-width: 540px) {
  main { padding: 32px 20px 64px; }
  h1 { font-size: 40px; }
  h2 { font-size: 21px; margin-top: 44px; }
  .hero .tagline { font-size: 17px; }
  .legal table { font-size: 13px; }
  .legal th, .legal td { padding: 8px 10px; }
}
