/* ---------- Tokens ---------- */
:root {
  --cream: #f7f8fb;
  --cream-2: #eef0f5;
  --cream-3: #e4e7ee;
  --navy: #0d1526;
  --navy-2: #0a0f1d;
  --blue: #2f4fd9;
  --blue-deep: #2440b8;
  --slate: #3c4557;
  --slate-light: #5b6577;
  --border: #d3d7e2;
  --border-dark: rgba(255,255,255,0.16);

  --font-display: "Playfair Display", Georgia, serif;
  --font-label: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17.5px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 0 0 1rem;
}
.eyebrow-index { color: var(--blue-deep); }
.eyebrow-small { color: var(--blue-deep); font-size: 0.74rem; margin-bottom: 0.6rem; }
.eyebrow-center { text-align: center; color: var(--blue-deep); }

.display-xl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.display-xl em { font-style: italic; font-weight: 500; }

.display-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}
.display-lg em { font-style: italic; font-weight: 500; }

.display-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

.section-copy {
  font-size: 1.16rem;
  line-height: 1.75;
  color: var(--slate);
  max-width: 46ch;
  margin: 0 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: #16223c; }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: var(--blue-deep); }

.link-arrow {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.link-arrow span { transition: transform 0.2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,251,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2.4rem;
}
.nav-links a {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--slate);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta { padding: 0.8rem 1.6rem; font-size: 0.72rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}
.hero-text {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}
.hero-copy {
  font-size: 1.24rem;
  line-height: 1.72;
  color: var(--slate);
  max-width: 44ch;
  margin: 0 0 2.2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.hero-art svg, .hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); }
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.2rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--blue);
  margin: 0 0 0.6rem;
  line-height: 1;
}
.stat-symbol { font-family: var(--font-body); font-weight: 300; }
.stat-label {
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #aeb8d1;
  margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 7rem 2rem; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section--alt { background: var(--cream-2); }

/* ---------- Vault grid ---------- */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
}
.vault-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 1.5rem 1.7rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--tint, #1c2338);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.vault-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(10,14,25,0.5);
}
.vault-card--wide { grid-column: span 2; }
.vault-pub {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #8fadff;
  margin: 0;
}
.vault-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.38rem;
  color: #fff;
  margin: 0;
  line-height: 1.26;
}
.vault-read {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ccd6ec;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
.vault-read span { transition: transform 0.2s ease; }
.vault-card:hover .vault-read span { transform: translateX(4px); }
.vault-more {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.vault-card--social {
  background: #1a1f2e;
}
.vault-social-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 2px solid rgba(255,255,255,0.15);
}

@media (max-width: 960px) {
  .vault-grid { grid-template-columns: repeat(2, 1fr); }
  .vault-card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .vault-grid { grid-template-columns: 1fr; }
  .vault-card--wide { grid-column: span 1; }
}

/* ---------- Pricing ---------- */
.pricing-subhead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 3rem 0 0;
}
.pricing-subhead:first-of-type { margin-top: 3.5rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 2px 10px -6px rgba(13,21,38,0.08);
}
.pricing-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  color: var(--navy);
  margin: 0 0 0.9rem;
  line-height: 1.3;
  min-height: 4.6rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--blue-deep);
  margin: 0 0 0.3rem;
  line-height: 1;
}
.pricing-note {
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--slate-light);
  text-transform: uppercase;
  margin: 0 0 1.6rem;
}
.pricing-card .btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-priceless {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--navy);
  margin: 2.5rem 0 0;
}
.pricing-priceless em { color: var(--blue-deep); font-style: italic; }
.pricing-disclaimer {
  font-size: 0.92rem;
  color: var(--slate-light);
  margin: 1.6rem 0 0;
}
.pricing-sample {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 62ch;
  margin: 0.9rem 0 0;
}
.pricing-sample:first-of-type {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.pricing-inline-link {
  color: var(--blue-deep);
  text-decoration: underline;
  font-weight: 600;
}
.pricing-inline-link:hover { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 3rem;
  max-width: 800px;
}
.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--navy);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue-deep);
  border-bottom: 2px solid var(--blue-deep);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-bottom: 2px;
}
.faq-item[open] .faq-question::after { transform: rotate(-135deg); margin-bottom: -2px; }
.faq-question:hover { color: var(--blue-deep); }
.faq-answer {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
  margin: 1rem 0 0;
  max-width: 68ch;
}

