/* ============================================
   COMPONENTS - nav, buttons, badges, cards, pillars, phone mock,
   plans, testimonials, faq, final CTA, footer chrome, legal pages
   ============================================ */

/* EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(91, 124, 255, 0.11);
  border: 1px solid rgba(169, 184, 255, 0.24);
  color: var(--primary-soft);
  white-space: normal;
}
.eyebrow.gold {
  color: var(--gold);
  background: rgba(242, 201, 76, 0.10);
  border-color: rgba(242, 201, 76, 0.28);
}
.eyebrow.pink {
  color: var(--tertiary);
  background: rgba(243, 124, 196, 0.10);
  border-color: rgba(243, 124, 196, 0.28);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  flex: none;
}

/* Card-internal eyebrow: smaller, no pill background */
.eyebrow-meta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-soft);
  font-family: var(--font-body);
  text-transform: uppercase;
}
.eyebrow-meta--pos { color: var(--positive-bright); }
.eyebrow-meta--tert{ color: var(--tertiary); }

/* NAV */
.nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex; justify-content: center;
  padding: 0 16px;
}
.nav {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px 8px 18px;
  border-radius: 18px;
  background: rgba(13, 16, 32, 0.74);
  border: 1px solid var(--hairline-2);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,0.75);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Scroll-aware: solidify the pill once the page scrolls, for legibility over content */
.nav-wrap.is-scrolled .nav {
  background: rgba(8, 10, 20, 0.92);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.72);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
  color: #fff;
  text-decoration: none;
  padding-right: 6px;
}
.nav-brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -2px rgba(54, 66, 233, 0.6);
  overflow: hidden;
}
.nav-brand-mark .brand-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 3px;
  box-sizing: border-box;
  image-rendering: pixelated;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 4px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  color: #0D1233;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(255,255,255,0.45); }
