/* mysesxi.ge — hand-written, no build step */
:root {
  --bg: #f4f7f6; --bg2: #eaf1ef; --card: #ffffff; --line: #dce6e3; --line2: #c9d8d4;
  --text: #11211d; --muted: #5a6d67; --soft: #8a9b96;
  --brand: #0d6b58; --brand2: #14a07a; --brand-ink: #ffffff; --brandbg: #e3f3ee;
  --accent: #f0a313; --accentbg: #fff4dc; --int: #e3713f; --fee: #7c5cd6; --danger: #c43d3d; --warnbg: #fff7e6;
  --navy: #182848; --navy2: #2c56e0;
  --r: 16px; --r2: 12px; --shadow: 0 1px 2px rgba(16,40,34,.05), 0 6px 24px -8px rgba(16,40,34,.12);
  --maxw: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1311; --bg2: #0f1c19; --card: #111f1c; --line: #1f332e; --line2: #2a443d;
    --text: #e4f0ec; --muted: #9db2ab; --soft: #6f857e;
    --brand: #36c49d; --brand2: #5ad8b5; --brand-ink: #062019; --brandbg: #12302a;
    --accentbg: #33290f; --warnbg: #2e2510; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 24px -8px rgba(0,0,0,.5);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg);
  color: var(--text); line-height: 1.65; font-size: 16px; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4.6vw, 42px); margin: 0 0 10px; font-weight: 800; }
