/* ==========================================================
   MISHRU.AI — LAYOUT 4  |  "Ivory & Emerald" Light Theme
   Prefix: l4-
========================================================== */

:root {
  /* ---- Color tokens ---- */
  --l4-ivory: #FBF7EF;
  --l4-ivory-soft: #F4EEE1;
  --l4-paper: #FFFFFF;
  --l4-emerald: #0F3D2E;
  --l4-emerald-2: #176349;
  --l4-gold: #C9923C;
  --l4-gold-soft: #E9D2A4;
  --l4-ink: #2A2620;
  --l4-ink-soft: #6B6256;
  --l4-line: #E7DFCB;

  /* ---- Type tokens ---- */
  --l4-font-display: 'Fraunces', Georgia, serif;
  --l4-font-body: 'Inter', -apple-system, Segoe UI, sans-serif;

  /* ---- Layout tokens ---- */
  --l4-radius: 18px;
  --l4-radius-sm: 10px;
  --l4-shadow: 0 18px 40px -16px rgba(15, 61, 46, 0.18);
  --l4-shadow-sm: 0 8px 20px -10px rgba(42, 38, 32, 0.15);
  --l4-max: 1180px;
}

/* ---------------- Reset / Base ---------------- */
.l4-page * {
  box-sizing: border-box;
}

.l4-page {
  font-family: var(--l4-font-body);
  color: var(--l4-ink);
  background: var(--l4-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.l4-page h1,
.l4-page h2,
.l4-page h3 {
  font-family: var(--l4-font-display);
  color: var(--l4-emerald);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
}

.l4-page p {
  margin: 0 0 1em;
  color: var(--l4-ink-soft);
}

.l4-page p strong {
  font-weight: inherit;
  color: inherit;
}

.l4-page em {
  font-style: italic;
  color: var(--l4-gold);
}

.l4-page a {
  text-decoration: none;
  color: inherit;
}

.l4-page img {
  max-width: 100%;
  display: block;
}

.l4-page ul,
.l4-page ol {
  margin: 0;
  padding: 0;
}

.l4-page li {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.l4-section {
  padding: 96px 0;
}

.l4-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.l4-section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.l4-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--l4-font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--l4-gold);
  margin-bottom: 12px;
}

.l4-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--l4-gold);
  display: inline-block;
}

.l4-eyebrow-light {
  color: var(--l4-gold-soft);
}

.l4-eyebrow-light::before {
  background: var(--l4-gold-soft);
}

/* ---------------- Buttons ----------------
   Rule: every button starts LIGHT (pale background + dark emerald text).
   The dark emerald fill + light text only ever appears on :hover / :focus.
------------------------------------------- */
.l4-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--l4-line);
  cursor: pointer;
  background: var(--l4-paper);
  color: var(--l4-emerald);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.l4-btn i {
  font-size: 0.9rem;
  transition: transform .25s ease;
}

.l4-btn:hover,
.l4-btn:focus-visible {
  background: var(--l4-emerald);
  color: var(--l4-ivory);
  border-color: var(--l4-emerald);
  transform: translateY(-2px);
  box-shadow: var(--l4-shadow-sm);
}

.l4-btn:hover i {
  transform: translate(2px, -2px);
}

.l4-btn-primary {
  background: var(--l4-paper);
  color: var(--l4-emerald);
  border-color: var(--l4-line);
}

.l4-btn-outline {
  background: transparent;
  color: var(--l4-emerald);
  border-color: var(--l4-line);
}

.l4-btn-light {
  background: var(--l4-paper);
  color: var(--l4-emerald);
  border-color: var(--l4-line);
}

/* CTA section sits on a gold band — keep the same light-by-default / dark-on-hover rule,
   just make sure the resting state reads clearly against gold */
.l4-cta .l4-btn {
  background: var(--l4-ivory);
  color: var(--l4-emerald);
  border-color: rgba(15, 61, 46, 0.15);
}

.l4-cta .l4-btn:hover {
  background: var(--l4-emerald);
  color: var(--l4-ivory);
  border-color: var(--l4-emerald);
}

