/* Prufiva — hand-set styles. Three colors: paper, seal green, gold. */

:root {
  --paper: #f7f5f1;
  --surface: #ffffff;
  --ink: #1c1b18;
  --ink-muted: #6e6a62;
  --seal: #1f4d3a;
  --seal-deep: #0f2b20;
  --seal-soft: #2a5c46;
  --on-seal: #f7f3ea;
  --sage: #bfd3c7;
  --gold: #b77f1d;
  --hairline: rgba(28, 27, 24, 0.12);
  --radius: 18px;
  --measure: 62ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--seal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--seal-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand img { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 8px 2px;
}
.nav-links a:hover { color: var(--seal); }
.nav-badge {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--seal);
  border: 1px solid color-mix(in srgb, var(--seal) 35%, transparent);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-badge) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(165deg, #0f2b20 0%, #1f4d3a 48%, #2a5c46 100%);
  color: var(--on-seal);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 88px 0 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.hero .eyebrow { color: #d9a83f; }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero p.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--sage);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 14px;
  padding: 15px 26px;
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--on-seal); color: var(--seal-deep); }
.btn-light:hover { background: #fffdf7; color: var(--seal-deep); }
.btn-dark { background: var(--seal); color: var(--on-seal); }
.btn-dark:hover { background: var(--seal-deep); color: var(--on-seal); }
.hero-store-note {
  font-size: 14.5px;
  color: var(--sage);
}
.hero-poster {
  justify-self: center;
  width: min(340px, 80vw);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(247, 243, 234, 0.14);
  outline-offset: -1px;
  margin-bottom: 88px;
  transform: rotate(1.5deg);
}
.hero-poster img { width: 100%; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; gap: 16px; }
  .hero-ctas { margin-bottom: 48px; }
  .hero-poster { margin-bottom: 64px; transform: none; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
  text-wrap: balance;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 18px;
  margin: 0;
}

.hairline-top { border-top: 1px solid var(--hairline); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 10px; }
.step p { color: var(--ink-muted); font-size: 16px; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* Mode cards */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mode {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}
.mode:hover { border-color: color-mix(in srgb, var(--seal) 40%, transparent); }
.mode svg { color: var(--seal); margin-bottom: 18px; }
.mode h3 { font-size: 20px; margin: 0 0 10px; letter-spacing: -0.01em; }
.mode p { color: var(--ink-muted); font-size: 16px; margin: 0; }
@media (max-width: 860px) {
  .modes { grid-template-columns: 1fr; }
}

/* Proof / seal section */
.proof {
  background: var(--seal-deep);
  color: var(--on-seal);
}
.proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
}
.proof .section-head h2 { color: var(--on-seal); }
.proof .section-head p { color: var(--sage); }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.proof-list li { display: flex; gap: 16px; align-items: flex-start; }
.proof-list svg { flex: none; color: #d9a83f; margin-top: 3px; }
.proof-list strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.proof-list span { color: var(--sage); font-size: 15.5px; line-height: 1.5; }
.proof-poster {
  width: min(320px, 78vw);
  justify-self: center;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  outline: 1px solid rgba(247, 243, 234, 0.14);
  outline-offset: -1px;
  transform: rotate(-1.5deg);
}
.proof-poster img { width: 100%; }

/* Screens gallery */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(300px, 72vw);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 6px 18px;
  scrollbar-width: thin;
}
.shots img {
  width: 100%;
  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: 0 14px 40px rgba(28, 27, 24, 0.18);
}
.shots:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 860px) {
  .proof-inner { grid-template-columns: 1fr; }
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
}
.price-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px 32px 36px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--seal);
  color: var(--on-seal);
  border-color: var(--seal);
}
.price-card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.price-card .price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}
.price-card .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.price-card .price-sub { font-size: 14.5px; color: var(--ink-muted); margin-bottom: 22px; }
.price-card.featured .price-sub { color: var(--sage); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 11px; font-size: 15.5px; align-items: flex-start; }
.price-card li svg { flex: none; margin-top: 4px; color: var(--seal); }
.price-card.featured li svg { color: #d9a83f; }
@media (max-width: 720px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 56px;
  font-size: 15px;
  color: var(--ink-muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer .brand { font-size: 17px; }
.footer .brand img { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--seal); text-decoration: underline; }
.footer-note { width: 100%; margin-top: 8px; font-size: 14px; }

/* ---------- Legal / support pages ---------- */

.page-head {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--hairline);
}
.page-head h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.page-head p { color: var(--ink-muted); margin: 0; font-size: 16.5px; }
.prose {
  padding: 48px 0 96px;
  max-width: var(--measure);
}
.prose h2 {
  font-size: 23px;
  letter-spacing: -0.015em;
  margin: 44px 0 12px;
}
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3d3b36; font-size: 16.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--ink-muted); font-size: 15px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.prose th { font-weight: 600; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 36px 0;
}
.contact-card p { margin: 0 0 6px; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 20px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--seal);
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 0 22px; color: #3d3b36; max-width: 58ch; }
.faq .faq-body p { margin: 0 0 10px; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
