/* ============================================================
   Ledger — Website Stylesheet
   Theme colors taken directly from the app (AppColors):
   gradient  #A2DBD3 → #D5DCE6
   dark teal #015044 | forest #1B4332 | lime #86D104
   teal blue #2596BE | debit red #A30000 | card #D1E6E7
   ============================================================ */

:root {
  --teal-dark: #015044;
  --forest: #1B4332;
  --lime: #86D104;
  --blue: #2596BE;
  --red: #A30000;
  --grad-start: #A2DBD3;
  --grad-end: #D5DCE6;
  --card: #D1E6E7;
  --ink: #1A1A1A;
  --ink-soft: #40514d;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(1, 80, 68, 0.14);
  --shadow-sm: 0 8px 24px rgba(1, 80, 68, 0.10);
  --radius: 22px;
  --nav-h: 74px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #f5faf9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------------- Preloader ---------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(160deg, var(--grad-start), var(--grad-end));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader img {
  width: 72px;
  animation: spinPulse 1.4s ease-in-out infinite;
}

@keyframes spinPulse {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.12);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* ---------------- Navbar ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(1, 80, 68, 0.10);
  height: 64px;
}

.nav-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--forest);
}

.brand img {
  width: 38px;
  transition: transform .5s ease;
}

.brand:hover img {
  transform: rotate(180deg);
}

.brand span b {
  color: var(--teal-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--teal-dark));
  transition: width .3s ease;
}

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

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

.nav-cta {
  background: var(--teal-dark);
  color: #fff !important;
  padding: 20px 42px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(1, 80, 68, 0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--teal-dark);
  transition: .3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background: linear-gradient(160deg, var(--grad-start) 0%, var(--grad-end) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--lime);
  top: -120px;
  right: -100px;
  animation: drift 11s ease-in-out infinite alternate;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--blue);
  bottom: -140px;
  left: -120px;
  animation: drift 13s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 260px;
  height: 260px;
  background: var(--teal-dark);
  top: 40%;
  left: 45%;
  opacity: .18;
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(50px, 35px) scale(1.15);
  }
}

/* floating currency symbols */
.float-symbol {
  position: absolute;
  font-weight: 700;
  color: rgba(1, 80, 68, 0.10);
  user-select: none;
  pointer-events: none;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(20vh) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) rotate(25deg);
    opacity: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(1, 80, 68, .15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--teal-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .underline-lime {
  position: relative;
  white-space: nowrap;
}

.hero h1 .underline-lime::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  z-index: -1;
  border-radius: 6px;
  background: var(--lime);
  opacity: .55;
  transform: scaleX(0);
  transform-origin: left;
  animation: growLine 1s .8s ease forwards;
}

@keyframes growLine {
  to {
    transform: scaleX(1);
  }
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .98rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 14px 30px rgba(1, 80, 68, .28);
}

.btn-primary:hover {
  background: var(--forest);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(1, 80, 68, .34);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -80%;
  }

  60%,
  100% {
    left: 140%;
  }
}

.btn-ghost {
  background: rgba(255, 255, 255, .6);
  color: var(--teal-dark);
  border: 1.5px solid rgba(1, 80, 68, .3);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-trust .t-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-trust .t-item svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------------- Phone mockup ---------------- */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  animation: phoneFloat 5.5s ease-in-out infinite;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1.2deg);
  }

  50% {
    transform: translateY(-18px) rotate(1.2deg);
  }
}

.phone {
  width: 300px;
  height: 610px;
  background: #0d1f1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 90px rgba(1, 80, 68, 0.35), inset 0 0 0 2px rgba(255, 255, 255, .06);
  position: relative;
  z-index: 2;
}

.phone::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0d1f1a;
  border-radius: 14px;
  z-index: 5;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--grad-start), var(--grad-end));
  display: flex;
  flex-direction: column;
  position: relative;
}

.screen-head {
  padding: 46px 18px 8px;
}

.screen-head .head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-head .app-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 6px;
}

.screen-head .app-name img {
  width: 18px;
}

.screen-head .tagline {
  font-size: .5rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 1px;
}

.mini-search {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(1, 80, 68, .15);
}

.mini-search svg {
  width: 14px;
  height: 14px;
}

.balance-card {
  margin: 10px 16px 12px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(1, 80, 68, .20);
}

.bc-top {
  background: var(--card);
  padding: 14px 18px 12px;
}

.bc-top .bc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: .64rem;
  color: var(--ink-soft);
  padding: 4px 0;
}

.bc-top .bc-row b {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}

.bc-top .bc-row b.neg {
  color: var(--red);
}

.bc-bottom {
  background: var(--forest);
  padding: 12px 18px;
  display: flex;
  justify-content: center;
}

.new-entry-btn {
  background: var(--lime);
  color: var(--forest);
  font-size: .68rem;
  font-weight: 700;
  padding: 8px 8px 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.new-entry-btn .plus-ic {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  background: var(--forest);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
}

.recent-section {
  flex: 1;
  padding: 4px 16px 0;
}

.recent-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--forest);
  margin: 2px 2px 10px;
}