/* ---------------- Header ---------------- */
.l4-header {
  position: fixed;
  top: 0;
  left: 0;
    width: 100%;
    z-index: 1000;
  background: rgba(251, 247, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.l4-header.scrolled {
  border-color: var(--l4-line);
  box-shadow: 0 4px 18px -12px rgba(0, 0, 0, 0.18);
}

.l4-header .l4-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.l4-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.l4-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--l4-emerald);
  color: var(--l4-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.l4-brand-name {
  font-family: var(--l4-font-display);
  font-size: 1.3rem;
  color: var(--l4-emerald);
  font-weight: 700;
}

.l4-brand-name em {
  font-style: normal;
  color: var(--l4-gold);
}

.l4-nav-links {
  display: flex;
  gap: 30px;
}

.l4-nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--l4-ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

.l4-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--l4-gold);
  transition: width .25s ease;
}

.l4-nav-links a:hover,
.l4-nav-links a.active {
  color: var(--l4-emerald);
}

.l4-nav-links a:hover::after,
.l4-nav-links a.active::after {
  width: 100%;
}

.l4-header-cta {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.l4-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
}

.l4-burger span {
  width: 100%;
  height: 2px;
  background: var(--l4-emerald);
  border-radius: 2px;
  transition: all .3s ease;
}

.l4-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.l4-burger.open span:nth-child(2) {
  opacity: 0;
}

.l4-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.l4-hero {
  padding: 142px 0 80px;
    /* 78px header height + 64px original top padding */
  overflow: hidden;
  position: relative;
}

.l4-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.l4-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--l4-paper);
  border: 1px solid var(--l4-line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--l4-emerald-2);
  margin-bottom: 22px;
}

.l4-chip i {
  color: var(--l4-gold);
}

.l4-hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.l4-hero-text {
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.l4-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.l4-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.l4-hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--l4-ink-soft);
  font-weight: 500;
}

.l4-hero-trust i {
  color: var(--l4-emerald-2);
}

.l4-hero-visual {
  position: relative;
}

.l4-hero-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--l4-paper);
  box-shadow: var(--l4-shadow);
  background: var(--l4-paper);
}

.l4-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.l4-frame-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--l4-paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--l4-emerald);
  box-shadow: var(--l4-shadow-sm);
}

.l4-frame-tag i {
  color: var(--l4-gold);
}

.l4-frame-tag-top {
  top: 22px;
  left: 22px;
}

.l4-frame-tag-bottom {
  bottom: 22px;
  right: 22px;
}

.l4-hero-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--l4-gold-soft), transparent 70%);
  top: -60px;
  right: -90px;
  z-index: -1;
  opacity: 0.55;
  filter: blur(8px);
}

/* ---------------- Reveal animation ---------------- */
.l4-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.l4-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.l4-reveal.d1 {
  transition-delay: .08s;
}

.l4-reveal.d2 {
  transition-delay: .16s;
}

.l4-reveal.d3 {
  transition-delay: .24s;
}

.l4-reveal.d4 {
  transition-delay: .32s;
}

@media (prefers-reduced-motion: reduce) {
  .l4-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------------- How it works / Flow ---------------- */
.l4-flow {
  background: var(--l4-paper);
  border-top: 1px solid var(--l4-line);
  border-bottom: 1px solid var(--l4-line);
}

.l4-flow-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 48px;
}

.l4-flow-media img {
  border-radius: var(--l4-radius);
  box-shadow: var(--l4-shadow-sm);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.l4-flow-lead {
  font-size: 1.05rem;
  color: var(--l4-ink);
}

.l4-step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.l4-step-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--l4-ivory);
  border-radius: var(--l4-radius-sm);
  border: 1px solid var(--l4-line);
}

.l4-step-num {
  font-family: var(--l4-font-display);
  font-weight: 700;
  color: var(--l4-gold);
  font-size: 1.1rem;
  min-width: 34px;
}

.l4-step-list div {
  color: var(--l4-ink-soft);
  font-size: 0.95rem;
}

.l4-step-list strong {
  color: var(--l4-emerald);
}

.l4-flow-bottom {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px dashed var(--l4-line);
  padding-top: 36px;
}

.l4-flow-bottom p {
  font-size: 0.98rem;
}

/* ---------------- Features — Bento grid ---------------- */
.l4-features {
  background: var(--l4-ivory);
}

.l4-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.l4-bento-card {
  background: var(--l4-paper);
  border: 1px solid var(--l4-line);
  border-radius: var(--l4-radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.l4-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--l4-shadow);
  border-color: var(--l4-gold-soft);
}

/* Every feature card behaves the same way: light by default, dark emerald fill on hover only. */
.l4-bento-card:hover {
  background: var(--l4-emerald);
  border-color: var(--l4-emerald);
}

