/* ===========================================================
   Kvikkredit — site stylesheet.
   Layout after Creditstar's set-up (hero with form card, USPs, steps,
   requirements, FAQ), look after LendMe (soft greens, rounded cards,
   serif headlines). No global element reset: the AXO/LendMe widget
   keeps its own styling, so everything here is class-based.
   =========================================================== */

:root{
  --kk-ink:#14231f;
  --kk-muted:#55655f;
  --kk-green:#1f6f58;
  --kk-green-600:#195c49;
  --kk-green-900:#0f3b30;
  --kk-mint:#d6ece3;
  --kk-mint-50:#f1f8f5;
  --kk-line:#dbe7e2;
  --kk-accent:#ffd45c;
  --kk-accent-600:#f3c43c;
  --kk-radius:28px;
  --kk-radius-md:20px;
  --kk-shadow:0 1px 2px rgba(15,59,48,.06), 0 12px 32px -12px rgba(15,59,48,.18);
  --kk-serif:"Fraunces", Georgia, serif;
  --kk-sans:"Open Sans", Arial, sans-serif;
  --kk-max:1200px;
}

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body.kk-body{
  margin:0; background:#fff; color:var(--kk-ink);
  font:400 16px/1.6 var(--kk-sans);
  -webkit-font-smoothing:antialiased;
}
body.kk-nav-open{ overflow:hidden; }
[class^="kk-"],[class*=" kk-"],[class^="kk-"]::before,[class*=" kk-"]::after{ box-sizing:border-box; }
.kk-container{ width:min(var(--kk-max), calc(100% - 40px)); margin:0 auto; }

