/* ============================================================
   JobAi — Design System
   Editorial / minimal · indigo-violet · serif + grotesque
   ============================================================ */

:root {
  /* Canvas & ink (warm-neutral, faint violet) */
  --bg: oklch(0.991 0.004 290);
  --bg-tint: oklch(0.972 0.009 290);
  --surface: oklch(1 0 0);
  --ink: oklch(0.205 0.021 285);
  --ink-soft: oklch(0.38 0.018 285);
  --muted: oklch(0.53 0.016 285);
  --line: oklch(0.905 0.009 285);
  --line-soft: oklch(0.94 0.007 285);

  /* Accent — indigo / violet */
  --violet: oklch(0.515 0.205 285);
  --violet-700: oklch(0.445 0.198 285);
  --violet-600: oklch(0.49 0.205 285);
  --violet-300: oklch(0.78 0.1 285);
  --violet-100: oklch(0.93 0.045 285);
  --violet-50: oklch(0.968 0.022 285);
  --violet-ink: oklch(0.3 0.12 285);

  /* Dark section */
  --dark: oklch(0.255 0.055 285);
  --dark-2: oklch(0.205 0.05 285);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow-sm:
    0 1px 2px oklch(0.3 0.05 285 / 0.05), 0 2px 6px oklch(0.3 0.05 285 / 0.04);
  --shadow-md:
    0 4px 14px oklch(0.3 0.05 285 / 0.06),
    0 14px 40px oklch(0.3 0.05 285 / 0.07);
  --shadow-lg:
    0 10px 30px oklch(0.3 0.05 285 / 0.09),
    0 30px 80px oklch(0.28 0.06 285 / 0.12);

  --maxw: 1180px;

  /* Bootstrap overrides */
  --bs-body-font-family:
    "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --bs-body-color: var(--ink-soft);
  --bs-body-bg: var(--bg);
  --bs-primary: oklch(0.515 0.205 285);
  --bs-border-color: var(--line);
}

* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

