/* Farewell marketing homepage */
.landing {
  --lp-gold: #c9a574;
  --lp-gold-deep: #b8956a;
  --lp-ink: #f6f1ea;
  --lp-soft: rgba(246, 241, 234, 0.74);
  --lp-line: rgba(255, 255, 255, 0.12);
  color: var(--lp-ink);
}

.landing a {
  color: inherit;
}

.landing main,
.landing .lp-nav,
.landing .lp-hero,
.landing .lp-footer {
  position: relative;
  z-index: 3;
}

/* Navigation */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.lp-brand__mark {
  display: block;
  width: 44px;
  height: 44px;
}

.lp-nav__links {
  display: flex;
  gap: 1.5rem;
}

.lp-nav__links a,
.lp-link {
  color: var(--lp-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.lp-nav__links a:hover,
.lp-link:hover {
  color: #fff;
}

.lp-nav__phone-only {
  display: none;
}

.lp-nav__actions .lp-btn {
  white-space: nowrap;
}

.lp-menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.lp-menu-toggle span,
.lp-menu-toggle span::before,
.lp-menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lp-menu-toggle span {
  position: relative;
}

.lp-menu-toggle span::before,
.lp-menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.lp-menu-toggle span::before {
  top: -6px;
}

.lp-menu-toggle span::after {
  top: 6px;
}

.lp-menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.lp-menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.lp-menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.lp-menu-toggle:focus-visible {
  outline: 2px solid var(--lp-gold);
  outline-offset: 2px;
}

.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn:focus-visible,
.lp-arrow:focus-visible,
.lp-dot:focus-visible {
  outline: 2px solid var(--lp-gold);
  outline-offset: 3px;
}

.landing .lp-btn--gold {
  background: linear-gradient(180deg, #d6b584 0%, var(--lp-gold-deep) 100%);
  color: #1b2533;
  box-shadow: 0 10px 26px rgba(184, 149, 106, 0.28);
}

.landing .lp-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.landing .lp-btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

/* Hero slider */
.lp-hero {
  max-width: 76rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.lp-slides {
  display: grid;
  min-height: 34rem;
  touch-action: pan-y;
}

.lp-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s linear 0.8s;
}

.lp-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s;
}

.lp-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--lp-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lp-slide__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.lp-slide__body {
  max-width: 34rem;
  margin: 1.1rem 0 1.6rem;
  color: var(--lp-soft);
  font-size: 1.12rem;
  line-height: 1.65;
}

.lp-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-slide__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30rem;
}

.lp-slide__visual::before {
  content: '';
  position: absolute;
  width: 26rem;
  height: 26rem;
  max-width: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 165, 116, 0.22) 0%, transparent 65%);
}

.lp-hero__controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0 1rem;
}

.lp-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.lp-arrow--pause {
  font-size: 0.7rem;
  margin-left: auto;
}

.lp-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lp-dots {
  display: flex;
  gap: 0.45rem;
}

