/*
 * Landing page only. `style.css` still carries the document pages (privacy,
 * support, schema, delete-account) and the shared tokens; this file adds the
 * marketing sections on top of them.
 *
 * Same rule as the rest of the site, and it is why there is no hero video, no
 * press logo wall and no embedded player here: no web fonts, no analytics, no
 * third-party requests of any kind. Every byte on this page is served from
 * priozar.com. A page whose central claim is that your data never leaves your
 * device cannot itself phone out to three companies to render a headline.
 */

:root {
  --grad: linear-gradient(100deg, #0b63f6 0%, #12d7f0 100%);
  --hero-wash: radial-gradient(120% 80% at 50% 0%, #e6efff 0%, rgba(230, 239, 255, 0) 70%);
  --shadow-lg: 0 24px 60px -24px rgba(10, 24, 60, 0.28);
  --shadow-sm: 0 4px 16px -6px rgba(10, 24, 60, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --hero-wash: radial-gradient(120% 80% at 50% 0%, #14264d 0%, rgba(20, 38, 77, 0) 70%);
    --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 4px 16px -6px rgba(0, 0, 0, 0.5);
  }
}

/* ---- shell ------------------------------------------------------------- */

.home .wrap {
  max-width: 68rem;
  padding-bottom: 0;
}

.home header.site {
  border-bottom: none;
  margin-bottom: 0;
}

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

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

h2.big {
  font-size: clamp(1.65rem, 4.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.section-lede {
  font-size: 1.08rem;
  max-width: 58ch;
  margin: 0 0 2.5rem;
}

/*
 * Sections whose body is a full-width grid get a centred introduction; the
 * two-column `.split` rows keep their left-aligned one. Without this the text
 * hugs the left edge of a 68rem container and the right half reads as an
 * unfinished column rather than as space.
 */
.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2.big,
.section-head .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.section-head .section-lede {
  margin-bottom: 0;
}

/* Anything that is read as prose rather than scanned as a grid. */
.measure {
  max-width: 62ch;
  margin: 0 auto;
}

.measure > p:first-child {
  margin-top: 0;
}

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

.hero {
  background: var(--hero-wash);
  padding: 4rem 0 5rem;
  text-align: center;
  border-top: none;
}

.kicker {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 auto 1.25rem;
  max-width: 15ch;
}

.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.status-strip {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.status-strip .dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #17c964;
  margin-right: 0.45rem;
}

/*
 * Where a normal landing page puts download counts and press logos. Priozar
 * has neither, so these are three things that are true and checkable instead.
 */
.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.75rem;
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
}

.proof-row li {
  max-width: 12rem;
}

.proof-row strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-row span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-shot {
  margin: 3.5rem auto 0;
  max-width: 330px;
}

/* ---- screenshot gallery ------------------------------------------------ */

/*
 * Scroll-snap rather than a scripted carousel: no library, no third-party
 * request, and it degrades to an ordinary scrollable row everywhere.
 */
.gallery {
  display: flex;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 0.5rem 0.25rem 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery figure {
  flex: 0 0 auto;
  width: 208px;
  scroll-snap-align: center;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.gallery figcaption {
  text-align: left;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ---- phone frame ------------------------------------------------------- */

.phone {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

figure {
  margin: 0;
}

figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  text-align: center;
}

/* ---- the wall / the door ----------------------------------------------- */

.compare {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.compare > div {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  background: var(--surface);
}

.compare h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.compare .then p {
  color: var(--text-muted);
}

.compare .now {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
}

.compare p {
  margin: 0;
}

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

.steps {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  counter-reset: step;
}

.step h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
}

.step .num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--grad);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.step .num::before {
  content: counter(step);
}

.step img {
  margin-top: 1.5rem;
}

/* ---- split feature rows ------------------------------------------------ */

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 52rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split.reverse .split-media {
    order: -1;
  }
}

.split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.split-media.phone-media {
  max-width: 270px;
  margin: 0 auto;
}

.split h2.big {
  margin-top: 0;
}

.split ul {
  padding-left: 1.1rem;
  margin: 1.25rem 0 0;
}

.split li {
  margin-bottom: 0.5rem;
}

/* ---- what it does not do ----------------------------------------------- */

.absence {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.absence li {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  margin: 0;
}

.absence strong {
  display: block;
  margin-bottom: 0.3rem;
}

.absence span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---- what the progress screen will not claim ---------------------------- */

.refusals {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.refusals li {
  border-left: 2px solid var(--border);
  padding: 0.15rem 0 0.15rem 1.1rem;
  margin-bottom: 1.35rem;
}

.refusals strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* ---- proof callout ----------------------------------------------------- */

.proof {
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 2.25rem;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  margin: 2.5rem auto 0;
  max-width: 46rem;
}

.proof h3 {
  margin: 0 0 0.6rem;
}

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

/* ---- faq --------------------------------------------------------------- */

details {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

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

details summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
}

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

details p {
  margin: 0.85rem 0 0;
}

/* ---- closing ----------------------------------------------------------- */

.closing {
  text-align: center;
  padding-bottom: 5.5rem;
}

.closing h2.big,
.closing .section-lede {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 40rem) {
  section {
    padding: 3.75rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .proof {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}