.l4-bento-card:hover h3,
.l4-bento-card:hover p {
  color: var(--l4-ivory);
}

.l4-bento-card:hover p {
  color: rgba(251, 247, 239, 0.78);
}

.l4-bento-card:hover .l4-bento-icon {
  background: rgba(251, 247, 239, 0.12);
  color: var(--l4-gold-soft);
}

.l4-bento-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--l4-ivory-soft);
  color: var(--l4-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.l4-bento-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.l4-bento-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.l4-features-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------------- Benefits — Numbered Perk Cards ---------------- */
.l4-perks {
  background: var(--l4-ivory-soft);
  position: relative;
}

.l4-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.l4-perk-card {
  position: relative;
  background: var(--l4-paper);
  border: 1px solid var(--l4-line);
  border-radius: var(--l4-radius);
  padding: 32px 30px 30px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.l4-perk-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--l4-shadow);
  border-color: var(--l4-gold-soft);
}

.l4-perk-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--l4-font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--l4-ivory-soft);
  -webkit-text-stroke: 1px var(--l4-gold-soft);
  line-height: 1;
  user-select: none;
}

.l4-perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--l4-emerald);
  color: var(--l4-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.l4-perk-card h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.l4-perk-card p {
  font-size: 0.93rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.l4-perk-card::after {
  content: '';
  position: absolute;
  left: 30px;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--l4-gold);
  transition: width .3s ease;
}

.l4-perk-card:hover::after {
  width: 56px;
}

/* ---------------- CTA ---------------- */
.l4-cta {
  background: var(--l4-gold);
  padding: 70px 0;
}

.l4-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.l4-cta-copy {
  max-width: 480px;
}

.l4-cta .l4-eyebrow {
  color: var(--l4-emerald);
}

.l4-cta .l4-eyebrow::before {
  background: var(--l4-emerald);
}

.l4-cta-copy h2 {
  color: var(--l4-emerald);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.l4-cta-copy p {
  color: rgba(15, 61, 46, 0.78);
  margin-bottom: 0;
}

.l4-cta-form {
  display: flex;
  gap: 12px;
  background: var(--l4-paper);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--l4-shadow-sm);
  flex-wrap: wrap;
}

.l4-cta-form input {
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 0.95rem;
  min-width: 220px;
  flex: 1;
  font-family: var(--l4-font-body);
  color: var(--l4-ink);
}

.l4-cta-form button {
  flex-shrink: 0;
}

/* ---------------- FAQ ---------------- */
.l4-faq {
  background: var(--l4-paper);
}

.l4-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.l4-faq-item {
  border: 1px solid var(--l4-line);
  border-radius: var(--l4-radius-sm);
  border-left: 3px solid var(--l4-gold);
  overflow: hidden;
  background: var(--l4-ivory);
}

.l4-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--l4-emerald);
  text-align: left;
  font-family: var(--l4-font-body);
}

.l4-faq-q i {
  color: var(--l4-gold);
  transition: transform .3s ease;
  flex-shrink: 0;
}

.l4-faq-item.open .l4-faq-q i {
  transform: rotate(45deg);
}

.l4-faq-a {
  padding: 0 22px 20px;
}

.l4-faq-a p {
  margin: 0;
  font-size: 0.94rem;
}

/* ---------------- Footer ---------------- */
.l4-footer {
  background: #F9F9F9;
  color: var(--l4-ink);
  padding: 30px 0 0;
}

.l4-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 24px;
}

.l4-brand-footer .l4-brand-name {
  color: var(--l4-emerald);
}

.l4-footer-brand p {
  font-size: 0.9rem;
  color: var(--l4-ink-soft);
  max-width: 320px;
  margin: 16px 0 20px;
}

.l4-footer-social {
  display: flex;
  gap: 12px;
}

.l4-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--l4-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--l4-ink);
  transition: background .25s ease, border-color .25s ease;
}

.l4-footer-social a:hover {
  background: var(--l4-emerald);
  border-color: var(--l4-emerald);
  color: var(--l4-ivory);
}

.l4-footer-col h4 {
  color: var(--l4-emerald);
  font-family: var(--l4-font-body);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.l4-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.l4-footer-nav a {
  font-size: 0.92rem;
  color: var(--l4-ink-soft);
  transition: color .2s ease;
}

.l4-footer-nav a:hover {
  color: var(--l4-emerald-2);
}

.l4-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.l4-footer-contact li {
  font-size: 0.9rem;
}

.l4-footer-contact a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--l4-ink-soft);
  transition: color .2s ease;
}