h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 14px; font-weight: 800; }
h3 { font-size: 17px; margin: 0 0 8px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .nowrap { white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* sale bar */
.salebar { background: linear-gradient(90deg, var(--navy), var(--navy2)); color: #fff; font-size: 14px; }
.salebar .in { max-width: var(--maxw); margin: 0 auto; padding: 8px 16px; display: flex; gap: 10px 14px; align-items: center;
  justify-content: center; flex-wrap: wrap; text-align: center; }
.salebar b { color: #ffd166; }
.salebar a { color: var(--navy); background: #ffd166; padding: 4px 12px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 13px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .in { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo i { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand2)); display: grid;
  place-items: center; color: #fff; font-style: normal; font-size: 17px; }
.logo span { color: var(--brand); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.on { background: var(--brandbg); color: var(--brand); }
.nav a.sale { color: #b26b00; } @media (prefers-color-scheme: dark) { .nav a.sale { color: #ffd166; } }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px;
  color: var(--text); font: inherit; cursor: pointer; }
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--card);
    border-bottom: 1px solid var(--line); padding: 8px 16px 14px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
}

/* layout */
main { padding: 22px 0 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.side { position: sticky; top: 84px; display: grid; gap: 18px; }
@media (max-width: 980px) { .with-side { grid-template-columns: 1fr; } .side { position: static; } .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.section { margin: 34px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; } .crumbs a { color: var(--muted); }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--line2); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.accent { background: var(--accent); color: #2a1d00; }
input, select, textarea { font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 0; border-color: var(--brand); }
input[type=range] { width: 100%; accent-color: var(--brand); padding: 0; border: 0; background: transparent; }
label.lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

/* hero */
.hero { padding: 26px 0 8px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 18px; max-width: 620px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero .facts b { display: block; color: var(--text); font-size: 22px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.mini .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
.mini .row output { font-weight: 800; color: var(--brand); }
.mini .field { margin-bottom: 14px; }
.mini .res { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-radius: 14px; padding: 16px; margin-top: 6px; }
.mini .res small { opacity: .85; } .mini .res .big { font-size: 32px; font-weight: 800; line-height: 1.15; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.field .top label { font-weight: 600; font-size: 14px; }
.field .num { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.field input[type=number] { width: 120px; text-align: right; padding: 7px 9px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.seg { display: flex; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; }
.seg label { flex: 1; text-align: center; padding: 9px 6px; cursor: pointer; font-size: 14px; font-weight: 600; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--brand); color: var(--brand-ink); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: -3px; }
fieldset.more { border: 1px dashed var(--line2); border-radius: 12px; padding: 12px 14px 2px; margin: 0 0 14px; }
fieldset.more legend { font-weight: 700; font-size: 14px; padding: 0 6px; color: var(--muted); }
.result-hero { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-radius: 14px; padding: 18px 20px; }
.result-hero small { opacity: .9; font-size: 14px; } .result-hero .big { font-size: clamp(30px, 5.5vw, 42px); font-weight: 800; line-height: 1.15; }
.result-hero .sub { font-size: 14px; opacity: .92; margin-top: 4px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (max-width: 420px) { .metrics { grid-template-columns: 1fr; } }
.metric { border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; background: var(--card); }
.metric small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.metric b { font-size: 18px; }
.metric details { margin-top: 4px; } .metric details summary { font-size: 12.5px; color: var(--brand); cursor: pointer; list-style: none; }
.metric details summary::-webkit-details-marker { display: none; }
.metric details summary::before { content: 'ⓘ '; } .metric details p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.metric.hl { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brandbg); }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--bg2); margin: 14px 0 6px; }
.bar i { display: block; height: 100%; } .bar .p { background: var(--brand2); } .bar .i { background: var(--int); } .bar .f { background: var(--fee); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); }
.pti { margin-top: 12px; border-radius: 12px; padding: 12px 14px; font-size: 14px; border: 1px solid var(--line); }
.pti.ok { background: var(--brandbg); } .pti.warn { background: var(--warnbg); border-color: #e8c37a; } .pti.bad { background: color-mix(in srgb, var(--danger) 12%, var(--card)); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.prodnote { display: flex; gap: 12px; align-items: center; background: var(--accentbg); border: 1px solid #edd08e; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.sched { max-height: 420px; overflow: auto; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sched table { font-size: 13px; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sched th, .sched td { text-align: right; } .sched th:first-child, .sched td:first-child { text-align: left; }
th { background: var(--bg2); color: var(--muted); font-size: 12.5px; font-weight: 700; position: sticky; top: 0; }
.explain h3 { margin-top: 18px; } .explain p, .explain li { color: var(--muted); }
.explain .formula { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--bg2); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; overflow-x: auto; }

/* comparison */
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.filters label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 4px; }
.filters select, .filters input { width: 100%; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; background: var(--card); }
.chip.on, .chip:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.offers { display: grid; gap: 12px; }
.offer { display: grid; grid-template-columns: 220px repeat(4, minmax(0, 1fr)) 190px; gap: 14px; align-items: center; padding: 16px 18px; }
.offer .who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c, var(--brand)); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.offer .who b { display: block; line-height: 1.3; } .offer .who small { color: var(--muted); }
.offer .k small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; } .offer .k b { font-size: 15.5px; }
.offer .k b.eff { color: var(--brand); font-size: 17px; }
.offer .acts { display: grid; gap: 6px; }
.offer .meta { grid-column: 1 / -1; display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--brandbg); color: var(--brand); }
.badge.warn { background: var(--warnbg); color: #9a6200; } .badge.gray { background: var(--bg2); color: var(--muted); }
@media (max-width: 1050px) { .offer { grid-template-columns: 1fr 1fr; } .offer .who, .offer .acts { grid-column: 1 / -1; } .offer .acts { grid-template-columns: 1fr 1fr; } }
.empty { text-align: center; padding: 34px 20px; }
.empty .ico { font-size: 40px; }
.disclaimer { background: var(--warnbg); border: 1px solid #e8c37a; border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--text); }
@media (prefers-color-scheme: dark) { .disclaimer, .prodnote { border-color: #5a4512; } }
.lenders { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.lenders a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); background: var(--card); }
.lenders a:hover { border-color: var(--brand); }
.lenders .avatar { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; font-size: 13px; }

/* articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } } @media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; text-decoration: none; color: var(--text); padding: 0; overflow: hidden; transition: transform .15s; }
.post:hover { transform: translateY(-2px); border-color: var(--line2); }
.post .cover { aspect-ratio: 16/8; background: linear-gradient(135deg, var(--brandbg), var(--bg2)); display: grid; place-items: center; font-size: 42px; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post h3 { font-size: 17.5px; margin: 0; } .post p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post .foot { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--soft); }
.prose { font-size: 17px; line-height: 1.8; }
.prose h2 { margin: 34px 0 12px; font-size: 24px; scroll-margin-top: 80px; } .prose h3 { margin: 24px 0 8px; font-size: 19px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; } .prose li { margin-bottom: 6px; }
.prose blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--accentbg); border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose table { margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose code { background: var(--bg2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article-head { margin-bottom: 18px; } .article-head .meta { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.toc { font-size: 14px; } .toc ol { margin: 0; padding-left: 20px; } .toc li { margin: 4px 0; } .toc a { color: var(--text); text-decoration: none; } .toc a:hover { color: var(--brand); }
.sources { font-size: 14px; } .sources li { word-break: break-all; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.pager a, .pager span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; background: var(--card); }
.pager .on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; } .faq p { color: var(--muted); margin: 8px 0 0; }

/* steps / features */
.feature { display: flex; gap: 14px; } .feature .ic { font-size: 26px; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brandbg); }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ads */
.adslot { text-align: center; margin: 16px auto; position: relative; }
.adslot .tag { position: absolute; top: 2px; right: 6px; font-size: 10px; color: var(--soft); background: color-mix(in srgb, var(--card) 80%, transparent); padding: 0 4px; border-radius: 4px; }
.adslot img { display: block; margin: 0 auto; border-radius: 10px; }
.ad-header { max-width: 970px; } .ad-header img { max-height: 90px; width: auto; }
.ad-sidebar img { width: 300px; max-width: 100%; }
.ad-footer img { max-height: 90px; width: auto; }
.ad-mobile_sticky { display: none; }
@media (max-width: 768px) {
  .ad-mobile_sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 4px 0;
    background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.08); }
  .ad-mobile_sticky img { max-height: 50px; width: auto; border-radius: 0; }
  .ad-mobile_sticky .x { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border-radius: 8px 8px 0 0; border: 1px solid var(--line);
    border-bottom: 0; background: var(--card); color: var(--muted); cursor: pointer; font-size: 14px; }
  body.has-sticky { padding-bottom: 64px; }
}

/* for sale block */
.forsale { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; border: 0; }
.forsale h2 { font-size: clamp(22px, 3.6vw, 30px); } .forsale .price { font-size: 32px; font-weight: 800; color: #ffd166; }
.forsale p { color: #dbe4ff; } .forsale a { color: #ffd166; }
.forsale input, .forsale textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; margin-bottom: 10px; }
.forsale input::placeholder, .forsale textarea::placeholder { color: #b9c6ee; }
.forsale button { width: 100%; padding: 13px; border: 0; border-radius: 10px; background: #ffd166; color: var(--navy); font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.forsale .msg { padding: 11px 13px; border-radius: 10px; margin-bottom: 10px; background: rgba(255,255,255,.15); }
.hp { position: absolute; left: -5000px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--card); padding: 30px 0 26px; font-size: 14px; color: var(--muted); margin-top: 20px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot a { color: var(--muted); } .site-foot ul { list-style: none; padding: 0; margin: 0; } .site-foot li { margin: 5px 0; }
.site-foot .legal { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; font-size: 13px; }
