/* ZenFrame site — one stylesheet for the landing page and the legal documents.
   Palette and type mirror the app's design tokens: rose on a near-black
   canvas, Outfit, flat surfaces, sharp media, pill controls, no glow. */

:root {
  --canvas: #12060a;
  --surface: #1b0c12;
  --surface2: #25121a;
  --surface3: #321a24;
  --line: rgba(254, 229, 236, 0.09);
  --line2: rgba(254, 229, 236, 0.16);
  --text1: #fbeef2;
  --text2: #c9aab4;
  --text3: #8b6d78;
  --accent: #dc286e;
  --accent-deep: #c12149;
  --gold: #f4b44a;
  --success: #3fd99a;
  --shell: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--canvas);
  color: var(--text1);
  font-family:
    'Outfit',
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 6, 10, 0.86);
  backdrop-filter: blur(14px);
}

.topbar .shell {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  margin-right: auto;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1;
}

.topnav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text2);
}

.topnav a {
  color: var(--text2);
  transition: color 0.15s;
}

.topnav a:hover {
  color: var(--text1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--text1);
  font-weight: 400;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 15px;
}

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

.hero {
  position: relative;
  padding: 72px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: var(--text3);
}

h1 {
  margin: 14px 0 18px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -2px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text3);
}

/* hero collage — abstract tiles, tightly packed, square-cornered */

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tile {
  position: relative;
  border-radius: 4px;
  padding: 16px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.tile b {
  font-size: 17px;
  font-weight: 400;
}

.tile i {
  font-style: normal;
  font-size: 13px;
  color: var(--text2);
}

.tile:nth-child(1) {
  background: linear-gradient(160deg, #5a1c3c, #1d0a14);
}

.tile:nth-child(2) {
  background: linear-gradient(160deg, #7a2050, #200b16);
}

.tile:nth-child(3) {
  background: linear-gradient(160deg, #3b1527, #1a0811);
}

.tile:nth-child(4) {
  background: linear-gradient(160deg, #5a2f1d, #1d0a14);
}

/* ---------- sections ---------- */

section.band {
  padding: 76px 0;
}

.section-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--text3);
}

h2 {
  margin: 8px 0 14px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.8px;
}

.section-sub {
  max-width: 560px;
  color: var(--text2);
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 38px;
}

.card {
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
}

.card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--text2);
  font-size: 15.5px;
}

.card .glyph {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
}

.card .glyph svg {
  width: 30px;
  height: 30px;
  stroke: var(--text1);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  margin-top: 38px;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step {
  padding: 28px 0 8px;
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 14px;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}

.step h3 {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 6px;
}

.step p {
  color: var(--text2);
  font-size: 15.5px;
}

/* ---------- safety list ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.checks {
  display: grid;
  border-top: 1px solid var(--line);
}

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.check svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check b {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.check span {
  font-size: 15px;
  color: var(--text2);
}

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

.faq {
  margin-top: 32px;
  display: grid;
  border-top: 1px solid var(--line);
}

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

summary {
  cursor: pointer;
  font-weight: 400;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

summary::after {
  content: '+';
  color: var(--text3);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

details[open] summary::after {
  content: '–';
}

details p {
  margin-top: 12px;
  color: var(--text2);
  font-size: 15.5px;
}

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

.closing {
  text-align: center;
  border-radius: 14px;
  padding: 64px 28px;
  background: linear-gradient(180deg, #3a1226, var(--surface));
}

.closing h2 {
  max-width: 560px;
  margin-inline: auto;
  font-weight: 400;
}

.closing p {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--text2);
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  margin-top: 60px;
}

footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

footer .legal-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  color: var(--text2);
}

footer .legal-links a {
  color: var(--text2);
}

footer .legal-links a:hover {
  color: var(--text1);
}

footer small {
  display: block;
  color: var(--text3);
  font-size: 13px;
  margin-top: 6px;
}

/* ---------- legal documents ---------- */

.legal-head {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  font-size: 44px;
  margin: 8px 0 8px;
}

.legal-head p {
  color: var(--text2);
  font-size: 15px;
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 0;
}

.legal-body h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin: 44px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-body p {
  margin-bottom: 14px;
  color: var(--text2);
  font-size: 16px;
}

.legal-body p strong {
  color: var(--text1);
  font-weight: 500;
}

.legal-body ul {
  margin: 0 0 14px 20px;
  color: var(--text2);
  font-size: 16px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--text1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body .lead {
  color: var(--text1);
  font-size: 18px;
}

.legal-back {
  display: inline-block;
  margin: 32px 0 8px;
  font-weight: 500;
}

/* Emphasis box for the clauses a reader must not miss (legal pages). */
.notice {
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  padding: 18px 20px;
  margin: 18px 0 22px;
}

.notice p {
  color: var(--text1);
  margin-bottom: 0;
}

.notice p + p {
  margin-top: 10px;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  .legal-head h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .topnav {
    display: none;
  }

  .hero {
    padding: 48px 0 56px;
  }

  section.band {
    padding: 56px 0;
  }

  .tile {
    min-height: 150px;
  }
}