.nav-cta svg { transition: transform 0.18s ease; }
.nav-cta:hover svg { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .nav-cta:hover svg { transform: none; } }
.nav-links a[aria-current="page"],
.nav-links a[aria-current="true"] { color: #fff; background: rgba(255,255,255,0.08); }

/* Hamburger: hidden on desktop */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  margin-left: 4px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-open { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 760px) {
  .nav-wrap { top: 12px; padding: 0 12px; }
  .nav { position: relative; gap: 4px; width: 100%; max-width: 460px; padding-left: 12px; }
  .nav-toggle { display: grid; }
  /* Collapse inline links into a dropdown panel under the pill */
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px;
    border-radius: var(--r-lg);
    background: rgba(13, 18, 51, 0.92);
    border: 1px solid var(--hairline-2);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 24px 50px -16px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 16px; font-size: 15px; }
}
@media (max-width: 420px) {
  .nav { justify-content: space-between; }
  .nav-brand { gap: 8px; font-size: 16px; }
  .nav-cta { padding: 10px 12px; }
}
@media (max-width: 360px) {
  .nav-wrap { padding: 0 10px; }
  .nav { padding: 7px 7px 7px 10px; }
  .nav-brand { font-size: 15px; }
  .nav-brand-mark { width: 26px; height: 26px; }
  .nav-cta { font-size: 13px; padding: 9px 10px; }
  .nav-toggle { width: 38px; height: 38px; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #ffffff, #DDE6FF);
  color: #0D1233;
  box-shadow: 0 18px 40px -16px rgba(143, 151, 255, 0.55), 0 0 0 1px rgba(255,255,255,0.4) inset;
}
.btn-primary:hover { box-shadow: 0 22px 50px -16px rgba(143, 151, 255, 0.75), 0 0 0 1px rgba(255,255,255,0.6) inset; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #FFDD98);
  color: var(--ink-on-gold);
  box-shadow: 0 18px 40px -16px rgba(242, 153, 74, 0.55);
}
.btn-ghost {
  background: rgba(255,255,255,0.045);
  color: #fff;
  border-color: var(--hairline-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); }

.btn--full { width: 100%; justify-content: center; }
.btn--sm   { font-size: 14px; padding: 14px 18px; }
@media (max-width: 420px) {
  .btn { white-space: normal; justify-content: center; text-align: center; }
}

/* APP STORE BADGE */
.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 20px 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform 0.18s, box-shadow 0.18s;
}
.app-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.8); }
.app-badge .lbl-sm { font-size: 11px; opacity: 0.8; font-weight: 500; line-height: 1; }
.app-badge .lbl-lg { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.app-badge--lg { padding: 14px 22px; }
@media (max-width: 420px) {
  .app-badge { justify-content: center; }
}

/* CHIP */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--hairline-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip.gold {
  color: var(--gold);
  background: rgba(242, 201, 76, 0.10);
  border-color: rgba(242, 201, 76, 0.30);
}
.chip.pink { color: var(--tertiary); border-color: rgba(243, 124, 196, 0.30); background: rgba(243, 124, 196, 0.10); }
.chip svg,
.stat-icon,
.rating-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-icon { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }
.rating-icon { color: var(--gold); }

/* GLASS CARD */
.glass {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* PHONE MOCK */
.phone {
  position: relative;
  width: 340px;
  max-width: 100%;
  aspect-ratio: 340 / 700;
  border-radius: 40px;
  background: #0B0E1B;
  padding: 12px;
  box-shadow:
    0 48px 96px -44px rgba(0,0,0,0.82),
    0 0 0 1.5px rgba(255,255,255,0.08),
    0 0 0 8px rgba(0,0,0,0.5),
    0 0 0 9px rgba(255,255,255,0.06);
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, #11162A, #142033 55%, #0D2630);
  background-size: 28px 28px, 28px 28px, auto;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 10;
}
.phone-status {
  position: absolute;
  top: 18px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  z-index: 5;
  font-family: var(--font-display);
}
.phone-status .icons { display: inline-flex; gap: 6px; align-items: center; }
.phone-status svg { width: 16px; height: 12px; }

.phone--center {
  position: absolute;
  left: 50%; top: 50%;
  /* Center via the independent `translate` property so it composes with the
     `.float` animation's `transform` instead of being overridden by it
     (which previously dropped the -50% X shift and pushed the phone off-screen). */
  translate: -50% -50%;
}

@media (max-width: 560px) {
  .phone {
    width: min(100%, 310px);
    border-radius: 34px;
    padding: 10px;
    box-shadow:
      0 34px 70px -36px rgba(0,0,0,0.82),
      0 0 0 1.5px rgba(255,255,255,0.08),
      0 0 0 6px rgba(0,0,0,0.5),
      0 0 0 7px rgba(255,255,255,0.06);
  }
  .phone-screen { border-radius: 26px; }
  .phone-notch {
    top: 10px;
    width: 88px;
    height: 25px;
  }
  .phone-status {
    top: 16px;
    padding: 0 24px;
    font-size: 11px;
  }
  .ps {
    padding: 50px 14px 20px;
    gap: 11px;
  }
  .ps-eyebrow {
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }
  .ps-greet { font-size: 26px; }
  .preview-card { padding: 13px; }
  .preview-card--sm { padding: 12px; }
  .pc-head {
    align-items: flex-start;
    gap: 8px;
  }
  .pc-streak {
    padding: 4px 7px;
    font-size: 10px;
    white-space: nowrap;
  }
  .pc-progress { gap: 10px; }
  .ring { --size: 58px; }
  .stat-tile { padding: 7px 8px; }
  .task {
    gap: 7px;
    padding: 8px;
  }
  .tk-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .phone {
    width: min(100%, 276px);
    border-radius: 30px;
  }
  .phone-screen { border-radius: 23px; }
  .phone-notch {
    width: 78px;
    height: 22px;
  }
  .phone-status {
    padding: 0 21px;
    font-size: 10px;
  }
  .ps {
    padding: 46px 12px 18px;
    gap: 9px;
  }
  .ps-greet { font-size: 23px; }
  .pc-title { font-size: 15px; }
  .pc-streak {
    gap: 3px;
    font-size: 9px;
  }
  .pc-streak .ui-icon { width: 14px; height: 14px; }
  .ring { --size: 52px; }
  .stat-tile .l1 strong { font-size: 12px; }
  .stat-tile .l2 { font-size: 8px; }
}

/* Phone screen content shell */
.ps {
  position: absolute; inset: 0;
  padding: 56px 18px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  font-family: var(--font-display);
}

.ps-eyebrow {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.ps-greet {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  color: #fff;
}
.ps-greet span { color: var(--primary-soft); }
.ps-greet--sm  { font-size: 24px; }
.ps-greet--xs  { font-size: 22px; }

/* PREVIEW CARD (inside phone) */
.preview-card {
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(91, 124, 255, 0.20), rgba(24, 184, 166, 0.10));
  position: relative;
  overflow: hidden;
}
.preview-card.calm {
  background: rgba(255,255,255,0.04);
  border-color: var(--hairline-2);
}
.preview-card.gold {
  background: linear-gradient(180deg, rgba(242, 201, 76, 0.16), rgba(242, 153, 74, 0.08));
  border-color: rgba(242, 201, 76, 0.25);
}
.preview-card--sm { padding: 14px; }
.preview-card--lg { padding: 18px; }

.pc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pc-eyebrow {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  text-transform: uppercase;
}
.pc-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}
.pc-title--md { font-size: 18px; }
.pc-streak {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(243, 124, 196, 0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-body);
}

.pc-progress {
  display: flex; align-items: center; gap: 14px;
  margin: 8px 0 12px;
}
.ring {
  --size: 64px;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  background:
    conic-gradient(#fff 0deg 234deg, rgba(255,255,255,0.18) 234deg 360deg);
  display: grid; place-items: center;
  position: relative;
}
.ring::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: #162038;
}
.ring span {
  position: relative; z-index: 1;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}
.pc-stats { flex: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.stat-tile {
  flex: 1;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 0;
}
.stat-tile .l1 { color: var(--tertiary); font-size: 10px; font-weight: 700; font-family: var(--font-body); display: flex; align-items: center; gap: 3px; }
.stat-tile .l1 strong { color: #fff; font-size: 13px; }
.stat-tile .l2 { font-size: 9px; color: rgba(255,255,255,0.6); font-family: var(--font-body); }

/* TASKS */
.tasks { display: flex; flex-direction: column; gap: 5px; }
.task {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid transparent;
}
.task.hi { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.18); }
.tk-check {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.tk-check.done {
  border-color: transparent;
  background: linear-gradient(135deg, var(--positive), var(--positive-bright));
  display: grid; place-items: center;
}
.tk-check.done::after { content: "✓"; color: #fff; font-size: 10px; font-weight: 900; }
.tk-text {
  flex: 1; font-size: 12px; font-weight: 600; color: #fff;
}
.tk-text.done { text-decoration: line-through; color: rgba(255,255,255,0.5); }
.tk-tag {
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-body);
}
.tk-tag--trip { color: var(--tag-trip); }
.tk-tag--tech { color: var(--tag-tech); }

/* AI itinerary mock */
.ai-row {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 9px 10px;
}
.ai-row + .ai-row { margin-top: 5px; }
.ai-row.hi { background: rgba(255,255,255,0.13); border-color: rgba(143, 151, 255, 0.35); }
.ai-row .head { display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: 0.06em; }
.ai-row .head .t { color: var(--primary-soft); }
.ai-row .head .c { color: #fff; }
.ai-row .body { font-size: 12px; font-weight: 600; color: #fff; margin: 4px 0; line-height: 1.25; }
.ai-row .pill { font-size: 9px; font-weight: 700; color: #fff; background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 4px; display: inline-block; font-family: var(--font-body); }

.ai-foot {
  margin-top: 10px;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: rgba(242, 201, 76, 0.14);
  border: 1px solid rgba(242, 201, 76, 0.30);
  border-radius: 8px;
  font-size: 11px;
  color: #fff;
  font-family: var(--font-body);
}
.ai-foot--top12 { margin-top: 12px; }

.ai-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.ai-head--tight { margin-bottom: 8px; }
.ai-head .mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  display: grid; place-items: center;
  color: var(--ink-on-gold);
  font-weight: 900;
}
.ai-head .meta .t { font-size: 14px; font-weight: 800; color: #fff; }
.ai-head .meta .s { font-size: 10.5px; color: rgba(255,255,255,0.68); font-family: var(--font-body); }
.ai-head .lock {
  margin-left: auto;
  background: rgba(242, 201, 76, 0.20);
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
}

/* AI journal body text */
.ai-journal {
  font-family: var(--font-display);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  font-weight: 500;
}

/* PILLAR card */
.pillar {
  background: rgba(255,255,255,0.042);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-card);
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}
.pillar:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-2);
  background: rgba(255,255,255,0.05);
}
.pillar::before {
  display: none;
}
.pillar .icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(143, 151, 255, 0.14);
  color: var(--primary-soft);
  margin-bottom: 18px;
}
.pillar .icon svg,
.info-card__mark svg,
.trip-row__icon svg,
.invite-stack__mark svg,
.ui-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar .icon svg *,
.info-card__mark svg *,
.trip-row__icon svg *,
.invite-stack__mark svg *,
.ui-icon * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar.gold .icon { background: rgba(242, 201, 76, 0.16); color: var(--gold); }
.pillar.pink .icon { background: rgba(243, 124, 196, 0.16); color: var(--tertiary); }
.pillar.green .icon { background: rgba(77, 210, 133, 0.16); color: var(--positive-bright); }
.pillar h4 { color: #fff; margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; }
.pillar p { font-size: 14px; color: var(--ink-mute); line-height: 1.5; }
.pillar__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(242, 201, 76, 0.14);
  border: 1px solid rgba(242, 201, 76, 0.3);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 10px;
}
.pillar--lg { padding: 32px; }
.pillar--lg h3 { font-size: 24px; margin-bottom: 10px; }
.pillar--lg > p { font-size: 15px; color: var(--ink-soft); }

/* Compact pillar grid: slim values strip */
.pillars--compact .pillar { padding: 20px 20px 18px; }
.pillars--compact .pillar .icon { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 12px; }
.pillars--compact .pillar .icon svg { width: 18px; height: 18px; }
.pillars--compact .pillar h4 { font-size: 15.5px; margin-bottom: 4px; }
.pillars--compact .pillar p { font-size: 13px; line-height: 1.45; }

/* PRICING plan card */
.plan {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--hairline-2);
}
.plan.featured {
  background: linear-gradient(180deg, rgba(246, 200, 95, 0.12), rgba(91, 124, 255, 0.09));
  border: 1.5px solid rgba(242, 201, 76, 0.40);
  box-shadow: var(--glow-gold);
}
.plan-badge {
  position: absolute;
  top: -14px; right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--ink-on-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
}
.plan h3 { font-family: var(--font-display); }
.plan .price-row { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan .price { font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: 0; color: #fff; line-height: 1; }
.plan .per { color: var(--ink-mute); font-size: 14px; }
.plan .sub { color: var(--ink-mute); font-size: 13px; margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.plan li .ck {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(143, 151, 255, 0.22);
  display: grid; place-items: center;
  color: var(--primary-soft);
  font-size: 10px; font-weight: 900;
  margin-top: 2px;
}
.plan.featured li .ck { background: rgba(242, 201, 76, 0.22); color: var(--gold); }
.plan .btn { width: 100%; justify-content: center; }

@media (max-width: 560px) {
  .pillar,
  .plan,
  .testi,
  .faq details {
    padding: 20px;
  }
  .pillar--lg,
  .info-card--ai {
    padding: 22px;
  }
  .plan .price { font-size: 46px; }
  .plan-badge { right: 18px; }
  .faq summary {
    gap: 14px;
    align-items: flex-start;
    font-size: 16px;
  }
  .faq summary::after {
    flex: none;
    line-height: 1;
  }
}

/* TESTI */
.testi {
  padding: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
}
.testi .stars { color: var(--gold); margin-bottom: 14px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0; }
.testi blockquote { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.45; color: #fff; font-weight: 500; letter-spacing: 0; }
.testi .who { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.testi .who .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 800; font-size: 13px;
  display: grid; place-items: center;
  font-family: var(--font-display);
}
.testi .who .av--gold  { background: linear-gradient(135deg, #F2C94C, #F2994A); color: var(--ink-on-gold); }
.testi .who .av--green { background: linear-gradient(135deg, #4DD285, #21B362); }
.testi .who .nm { font-size: 13px; font-weight: 700; color: #fff; }
.testi .who .rl { font-size: 12px; color: var(--ink-mute); }

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq details {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: background 0.2s;
}
.faq details[open] { background: rgba(255,255,255,0.05); }
.faq summary {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 24px;
  color: var(--primary-soft);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }

/* FINAL CTA */
.final-cta {
  border-radius: var(--r-xl);
  padding: 64px 36px;
  text-align: center;
  background:
    linear-gradient(140deg, rgba(246, 200, 95, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(91, 124, 255, 0.18), rgba(24, 184, 166, 0.08));
  border: 1px solid var(--hairline-2);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.45;
}
.final-cta h2 { position: relative; margin-top: 18px; }
.final-cta p { position: relative; margin: 18px auto 36px; max-width: 540px; }
.final-cta .actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .mascot-video {
  position: relative; z-index: 1;
  display: block;
  width: 100%; max-width: 300px; height: auto;
  margin: 0 auto 12px;
  /* sides cropped + background keyed to true alpha at encode time (webm/mov) */
}
@media (max-width: 560px) {
  .final-cta {
    padding: 38px 20px;
  }
  .final-cta p { margin-bottom: 28px; }
  .final-cta .actions > * {
    flex: 1 1 100%;
    justify-content: center;
  }
  .final-cta .mascot-video { max-width: 230px; }
}

/* FOOTER */
footer {
  border-top: 1px solid var(--hairline);
  padding: 72px 0 34px;
  background: var(--bg-0);
}
.footer-brand .nav-brand {
  font-size: 22px;
  padding-right: 0;
}
.footer-brand .nav-brand-mark {
  width: 34px;
  height: 34px;
}
.footer-brand p {
  margin: 18px 0 24px;
  font-size: 15px;
  max-width: 320px;
  color: var(--ink-soft);
}
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.socials a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--hairline-2);
  color: var(--ink-soft);
  text-decoration: none;
  transition: transform 0.18s, background 0.18s, color 0.18s;
}
.socials a:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.35;
  transition: color 0.18s;
}
.footer-col a:hover { color: #fff; }
.footer-col .soon {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  cursor: default;
  max-width: 180px;
}
.footer-col .soon-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 2px 8px;
  opacity: 0.85;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-bottom--bare { border: none; padding-top: 0; }
.footer-bottom a { color: var(--ink-mute); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .badges { display: inline-flex; gap: 14px; align-items: center; }

/* LEGAL PAGES */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0 120px;
}
.legal h1 { font-size: 52px; letter-spacing: 0; margin-top: 18px; }
@media (max-width: 700px) { .legal h1 { font-size: 36px; } }
.legal .meta { color: var(--ink-mute); margin-top: 12px; font-size: 14px; }
.legal .intro { margin-top: 24px; }
.legal h2 {
  font-size: 24px; margin: 56px 0 14px;
  letter-spacing: 0;
}
.legal h3 { font-size: 17px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; margin: 14px 0; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--primary-soft); text-decoration: underline; text-decoration-color: rgba(143, 151, 255, 0.3); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--primary-soft); }
.legal strong { color: #fff; }
.legal__foot {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline-2);
  color: var(--ink-mute);
  font-size: 14px;
}

.legal-toc {
  margin: 36px 0;
  padding: 20px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
}
.legal-toc h5 { margin: 0 0 12px; font-family: var(--font-display); font-size: 12px; color: var(--ink-mute); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-toc ol { padding-left: 20px; margin: 0; column-count: 2; column-gap: 24px; }
.legal-toc li { font-size: 14px; margin: 4px 0; line-height: 1.4; color: var(--ink-soft); }
.legal-toc a { text-decoration: none; }
@media (max-width: 600px) { .legal-toc ol { column-count: 1; } }

@media (max-width: 560px) {
  footer { padding: 54px 0 28px; }
  .footer-grid {
    gap: 28px;
    margin-bottom: 36px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal {
    padding: 44px 0 84px;
  }
  .legal h1 { font-size: 34px; }
  .legal h2 {
    font-size: 22px;
    margin-top: 42px;
  }
  .legal p,
  .legal li {
    font-size: 15px;
  }
}

/* AVATAR (reusable circle for invite stack, etc.) */
.av-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  border: 2px solid #1A0B43;
}
.av-circle + .av-circle { margin-left: -8px; }
.av-circle--pink  { background: linear-gradient(135deg, #F37CC4, #7335CC); }
.av-circle--green { background: linear-gradient(135deg, #4DD285, #21B362); }
.av-circle--gold  { background: linear-gradient(135deg, #F2C94C, #F2994A); color: var(--ink-on-gold); }
.av-circle--blue  { background: linear-gradient(135deg, #8F97FF, #3642E9); }

/* Note copy under pricing (centered, muted) */
.fine-print {
  text-align: center;
  color: var(--ink-mute);
  margin-top: 24px;
  font-size: 13px;
}
