/* =============================================================
   Vesper marketing site
   Brand colors: navy #0C0E1A, deep navy #1A2148, leaf #6FB46F,
   accent gold #E8C880, text #F2EFE7 / #A1A6B4
   ============================================================= */
:root {
  --bg:        #0C0E1A;
  --bg-2:      #1A2148;
  --leaf:      #6FB46F;
  --leaf-soft: rgba(111,180,111,0.15);
  --accent:    #E8C880;
  --text:      #F2EFE7;
  --muted:     #A1A6B4;
  --card:      rgba(255,255,255,0.04);
  --card-bd:   rgba(255,255,255,0.07);
  --max:       1140px;
  --radius:    20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1100px 700px at 12% -10%, #232b5c 0%, transparent 55%),
    radial-gradient(900px 600px at 90% 0%, #2a1d4a 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------- Header ----------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 14, 26, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav .btn { color: var(--bg); }

/* ---------------------------- Buttons ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--leaf);
  color: var(--bg);
}
.btn-primary:hover { background: #87c887; transform: translateY(-1px); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.btn-accent {
  background: var(--accent);
  color: var(--bg);
}
.btn-accent:hover { background: #f0d390; color: var(--bg); }

/* ------------------------------ Hero ------------------------ */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
  font-weight: 700;
}
.lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.hero-art .glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side, rgba(232,200,128,0.28) 0%, transparent 65%),
    radial-gradient(closest-side at 70% 30%, rgba(111,180,111,0.15) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-art img {
  width: 320px;
  max-width: 80%;
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}

/* ---------------------------- Hero orb ---------------------- */
/* The brand mark spins forever in a slow 360° loop. A soft golden halo
   sits behind it via a radial-gradient pseudo-element so the rotation
   reads as orbiting motion rather than a flat sticker on a dark wall.
   `will-change: transform` keeps the animation on the compositor. */
.hero-orb {
  position: relative;
  width: clamp(220px, 32vw, 360px);
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  filter:
    drop-shadow(0 30px 60px rgba(0,0,0,0.55))
    drop-shadow(0 0 40px rgba(232,200,128,0.20));
  animation: orb-spin 24s linear infinite;
  will-change: transform;
  transform-origin: 50% 50%;
}
.hero-art {
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: clamp(280px, 40vw, 460px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(232, 200, 128, 0.22),
    rgba(232, 200, 128, 0.06) 55%,
    transparent 75%
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

@keyframes orb-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Respect users who have asked to reduce motion: keep the orb but stop
   the rotation. */
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

/* Phone mockup that hosts the inline SVG app preview. */
.phone-mock {
  position: relative;
  width: min(320px, 78%);
  aspect-ratio: 360 / 720;
  border-radius: 48px;
  filter:
    drop-shadow(0 40px 70px rgba(0,0,0,0.55))
    drop-shadow(0 0 50px rgba(232,200,128,0.18));
  transform: perspective(1200px) rotateX(2deg) rotateY(-6deg);
  transition: transform 0.5s ease;
}
.phone-mock:hover {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
}
.phone-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------------------------- Sections ---------------------- */
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ----------------------------- Cards ------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,200,128,0.35);
}
.card .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--leaf-soft);
  color: var(--leaf);
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------------------------- Pricing ----------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: rgba(232,200,128,0.55);
  background: linear-gradient(180deg, rgba(232,200,128,0.08), rgba(111,180,111,0.05));
}
.plan-badge {
  position: absolute;
  top: -12px; right: 22px;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
}
.plan h3 { margin: 0 0 8px; font-size: 20px; }
.plan .price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 4px 0 4px;
}
.plan .price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}
.plan .save {
  font-size: 13px;
  color: var(--leaf);
  margin-bottom: 14px;
}
.plan ul { list-style: none; padding: 0; margin: 12px 0 22px; flex: 1; }
.plan li {
  padding: 7px 0;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  gap: 10px;
}
.plan li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  margin-top: 8px;
  flex: 0 0 auto;
}

/* --------------------------- Contact form ------------------- */
.contact-form {
  display: grid;
  gap: 18px;
  position: relative;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(122,178,124,0.08), transparent 55%),
    rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 60px -32px rgba(0,0,0,0.55);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  min-width: 0; /* let inputs shrink inside the grid row */
}
.contact-form label > span {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.85;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;
  background: rgba(8,12,10,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 13px 15px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.32);
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255,255,255,0.18);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--leaf);
  background: rgba(8,12,10,0.75);
  box-shadow: 0 0 0 4px rgba(122,178,124,0.18);
}
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.55;
}
.contact-form .contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-form button[type="submit"] {
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
}
.contact-form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.contact-form .contact-fineprint {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}
/* Honeypot: visually hidden but still in the DOM for naive bots.
   Position-absolute (not display:none) so headless crawlers still see it. */
.contact-form .contact-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none;
}
.contact-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 14px;
}
.contact-status[data-kind="ok"]      { color: #98e0a8; }
.contact-status[data-kind="error"]   { color: #ff9d9d; }
.contact-status[data-kind="pending"] { color: var(--muted); }

@media (max-width: 640px) {
  .contact-form { padding: 20px; gap: 16px; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-form button[type="submit"] { width: 100%; text-align: center; }
}

/* --------------------------- Footer ------------------------- */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.footer-grid h4 {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 1.4px;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.footer-grid a {
  color: var(--muted);
  display: block;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------- Article ------------------------ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal h1 { font-size: 38px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 30px; font-size: 14px; }
.legal h2 {
  margin-top: 36px;
  font-size: 22px;
  border-left: 3px solid var(--leaf);
  padding-left: 12px;
}
.legal h3 { margin-top: 24px; font-size: 17px; color: var(--accent); }
.legal p, .legal li { color: #d6d4c8; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); text-decoration: underline; }

/* ----------------------- Responsive ------------------------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; min-height: 280px; }
  .hero-art img { width: 220px; }
  .hero-orb { width: clamp(180px, 50vw, 240px); }
  .phone-mock { width: min(260px, 70%); }
  .cards, .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .hero { padding: 50px 0 36px; }
}
