/* OwnersBest — Enigma Messenger app site
   Brand: navy #003881 / #06266f, orange #f19138, warm off-white.
   Type: Fraunces (display serif) + Hanken Grotesk (body). */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy: #003881;
  --navy-deep: #06266f;
  --navy-ink: #0a1f3d;
  --orange: #f19138;
  --orange-deep: #e07c1f;
  --paper: #fbf7f1;
  --paper-2: #f4ece1;
  --line: #e7dccd;
  --text: #20262e;
  --muted: #5b6573;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px -22px rgba(6, 38, 111, .35);
  --maxw: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration-color: rgba(241, 145, 56, .55); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.12; color: var(--navy-ink); letter-spacing: -0.01em; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
}
.topbar .brand { display: flex; align-items: center; gap: 12px; }
.topbar .brand img { height: 34px; width: auto; display: block; }
.topbar nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; margin-left: 22px; }
.topbar nav a:hover { color: var(--navy); }
@media (max-width: 620px){ .topbar nav a { margin-left: 14px; } .topbar { flex-wrap: wrap; gap: 10px; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(241,145,56,.16), transparent 60%),
    linear-gradient(155deg, var(--navy-deep), var(--navy) 60%, #022a63);
  color: #eaf0fb;
  position: relative;
  overflow: hidden;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity:.6; pointer-events:none;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 72px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.hero .eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(241,145,56,.4); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); margin: 0 0 16px; }
.hero h1 em { font-style: italic; color: var(--orange); }
.hero p { color: #c4d2ec; font-size: 18px; max-width: 30em; margin: 0 0 26px; }
.hero-icon img { width: 150px; height: 150px; border-radius: 30px; box-shadow: var(--shadow); display:block; }
@media (max-width: 720px){ .hero-inner { grid-template-columns: 1fr; } .hero-icon { order:-1; } .hero-icon img{ width:104px;height:104px;border-radius:22px;} }

.btn {
  display: inline-block; background: var(--orange); color: #2a1604; font-weight: 700;
  padding: 13px 24px; border-radius: 12px; text-decoration: none; font-size: 15.5px;
  box-shadow: 0 12px 26px -12px rgba(241,145,56,.7); transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #ffa64f; color:#2a1604; }
.btn.secondary { background: transparent; color: #eaf0fb; border: 1px solid rgba(234,240,251,.35); box-shadow:none; margin-left:10px; }
.btn.secondary:hover { background: rgba(255,255,255,.08); color:#fff; }

/* ---------- content ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 24px; }
.lede { font-size: 19px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0; }
@media (max-width: 720px){ .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: 0 10px 30px -24px rgba(6,38,111,.4);
}
.card .ico { font-size: 24px; margin-bottom: 10px; }
.card h3 { font-size: 19px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }

.steps { counter-reset: step; margin: 32px 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 4px 0 22px 56px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-family: 'Fraunces',serif;
  display: grid; place-items: center;
}
.steps li b { color: var(--navy-ink); }

.linkrow { display:flex; flex-wrap:wrap; gap:14px; margin: 30px 0 10px; }
.linkrow a { background: var(--paper-2); border:1px solid var(--line); padding:12px 18px; border-radius:12px; text-decoration:none; font-weight:600; color:var(--navy); }
.linkrow a:hover { border-color: var(--orange); }

/* ---------- legal doc ---------- */
.doc h1 { font-size: clamp(28px, 4.4vw, 40px); margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 14.5px; margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 38px 0 12px; padding-top: 8px; }
.doc h3 { font-size: 17.5px; margin: 24px 0 8px; font-family:'Hanken Grotesk',sans-serif; font-weight:700; color:var(--navy-ink); }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.callout {
  background: var(--paper-2); border-left: 4px solid var(--orange);
  padding: 16px 20px; border-radius: 10px; margin: 22px 0; font-size: 15.5px;
}
.toc { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 30px; }
.toc strong { display:block; font-family:'Fraunces',serif; margin-bottom:6px; color:var(--navy-ink); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; font-size: 14.5px; }
@media (max-width:620px){ .toc ol { columns: 1; } }

/* ---------- footer ---------- */
footer {
  background: var(--navy-deep); color: #b9c6e0; margin-top: 60px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px 24px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:26px; }
footer .brand img { height: 30px; filter: brightness(0) invert(1); opacity:.92; margin-bottom:12px; }
footer p { margin: 4px 0; font-size: 14.5px; }
footer a { color: #dfe7f6; }
footer .links a { display:block; margin-bottom:8px; font-weight:600; text-decoration:none; }
footer .legal { width:100%; border-top:1px solid rgba(255,255,255,.12); padding-top:18px; font-size:13px; color:#8ea2c6; }