.lp-dot {
  width: 30px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.lp-dot[aria-selected="true"] {
  width: 46px;
  background: var(--lp-gold);
}

/* Drawn mock-ups for each slide */
.mock-phone {
  position: relative;
  width: 260px;
  height: 520px;
  padding: 12px;
  border-radius: 40px;
  background: #0b1320;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.mock-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 26px 18px;
  border-radius: 30px;
  overflow: hidden;
}

.mock-screen--page {
  background: linear-gradient(170deg, #20385a 0%, #14243a 100%);
}

.mock-ornament {
  width: 40px;
  height: 2px;
  background: var(--lp-gold);
  opacity: 0.8;
}

.mock-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(201, 165, 116, 0.6);
  background:
    radial-gradient(circle at 50% 38%, #d9c3a2 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 100%, #a98c66 0 45%, transparent 46%),
    linear-gradient(180deg, #4a5f7c, #2b3c55);
}

.mock-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
}

.mock-years {
  margin-top: -8px;
  color: var(--lp-gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.mock-script {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.mock-pill {
  width: 100%;
  padding: 9px 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
}

.mock-screen--light {
  align-items: stretch;
  background: linear-gradient(180deg, #fff 0%, #faf6f0 100%);
  color: var(--navy);
}

.mock-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: #e8e1d6;
}

.mock-line--short {
  width: 60%;
}

.mock-field {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #e4ddd4;
  border-radius: 10px;
  color: #8b929a;
  font-size: 0.78rem;
  background: #fff;
}

.mock-field--amount {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.mock-methods {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.mock-methods i {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  background: #f1ece4;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.mock-methods i:first-child {
  background: #ffcc00;
  color: #1b1b1b;
}

.mock-cta {
  margin-top: auto;
  padding: 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.mock-toast {
  position: absolute;
  right: 6%;
  bottom: 18%;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-left: 4px solid #2f7a4f;
  animation: lp-float 4s ease-in-out infinite;
}

.mock-toast strong {
  font-size: 0.9rem;
}

.mock-toast span {
  color: #5c6570;
  font-size: 0.8rem;
}

.mock-screen--slideshow {
  width: min(100%, 460px);
  height: 300px;
  padding: 0;
  border-radius: 18px;
  background: #06090f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.mock-photo {
  position: absolute;
  inset: 22px 40px 46px;
  border-radius: 8px;
  animation: lp-crossfade 8s ease-in-out infinite;
}

.mock-photo--a {
  background:
    radial-gradient(circle at 30% 45%, #e2c9a6 0 9%, transparent 10%),
    radial-gradient(circle at 62% 42%, #d1b38b 0 9%, transparent 10%),
    radial-gradient(ellipse at 46% 100%, #8a6d4c 0 40%, transparent 41%),
    linear-gradient(180deg, #7e95b1 0%, #c9b28f 100%);
}

.mock-photo--b {
  background:
    radial-gradient(circle at 50% 40%, #e6cfae 0 12%, transparent 13%),
    radial-gradient(ellipse at 50% 100%, #3d4d63 0 42%, transparent 43%),
    linear-gradient(180deg, #a07c5a 0%, #e9d7bd 100%);
  animation-delay: -4s;
}

.mock-controls {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.mock-controls i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mock-controls i.is-play {
  background: rgba(201, 165, 116, 0.6);
}

.mock-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: var(--lp-gold);
  animation: lp-progress 4s linear infinite;
}

.mock-org {
  width: min(100%, 440px);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.mock-org__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #3b2a4f;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-org__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8c46a, #b8956a);
}

.mock-org__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.mock-org__grid span {
  height: 86px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 38%, #d9c3a2 0 14%, transparent 15%),
    linear-gradient(180deg, #e9e3f0, #d6cbe4);
}

.mock-org__footer {
  padding: 10px 16px 14px;
  color: #5c6570;
  font-size: 0.78rem;
  border-top: 1px solid #eee7f3;
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes lp-crossfade {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes lp-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* Sections */
.lp-section {
  max-width: 76rem;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 0;
}

.lp-center {
  text-align: center;
}

.lp-h2 {
  margin: 0 auto 2rem;
  max-width: 44rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.12;
  text-align: center;
  color: #fff;
}

.lp-h2.lp-left {
  margin-left: 0;
  text-align: left;
}

.lp-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-steps__list li {
  padding: 1.5rem;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.lp-steps__list span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: rgba(201, 165, 116, 0.18);
  color: var(--lp-gold);
  font-weight: 700;
}

.lp-steps__list strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
}

.lp-steps__list p {
  margin: 0.4rem 0 0;
  color: var(--lp-soft);
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lp-feature {
  padding: 1.4rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  color: var(--text-on-light);
  box-shadow: var(--shadow-card);
}

.lp-feature svg {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(184, 149, 106, 0.16);
  color: var(--accent);
}

.lp-feature h3 {
  margin: 0.8rem 0 0.3rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.lp-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Pricing */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.lp-plans--single {
  grid-template-columns: minmax(0, 26rem);
  justify-content: center;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.5rem 1.6rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  color: var(--text-on-light);
  border-top: 4px solid var(--border);
  box-shadow: var(--shadow-card);
}

.lp-plan--highlight {
  border-top-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lp-plan--org {
  border-top-color: #3b2a4f;
}

.lp-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lp-plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
}

.lp-plan__audience {
  margin: 0.2rem 0 1rem;
  color: var(--muted);
  min-height: 2.6em;
}

.lp-plan__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}

.lp-plan__note {
  margin: 0.35rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.lp-plan ul {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.lp-plan li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}

.lp-plan li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.38em;
  width: 0.75rem;
  height: 0.42rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.lp-fineprint {
  margin-top: 1.5rem;
  color: var(--lp-soft);
  font-size: 0.88rem;
  text-align: center;
}

/* Organisations */
.lp-org {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2.5rem;
  align-items: center;
}

.lp-org__copy > p {
  color: var(--lp-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.lp-checks {
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.lp-checks li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.65rem;
}

.lp-checks li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.4em;
  width: 0.8rem;
  height: 0.45rem;
  border-left: 2px solid var(--lp-gold);
  border-bottom: 2px solid var(--lp-gold);
  transform: rotate(-45deg);
}

.lp-org__stats {
  display: grid;
  gap: 0.9rem;
}

.lp-org__stats div {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.lp-org__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--lp-gold);
  line-height: 1;
}

.lp-org__stats span {
  color: var(--lp-soft);
}

/* FAQ and closing */
.lp-faq {
  max-width: 50rem;
}

.lp-faq details {
  margin-bottom: 0.7rem;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.lp-faq summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

.lp-faq details p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--lp-soft);
  line-height: 1.65;
}

.lp-final {
  padding-bottom: 4rem;
  text-align: center;
}

.lp-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.lp-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-soft);
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 960px) {
  .landing .lp-nav {
    z-index: 20;
  }

  .lp-menu-toggle {
    display: inline-grid;
  }

  .lp-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    background: #14243a;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }

  .lp-nav__links.is-open {
    display: flex;
  }

  .lp-nav__links a {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
  }

  .lp-nav__links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .lp-slide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .lp-slide__body {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-slide__actions {
    justify-content: center;
  }

  .lp-slide__visual {
    min-height: 0;
  }

  .mock-phone {
    width: 220px;
    height: 400px;
  }

  .mock-pill ~ .mock-pill ~ .mock-pill {
    display: none;
  }

  .lp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-plans,
  .lp-org {
    grid-template-columns: 1fr;
  }

  .lp-plan--highlight {
    transform: none;
  }
}

@media (max-width: 600px) {
  .lp-nav {
    padding: 0.9rem 1rem;
  }

  .lp-link {
    display: none;
  }

  .lp-nav__links a.lp-nav__phone-only {
    display: block;
    border-top: 1px solid var(--lp-line);
    border-radius: 0 0 10px 10px;
  }

  .lp-nav__actions {
    gap: 0.75rem;
  }

  .lp-nav__actions .lp-btn {
    min-height: 40px;
    padding: 0.5rem 1rem;
  }

  .lp-brand {
    font-size: 1.45rem;
  }

  .lp-hero,
  .lp-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lp-slides {
    min-height: 0;
  }

  .lp-steps__list,
  .lp-features {
    grid-template-columns: 1fr;
  }

  .mock-toast {
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-slide,
  .lp-slide.is-active {
    transition: none;
    transform: none;
  }

  .mock-toast,
  .mock-photo,
  .mock-progress {
    animation: none;
  }
}
