/* Raven marketing landing. Matches the portal palette; no inline styles (CSP). */

:root {
  --ink: #0b0a1a;
  --deep: #171334;
  --line: #2a2551;
  --iris: #6d5bf5;
  --azure: #3d8bff;
  --sheen: #9e7bff;
  --haze: #b9b6d9;
  --paper: #f2f0ff;
  --amber: #f0a93b;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(109, 91, 245, 0.22), transparent 60%),
    radial-gradient(900px 520px at 8% 4%, rgba(61, 139, 255, 0.14), transparent 55%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.muted { color: var(--haze); }

/* --- nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px;
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: 0.2px; }
.brand-mark { color: var(--sheen); margin-right: 6px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--haze); }
.nav-links a:hover { color: var(--paper); }

/* --- buttons --- */
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--iris), #5a49e0);
  color: #fff;
  box-shadow: 0 8px 30px rgba(109, 91, 245, 0.35);
}
.btn-primary:hover { background: linear-gradient(180deg, #7a69ff, #5a49e0); }
.btn-ghost { border-color: var(--line); color: var(--paper); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--sheen); }

/* --- hero --- */
.hero { max-width: 900px; margin: 0 auto; padding: 68px 24px 40px; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sheen);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -1px;
}
.lede { font-size: clamp(16px, 2.1vw, 19px); color: var(--haze); max-width: 660px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 13px; color: var(--haze); }

/* --- how --- */
.how {
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-item {
  background: rgba(23, 19, 52, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.how-num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(109, 91, 245, 0.16);
  color: var(--sheen);
  font-weight: 700;
  margin-bottom: 12px;
}
.how-item h3 { margin: 4px 0 8px; font-size: 18px; }
.how-item p { margin: 0; color: var(--haze); font-size: 15px; }

/* --- plans --- */
.plans { max-width: 1080px; margin: 72px auto 40px; padding: 0 24px; }
.plans-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.plans-head h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; letter-spacing: -0.5px; }
.plans-head p { color: var(--haze); margin: 0; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier {
  position: relative;
  background: rgba(23, 19, 52, 0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.tier-featured {
  border-color: var(--iris);
  box-shadow: 0 12px 44px rgba(109, 91, 245, 0.28);
  background: linear-gradient(180deg, rgba(41, 34, 96, 0.6), rgba(23, 19, 52, 0.6));
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--iris);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier header h3 { margin: 0 0 4px; font-size: 22px; }
.tier-tag { margin: 0 0 18px; color: var(--haze); font-size: 14px; }
.price { margin: 0 0 20px; }
.price .amount { font-size: 40px; font-weight: 700; letter-spacing: -1px; }
.price .per { color: var(--haze); font-size: 15px; }
.features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.features li { position: relative; padding-left: 26px; font-size: 15px; }
.features li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.features li.yes::before { content: "✓"; color: var(--azure); }
.features li.muted { color: var(--haze); }
.features li.muted::before { content: "○"; color: var(--line); }
.tier-cta { text-align: center; margin-top: auto; }

.plans-foot { text-align: center; color: var(--haze); font-size: 14px; margin: 30px auto 0; max-width: 620px; }

/* --- honest --- */
.honest {
  max-width: 760px;
  margin: 64px auto;
  padding: 30px 30px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 14px;
  background: rgba(23, 19, 52, 0.4);
}
.honest h2 { margin: 0 0 10px; font-size: 20px; }
.honest p { margin: 0; color: var(--haze); }
.honest em { color: var(--paper); font-style: normal; font-weight: 600; }

/* --- under construction --- */
.construction {
  max-width: 620px;
  margin: 0 auto;
  padding: 22vh 24px 0;
  text-align: center;
}
.construction h1 { font-size: clamp(30px, 6vw, 48px); margin: 10px 0 20px; letter-spacing: -0.5px; }
.construction .lede { color: var(--haze); font-size: 18px; }

/* --- footer --- */
.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 24px 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--haze);
  border-top: 1px solid var(--line);
}
.foot a:hover { color: var(--paper); }
.foot-sep { color: var(--line); }

@media (max-width: 820px) {
  .how, .tier-grid { grid-template-columns: 1fr; }
  .nav-links a[href="#how"] { display: none; }
}
