/* iRevie — shared styles
   Palette carried over from the original launch page. Do not fork these values;
   every page links this file so the scheme stays in one place. */

:root {
  --bg: #0b1020;
  --bg-2: #121a35;
  --accent: #5b8cff;
  --accent-2: #9b6bff;
  --star: #ffc24b;
  --text: #eef2ff;
  --muted: #9aa6c8;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(91, 140, 255, 0.25), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(155, 107, 255, 0.20), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Crisis line ----------
   Static and hard-coded on every page. Never dynamic, never conditional,
   never generated. If the page renders, this renders. */
.crisis {
  background: rgba(255, 194, 75, 0.10);
  border-bottom: 1px solid rgba(255, 194, 75, 0.22);
  color: #ffe3ab;
  font-size: 14px;
}
.crisis .wrap {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.crisis strong { color: var(--star); }
.crisis a { color: var(--star); text-decoration: underline; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.logo .i { color: var(--accent); }
.logo .rev {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav a { font-size: 15px; color: var(--muted); transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--card-2); filter: none; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
p { color: var(--muted); margin-bottom: 16px; }
p.lead { font-size: clamp(16px, 2.2vw, 19px); color: #c3cce8; max-width: 620px; }
p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.card h3 { color: var(--text); }

.divider { height: 1px; background: var(--border); border: 0; }

ul.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
ul.ticks li { color: var(--muted); padding-left: 26px; position: relative; }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---------- Placeholder marker ----------
   Anything wearing this class is NOT real content and must be replaced
   before the site goes public. Deliberately loud. */
.todo {
  display: inline-block;
  background: rgba(255, 194, 75, 0.14);
  border: 1px dashed rgba(255, 194, 75, 0.5);
  color: #ffe3ab;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 0.92em;
  font-weight: 600;
}

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--text); }
input, textarea, select {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: #6f7ca3; }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18);
}
select option { background: var(--bg-2); color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.site-footer h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}
.site-footer a:hover { color: var(--text); }
.site-footer .links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .base {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6f7ca3;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
}