.l4-footer-contact a:hover {
  color: var(--l4-emerald-2);
}

.l4-footer-contact i {
  color: var(--l4-emerald);
}

.l4-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--l4-line);
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.l4-footer-legal {
  display: flex;
  gap: 20px;
}

.l4-footer-legal a {
  color: var(--l4-ink-soft);
  text-decoration: none;
  transition: color .2s ease;
}

.l4-footer-legal a:hover {
  color: var(--l4-emerald);
}

/* ---------------- Back to top ---------------- */
#l4-backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--l4-emerald);
  color: var(--l4-ivory);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  box-shadow: var(--l4-shadow-sm);
}

#l4-backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#l4-backToTop:hover {
  background: var(--l4-emerald-2);
}

/* ============================================================
   RESPONSIVE
============================================================ */
/* --- Tablet: 768px – 980px --- */
@media (max-width: 980px) {
  /* Hero: stack vertically, image on top */
    .l4-hero {
      padding: 48px 0 60px;
    }
  .l4-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
      text-align: center;
    }
    
    .l4-hero-copy {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .l4-hero-text {
      max-width: 100%;
      text-align: center;
    }
    
    .l4-hero-actions {
      justify-content: center;
    }
    
    .l4-hero-trust {
      justify-content: center;
  }

  .l4-hero-visual {
    order: -1;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

    /* How it works: stack vertically */
  .l4-flow-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

    .l4-flow-media img {
      max-width: 480px;
      margin: 0 auto;
      width: 100%;
    }
  
    /* Features: 2-column */
  .l4-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

    /* Benefits: 2-column (already 2 on desktop, keep same) */
  .l4-perks-grid {
    grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }

    /* Footer: 2-column */
  .l4-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    }
    
    /* Section padding tighten */
    .l4-section {
      padding: 72px 0;
  }
}

/* --- Mobile: 481px – 760px --- */
@media (max-width: 760px) {
  /* Mobile nav: fullscreen dropdown */
  .l4-nav {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--l4-ivory);
    z-index: 55;
    overflow-y: auto;
  }

  .l4-nav-links {
    display: none;
  }

  .l4-nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px;
  }

  .l4-nav-links.open li {
    border-bottom: 1px solid var(--l4-line);
  }

  .l4-nav-links.open a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }

  .l4-header-cta {
    display: none;
  }

  .l4-burger {
    display: flex;
  }

    /* Sections */
  .l4-section {
    padding: 56px 0;
  }

    /* Wrap padding */
    .l4-wrap {
      padding: 0 18px;
    }
  
    /* Section heading */
    .l4-section-head {
      margin-bottom: 40px;
    }
  
    .l4-section-head h2 {
      font-size: 1.7rem;
    }
  
    /* Hero */
    .l4-hero {
      padding: 36px 0 48px;
    }
  
    .l4-hero-grid {
      gap: 32px;
    }
  
    .l4-hero-title {
      font-size: clamp(1.9rem, 6vw, 2.5rem);
    }
  
    .l4-hero-text {
      font-size: 1rem;
    }
  
    .l4-hero-visual {
      max-width: 360px;
    }
  
    .l4-hero-actions {
      gap: 12px;
    }
  
    /* Features: 1-column on small tablet */
  .l4-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

    /* Benefits: 1-column */
    .l4-perks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    }
    
    /* CTA */
    .l4-cta {
      padding: 52px 0;
  }

  .l4-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    }
    
    .l4-cta-copy {
      max-width: 100%;
  }

  .l4-cta-form {
    width: 100%;
  }
/* Footer */
.l4-footer-grid {
  grid-template-columns: 1fr;
  gap: 28px;
  

    .l4-footer-brand p {
      max-width: 100%;
    }
  
    .l4-footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  
    /* FAQ */
    .l4-faq-q {
      font-size: 0.95rem;
      padding: 18px 18px;
    }
  
    .l4-faq-a {
      padding: 0 18px 16px;
    }
  
    /* Flow bottom paragraphs */
    .l4-flow-bottom {
      padding-top: 28px;
    }
  
    /* Perk card */
    .l4-perk-card {
      padding: 26px 22px 24px;
    }
    }
  
    /* --- Small Mobile: max 480px --- */
