/* Valo — valo.persin.ai
   Brand tokens mirrored from the app (frontend/theme/tokens.ts):
   near-black #070709, white #FAFAFF, secondary #7C8190, graphite #171A20,
   soft-green accent #7DBFA0. Type: Plus Jakarta Sans (same as the app). */

:root {
  --black: #070709;
  --graphite: #171A20;
  --ink-mark: #2A2E39;
  --white: #FAFAFF;
  --secondary: #7C8190;
  --tertiary: #5C6173;
  --accent: #7DBFA0;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --max: 760px;
}

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

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

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Soft glow at the top, echoing the app icon. */
  background-image: radial-gradient(120% 60% at 50% -10%, rgba(125, 191, 160, 0.10), transparent 60%);
  background-repeat: no-repeat;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .wordmark { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--secondary); font-size: 15px; }
.nav a:hover { color: var(--white); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; text-align: center; }
.hero .app-icon {
  width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px var(--hairline);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.08;
}
.hero .name-line { color: var(--secondary); font-weight: 500; font-size: 18px; margin-bottom: 18px; letter-spacing: 0.01em; }
.hero p.sub {
  color: var(--secondary); font-size: clamp(17px, 2.4vw, 20px);
  max-width: 560px; margin: 22px auto 0; line-height: 1.55;
}

/* ---------- Reminder chips ---------- */
.chips { display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin: 44px auto 0; }
.chip {
  display: flex; align-items: center; gap: 14px;
  background: var(--graphite); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 15px 18px; text-align: left;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.chip span { font-size: 16px; color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; border-top: 1px solid var(--hairline); }
.section h2 { font-size: clamp(24px, 4vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.section p { color: var(--secondary); max-width: 600px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.feature { background: var(--graphite); border: 1px solid var(--hairline); border-radius: 16px; padding: 22px; }
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--secondary); margin: 0; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; margin-top: 24px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--secondary); font-size: 15px; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-meta { color: var(--tertiary); font-size: 14px; margin-top: 20px; }

/* ---------- Legal pages ---------- */
.legal { padding: 24px 0 80px; }
.legal .back { color: var(--secondary); font-size: 15px; display: inline-block; margin: 8px 0 28px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 600; letter-spacing: -0.02em; }
.legal .updated { color: var(--tertiary); font-size: 15px; margin-top: 8px; margin-bottom: 8px; }
.legal .intro { color: var(--secondary); margin: 24px 0; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 38px 0 12px; letter-spacing: -0.01em; }
.legal p { color: #C7CAD2; margin-bottom: 14px; }
.legal ul { list-style: none; margin: 6px 0 16px; }
.legal li { position: relative; padding-left: 22px; margin-bottom: 12px; color: #C7CAD2; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--tertiary); }
.legal li b { color: var(--white); font-weight: 600; }
.legal .callout {
  background: var(--graphite); border: 1px solid var(--hairline-strong);
  border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 22px 0;
}
.legal .callout p { color: var(--white); margin: 0; }
.legal .copyright { color: var(--tertiary); font-size: 14px; margin-top: 40px; }