body {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection {
  background: var(--violet-100);
  color: var(--violet-ink);
}

/* ---------- Typography ---------- */
.serif {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
}

h1,
h2,
h3,
.display-serif {
  font-family: "Newsreader", Georgia, serif;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
}

h1 a,
h2 a,
h3 a {
  text-decoration: none;
}

.display-serif {
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  line-height: 1.02;
}

.h-section {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.lead-2 {
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.62;
  color: var(--muted);
  font-weight: 400;
}

.eyebrow {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--violet-300);
  display: inline-block;
}
.eyebrow.no-rule::before {
  display: none;
}

.serif-em {
  font-style: italic;
  color: var(--violet);
}

.text-muted-2 {
  color: var(--muted) !important;
}
.text-ink {
  color: var(--ink) !important;
}

/* ---------- Layout ---------- */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section-tight {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.container-x {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.4rem;
}
.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ---------- Buttons ---------- */
.btn-violet {
  --bs-btn-bg: transparent;
  background: var(--violet);
  color: #fff;
  border: 1px solid var(--violet);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 6px 18px oklch(0.515 0.205 285 / 0.28);
}
.btn-violet:hover {
  background: var(--violet-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px oklch(0.515 0.205 285 / 0.34);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-lg-x {
  padding: 0.95rem 1.8rem;
  font-size: 1.03rem;
}
.btn-light-x {
  background: #fff;
  color: var(--violet-ink);
  border: 0;
  font-weight: 600;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn-light-x:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px oklch(0 0 0 / 0.18);
  color: var(--violet-700);
}

.link-arrow {
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.18s ease;
}
.link-arrow:hover {
  gap: 0.65rem;
  color: var(--violet-700);
}

/* ---------- Navbar ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
  background: oklch(0.991 0.004 290 / 0);
}
.nav-wrap.scrolled {
  background: oklch(0.991 0.004 290 / 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    var(--violet) 0%,
    oklch(0.5 0.2 320) 100%
  );
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px oklch(0.515 0.205 285 / 0.35);
}
.brand-text {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-text .ai {
  color: var(--violet);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 1.5px;
  width: 0;
  background: var(--violet);
  transition: width 0.2s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
}
.hero-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-glow::before {
  content: "";
  position: absolute;
  top: -28%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(closest-side, var(--violet-100), transparent 72%);
  opacity: 0.7;
}
.hero > .container-x {
  position: relative;
  z-index: 1;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.5rem 0.42rem 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill-badge .tag {
  background: var(--violet-50);
  color: var(--violet-700);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  font-size: 0.76rem;
}

.type-rotator {
  color: var(--violet);
  font-style: italic;
  white-space: nowrap;
}
.type-caret {
  display: inline-block;
  width: 3px;
  margin-left: 2px;
  background: var(--violet);
  border-radius: 2px;
  animation: blink 1s steps(2, start) infinite;
  vertical-align: -0.07em;
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .type-caret {
    animation: none;
  }
}

.hero-stats {
  display: flex;
  gap: 2.6rem;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-family: "Newsreader", serif;
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1;
}
.hero-stats .lbl {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ---------- Faux app window ---------- */
.window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-tint);
}
.dots {
  display: flex;
  gap: 0.42rem;
}
.dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.dots span:nth-child(1) {
  background: oklch(0.8 0.09 25);
}
.dots span:nth-child(2) {
  background: oklch(0.85 0.09 85);
}
.dots span:nth-child(3) {
  background: oklch(0.82 0.09 145);
}
.url-pill {
  flex: 1;
  max-width: 360px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.app {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 430px;
}
.app-side {
  border-right: 1px solid var(--line-soft);
  padding: 1.1rem 0.85rem;
  background: var(--bg);
}
.app-side .grp {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.9rem 0.6rem 0.45rem;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.52rem 0.65rem;
  border-radius: 9px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.side-item i {
  font-size: 1rem;
  color: var(--muted);
}
.side-item.active {
  background: var(--violet-50);
  color: var(--violet-700);
}
.side-item.active i {
  color: var(--violet);
}
.app-main {
  padding: 1.3rem 1.4rem;
  background: var(--surface);
}
@media (max-width: 575px) {
  .app {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
}

.agent-card {
  border: 1px solid var(--violet-100);
  background: var(--violet-50);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
  margin-bottom: 1.1rem;
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--violet-ink);
  font-weight: 600;
}
.agent-orb {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--violet), oklch(0.5 0.2 320));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
}
.agent-task {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}
.agent-task .ck {
  color: var(--violet);
}
.agent-task.pending {
  color: var(--muted);
}
.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.job-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-soft);
}
.job-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg-tint);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--line-soft);
}
.job-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.job-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.match {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet-700);
  background: var(--violet-50);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* ---------- Steps ---------- */
.step-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.6rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step-row:last-child {
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: "Newsreader", serif;
  font-size: 2.5rem;
  color: var(--violet-300);
  line-height: 1;
}
.step-row h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.step-body {
  max-width: 620px;
}
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--violet-50);
  color: var(--violet);
  font-size: 0.95rem;
  margin-left: auto;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem;
  height: 100%;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet-100);
}
.feature-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--violet-50);
  color: var(--violet);
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.feature-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.96rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.62;
}

