/* GetHomeSafe — the night look of the app: near-black sky, pink accent. */

:root {
  --bg: #0b0b0f;
  --bg-elevated: #15151c;
  --surface: #1c1c25;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --text-dim: #a0a0ae;
  --text-faint: #6c6c7a;
  --accent: #ff6b8a;
  --accent-deep: #d94b69;
  --lilac: #8b7cff;
  --mint: #4ecba5;
  --sky-top: #231a3d;
  --radius: 18px;
  --page: 1080px;
  --prose: 720px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--accent);
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.header-links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.header-links a { color: var(--text-dim); }
.header-links a:hover { color: var(--text); text-decoration: none; }
.lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--text) !important;
  font-weight: 600;
}
@media (max-width: 560px) { .header-links .hide-sm { display: none; } }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, #1a1430 45%, var(--bg) 100%);
  padding: 72px 0 0;
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
}
.moon {
  position: absolute;
  top: 56px; left: 8%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fde8dc;
  box-shadow: 0 0 0 16px rgba(253, 232, 220, 0.06), 0 0 60px rgba(253, 232, 220, 0.25);
}
.hero .wrap { position: relative; text-align: center; }
.hero h1 {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(34px, 6.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  margin: 22px auto 0;
  max-width: 600px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-dim);
}
.cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}
.button:hover { text-decoration: none; filter: brightness(1.06); }
.button.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.soon { display: block; margin-top: 12px; font-size: 14px; color: var(--text-faint); }

.skyline { display: block; width: 100%; height: auto; margin-top: 56px; }

/* ── Sections ───────────────────────────────────────────── */

section { padding: 72px 0; }
section.alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
}
h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.9px;
}
.section-lead { margin: 14px 0 0; max-width: 640px; color: var(--text-dim); font-size: 18px; }

.grid { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--text-dim); font-size: 16px; }
.icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255, 107, 138, 0.14);
}
.icon.lilac { background: rgba(139, 124, 255, 0.16); }
.icon.mint { background: rgba(78, 203, 165, 0.16); }

.steps { counter-reset: step; }
.steps .card h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 14px;
  background: var(--accent);
  color: #fff;
  vertical-align: 2px;
}

.free {
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(255, 107, 138, 0.16), transparent 70%);
}
.free h2 { max-width: 680px; margin-left: auto; margin-right: auto; }
.free .section-lead { margin-left: auto; margin-right: auto; }

.notice {
  margin-top: 36px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 59, 48, 0.4);
  background: rgba(255, 59, 48, 0.08);
  color: var(--text);
  font-size: 16px;
}

details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--text-faint); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--text-dim); }

/* ── Legal pages ────────────────────────────────────────── */

.prose { max-width: var(--prose); margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; line-height: 1.1; margin: 0; }
.prose .updated { color: var(--text-faint); font-size: 15px; margin-top: 10px; }
.prose h2 { font-size: 24px; letter-spacing: -0.4px; margin: 44px 0 0; }
.prose h3 { font-size: 18px; margin: 28px 0 0; }
.prose p, .prose li { color: #d4d4dc; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose .summary {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.prose .summary p:first-child { margin-top: 0; }
.prose .summary ul { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: #d4d4dc; }
.table-scroll { overflow-x: auto; }

/* ── Footer ─────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--text-faint); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--text-dim); }
.site-footer .disclaimer { flex-basis: 100%; margin: 0; }

/* Six features read best as two rows of three. */
.grid.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid.features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.features { grid-template-columns: 1fr; } }

/* On a phone the moon would sit behind the headline: tuck it up and smaller. */
@media (max-width: 640px) {
  .hero { padding-top: 92px; }
  .moon { top: 22px; left: 20px; width: 34px; height: 34px; }
}
