/* Relay First: light theme, deep purple ink, violet accents.
   Colors live here, in one place. */
:root {
  color-scheme: dark;
  --paper: #171044;
  --white: #221A55;
  --ink: #F5F0FF;
  --deep: #07041A;
  --muted: #BDB2E0;
  --violet: #7C4DFF;
  --violet-dark: #6535EA;
  --lav: #2C2262;
  --lav-2: #4A3B85;
  --line: #403577;
  --gold: #D4AF48;
  --gold-dark: #A68527;
  --gold-soft: #3A2F18;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--violet); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hidden spam trap: real visitors never see or fill this (used on every form) */
.trap { position: absolute; left: -9999px; }

/* Yellow highlight = something you still need to fill in */
.todo, a.todo, p.todo { background: #FFF3C4; color: #000 !important; padding: 0 6px; border-radius: 4px; }

/* ---------- Navigation ---------- */
.nav {
  z-index: 100;
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(23, 16, 68, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.logo img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.nav-link {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 4px;
}
.nav-link:hover { color: var(--violet); }
.nav-link[aria-current="page"] {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.get-started-btn {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.get-started-btn:hover { background: var(--violet-dark); }

@media (max-width: 700px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: 8px 14px; position: static; padding: 14px 16px; }
  .nav .logo { flex: 0 0 100%; justify-content: center; margin-bottom: 4px; }
  .nav-link { font-size: 0.92rem; }
  .get-started-btn { padding: 8px 18px; }
}

/* ---------- Layout and type ---------- */
section { padding: 80px 24px; }
.wrap { max-width: 1100px; margin: 0 auto; }

h1, h2 { text-wrap: balance; }
h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.v { color: var(--violet); }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 18px; max-width: 640px; }
.section-head { margin-bottom: 44px; }
.section-head .lead { margin-top: 12px; }

.page-head { padding-top: 72px; padding-bottom: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--violet-dark); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.btn-outline:hover { background: var(--ink); color: var(--deep); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Check lists ---------- */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lav);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.42em;
  width: 6px;
  height: 10px;
  border: solid var(--gold);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.ticks.no li::after {
  left: 5px;
  top: calc(0.2em + 9px);
  width: 10px;
  height: 0;
  border-width: 2.5px 0 0 0;
  border-color: var(--muted);
  transform: none;
}

/* ---------- Big closing card ---------- */
.cta-card {
  background: linear-gradient(135deg, #4A2FAE 0%, #36247F 100%);
  border: 1px solid #5B44C2;
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-card h2 { max-width: 16ch; }
.cta-card p { color: #EDE6FF; margin-top: 10px; }
.cta-card a:not(.btn) { color: #fff; }
.cta-card .btn { background: var(--gold); color: var(--deep); }
.cta-card .btn:hover { background: #E8C766; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- Email signup ---------- */
.signup { padding-top: 24px; }
.signup-box {
  background: var(--lav);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.signup-box h2 { font-size: 1.6rem; margin-bottom: 6px; }
.signup-box p { color: var(--muted); }
form { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="email"] {
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid var(--lav-2);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  min-width: 250px;
}
input::placeholder, textarea::placeholder { color: #7B7399; }
.message { margin-top: 14px; min-height: 1.5em; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #D9CFF7; padding: 56px 24px 28px; margin-top: 40px; }
.foot-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.site-footer .logo { color: #fff; }
.site-footer p { margin-top: 12px; font-size: 0.95rem; max-width: 30ch; }
.site-footer nav, .foot-contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #D9CFF7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .copy {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--gold);
  font-size: 0.85rem;
  max-width: 1100px;
}
@media (max-width: 800px) {
  .foot-inner { grid-template-columns: 1fr; }
  section { padding: 56px 20px; }
  .cta-card { padding: 32px 24px; }
  .signup-box { padding: 28px 22px; }
}