/* ---------- Kanban preview ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .board {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 459px) {
  .board {
    grid-template-columns: 1fr;
  }
}
.col-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.col-head .cnt {
  color: var(--muted);
  font-weight: 500;
}
.col-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.kcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.kcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.kcard .co {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.kcard .role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.45rem;
}
.kcard .sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.kchip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}

/* ---------- Documents showcase ---------- */
.doc-tabs {
  border: 0;
  gap: 0.4rem;
}
.doc-tabs .nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.2rem;
  background: var(--surface);
}
.doc-tabs .nav-link.active {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 2.2rem 2.3rem;
  position: relative;
}
.paper h4 {
  font-family: "Newsreader", serif;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.1rem;
}
.paper .paper-sub {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.paper .sect-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin: 1.1rem 0 0.5rem;
}
.skel {
  height: 9px;
  border-radius: 999px;
  background: var(--line-soft);
  margin: 0.5rem 0;
}
.skel.w90 {
  width: 90%;
}
.skel.w75 {
  width: 75%;
}
.skel.w60 {
  width: 60%;
}
.skel.w40 {
  width: 40%;
}
.hl {
  background: var(--violet-50);
  border-bottom: 2px solid var(--violet-300);
  padding: 0 2px;
  border-radius: 3px;
  color: var(--violet-ink);
}
.ai-note {
  position: absolute;
  right: -14px;
  top: 38px;
  transform: translateX(100%);
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  max-width: 215px;
  box-shadow: var(--shadow-md);
  line-height: 1.45;
}
.ai-note::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  border: 7px solid transparent;
  border-right-color: var(--dark);
  border-left: 0;
}
.ai-note .h {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--violet-300);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
@media (max-width: 991px) {
  .ai-note {
    display: none;
  }
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  height: 100%;
}
.quote-card .q {
  font-family: "Newsreader", serif;
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quote-card .q .serif-em {
  font-style: italic;
}
.who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.who .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet-100);
  color: var(--violet-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.who .nm {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.who .rl {
  font-size: 0.8rem;
  color: var(--muted);
}
.stars {
  color: var(--violet);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.9rem;
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  background: var(--dark);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.featured h3,
.price-card.featured .amount {
  color: #fff;
}
.price-card.featured .plan-sub,
.price-card.featured li {
  color: oklch(0.84 0.02 285);
}
.plan-name {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--violet);
}
.price-card.featured .plan-name {
  color: var(--violet-300);
}
.amount {
  font-family: "Newsreader", serif;
  font-size: 3rem;
  color: var(--ink);
  line-height: 1;
}
.amount .per {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}
.price-card.featured .amount .per {
  color: oklch(0.8 0.02 285);
}
.plan-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.6rem 0 1.3rem;
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  flex: 1;
}
.plan-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.93rem;
  padding: 0.42rem 0;
  color: var(--ink-soft);
}
.plan-list li i {
  color: var(--violet);
  margin-top: 0.18rem;
  font-size: 0.9rem;
}
.price-card.featured .plan-list li i {
  color: var(--violet-300);
}
.featured-flag {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  background: var(--violet);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.accordion-x {
  --bs-accordion-border-color: var(--line);
}
.accordion-x .accordion-item {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}
.accordion-x .accordion-item:last-child {
  border-bottom: 1px solid var(--line);
}
.accordion-x .accordion-button {
  background: transparent;
  box-shadow: none;
  padding: 1.4rem 0.5rem 1.4rem 0;
  font-family: "Newsreader", serif;
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.accordion-x .accordion-button:not(.collapsed) {
  color: var(--violet-700);
  background: transparent;
}
.accordion-x .accordion-button:focus {
  box-shadow: none;
}
.accordion-x .accordion-button::after {
  background-image: none;
  content: "\F64D";
  font-family: "bootstrap-icons";
  width: auto;
  height: auto;
  font-size: 1.05rem;
  color: var(--violet);
  transition: transform 0.2s ease;
}
.accordion-x .accordion-body {
  padding: 0 2rem 1.5rem 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- CTA dark ---------- */
.cta-dark {
  background:
    radial-gradient(
      700px 360px at 78% -10%,
      oklch(0.4 0.16 300 / 0.55),
      transparent 60%
    ),
    radial-gradient(
      620px 320px at 10% 120%,
      oklch(0.45 0.15 270 / 0.45),
      transparent 60%
    ),
    linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark h2 {
  color: #fff;
}
.cta-dark .lead-2 {
  color: oklch(0.86 0.025 285);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.2rem;
}
.footer h6 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.32rem 0;
  transition: color 0.15s ease;
}
.footer a:hover {
  color: var(--violet-700);
}
.foot-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--ink);
}
.mobile-menu {
  display: none;
}
@media (max-width: 860px) {
  .nav-links.desk {
    display: none;
  }
  .nav-cta-desk {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem 0 1.2rem;
    border-top: 1px solid var(--line);
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    color: var(--ink-soft);
    text-decoration: none;
    padding: 0.7rem 0.2rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line-soft);
  }
}