.cat-card {
  background: #eaf3f2;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 3px 10px rgba(1, 80, 68, .05);
}

.cat-name {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.cat-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.cat-col small {
  display: block;
  font-size: .52rem;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.cat-col b {
  font-size: .66rem;
  font-weight: 700;
}

.cat-col b.in {
  color: #4e7a02;
}

.cat-col b.out {
  color: var(--red);
}

.bottom-nav {
  background: #fff;
  padding: 10px 10px 14px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 14px rgba(1, 80, 68, .08);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #9db3ae;
  font-size: .48rem;
  font-weight: 500;
}

.nav-item svg {
  width: 16px;
  height: 16px;
}

.nav-item.active {
  color: var(--forest);
}

.nav-item.active svg {
  stroke: var(--forest);
}

/* floating chips around the phone */
.chip {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
  font-size: .72rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: chipFloat 4.5s ease-in-out infinite;
}

.chip svg {
  width: 16px;
  height: 16px;
}

.chip-1 {
  top: 12%;
  left: -4%;
  animation-delay: .4s;
}

.chip-2 {
  top: 46%;
  right: -6%;
  animation-delay: 1.1s;
}

.chip-3 {
  bottom: 10%;
  left: 0%;
  animation-delay: 1.8s;
}

@keyframes chipFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ---------------- Sections ---------------- */
section {
  padding: 96px 0;
}

.section-tag {
  display: inline-block;
  background: rgba(134, 209, 4, 0.14);
  color: #4e7a02;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

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

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--forest);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: .98rem;
}

/* stats strip */
.stats {
  background: var(--teal-dark);
  padding: 54px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(134, 209, 4, .16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(37, 150, 190, .18), transparent 45%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  color: #fff;
}

.stat .num {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1.1;
}

.stat .lbl {
  font-size: .85rem;
  opacity: .85;
  margin-top: 6px;
}

/* features */
.features {
  background: #f5faf9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid rgba(1, 80, 68, .07);
  box-shadow: 0 6px 20px rgba(1, 80, 68, .05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--lime), var(--teal-dark), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(1, 80, 68, .16);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card .f-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--grad-start), var(--card));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .35s ease;
}

.feature-card:hover .f-icon {
  transform: scale(1.1) rotate(-6deg);
}

.feature-card .f-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.08rem;
  color: var(--forest);
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* how it works */
.how {
  background: linear-gradient(160deg, var(--grad-end), var(--grad-start));
  position: relative;
  overflow: hidden;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .8);
  transition: transform .35s ease, box-shadow .35s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.step .s-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 10px 22px rgba(27, 67, 50, .3);
}

.step h3 {
  color: var(--forest);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step p {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* security band */
.secure-band {
  background: #f5faf9;
}

.secure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.secure-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.shield-ring {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px dashed rgba(1, 80, 68, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinSlow 24s linear infinite;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.shield-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal-dark), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(1, 80, 68, .35);
  animation: spinSlowReverse 24s linear infinite;
}

@keyframes spinSlowReverse {
  to {
    transform: rotate(-360deg);
  }
}

.shield-core svg {
  width: 72px;
  height: 72px;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.orbit-dot.d1 {
  background: var(--lime);
  top: -7px;
  left: calc(50% - 7px);
}

.orbit-dot.d2 {
  background: var(--blue);
  bottom: 20px;
  right: 10px;
}

.orbit-dot.d3 {
  background: #fff;
  border: 3px solid var(--teal-dark);
  top: 40px;
  left: 8px;
  width: 10px;
  height: 10px;
}

.secure-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--forest);
  margin-bottom: 18px;
  line-height: 1.3;
}

.secure-copy p {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 22px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .92rem;
  color: var(--ink);
}

.check-list li svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
}

/* CTA band */
.cta-band {
  padding: 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--forest), var(--teal-dark));
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-box::before,
.cta-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.cta-box::before {
  width: 300px;
  height: 300px;
  background: rgba(134, 209, 4, .13);
  top: -140px;
  right: -80px;
}

.cta-box::after {
  width: 240px;
  height: 240px;
  background: rgba(37, 150, 190, .16);
  bottom: -120px;
  left: -70px;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  opacity: .88;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  font-size: .98rem;
}

.cta-box .btn-lime {
  background: var(--lime);
  color: var(--forest);
  box-shadow: 0 14px 34px rgba(134, 209, 4, .35);
  position: relative;
  z-index: 1;
}

.cta-box .btn-lime:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 44px rgba(134, 209, 4, .45);
}

/* ---------------- Footer ---------------- */
footer {
  background: #0d1f1a;
  color: #b9cec8;
  padding: 70px 0 0;
  margin-top: 96px;
  position: relative;
}

footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: .86rem;
  line-height: 1.75;
  max-width: 300px;
}

footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 18px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: .88rem;
  transition: color .25s ease, padding-left .25s ease;
}