@media (max-width: 480px) {
  /* Wrap padding tighter */
    .l4-wrap {
      padding: 0 16px;
    }
  
    /* Hero */
    .l4-hero {
      padding: 28px 0 40px;
    }
  .l4-hero-title {
    font-size: 1.85rem;
      line-height: 1.2;
    }
    
    .l4-hero-text {
      font-size: 0.96rem;
    }
    
    .l4-chip {
      font-size: 0.76rem;
      padding: 6px 12px;
    }
    
    .l4-hero-visual {
      max-width: 100%;
    }
    
    .l4-hero-frame {
      border-radius: 18px;
    }
    
    .l4-frame-tag {
      font-size: 0.75rem;
      padding: 7px 12px;
    }
    
    .l4-frame-tag-top {
      top: 12px;
      left: 12px;
    }
    
    .l4-frame-tag-bottom {
      bottom: 12px;
      right: 12px;
    }
    
    .l4-hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }
    
    .l4-hero-actions .l4-btn {
      justify-content: center;
      width: 100%;
  }

  .l4-hero-trust {
    flex-direction: column;
    gap: 10px;
      align-items: flex-start;
    }
    
    /* Section head */
    .l4-section-head {
      margin-bottom: 32px;
    }
    
    .l4-section-head h2 {
      font-size: 1.55rem;
    }
    
    /* Section spacing */
    .l4-section {
      padding: 48px 0;
    }
    
    /* Bento cards */
    .l4-bento-card {
      padding: 24px 20px;
    }
    
    .l4-bento-card h3 {
      font-size: 1.05rem;
    }
    
    /* Step list */
    .l4-step-list li {
      padding: 14px 14px;
    gap: 12px;
  }

    .l4-step-num {
      font-size: 1rem;
      min-width: 28px;
    }
  
    /* Perk card */
    .l4-perk-card {
      padding: 24px 18px 22px;
    }
  
    .l4-perk-num {
      font-size: 2rem;
    }
  
    /* CTA */
    .l4-cta {
      padding: 44px 0;
    }
  .l4-cta-form {
    flex-direction: column;
    border-radius: var(--l4-radius-sm);
    padding: 10px;
      gap: 8px;
    }
    
    .l4-cta-form input {
      min-width: unset;
      width: 100%;
      padding: 12px 14px;
  }

  .l4-cta-form button {
    width: 100%;
    justify-content: center;
  }
/* Footer */
.l4-footer {
  padding: 48px 0 0;
}

.l4-footer-legal {
  flex-direction: column;
  gap: 8px;
}

/* Back to top */
#l4-backToTop {
  bottom: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
}

/* FAQ */
.l4-faq-q {
  font-size: 0.9rem;
  padding: 16px 14px;
  

    .l4-faq-a {
      padding: 0 14px 14px;
    }
}


/* ============================================================
   TARGETED INTERLINKING WORDS (ONLY BLUE, NO UNDERLINE)
============================================================ */

/* All inline/interlinking words — only blue, no underline */
.l4-flow-copy a,
.l4-flow-bottom a,
.l4-bento-card a,
.l4-perk-card a,
.l4-faq-a a,
.l4-hero-text a,
.l4-cta-copy a,
.l4-step-list a {
  color: #0066cc !important;
  text-decoration: none !important;
}

.l4-flow-copy a:hover,
.l4-flow-bottom a:hover,
.l4-bento-card a:hover,
.l4-perk-card a:hover,
.l4-faq-a a:hover,
.l4-hero-text a:hover,
.l4-cta-copy a:hover,
.l4-step-list a:hover {
  color: #004499 !important;
  text-decoration: none !important;
}

/* 2. Footer Contact Details: Spacing fix */
.l4-footer-contact a {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

/* Icon aur Text ke beech ka gap */
.l4-footer-contact a i {
  margin-right: 10px;
}

/* Email aur Location ke beech vertical gap (niche space) */
.l4-footer-contact li {
  margin-bottom: 12px;
}

.l4-footer-contact li:last-child {
  margin-bottom: 0;
}
/* ============================================================
   INTERLINKING FIX — GLOBAL BLUE, NO UNDERLINE
============================================================ */
.l4-page p a {
  color: #0066cc !important;
  text-decoration: none !important;
  font-weight: inherit;
}

.l4-page p a:hover {
  color: #004499 !important;
  text-decoration: none !important;
}