.kk-skip{ position:absolute; left:-9999px; top:8px; z-index:100; background:#fff; padding:8px 14px; border-radius:8px; }
.kk-skip:focus{ left:12px; }

/* ---------- Buttons ---------- */
.kk-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:0 26px; border-radius:999px; border:0;
  font:700 16px/1 var(--kk-sans); text-decoration:none; cursor:pointer;
  transition:background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.kk-btn:focus-visible{ outline:3px solid var(--kk-accent); outline-offset:3px; }
.kk-btn--primary{ background:var(--kk-green); color:#fff; }
.kk-btn--primary:hover{ background:var(--kk-green-600); }
.kk-btn--accent{ background:var(--kk-accent); color:var(--kk-green-900); }
.kk-btn--accent:hover{ background:var(--kk-accent-600); }
.kk-btn--light{ background:#fff; color:var(--kk-green-900); }
.kk-btn--light:hover{ background:var(--kk-mint); }
.kk-btn--block{ width:100%; }
.kk-btn:active{ transform:translateY(1px); }

/* ---------- Header ---------- */
.kk-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88); backdrop-filter:saturate(1.4) blur(10px);
  -webkit-backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid rgba(219,231,226,.7);
}
.kk-header__inner{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:24px; }
.kk-logo{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--kk-green); }
.kk-logo__mark{ display:inline-flex; color:var(--kk-green); }
.kk-logo__word{ font:700 24px/1 var(--kk-serif); color:var(--kk-ink); letter-spacing:-.02em; font-variation-settings:"SOFT" 100,"WONK" 0; }
.kk-logo--light .kk-logo__mark{ color:#fff; }
.kk-logo--light .kk-logo__word{ color:#fff; }

.kk-nav{ display:flex; align-items:center; gap:30px; }
.kk-nav a{ font:600 15px/1.2 var(--kk-sans); color:var(--kk-green-900); text-decoration:none; }
.kk-nav a:not(.kk-btn):hover, .kk-nav a[aria-current="page"]{ color:var(--kk-green); text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:2px; }
.kk-nav .kk-nav__cta{ min-height:42px; padding:0 22px; font-size:15px; color:#fff; }

.kk-burger{ display:none; width:44px; height:44px; border:0; border-radius:12px; background:var(--kk-mint-50); cursor:pointer; padding:0; position:relative; }
.kk-burger span{ position:absolute; left:12px; right:12px; height:2px; border-radius:2px; background:var(--kk-green-900); transition:transform .2s ease, opacity .2s ease; }
.kk-burger span:nth-child(1){ top:15px; } .kk-burger span:nth-child(2){ top:21px; } .kk-burger span:nth-child(3){ top:27px; }
.kk-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.kk-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.kk-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.kk-h1, .kk-h2, .kk-h3, .kk-hero__title{
  font-family:var(--kk-serif); font-weight:600; letter-spacing:-.02em; color:var(--kk-ink); margin:0;
  font-variation-settings:"SOFT" 100,"WONK" 0;
}
.kk-h1{ font-size:clamp(34px, 4.4vw, 52px); line-height:1.08; }
.kk-h2{ font-size:clamp(28px, 3.2vw, 40px); line-height:1.12; }
.kk-h3{ font-size:24px; line-height:1.2; margin-bottom:18px; }
.kk-h2--light{ color:#fff; }
.kk-kicker{ margin:0 0 10px; font:700 13px/1.2 var(--kk-sans); letter-spacing:.08em; text-transform:uppercase; color:var(--kk-green); }
.kk-kicker--light{ color:var(--kk-accent); }
.kk-note{ margin:14px 0 0; font-size:14px; color:var(--kk-muted); }
.kk-note a, .kk-section__lede a, .kk-prose a{ color:var(--kk-green); text-underline-offset:3px; }

/* ---------- Hero ---------- */
.kk-hero{ padding:20px 0 0; }
.kk-hero__panel{
  position:relative; overflow:hidden; border-radius:var(--kk-radius);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,480px); gap:48px; align-items:center;
  padding:64px 56px;
  background:
    radial-gradient(60rem 30rem at 0% 0%, rgba(77,170,138,.55), rgba(77,170,138,0) 60%),
    radial-gradient(40rem 30rem at 100% 100%, rgba(255,212,92,.22), rgba(255,212,92,0) 60%),
    linear-gradient(150deg, #134a3c 0%, #0f3b30 55%, #0b2d25 100%);
  color:#fff;
}
.kk-hero__shapes{ position:absolute; inset:0; pointer-events:none; }
.kk-hero__shapes span{ position:absolute; border-radius:50%; pointer-events:none; }
.kk-hero__shapes span:nth-child(1){ width:520px; height:520px; right:-160px; top:-220px; border:1px solid rgba(255,255,255,.10); }
.kk-hero__shapes span:nth-child(2){ width:360px; height:360px; right:-80px; top:-140px; border:1px solid rgba(255,255,255,.08); }
.kk-hero__shapes span:nth-child(3){ width:260px; height:260px; left:-90px; bottom:-130px; background:rgba(214,236,227,.08); }
.kk-hero__copy{ position:relative; z-index:1; }
.kk-eyebrow{
  display:inline-flex; align-items:center; gap:8px; margin:0 0 22px; padding:7px 14px 7px 12px;
  border-radius:999px; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16);
  font:600 14px/1.2 var(--kk-sans); color:#e7f3ee;
}
.kk-dot{ width:8px; height:8px; border-radius:50%; background:var(--kk-accent); box-shadow:0 0 0 4px rgba(255,212,92,.2); }
.kk-hero__title{ color:#fff; font-size:clamp(36px, 4.6vw, 58px); line-height:1.06; }
.kk-mark{ color:var(--kk-accent); white-space:nowrap; }
.kk-hero__lede{ margin:20px 0 0; max-width:520px; font-size:18px; line-height:1.6; color:#d9ebe4; }
.kk-hero__list{ list-style:none; margin:26px 0 0; padding:0; display:grid; gap:12px; }
.kk-hero__list li{ display:flex; align-items:center; gap:12px; font-weight:600; color:#fff; }
.kk-hero__list svg{ flex:none; color:var(--kk-accent); }
.kk-hero__trust{ display:flex; flex-wrap:wrap; gap:10px; margin-top:34px; }
.kk-hero__trust span{ padding:10px 16px; border-radius:14px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); font-size:14px; color:#cfe4dc; }
.kk-hero__trust strong{ display:block; font:600 18px/1.3 var(--kk-serif); color:#fff; font-variation-settings:"SOFT" 100,"WONK" 0; }

.kk-hero__form{ position:relative; z-index:1; scroll-margin-top:96px; color:var(--kk-ink); }
.kk-form-panel{ min-height:460px; }
.kk-form-panel__loading{
  min-height:460px; display:flex; align-items:center; justify-content:center;
  border-radius:40px; background:#f4f9f7; color:var(--kk-green-900); font-size:15px;
  box-shadow:0 0 1px rgba(110,110,109,.25), 0 4px 12px rgba(110,110,109,.12);
}
/* Static price example; hidden by axo-embed.js once the widget (which
   prints its own) has loaded. */
.hero__disclaimer{ margin:12px 4px 0; font-size:12px; line-height:1.5; color:#b9d4ca; text-align:center; }

/* ---------- USPs ---------- */
.kk-usps{ padding:28px 0 8px; }
.kk-usps__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.kk-usp{ display:flex; gap:16px; align-items:flex-start; padding:22px; border-radius:var(--kk-radius-md); background:var(--kk-mint-50); border:1px solid var(--kk-line); }
.kk-usp__icon{ flex:none; display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--kk-green); color:#fff; }
.kk-usp h2{ margin:0 0 4px; font:700 17px/1.3 var(--kk-sans); color:var(--kk-ink); }
.kk-usp p{ margin:0; font-size:15px; line-height:1.5; color:var(--kk-muted); }

/* ---------- Sections ---------- */
.kk-section{ padding:96px 0; scroll-margin-top:72px; }
.kk-section--tint{ background:var(--kk-mint-50); }
.kk-section--flush{ padding-top:8px; }
.kk-section__head{ max-width:720px; margin:0 auto 48px; text-align:center; }
.kk-section__head--left{ margin:0; text-align:left; }
.kk-section__lede{ margin:16px 0 0; font-size:18px; color:var(--kk-muted); }

/* Steps */
.kk-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; counter-reset:none; }
.kk-step{ position:relative; padding:32px 28px; border-radius:var(--kk-radius-md); background:#fff; border:1px solid var(--kk-line); box-shadow:var(--kk-shadow); }
.kk-step__num{ display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:var(--kk-mint); color:var(--kk-green-900); font:600 22px/1 var(--kk-serif); margin-bottom:20px; }
.kk-step h3{ margin:0 0 8px; font:600 22px/1.25 var(--kk-serif); color:var(--kk-ink); font-variation-settings:"SOFT" 100,"WONK" 0; }
.kk-step p{ margin:0; color:var(--kk-muted); }

/* Purposes */
.kk-purposes{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.kk-purpose{
  display:block; padding:26px; border-radius:var(--kk-radius-md); background:#fff; border:1px solid var(--kk-line);
  text-decoration:none; color:inherit; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.kk-purpose:hover{ transform:translateY(-3px); box-shadow:var(--kk-shadow); border-color:#b3dccb; }
.kk-purpose:focus-visible{ outline:3px solid var(--kk-green); outline-offset:3px; }
.kk-purpose__icon{ display:grid; place-items:center; width:52px; height:52px; border-radius:16px; background:var(--kk-mint); color:var(--kk-green); margin-bottom:16px; }
.kk-purpose h3{ margin:0 0 6px; font:700 18px/1.3 var(--kk-sans); color:var(--kk-ink); }
.kk-purpose p{ margin:0; font-size:15px; color:var(--kk-muted); }

/* Split cards */
.kk-split{ display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch; }
.kk-split--contact{ align-items:start; }
.kk-card{ padding:44px; border-radius:var(--kk-radius); background:#fff; border:1px solid var(--kk-line); box-shadow:var(--kk-shadow); }
.kk-card--dark{ background:linear-gradient(160deg,#134a3c,#0f3b30); border-color:transparent; color:#fff; }
.kk-checklist{ list-style:none; margin:24px 0 30px; padding:0; display:grid; gap:14px; }
.kk-checklist li{ display:flex; gap:12px; align-items:flex-start; color:#e2f0ea; }
.kk-checklist svg{ flex:none; margin-top:2px; color:var(--kk-accent); }
.kk-reqs{ list-style:none; margin:24px 0 0; padding:0; display:grid; gap:12px; }
.kk-reqs li{ display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:16px; background:var(--kk-mint-50); font-weight:600; }
.kk-reqs span{ flex:none; display:grid; place-items:center; min-width:46px; height:36px; padding:0 8px; border-radius:10px; background:#fff; border:1px solid var(--kk-line); font:700 13px/1 var(--kk-sans); color:var(--kk-green); }

/* Banks */
.kk-banks{ padding:16px 0 88px; }
.kk-banks__title{ margin:0 0 26px; text-align:center; font:600 15px/1.4 var(--kk-sans); color:var(--kk-muted); }
.kk-banks__row{ display:flex; flex-wrap:wrap; justify-content:center; gap:18px 36px; }
.kk-banks__row img{ height:34px; width:auto; filter:grayscale(1); opacity:.7; transition:filter .2s ease, opacity .2s ease; }
.kk-banks__row img:hover{ filter:none; opacity:1; }

/* FAQ */
.kk-faq{ display:grid; grid-template-columns:minmax(0,4fr) minmax(0,7fr); gap:56px; align-items:start; }
.kk-faq__list{ display:grid; gap:12px; }
.kk-faq__item{ border-radius:18px; background:#fff; border:1px solid var(--kk-line); }
.kk-faq__item summary{
  list-style:none; cursor:pointer; position:relative; padding:20px 56px 20px 22px;
  font:700 17px/1.4 var(--kk-sans); color:var(--kk-ink);
}
.kk-faq__item summary::-webkit-details-marker{ display:none; }
.kk-faq__item summary::after{
  content:""; position:absolute; right:20px; top:50%; width:24px; height:24px; margin-top:-12px; border-radius:50%;
  background:var(--kk-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%230f3b30' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition:transform .2s ease;
}
.kk-faq__item[open] summary::after{ transform:rotate(45deg); }
.kk-faq__item summary:focus-visible{ outline:3px solid var(--kk-green); outline-offset:2px; border-radius:18px; }
.kk-faq__item p{ margin:0; padding:0 22px 20px; color:var(--kk-muted); }

/* CTA band */
.kk-cta{ padding:0 0 96px; }
.kk-section--tint + .kk-cta{ padding-top:96px; background:linear-gradient(180deg, var(--kk-mint-50) 0, #fff 50%); }
.kk-cta__panel{
  border-radius:var(--kk-radius); padding:64px 40px; text-align:center;
  background:radial-gradient(40rem 20rem at 50% 0%, rgba(77,170,138,.45), rgba(77,170,138,0) 70%), linear-gradient(150deg,#134a3c,#0f3b30);
  color:#d9ebe4;
}
.kk-cta__panel p{ margin:14px 0 28px; font-size:18px; }

/* Page head (sub pages) */
.kk-pagehead{ padding:72px 0 40px; background:radial-gradient(50rem 22rem at 0% 0%, rgba(214,236,227,.9), rgba(214,236,227,0) 65%); }
.kk-pagehead .kk-section__lede{ max-width:680px; }

/* Prose (privacy) */
.kk-prose{ max-width:760px; padding-bottom:80px; }
.kk-prose h2{ margin:40px 0 10px; font:600 24px/1.25 var(--kk-serif); color:var(--kk-ink); font-variation-settings:"SOFT" 100,"WONK" 0; }
.kk-prose h2:first-child{ margin-top:0; }
.kk-prose p, .kk-prose li{ color:#33433e; }
.kk-prose ul{ padding-left:22px; }
.kk-prose li{ margin:6px 0; }

/* Contact form */
.kk-form .input-wrapper{ margin-bottom:16px; }
.kk-form label{ display:block; margin-bottom:6px; font:600 14px/1.3 var(--kk-sans); color:var(--kk-ink); }
.kk-form input[type=text], .kk-form input[type=email], .kk-form input[type=tel], .kk-form textarea{
  display:block; width:100%; padding:13px 14px; border:1px solid #c9d8d2; border-radius:12px; background:#fff;
  font:400 16px/1.4 var(--kk-sans); color:var(--kk-ink); box-sizing:border-box;
}
.kk-form textarea{ resize:vertical; min-height:130px; }
.kk-form input:focus, .kk-form textarea:focus{ outline:0; border-color:var(--kk-green); box-shadow:0 0 0 3px rgba(31,111,88,.18); }
.kk-form .error-message{ display:none; margin-top:6px; font-size:13px; color:#b42318; }
.kk-form .error-message.visible{ display:block; }
.form-success, .form-error{ margin:0 0 16px; padding:10px 14px; border-radius:12px; font-size:15px; line-height:1.5; }
.form-success{ background:#e7f5ee; color:#155b3f; }
.form-error{ background:#fdecea; color:#8a1f14; }
.contact-form .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; }
.grecaptcha-badge{ visibility:hidden; }
.contact-form__recaptcha{ font-size:12px; line-height:1.4; color:var(--kk-muted); margin-top:8px; }
.contact-form__recaptcha a{ color:inherit; }

/* ---------- Footer ---------- */
.kk-footer{ background:#0b2d25; color:#b9d4ca; padding:72px 0 36px; font-size:15px; }
.kk-footer__grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1.3fr; gap:40px; }
.kk-footer__brand p{ margin:18px 0 0; max-width:380px; line-height:1.6; }
.kk-footer__col{ display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.kk-footer__col h2{ margin:0 0 6px; font:700 13px/1.2 var(--kk-sans); letter-spacing:.08em; text-transform:uppercase; color:#fff; }
.kk-footer__col a:not(.kk-btn){ color:#b9d4ca; text-decoration:none; }
.kk-footer__col a:not(.kk-btn):hover{ color:#fff; text-decoration:underline; }
.kk-footer__col p{ margin:0 0 8px; line-height:1.6; }
.kk-footer__legal{ margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); font-size:13px; line-height:1.6; color:#94b3a8; }
.kk-footer__legal p{ margin:0 0 8px; }
.kk-footer__legal strong{ color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .kk-hero__panel{ grid-template-columns:minmax(0,1fr) minmax(0,440px); gap:32px; padding:48px 36px; }
  .kk-nav{ gap:22px; }
}
@media (max-width:920px){
  .kk-burger{ display:block; }
  .kk-nav{
    position:fixed; inset:72px 0 auto 0; z-index:49; flex-direction:column; align-items:stretch; gap:4px;
    padding:16px 20px 24px; background:#fff; border-bottom:1px solid var(--kk-line);
    box-shadow:0 20px 40px -20px rgba(15,59,48,.3);
    transform:translateY(-12px); opacity:0; visibility:hidden; transition:opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .kk-nav.is-open{ transform:none; opacity:1; visibility:visible; }
  .kk-nav a:not(.kk-btn){ padding:14px 4px; font-size:17px; border-bottom:1px solid var(--kk-line); }
  .kk-nav .kk-nav__cta{ margin-top:14px; min-height:50px; }

  .kk-hero__panel{ grid-template-columns:1fr; padding:40px 24px 28px; }
  .kk-hero__form{ max-width:560px; width:100%; margin:0 auto; }
  .kk-usps__grid, .kk-steps, .kk-purposes{ grid-template-columns:1fr 1fr; }
  .kk-split, .kk-faq{ grid-template-columns:1fr; }
  .kk-faq{ gap:28px; }
  .kk-footer__grid{ grid-template-columns:1fr 1fr; }
  .kk-footer__brand{ grid-column:1 / -1; }
}
@media (max-width:620px){
  .kk-container{ width:calc(100% - 32px); }
  .kk-header__inner{ height:64px; }
  .kk-nav{ inset:64px 0 auto 0; }
  .kk-hero{ padding-top:12px; }
  .kk-hero__panel{ border-radius:22px; padding:30px 16px 16px; gap:26px; }
  .kk-hero__lede{ font-size:16px; }
  .kk-hero__trust{ display:none; }
  .kk-hero__list{ margin-top:20px; gap:10px; }
  .kk-mark{ white-space:normal; }
  .kk-usps__grid, .kk-steps, .kk-purposes{ grid-template-columns:1fr; }
  .kk-section{ padding:64px 0; }
  .kk-card{ padding:28px 20px; border-radius:22px; }
  .kk-cta__panel{ padding:44px 20px; border-radius:22px; }
  .kk-cta{ padding-bottom:64px; }
  .kk-section--tint + .kk-cta{ padding-top:64px; }
  .kk-footer__grid{ grid-template-columns:1fr; gap:28px; }
  .kk-pagehead{ padding:48px 0 28px; }
}