.footer-links a:hover {
  color: var(--lime);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  margin-bottom: 13px;
  line-height: 1.6;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.footer-contact a:hover {
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  text-align: center;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .made {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom .heart {
  color: var(--red);
  animation: blink 1.6s ease-in-out infinite;
}

/* back to top */
#toTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(1, 80, 68, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: .35s ease;
}

#toTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#toTop:hover {
  background: var(--forest);
  transform: translateY(-4px);
}

#toTop svg {
  width: 20px;
  height: 20px;
}

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.22, .8, .35, 1), transform .8s cubic-bezier(.22, .8, .35, 1);
}

.reveal.left {
  transform: translateX(-46px);
}

.reveal.right {
  transform: translateX(46px);
}

.reveal.zoom {
  transform: scale(.9);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .1s;
}

.reveal.d2 {
  transition-delay: .2s;
}

.reveal.d3 {
  transition-delay: .3s;
}

.reveal.d4 {
  transition-delay: .4s;
}

.reveal.d5 {
  transition-delay: .5s;
}

/* ============================================================
   Inner / legal pages
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--grad-start), var(--grad-end));
  padding: calc(var(--nav-h) + 70px) 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--forest);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero .updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .65);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--teal-dark);
  position: relative;
  z-index: 1;
}

.page-hero .crumb {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.page-hero .crumb a {
  color: var(--teal-dark);
  font-weight: 600;
}

.page-hero .crumb a:hover {
  text-decoration: underline;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 44px;
  align-items: start;
  padding: 70px 0;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(1, 80, 68, .09);
  box-shadow: 0 6px 20px rgba(1, 80, 68, .05);
}

.legal-toc h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  font-size: .84rem;
  color: var(--ink-soft);
  padding: 7px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: .25s ease;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--teal-dark);
  border-left-color: var(--lime);
  background: rgba(134, 209, 4, .07);
  font-weight: 600;
}

.legal-body {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 46px;
  border: 1px solid rgba(1, 80, 68, .09);
  box-shadow: 0 6px 24px rgba(1, 80, 68, .05);
}

.legal-body h2 {
  font-size: 1.3rem;
  color: var(--forest);
  margin: 40px 0 14px;
  padding-top: 10px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h2 .h-num {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--grad-start), var(--card));
  color: var(--teal-dark);
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.legal-body h3 {
  font-size: 1.02rem;
  color: var(--teal-dark);
  margin: 24px 0 10px;
}

.legal-body p {
  font-size: .93rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 16px 6px;
}

.legal-body ul li {
  font-size: .93rem;
  color: var(--ink-soft);
  line-height: 1.8;
  padding-left: 26px;
  position: relative;
  margin-bottom: 9px;
}

.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--lime);
}

.legal-body a {
  color: var(--blue);
  font-weight: 500;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-body .note {
  background: rgba(134, 209, 4, .09);
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.7;
}

.legal-body .warn {
  background: rgba(163, 0, 0, .06);
  border-left: 4px solid var(--red);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.7;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: .88rem;
}

.legal-body th {
  background: var(--teal-dark);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
}

.legal-body th:first-child {
  border-radius: 12px 0 0 0;
}

.legal-body th:last-child {
  border-radius: 0 12px 0 0;
}

.legal-body td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(1, 80, 68, .09);
  color: var(--ink-soft);
  line-height: 1.6;
}

.legal-body tr:nth-child(even) td {
  background: rgba(209, 230, 231, .25);
}

/* ---------------- Delete page steps ---------------- */
.del-steps {
  counter-reset: step;
  margin: 24px 0;
}

.del-step {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 28px;
}

.del-step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 50px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--grad-start), transparent);
}

.del-step:last-child::before {
  display: none;
}

.del-step .ds-num {
  counter-increment: step;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(27, 67, 50, .25);
}

.del-step .ds-num::after {
  content: counter(step);
}

.del-step .ds-body h3 {
  margin-top: 6px;
}

.del-step .ds-body p {
  margin-bottom: 4px;
}

/* FAQ accordion */
.faq-item {
  border: 1px solid rgba(1, 80, 68, .11);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s ease;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--forest);
  text-align: left;
}

.faq-q .chev {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: rgba(134, 209, 4, .14);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s ease, background .35s ease;
}

.faq-item.open .chev {
  transform: rotate(180deg);
  background: var(--lime);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .45s ease;
  padding: 0 22px;
}

.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 22px 20px;
}

.faq-a p {
  font-size: .89rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .phone-wrap {
    margin-top: 50px;
  }

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

  .steps {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .secure-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(320px, 82vw);
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    box-shadow: -20px 0 60px rgba(1, 80, 68, .18);
    transition: right .4s cubic-bezier(.22, .8, .35, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
  }

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  section {
    padding: 70px 0;
  }

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

  .legal-body {
    padding: 32px 22px;
  }

  .cta-box {
    padding: 54px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: center;
  }

  .chip {
    display: none;
  }

  .phone {
    width: 270px;
    height: 560px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}