/* Sarepa landing — Human + Warm + Smart + Alive.
   Locked in the owner chat (message 158): not corporate, not childish,
   not cyberpunk, not a dashboard. The app is dark violet; this is its
   warm, light front door. */

:root {
  color-scheme: light;
  --paper: #fdf8f3;          /* warm paper, not cream-and-terracotta */
  --paper-2: #f6efe8;
  --surface: #ffffff;
  --ink: #241a2e;            /* warm near-black with a violet bias */
  --muted: #6c6076;
  --line: #e9ddd3;
  --violet: #6d2fd6;         /* the brand thread, deepened for a light ground */
  --violet-soft: #f0e8ff;
  --saffron: #c4841a;        /* the "alive" accent */
  --radius: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Vazirmatn, Tahoma, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.95;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px; max-width: 1040px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; }
.mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(145deg, #9a6bff, var(--violet)); color: #fff; font-weight: 700;
}
.enter {
  color: var(--violet); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
}
.enter:hover { border-color: var(--violet); }

main { max-width: 1040px; margin: 0 auto; padding: 0 22px 40px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 42px 0 20px; text-align: center; }

h1 {
  font-family: Lalezar, Vazirmatn, Tahoma, sans-serif;
  font-size: clamp(34px, 6.4vw, 60px);
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 16px;
  text-wrap: balance;
}

.sub { color: var(--muted); max-width: 46ch; margin: 0 auto 30px; }

/* The centrepiece is the thing you can actually use, not a paragraph. */
.ask {
  max-width: 620px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 40px rgba(60, 30, 110, .07);
}
.ask textarea {
  width: 100%; border: 0; resize: none; font: inherit; color: inherit;
  background: transparent; padding: 8px 6px; line-height: 1.8;
}
.ask textarea:focus { outline: none; }
.ask textarea::placeholder { color: #9a8fa4; }

.primary {
  display: block; width: 100%; margin-top: 10px;
  padding: 15px 20px; border: 0; border-radius: 15px;
  background: linear-gradient(100deg, var(--violet), #9a6bff);
  color: #fff; font: inherit; font-weight: 700; cursor: pointer;
  text-align: center; text-decoration: none;
  box-shadow: 0 10px 26px rgba(109, 47, 214, .28);
  transition: transform .12s, box-shadow .18s;
}
.primary:hover { box-shadow: 0 14px 34px rgba(109, 47, 214, .38); }
.primary:active { transform: translateY(1px); }
.primary:focus-visible, .chip:focus-visible, .enter:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--violet); outline-offset: 3px;
}

.try { color: var(--muted); font-size: 15px; margin: 24px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chip {
  font: inherit; font-size: 15px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); border-radius: 999px; padding: 9px 17px;
  transition: border-color .18s, background .18s;
}
.chip:hover { border-color: var(--violet); background: var(--violet-soft); }

/* ---------------------------------------------------------------- loop */
section { padding: 46px 0; }
h2 {
  font-family: Lalezar, Vazirmatn, Tahoma, sans-serif;
  font-size: clamp(24px, 3.6vw, 33px); font-weight: 400;
  margin: 0 0 26px; text-wrap: balance;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.steps li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 16px;
}
/* The numbers are real: the five steps happen in this order. */
.steps .n {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 10px; background: var(--violet-soft); color: var(--violet);
  font-weight: 700; font-size: 15px; margin-bottom: 10px;
}
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.steps em { font-style: normal; color: var(--saffron); font-weight: 700; }

/* ---------------------------------------------------------------- who */
.cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards article {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px;
}
.cards h3 { margin: 0 0 6px; font-size: 18px; }
.cards p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- promise */
.promise ul { margin: 0; padding-inline-start: 22px; max-width: 62ch; }
.promise li { margin-bottom: 10px; }

.cta { text-align: center; }
.cta p { color: var(--muted); margin: 0 0 20px; }
.cta .primary { max-width: 460px; margin-inline: auto; }

footer {
  border-top: 1px solid var(--line); margin-top: 20px;
  padding: 24px 22px; text-align: center; color: var(--muted); font-size: 15px;
}
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .primary:active { transform: none; }
}
