:root {
  --ci-gold: #F9C400;
  --ci-gold-1: #FFE55A;
  --ci-gold-2: #FDBA12;
  --ci-gold-3: #F28C00;
  --ci-black: #111111;
  --ci-white: #ffffff;
  --ci-border: #d6d7db;
  --ci-muted: #6b6e76;
  --ci-error: #dc2626;
  --ci-success: #16a34a;
  --ci-info: #2563eb;
  --ff-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-heading: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-base: 16px;
  --fs-sm: clamp(14px, 3.2vw, 15px);
  --fs-md: clamp(16px, 2.6vw, 17px);
  --fs-lg: clamp(18px, 2.4vw, 19px);
  --fs-h3: clamp(20px, 3.6vw, 24px);
  --fs-h2: clamp(24px, 4.2vw, 32px);
  --fs-h1: clamp(32px, 5.2vw, 40px);
  --lh: 1.6;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --gap-1: 10px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 36px;
  --container-max: 1200px;
  --container-pad: 16px;
  --shadow-1: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-2: 0 12px 32px rgba(0,0,0,0.12);
  --transition-fast: 150ms ease;
  --transition-med: 240ms ease;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ci-black: #ffffff;
    --ci-white: #1a1a1a;
    --ci-border: #3f3f46;
    --ci-muted: #a1a1aa;
    --ci-error: #ef4444;
    --ci-success: #22c55e;
    --ci-info: #3b82f6;
    --shadow-1: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-2: 0 12px 32px rgba(0,0,0,0.3);
  }

  .front-hero {
    background: linear-gradient(180deg, rgba(253,186,18,0.12), rgba(0,0,0,0));
    color: var(--ci-black);
  }

  .hero-sub {
    color: var(--ci-muted);
  }

  .hero-trust {
    color: var(--ci-muted);
  }

  .hero-trust li::before {
    box-shadow: 0 0 0 3px rgba(253,186,18,0.35);
  }

  .hero-visual {
    background: var(--ci-white);
  }

  .front-features {
    background: var(--ci-white);
  }

  .section-intro {
    color: var(--ci-muted);
  }

  .feature {
    background: #2d2d2d;
    border-color: rgba(255,255,255,0.12);
    box-shadow: var(--shadow-1);
  }

  .feature:hover {
    border-color: rgba(253,186,18,0.55);
    box-shadow: var(--shadow-2);
  }

  .feature-text {
    color: var(--ci-muted);
  }

  .front-cta {
    background: linear-gradient(180deg, rgba(253,186,18,0.12), rgba(0,0,0,0));
  }

  .cta-sub {
    color: var(--ci-muted);
  }

  .btn-gold {
    color: var(--ci-black);
  }

  .btn-ghost {
    color: var(--ci-black);
    border-color: rgba(255,255,255,0.12);
  }

  .btn-ghost:hover {
    border-color: var(--ci-gold-2);
  }
}

@media (max-width: 767.98px) {
  :root {
    --space-section-sm: calc(var(--space-4) - 6px);
    --space-section-md: calc(var(--space-5) - 8px);
    --space-section-lg: calc(var(--space-6) - 10px);
  }
}

@media (min-width: 1200px) {
  :root {
    --container-pad: 24px;
  }
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  font-size: var(--fs-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-med), background var(--transition-med), color var(--transition-med), border-color var(--transition-med);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid var(--ci-gold-2);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-gold {
  background: linear-gradient(90deg, var(--ci-gold-1), var(--ci-gold-2), var(--ci-gold-3));
  color: var(--ci-black);
  box-shadow: var(--shadow-1);
}

.btn-gold:hover {
  filter: brightness(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--ci-black);
  border-color: var(--ci-border);
}

.btn-ghost:hover {
  border-color: var(--ci-gold-2);
}

.front-hero {
  background: linear-gradient(180deg, rgba(253,186,18,0.08), rgba(255,255,255,0));
  color: var(--ci-black);
  padding: clamp(32px, 8vw, 96px) 0;
  isolation: isolate;
}

.front-hero .hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--gap-3), 4vw, var(--gap-4));
  align-items: center;
}

@media (min-width: 800px) {
  .front-hero .hero-wrap {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-title {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin: 0 0 var(--gap-2) 0;
}

.hero-sub {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ci-muted);
  margin: 0 0 var(--gap-3) 0;
}

.hero-actions {
  display: flex;
  gap: var(--gap-2);
  flex-wrap: wrap;
  margin: 0 0 var(--gap-3) 0;
}

.hero-actions .btn {
  border-radius: var(--radius);
}

.hero-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: var(--gap-2) 0 0 0;
  list-style: none;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ci-muted);
}

@media (min-width: 560px) {
  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-trust li {
  position: relative;
  padding-left: 22px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ci-gold-2);
  box-shadow: 0 0 0 3px rgba(253,186,18,0.25);
}

.hero-media {
  display: grid;
  place-items: center;
}

.hero-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: calc(var(--radius) + 8px);
  background: var(--ci-white);
  box-shadow: var(--shadow-1);
  object-fit: cover;
  transition: transform var(--transition-fast), box-shadow var(--transition-med);
}

@media (min-width: 800px) {
  .hero-media {
    justify-items: end;
  }
  .hero-visual {
    width: min(44vw, 520px);
  }
}

@media (min-width: 1200px) {
  .hero-visual {
    width: min(40vw, 560px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
}

@media (min-width: 1200px) {
  .front-hero {
    padding-top: 104px;
    padding-bottom: 112px;
  }
}

.front-features {
  padding: 40px 0;
  background: var(--ci-white);
}

.section-title {
  font-size: var(--fs-h2);
  margin: 0 0 10px;
  text-align: center;
  font-weight: 700;
}

.section-intro {
  text-align: center;
  color: var(--ci-muted);
  margin: 0 0 22px;
  font-size: var(--fs-lg);
  line-height: 1.5;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ci-border);
  background: var(--ci-white);
  box-shadow: var(--shadow-1);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(253,186,18,0.45);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(65% 65% at 30% 30%, var(--ci-gold-1), var(--ci-gold-2) 60%, var(--ci-gold-3));
  color: var(--ci-black);
  box-shadow: 0 4px 14px rgba(253,186,18,0.35);
}

.feature-icon i {
  font-size: 22px;
}

@media (min-width: 992px) {
  .feature-icon i {
    font-size: 26px;
  }
}

.feature-title {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
  font-weight: 800;
}

.feature-text {
  margin: 0;
  color: var(--ci-muted);
  font-size: var(--fs-md);
  line-height: 1.5;
}

.features-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.front-cta {
  padding: 36px 0 46px;
  background: linear-gradient(180deg, rgba(253,186,18,0.10), rgba(255,255,255,0));
}

.cta-title {
  font-size: var(--fs-h2);
  text-align: center;
  margin: 0 0 8px;
  font-weight: 700;
}

.cta-sub {
  text-align: center;
  color: var(--ci-muted);
  margin: 0 0 18px;
  font-size: var(--fs-md);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  gap: var(--gap-1);
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .front-hero {
    padding: 72px 0 56px;
  }
  .features-list {
    grid-template-columns: repeat(3, 1fr);
  }
}