/* =====================================================
   Kumlehn-Frank – Homepage (2026 redesign)
   Used by index.html only; the other pages keep styles.css.
   ===================================================== */

:root {
  --k-brand:      #5B33E0;
  --k-brand-dk:   #4426B8;
  --k-brand-ink:  #2E1885;
  --k-zest:       #D6F24E;
  --k-peach:      #FFB59E;
  --k-lav:        #EFEAFF;
  --k-lav-2:      #F7F5FF;
  --k-lav-3:      #F3F0FD;
  --k-night:      #17142B;
  --k-paper:      #FBFAFF;
  --k-text:       #17142B;
  --k-text-2:     #4A4663;
  --k-text-3:     #5E5A75;
  --k-line:       #E6E1F5;
  --k-shadow:     0 14px 40px rgba(40, 22, 110, 0.08);
  --k-head:       'Plus Jakarta Sans', 'Inter', sans-serif;
  --k-mono:       'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.k-home {
  font-family: 'Inter', sans-serif;
  background: var(--k-paper);
  color: var(--k-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
.k-home img { max-width: 100%; display: block; }
.k-home a { color: inherit; text-decoration: none; }
.k-home ul { list-style: none; }
.k-home h1, .k-home h2, .k-home h3 { font-family: var(--k-head); line-height: 1.1; }
.mono { font-family: var(--k-mono); }
.k-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.k-tick { width: 20px; height: 20px; flex: none; }

/* --- Buttons --- */
.k-btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px; border-radius: 14px;
  font-weight: 600; font-size: 16px; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.k-btn svg { width: 18px; height: 18px; }
.k-btn:hover { transform: translateY(-2px); }
.k-btn-primary { background: var(--k-brand); color: #fff !important; box-shadow: 0 10px 24px rgba(91, 51, 224, .28); }
.k-btn-primary:hover { background: var(--k-brand-dk); }
.k-btn-ghost { background: #fff; color: var(--k-text) !important; border-color: #DCD5F2; }
.k-btn-ghost:hover { border-color: var(--k-brand); }
.k-btn-zest { background: var(--k-zest); color: var(--k-night) !important; font-weight: 700; }
.k-btn-white { background: #fff; color: var(--k-brand-ink) !important; font-weight: 700; }
.k-btn-line { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.k-btn-block { width: 100%; }

/* --- Nav --- */
.k-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ECE8F7;
}
.k-nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.k-brand { display: flex; align-items: center; gap: 12px; }
.k-brand img { width: 40px; height: 40px; }
.k-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.k-brand-text strong { white-space: nowrap; font-family: var(--k-head); font-size: 19px; letter-spacing: -.02em; }
.k-brand-text span { font-size: 12.5px; color: var(--k-text-3); }
.k-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.k-links a { color: #3B3755; }
.k-links a:hover { color: var(--k-brand); }
.k-nav-cta { display: flex; align-items: center; gap: 6px; }
.k-login { padding: 10px 14px; font-weight: 600; font-size: 15px; }
.k-login:hover { color: var(--k-brand); }
.k-nav .k-btn { min-height: 44px; padding: 10px 18px; font-size: 15px; box-shadow: none; }
.k-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--k-lav); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.k-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--k-night); transition: transform .2s ease, opacity .2s ease; }
.k-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.k-toggle.open span:nth-child(2) { opacity: 0; }
.k-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Shared section bits --- */
.k-section { padding: 96px 0; }
.k-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k-brand); }
.k-h2 { font-size: 42px; letter-spacing: -.03em; margin-top: 10px; }
.k-lead { color: var(--k-text-2); }

/* --- Hero --- */
.k-hero { padding: 72px 0 88px; overflow: hidden; }
.k-hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.k-hero-copy { flex: 1 1 460px; min-width: 0; }
.k-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--k-lav); color: #3A2399; font-size: 14px; font-weight: 600; }
.k-pill-dot { width: 22px; height: 22px; border-radius: 999px; background: var(--k-zest); display: inline-flex; align-items: center; justify-content: center; }
.k-pill-dot svg { width: 12px; height: 12px; }
.k-hero h1 { font-size: 62px; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin-top: 22px; }
.k-hl { color: var(--k-brand); background: linear-gradient(transparent 62%, var(--k-zest) 62%); padding: 0 4px; }
.k-hero-sub { font-size: 19px; color: var(--k-text-2); margin-top: 22px; max-width: 540px; }
.k-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.k-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14.5px; color: var(--k-text-2); font-weight: 500; }
.k-points li { display: inline-flex; align-items: center; gap: 8px; }
.k-points svg { width: 18px; height: 18px; }