/* ---------- Split sections ---------- */
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
#direct-line .split-inner { align-items: start; }
.split-art {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 5 / 6;
}
.split-art svg, .split-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Timeline ---------- */
.timeline {
  margin-top: 4rem;
  max-width: 720px;
  margin-left: auto;
  padding-left: 3rem;
  border-left: 2px solid var(--blue);
  position: relative;
}
.timeline-step {
  position: relative;
  padding-bottom: 4.5rem;
}
.timeline-step--last { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: -3.44rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
}
.timeline-num {
  position: absolute;
  left: -3rem;
  top: -1.6rem;
  transform: translateX(-100%);
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 600;
  color: #e5e8ef;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--cream-2);
  padding: 7rem 2rem;
}
.testimonial-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 20pt;
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 2.5rem;
}
.testimonial blockquote p { margin: 0 0 0.7em; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.quote-mark {
  color: var(--blue-deep);
  font-size: 1.3em;
  margin-right: 0.15em;
}
.testimonial-attr {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-rule { width: 36px; height: 1px; background: var(--slate-light); }
.testimonial-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin: 0;
}
.testimonial-role {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--slate-light);
  margin: 0.2rem 0 0;
}
.testimonial-link {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--blue-deep);
  margin: 0.5rem 0 0;
  display: inline-block;
}
.testimonial-link:hover { color: var(--blue); }

/* ---------- Carousel ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.carousel-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot:hover { background: var(--slate-light); }
.carousel-dot.is-active { background: var(--blue-deep); transform: scale(1.2); }

/* ---------- Contact form ---------- */
.contact-email a {
  font-family: var(--font-label);
  font-size: 0.95rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
}
.contact-note {
  font-family: var(--font-label);
  font-size: 0.86rem;
  color: var(--slate-light);
}
.split-form form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.form-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.field-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 600;
}
.field-hint {
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--slate-light);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--slate);
  padding: 0.5rem 0.1rem 0.8rem;
  resize: vertical;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%233c4557' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.8rem;
  cursor: pointer;
}
.form-field select:invalid { color: #a7adba; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #a7adba; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
.split-form .btn { margin-top: 0.6rem; align-self: flex-start; }
.form-status {
  font-family: var(--font-label);
  font-size: 0.86rem;
  color: var(--slate);
  min-height: 1.2em;
}
.form-status.is-error { color: #c23b3b; }

/* ---------- Captcha ---------- */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.captcha-code {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  color: var(--navy);
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  user-select: none;
  white-space: nowrap;
}
.captcha-row input {
  border-bottom: 1px solid var(--border) !important;
  max-width: 140px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 4.5rem 2rem 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3.5rem;
}
.footer-logo { height: 34px; width: auto; margin-bottom: 1rem; display: block; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0.4rem 0 0.3rem;
}
.footer-role {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--slate-light);
  margin: 0;
}
.footer-heading {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--slate-light);
  margin: 0 0 1.2rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-col a {
  font-family: var(--font-label);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-bottom p {
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--slate-light);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 90px; min-height: 0; order: -1; }
  .hero-text { padding: 2rem 1.5rem; }
  .display-xl { font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.08; margin-bottom: 1rem; }
  .hero-copy { font-size: 1.05rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .hero .eyebrow { margin-bottom: 0.6rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .vault-grid { grid-template-columns: 1fr; }
  .split-inner { grid-template-columns: 1fr; }
  .split-art { order: -1; aspect-ratio: 16/10; }
  .timeline { margin-left: 0; padding-left: 2.2rem; }
  .timeline-num { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 4.5rem 1.5rem; }
  .display-lg { max-width: none; }
  .hero-art { height: 70px; min-height: 0; }
  .display-xl { font-size: clamp(1.9rem, 8vw, 2.4rem); margin-bottom: 0.8rem; }
  .hero-copy { font-size: 0.98rem; line-height: 1.5; margin-bottom: 0.9rem; }
}
