/* Salog — salogapp.com
   Tokens taken from the real app's ColorTheme.kt so the site and the app
   feel like the same product, with the icon's violet->coral gradient kept
   as the one bold accent and everything else disciplined and plain. */

:root {
  --ink: #14171a;
  --ink-soft: #657786;
  --paper: #ffffff;
  --paper-tint: #f8f7fb;
  --line: #e5e7eb;
  --violet: #6d28d9;
  --violet-deep: #5b21b6;
  --coral: #ef5a3c;
  --mint: #16a34a;
  --mint-bg: #dcfce7;
  --max: 1120px;
}

* { box-sizing: border-box; }

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: "Space Grotesk", "Figtree", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--violet-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 2px; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav__brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav__brand span { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; }
.nav__links { display: flex; gap: 28px; font-size: 15px; }
.nav__links a { color: var(--ink-soft); text-decoration: none; }
.nav__links a:hover { color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-soft); }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center;
  padding: 56px 0 88px;
}
.hero__eyebrow-free h1 { font-size: clamp(36px, 5vw, 56px); }
.hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 20px 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--violet) 0%, var(--coral) 55%, transparent 72%);
  filter: blur(42px); opacity: 0.55;
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.65; }
}
.hero__icon { position: relative; width: 196px; height: 196px; border-radius: 44px; box-shadow: 0 24px 60px -20px rgba(109, 40, 217, 0.45); }

/* ---- Trust strip ---- */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; display: flex; gap: 36px; flex-wrap: wrap;
  color: var(--ink-soft); font-size: 14.5px;
}
.trust span { display: flex; align-items: center; gap: 8px; }
.trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }

/* ---- Features (list, not a card grid) ---- */
.features { padding: 88px 0; }
.features h2 { font-size: clamp(28px, 3.4vw, 38px); max-width: 18ch; }
.features .sub { color: var(--ink-soft); margin: 14px 0 48px; max-width: 54ch; font-size: 17px; }

.flist { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.frow {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.flist .frow:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.flist .frow:nth-child(even) { padding-left: 32px; }
.frow__glyph {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-tint); color: var(--violet-deep);
}
.frow h3 { font-size: 18px; margin-bottom: 8px; }
.frow p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 42ch; }

/* ---- Escrow steps (a real sequence, numbered on purpose) ---- */
.steps { background: var(--paper-tint); padding: 72px 48px; border-radius: 28px; margin: 24px auto; }
.steps h2 { font-size: clamp(28px, 3.4vw, 38px); max-width: 20ch; }
.steps .sub { color: var(--ink-soft); margin: 14px 0 48px; max-width: 56ch; font-size: 17px; }
.steplist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { position: relative; padding-top: 28px; }
.step::before {
  content: attr(data-n);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px;
  color: var(--violet-deep); background: #fff; border: 1px solid var(--line);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -4px; left: 0;
}
.step h3 { font-size: 17px; margin: 14px 0 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---- Final CTA ---- */
.cta-band { padding: 96px 0; text-align: left; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); max-width: 18ch; }
.cta-band p { color: var(--ink-soft); margin: 14px 0 30px; max-width: 48ch; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding: 36px 0; }
.foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--ink-soft); font-size: 14px;
}
.foot a { color: var(--ink-soft); }
.foot__links { display: flex; gap: 22px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero__art { order: -1; }
  .hero__icon { width: 140px; height: 140px; }
  .hero__glow { width: 260px; height: 260px; }
  .flist { grid-template-columns: 1fr; }
  .flist .frow:nth-child(odd) { padding-right: 0; border-right: none; }
  .flist .frow:nth-child(even) { padding-left: 0; }
  .steplist { grid-template-columns: 1fr; gap: 40px; }
  .nav__links { gap: 16px; font-size: 13.5px; }
  .steps { padding: 48px 24px; border-radius: 20px; margin: 16px auto; }
}

/* ---- Legal pages (privacy / terms) ---- */
.legal { padding: 48px 0 100px; }
.legal__head { max-width: 68ch; margin-bottom: 44px; }
.legal__head h1 { font-size: clamp(30px, 4vw, 42px); }
.legal__head .meta { color: var(--ink-soft); font-size: 14.5px; margin-top: 10px; }
.legal__body { max-width: 68ch; }
.legal__body h2 { font-size: 21px; margin: 44px 0 14px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: #2b2f33; font-size: 16px; margin: 0 0 14px; }
.legal__body ul { padding-left: 22px; }
.legal__body a { color: var(--violet-deep); }
.legal__nav { display: flex; gap: 10px; margin-bottom: 36px; }