.k-hero-art { flex: 1 1 440px; min-width: 0; position: relative; height: 470px; }
.k-art-bg { position: absolute; inset: 30px 0 0 60px; border-radius: 36px; background: var(--k-lav); }
.k-art-sq { position: absolute; right: 24px; top: 70px; width: 64px; height: 64px; border-radius: 20px; background: var(--k-zest); transform: rotate(12deg); }
.k-art-dot { position: absolute; left: 10px; bottom: 34px; width: 86px; height: 86px; border-radius: 999px; background: var(--k-peach); }
.k-window { position: absolute; border-radius: 18px; background: #fff; overflow: hidden; border: 1px solid #ECE8F7; }
.k-window-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #F5F2FF; }
.k-window-bar i { width: 9px; height: 9px; border-radius: 99px; background: #FF8A73; }
.k-window-bar i:nth-child(2) { background: #FFD15C; }
.k-window-bar i:nth-child(3) { background: #7FD99A; }
.k-window-bar span { margin-left: 10px; font-family: var(--k-mono); font-size: 11.5px; color: var(--k-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-window img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.k-window-back { left: 110px; top: 0; width: 380px; box-shadow: 0 24px 60px rgba(40, 22, 110, .16); }
.k-window-front { left: 30px; top: 168px; width: 360px; box-shadow: 0 30px 70px rgba(40, 22, 110, .22); }
.k-price-chip { position: absolute; right: 0; bottom: 18px; width: 230px; border-radius: 18px; background: var(--k-night); color: #fff; padding: 18px 20px; box-shadow: 0 20px 50px rgba(23, 20, 43, .3); }
.k-price-chip small { display: block; font-size: 12.5px; color: #B9B4D6; font-weight: 500; }
.k-price-chip .mono { font-size: 30px; font-weight: 700; color: var(--k-zest); }
.k-price-chip em { font-style: normal; font-size: 14px; color: #B9B4D6; }

/* --- How it works --- */
.k-how { background: #fff; border-top: 1px solid #ECE8F7; border-bottom: 1px solid #ECE8F7; }
.k-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.k-step { flex: 1 1 280px; min-width: 0; padding: 28px; border-radius: 22px; background: var(--k-lav-2); }
.k-step-num { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--k-head); font-weight: 800; font-size: 22px; background: var(--k-brand); color: #fff; }
.k-step:nth-child(2) .k-step-num { background: var(--k-zest); color: var(--k-night); }
.k-step:nth-child(3) .k-step-num { background: var(--k-peach); color: var(--k-night); }
.k-step h3 { font-size: 21px; margin-top: 20px; }
.k-step p { color: var(--k-text-2); margin-top: 8px; }

/* --- Pricing --- */
.k-pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.k-pricing-head > div { max-width: 620px; }
.k-pricing-head p { max-width: 380px; }
.k-plans { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.k-plan { flex: 1 1 440px; min-width: 0; padding: 34px; border-radius: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.k-plan-light { background: #fff; border: 1px solid var(--k-line); box-shadow: var(--k-shadow); }
.k-plan-dark { background: var(--k-night); color: #fff; }
.k-plan-dark::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 999px; background: var(--k-brand); opacity: .55; }
.k-plan > * { position: relative; }
.k-plan-head { display: flex; align-items: center; gap: 14px; }
.k-plan-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--k-lav); display: flex; align-items: center; justify-content: center; flex: none; }
.k-plan-icon svg { width: 24px; height: 24px; }
.k-plan-dark .k-plan-icon { background: var(--k-zest); }
.k-plan-head h3 { font-size: 23px; }
.k-plan-head p { font-size: 14.5px; color: var(--k-text-3); }
.k-plan-dark .k-plan-head p, .k-plan-dark .k-muted { color: #B9B4D6; }
.k-plan-dark .k-muted a { color: var(--k-zest); font-weight: 600; }
.k-tiers { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.k-tier { flex: 1 1 160px; padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--k-line); position: relative; }
.k-tier-alt { border: 2px solid var(--k-brand); background: var(--k-lav-2); }
.k-tier-tag { position: absolute; top: -11px; right: 14px; padding: 2px 10px; border-radius: 99px; background: var(--k-zest); font-size: 12px; font-weight: 700; color: var(--k-night); }
.k-tier-label { font-size: 14px; color: var(--k-text-3); font-weight: 500; }
.k-tier-price { display: flex; align-items: baseline; gap: 6px; }
.k-tier-price .mono { font-size: 34px; font-weight: 700; }
.k-tier-price small { color: var(--k-text-3); font-size: 15px; }
.k-feats { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.k-feats li { display: flex; gap: 10px; }
.k-note { font-size: 14px; color: var(--k-text-3); margin-top: 18px; }
.k-plan-cta { margin-top: auto; padding-top: 26px; }
.k-big-price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.k-big-price .mono { font-size: 52px; font-weight: 700; color: var(--k-zest); letter-spacing: -.02em; }
.k-big-price span:last-child { color: #B9B4D6; }
.k-addon { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .25); }
.k-addon-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.k-addon-head span { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.k-addon p { font-size: 14px; color: #B9B4D6; margin-top: 4px; }
.k-addon .mono { color: #fff; font-weight: 700; }

/* App build card: full width under the other two, the monthly plans beside it */
.k-plan-app { flex-basis: 100%; background: var(--k-brand); color: #fff; }
.k-plan-app::before { content: ""; position: absolute; left: -80px; bottom: -90px; width: 260px; height: 260px; border-radius: 999px; background: var(--k-brand-ink); opacity: .45; }
.k-app-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.k-app-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.k-plan-app .k-plan-icon { background: #fff; }
.k-plan-app .k-plan-head p, .k-plan-app .k-muted, .k-plan-app .k-big-price span:not(.mono) { color: #E4DCFF; }
.k-plan-app .k-big-price .mono { color: #fff; }
.k-plan-app .k-muted { margin-top: 6px; }
.k-plan-app .k-plan-cta .k-btn { align-self: flex-start; }
.k-app-plans { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .1); }
.k-app-plans-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.k-app-plans-head h4 { font-family: var(--k-head); font-size: 19px; }
.k-app-plans-head span { font-size: 13.5px; color: #E4DCFF; }
.k-app-plan { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--k-text); }
.k-app-plan-pop { box-shadow: 0 0 0 3px var(--k-zest); }
.k-app-pop { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 9px; border-radius: 99px; background: var(--k-zest); color: var(--k-night); vertical-align: 2px; }
.k-app-plan-desc { font-size: 13.5px; color: var(--k-text-3); margin-top: 2px; }
.k-app-plan-price { white-space: nowrap; color: var(--k-text-3); font-size: 14px; }
.k-app-plan-price .mono { font-size: 20px; font-weight: 700; color: var(--k-text); }
.k-app-plans-note { font-size: 13.5px; color: #E4DCFF; margin-top: 4px; }

.k-domains { margin-top: 24px; padding: 30px 34px; border-radius: 26px; background: #fff; border: 1px solid var(--k-line); }
.k-domains-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.k-domains-head h3 { font-size: 21px; }
.k-domains-head span { font-size: 14px; color: var(--k-text-3); }
.k-tlds { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.k-tld { padding: 12px 16px; border-radius: 14px; background: var(--k-lav-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--k-mono); }
.k-tld-ext { font-weight: 700; color: var(--k-brand-ink); }
.k-tld-price { font-size: 13.5px; color: #3B3755; }
.k-tld-price .tld-renew { color: #6E6A86; }

/* --- Work --- */
.k-work { background: var(--k-lav-3); }
.k-cases { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.k-case { flex: 1 1 300px; min-width: 0; border-radius: 22px; background: #fff; overflow: hidden; border: 1px solid var(--k-line); box-shadow: 0 12px 34px rgba(40, 22, 110, .07); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.k-case:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(40, 22, 110, .14); }
.k-case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--k-line); }
.k-case-body { padding: 22px 24px 24px; }
.k-case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.k-case-top h3 { font-size: 20px; }
.k-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--k-lav); color: #3A2399; white-space: nowrap; }
.k-case p { color: var(--k-text-2); margin-top: 6px; font-size: 15px; }
.k-case-link { display: inline-block; margin-top: 14px; font-family: var(--k-mono); font-size: 13px; color: var(--k-brand); font-weight: 700; }

/* --- FAQ --- */
.k-faq { background: #fff; }
.k-faq-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.k-faq-intro { flex: 1 1 320px; min-width: 0; }
.k-faq-intro p { margin-top: 16px; }
.k-faq-intro a { color: var(--k-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.k-faq-list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.k-faq-list details { border-radius: 18px; background: var(--k-lav-2); padding: 20px 24px; }
.k-faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.k-faq-list summary::-webkit-details-marker { display: none; }
.k-faq-list summary span { flex: none; width: 30px; height: 30px; border-radius: 99px; background: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.k-faq-list summary svg { width: 16px; height: 16px; }
.k-faq-list details[open] summary span { transform: rotate(45deg); }
.k-faq-list details p { color: var(--k-text-2); margin-top: 10px; }
.k-faq-list details a { color: var(--k-brand); text-decoration: underline; }

/* --- CTA --- */
.k-cta-wrap { background: #fff; padding-bottom: 96px; }
.k-cta { border-radius: 32px; background: var(--k-brand); color: #fff; padding: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 36px; position: relative; overflow: hidden; }
.k-cta::before { content: ""; position: absolute; right: 30%; bottom: -90px; width: 220px; height: 220px; border-radius: 999px; background: var(--k-zest); opacity: .9; }
.k-cta > * { position: relative; }
.k-cta-copy { flex: 1 1 420px; min-width: 0; }
.k-cta h2 { font-size: 44px; letter-spacing: -.03em; line-height: 1.08; }
.k-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.k-cta-contact { flex: 0 1 390px; min-width: 0; padding: 24px 26px; border-radius: 22px; background: rgba(23, 20, 43, .35); display: flex; flex-direction: column; gap: 12px; }
.k-cta-contact a { display: flex; gap: 12px; align-items: center; font-family: var(--k-mono); font-size: 14.5px; color: #fff; overflow-wrap: anywhere; }
.k-cta-contact a:hover { text-decoration: underline; }
.k-cta-contact a.k-review { color: var(--k-zest); }
.k-cta-contact svg { width: 20px; height: 20px; flex: none; }

/* --- Footer --- */
.k-footer { background: var(--k-night); color: #CFCAE6; padding: 44px 0; font-size: 14.5px; }
.k-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.k-footer .k-brand { color: #fff; }
.k-footer .k-brand img { width: 34px; height: 34px; }
.k-footer .k-brand strong { font-family: var(--k-head); font-size: 17px; }
.k-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.k-footer nav a:hover { color: #fff; }
.k-socials { display: flex; gap: 10px; }
.k-socials a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; }
.k-socials a:hover { background: var(--k-brand); }
.k-socials svg { width: 20px; height: 20px; }
.k-copy { margin-top: 26px; font-size: 13px; color: #9C97B8; }

/* --- Focus --- */
.k-home a:focus-visible, .k-home button:focus-visible, .k-home summary:focus-visible { outline: 3px solid var(--k-zest); outline-offset: 3px; border-radius: 8px; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .k-links, .k-login { display: none; }
  .k-toggle { display: flex; }
  .k-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0; padding: 8px 16px 16px;
    background: #fff; border-bottom: 1px solid #ECE8F7; box-shadow: 0 18px 30px rgba(40, 22, 110, .1);
  }
  .k-links.open a { padding: 14px 8px; border-bottom: 1px solid #F0ECFA; font-size: 16px; }
  .k-links .k-only-menu { display: block; }
  .k-hero-art { display: none; }
}
.k-links .k-only-menu { display: none; }
@media (max-width: 720px) {
  .k-wrap { padding: 0 16px; }
  .k-section { padding: 64px 0; }
  .k-hero { padding: 44px 0 60px; }
  .k-hero h1 { font-size: 40px; }
  .k-hero-sub { font-size: 17px; }
  .k-h2 { font-size: 30px; }
  .k-plan { padding: 24px; }
  .k-big-price .mono { font-size: 42px; }
  .k-domains { padding: 22px; }
  .k-cta { padding: 32px 22px; border-radius: 24px; }
  .k-cta h2 { font-size: 32px; }
  .k-cta-wrap { padding-bottom: 64px; }
  .k-brand-text span { display: none; }
  .k-nav .k-btn { padding: 10px 14px; font-size: 14.5px; }
  .k-brand { gap: 10px; }
  .k-brand img { width: 36px; height: 36px; }
  .k-brand-text strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .k-btn, .k-case, .k-faq-list summary span { transition: none; }
}

/* =====================================================
   Inner pages (contact, …) — share the homepage look
   ===================================================== */
.k-links a[aria-current="page"] { color: var(--k-brand); font-weight: 600; }
.k-page-hero { padding: 64px 0 40px; }
.k-page-hero h1 { font-size: 54px; letter-spacing: -.035em; font-weight: 800; margin-top: 18px; }
.k-page-hero p { font-size: 19px; color: var(--k-text-2); margin-top: 16px; max-width: 600px; }

.k-contact { padding: 8px 0 96px; }
.k-contact-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.k-contact-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.k-way { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--k-line); transition: border-color .2s ease, transform .2s ease; }
a.k-way:hover { border-color: var(--k-brand); transform: translateY(-2px); }
.k-way-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--k-lav); display: flex; align-items: center; justify-content: center; flex: none; }
.k-way-icon svg { width: 22px; height: 22px; }
.k-way:nth-child(2) .k-way-icon { background: #F4FBD3; }
.k-way:nth-child(3) .k-way-icon { background: #FFEDE6; }
.k-way small { display: block; font-size: 13px; color: var(--k-text-3); font-weight: 500; }
.k-way strong { font-family: var(--k-mono); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.k-side-card { margin-top: 6px; padding: 24px; border-radius: 22px; background: var(--k-night); color: #fff; position: relative; overflow: hidden; }
.k-side-card::before { content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 999px; background: var(--k-brand); opacity: .6; }
.k-side-card > * { position: relative; }
.k-side-card h3 { font-size: 19px; }
.k-side-card p { color: #CFCAE6; font-size: 15px; margin-top: 6px; }
.k-side-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--k-zest); font-weight: 700; }
.k-side-card a svg { width: 16px; height: 16px; }

.k-form-card { flex: 1.6 1 460px; min-width: 0; padding: 36px; border-radius: 26px; background: #fff; border: 1px solid var(--k-line); box-shadow: var(--k-shadow); }
.k-form-card h2 { font-size: 26px; letter-spacing: -.02em; }
.k-form-sub { color: var(--k-text-3); font-size: 14.5px; margin-top: 4px; }
.k-form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.k-form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.k-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.k-form-row > .k-field { flex: 1 1 200px; }
.k-field label { font-size: 14px; font-weight: 600; }
.k-field input, .k-field select, .k-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--k-text);
  padding: 13px 16px; border-radius: 14px; border: 1.5px solid #DCD5F2; background: var(--k-paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.k-field textarea { min-height: 150px; resize: vertical; }
.k-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B33E0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.k-field input::placeholder, .k-field textarea::placeholder { color: #8A86A0; }
.k-field input:focus, .k-field select:focus, .k-field textarea:focus { outline: none; border-color: var(--k-brand); box-shadow: 0 0 0 4px rgba(91, 51, 224, .14); background: #fff; }
.k-hp { position: absolute; left: -9999px; top: -9999px; }

/* used by script.js after a successful send */
#contactForm.hidden { display: none; }
.k-success { display: none; text-align: center; padding: 30px 10px; }
.k-success.visible { display: block; }
.k-success-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 22px; background: var(--k-zest); display: flex; align-items: center; justify-content: center; }
.k-success-icon svg { width: 34px; height: 34px; }
.k-success h3 { font-size: 26px; margin-top: 20px; }
.k-success p { color: var(--k-text-2); margin-top: 8px; }
.k-success .k-btn { margin-top: 22px; }

@media (max-width: 720px) {
  .k-page-hero { padding: 40px 0 28px; }
  .k-page-hero h1 { font-size: 38px; }
  .k-page-hero p { font-size: 17px; }
  .k-form-card { padding: 24px 20px; }
  .k-contact { padding-bottom: 64px; }
}

/* --- Client login --- */
.k-login-page { padding: 56px 0 96px; }
.k-login-card { max-width: 480px; margin: 0 auto; padding: 40px 36px; border-radius: 26px; background: #fff; border: 1px solid var(--k-line); box-shadow: var(--k-shadow); text-align: center; }
.k-login-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; background: var(--k-lav); display: flex; align-items: center; justify-content: center; }
.k-login-icon svg { width: 30px; height: 30px; }
.k-login-card h1 { font-size: 30px; letter-spacing: -.025em; margin-top: 18px; }
.k-login-card .k-form-sub { margin-top: 8px; font-size: 15px; }
.k-login-card .k-form { text-align: left; }
.k-login-help { margin-top: 22px; font-size: 14.5px; color: var(--k-text-3); }
.k-login-help a { color: var(--k-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-msg { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.form-msg.visible { display: block; }
.form-msg.success { background: var(--k-lav); color: var(--k-brand-ink); }
.form-msg.error { background: #FBE7E4; color: #9A2A15; }
@media (max-width: 720px) { .k-login-card { padding: 30px 22px; } .k-login-page { padding: 32px 0 64px; } }

/* --- Support page --- */
#ticketForm.hidden { display: none; }
.k-success a:not(.k-btn), .k-page-hero p a { color: var(--k-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
