/* AmoCredit — landing. Tokens → base → layout → components → responsive */
:root {
  --bg: #070d0b;
  --bg-2: #0d1511;
  --panel: #131b17;
  --panel-2: #19231d;
  --text: #f4f8f3;
  --muted: #a9b5ab;
  --green: #b5fa67;
  --green-2: #8dde38;
  --line: rgba(210, 247, 211, .11);
  --radius: 18px;
  --max: 1200px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7, 13, 11, .88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.head-inner { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.brand svg { width: 36px; height: 36px; filter: drop-shadow(0 2px 10px rgba(168, 229, 54, .25)); }
.brand em { font-style: normal; color: #b3f55a; background: linear-gradient(180deg, #d2fa72, #94e03c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 13px; font-weight: 700; }
.nav a { color: #dfe8df; transition: color .2s; }
.nav a:hover { color: var(--green); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
.mobile-menu { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px; border-radius: 12px; border: 0;
  font: 800 15px/1 var(--font); color: #10200b; cursor: pointer;
  background: linear-gradient(120deg, #c9ff83, var(--green-2));
  box-shadow: 0 8px 28px rgba(141, 222, 56, .22);
  transition: transform .2s, filter .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 34px rgba(141, 222, 56, .32); }
.btn .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; border-radius: 10px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 0;
  background:
    radial-gradient(ellipse at 76% 30%, rgba(70, 160, 48, .26), transparent 42%),
    linear-gradient(180deg, #0e170f 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 12px; min-height: 520px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 99px;
  font-size: 12px; font-weight: 700; color: #d6f5b0; background: rgba(40, 70, 30, .55); border: 1px solid #355a2b;
}
.eyebrow-pill .icon { color: var(--green); width: 14px; height: 14px; }
h1 { font: 600 clamp(30px, 3.7vw, 52px)/1.14 var(--display); letter-spacing: -.035em; margin: 24px 0 18px; }
h1 .accent { color: var(--green); }
.hero-sub { font-size: 18px; color: #dfe7de; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 32px; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: #e6ede5; }
.chips .ring { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #45703a; background: #162418; color: var(--green); font-size: 20px; }
.hero .btn { min-width: 280px; }
.fine { margin: 14px 0 0; font-size: 12px; color: #8a9a8d; }

/* Hero art */
.art { position: relative; height: 480px; isolation: isolate; }
.art-glow { position: absolute; inset: 6% 2%; background: radial-gradient(ellipse at 55% 52%, rgba(121, 240, 62, .34), transparent 56%); filter: blur(18px); z-index: -1; }
.phone {
  position: absolute; left: 26%; top: 2%; width: 232px; height: 410px; padding: 36px 14px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 36px; border: 9px solid #46544d; outline: 2px solid #7d8c84;
  background: linear-gradient(150deg, #1d2e26, #080e0b 80%);
  box-shadow: 26px 34px 44px rgba(0, 0, 0, .7); transform: rotate(-12deg);
}
.phone::before { content: ''; position: absolute; top: -1px; left: 32%; width: 36%; height: 18px; background: #020605; border-radius: 0 0 14px 14px; }
.phone-ok { width: 80px; height: 80px; margin: 40px 0 16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #142a0a; font-size: 44px; box-shadow: 0 0 46px rgba(141, 255, 71, .6); }
.phone-ok .icon { stroke-width: 3; }
.phone small { font-size: 11px; color: #9fb0a2; }
.phone strong { font: 600 20px/1.2 var(--display); letter-spacing: -.02em; }
.card3d {
  position: absolute; right: -2%; bottom: 14px; z-index: 3; width: 260px; height: 168px; padding: 20px 22px;
  border-radius: 20px; border: 1px solid #5f7e4d; transform: rotate(13deg);
  background: linear-gradient(125deg, #2b3a2f, #0e1712 72%); box-shadow: 18px 24px 34px rgba(0, 0, 0, .6);
}
.card3d .brand { font-size: 14px; }
.card3d .brand svg { width: 26px; height: 26px; }
.card3d .chip { display: block; margin-top: 26px; width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(90deg, #b8ba8d, #667559, #b8ba8d); }
.card3d .dots { position: absolute; right: 22px; bottom: 20px; width: 28px; height: 28px; border-radius: 50%; background: #b5fa67; box-shadow: 18px 0 rgba(181,250,103,.45); }
.ring-arc { position: absolute; left: 4%; top: 30%; width: 94%; height: 50%; z-index: 4; pointer-events: none; transform: rotate(-20deg);
  border: 5px solid rgba(169, 255, 65, .85); border-radius: 50%; filter: drop-shadow(0 0 16px #99ff34);
  clip-path: polygon(0 24%, 100% 4%, 100% 90%, 0 100%); }
.float {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  font-size: 12px; font-weight: 700; line-height: 1.3; border-radius: 14px; color: #e8f0e6;
  background: rgba(22, 34, 26, .85); border: 1px solid #4b7240; backdrop-filter: blur(8px); box-shadow: 0 10px 22px rgba(0, 0, 0, .55);
}
.float .icon { color: var(--green); width: 20px; height: 20px; }
.float-a { top: 8%; right: 0; }
.float-b { bottom: 12%; left: 6%; }

/* Trust strip */
.trust { position: relative; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; padding: 22px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.trust > div { display: flex; align-items: center; gap: 13px; }
.trust .ring { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #2a4125; color: var(--green); font-size: 20px; }
.trust b, .trust small { display: block; line-height: 1.35; }
.trust b { font-size: 13px; }
.trust small { font-size: 12px; color: #9cab9d; }

/* Sections */
.section { padding: 88px 0 0; }
h2 { font: 600 clamp(22px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -.025em; margin-bottom: 14px; }
h2 .accent { color: var(--green); }
.lead { max-width: 640px; font-size: 16px; margin-bottom: 30px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { padding: 26px; min-height: 210px; background: linear-gradient(155deg, #1b251f, #101713); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.tile:hover { border-color: #3d6535; transform: translateY(-3px); }
.tile .ring { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; background: #2e4629; color: var(--green); font-size: 26px; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { margin: 0; font-size: 14px; }

.steps-panel { padding: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.steps-head h2 { font-size: clamp(21px, 2.1vw, 27px); }
.steps-head p { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; display: flex; gap: 15px; counter-increment: s; }
.steps li::before { content: counter(s); flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #112208; font-size: 18px; font-weight: 800; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 62px; right: -14px; border-top: 2px dotted #3f5a3c; transform: translateX(150px); display: none; }
.steps h3 { font-size: 15px; margin: 2px 0 4px; }
.steps p { margin: 0; font-size: 13px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.about-card { padding: 38px; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, rgba(100, 200, 60, .2), transparent 55%), var(--panel); border: 1px solid var(--line); }
.about-card .btn { margin-top: 10px; }
.uses { padding: 14px 26px; margin: 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; display: flex; flex-direction: column; justify-content: center; }
.uses li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: #e1eae0; }
.uses li:last-child { border-bottom: 0; }
.uses .icon { width: 24px; height: 24px; color: var(--green); }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 2px; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 40px 20px 2px; font-size: 14.5px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px 46px; border: 1px solid #34582e; border-radius: 22px; background: linear-gradient(110deg, #264220, #121e16); }
.cta-band h2 { font-size: clamp(21px, 2.3vw, 29px); margin-bottom: 8px; }
.cta-band p { margin: 0; }

/* Footer */
.footer { margin-top: 90px; padding: 34px 0 30px; border-top: 1px solid var(--line); background: #060b09; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 26px; font-size: 14px; }
.footer nav a:hover { color: var(--green); }
.lang { display: inline-flex; padding: 4px; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 800; }
.lang a, .lang span { padding: 7px 14px; border-radius: 7px; }
.lang span { background: var(--green); color: #10200b; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--text); }
.legal { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: #7f9183; }
.legal p { margin: 0 0 8px; color: inherit; }

/* Sticky mobile CTA */
.sticky { display: none; }

/* Tablet */
@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .art { transform: scale(.86); transform-origin: center; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .about, .faq-wrap { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 720px) {
  html { scroll-padding-top: 68px; }
  body { font-size: 14px; padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 32px); }
  .head-inner { height: 62px; }
  .brand { font-size: 17px; }
  .brand svg { width: 32px; height: 32px; }
  .nav, .header .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-menu:not([hidden]) { display: grid; gap: 2px; padding: 8px 16px 18px; background: #0c130f; border-top: 1px solid var(--line); }
  .mobile-menu a { padding: 12px 0; font-weight: 700; border-bottom: 1px solid var(--line); }

  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  h1 { font-size: clamp(27px, 7.6vw, 38px); margin: 20px 0 14px; }
  .hero-sub { font-size: 15px; }
  .chips { gap: 12px 18px; margin-bottom: 24px; }
  .chips li { font-size: 11.5px; }
  .chips .ring { width: 36px; height: 36px; font-size: 17px; }
  .hero .btn { width: 100%; min-width: 0; }
  .art { height: 400px; width: 100%; max-width: 380px; margin: 8px auto -90px; transform: scale(.76); transform-origin: top center; }
  .phone { left: 12%; top: 0; }
  .card3d { right: -14%; bottom: -10px; }
  .float-b { left: 0; bottom: 4%; }

  .trust { grid-template-columns: 1fr 1fr; padding: 16px; gap: 14px 10px; }
  .trust .ring { width: 34px; height: 34px; font-size: 16px; }
  .trust b { font-size: 12px; }
  .trust small { font-size: 11px; }

  .section { padding-top: 56px; }
  .lead { font-size: 14px; margin-bottom: 22px; }
  .benefits { grid-template-columns: 1fr; gap: 10px; }
  .tile { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; min-height: 0; padding: 18px; }
  .tile .ring { grid-row: span 2; margin: 0; }
  .tile h3 { margin: 0 0 4px; font-size: 15px; }
  .tile p { font-size: 13px; }

  .steps-panel { padding: 22px; }
  .steps-head { display: block; }
  .steps-head .btn { display: none; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .steps li:not(:last-child)::after { display: block; transform: none; top: 48px; bottom: -20px; left: 21px; right: auto; border-top: 0; border-left: 2px dotted #3f5a3c; }

  .about-card { padding: 24px; }
  .about-card .btn { width: 100%; }
  .uses { padding: 6px 18px; }
  .faq summary { font-size: 14.5px; padding: 16px 2px; }
  .faq details p { margin-right: 10px; font-size: 13.5px; }
  .cta-band { display: block; padding: 26px; }
  .cta-band .btn { width: 100%; margin-top: 20px; }
  .footer { margin-top: 56px; }
  .footer-top { display: grid; gap: 20px; }
  .footer nav { flex-wrap: wrap; gap: 12px 22px; }

  .sticky {
    position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 14, 11, .96); backdrop-filter: blur(14px); border-top: 1px solid #3d6535; box-shadow: 0 -10px 28px rgba(0, 0, 0, .55);
  }
  .sticky div { display: grid; line-height: 1.25; }
  .sticky b { font-size: 14px; }
  .sticky small { font-size: 11px; color: #9fb2a1; }
  .sticky .btn { margin-left: auto; min-height: 48px; padding: 0 22px; white-space: nowrap; }
}
@media (max-width: 380px) {
  .sticky div { display: none; }
  .sticky .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}
