*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ─── */
:root {
  --accent:        #1d9bf0;
  --accent-dark:   #1470b8;
  --accent-glow:   rgba(29,155,240,0.18);
  --accent-subtle: rgba(29,155,240,0.07);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --ease: cubic-bezier(0.4,0,0.2,1);
}

[data-theme="light"] {
  --bg:        #eef1f6;
  --surface:   #ffffff;
  --surface-2: #f5f7fb;
  --border:    #e2e7f0;
  --border-s:  #c9d3e0;
  --text:      #0d1829;
  --text-2:    #536278;
  --text-3:    #6e859e;
  --nav-bg:    rgba(255,255,255,0.88);
  --shadow-s:  0 1px 3px rgba(13,24,41,0.06);
  --shadow-m:  0 4px 18px rgba(13,24,41,0.07);
  --shadow-l:  0 10px 40px rgba(13,24,41,0.09);
}

[data-theme="dark"] {
  --bg:        #0b1220;
  --surface:   #111d30;
  --surface-2: #162336;
  --border:    #1e2f47;
  --border-s:  #273d58;
  --text:      #deeaf8;
  --text-2:    #7a9ab5;
  --text-3:    #5a7a96;
  --nav-bg:    rgba(11,18,32,0.90);
  --shadow-s:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-m:  0 4px 18px rgba(0,0,0,0.45);
  --shadow-l:  0 10px 40px rgba(0,0,0,0.55);
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .22s var(--ease), color .22s var(--ease);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-s); border-radius: 99px; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes shake {
  0%,100% { transform:translateX(0); }
  20%     { transform:translateX(-5px); }
  40%     { transform:translateX(5px); }
  60%     { transform:translateX(-3px); }
  80%     { transform:translateX(3px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 200;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px,5%,72px);
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: background .22s var(--ease), border-color .22s var(--ease);
}

.logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text); text-decoration: none;
  transition: opacity .15s;
}
.logo:hover { opacity: .75; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #2aaff8, #1470b8);
  box-shadow: 0 2px 8px rgba(29,155,240,.35);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width:15px; height:15px; fill:#fff; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  text-decoration: none; padding: 5px 11px; border-radius: var(--radius-s);
  transition: color .15s, background .15s;
}
.nav-links a:hover  { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--accent); background: var(--accent-subtle); }

.nav-actions { display: flex; align-items: center; gap: 7px; }

.lang-wrap { position: relative; display: flex; align-items: center; }
.lang-globe { position: absolute; left: 8px; pointer-events: none; color: var(--text-3); display: flex; align-items: center; }
.lang-globe svg { width: 13px; height: 13px; }
.lang-chevron { position: absolute; right: 7px; pointer-events: none; color: var(--text-3); display: flex; align-items: center; }
.lang-chevron svg { width: 10px; height: 10px; }

select.lang-sel {
  appearance: none; -webkit-appearance: none;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); font-family: inherit; font-size: 12.5px; font-weight: 500;
  padding: 5px 26px 5px 26px; border-radius: var(--radius-s);
  cursor: pointer; outline: none;
  transition: border-color .15s, color .15s, background .22s var(--ease);
}
select.lang-sel:hover, select.lang-sel:focus { border-color: var(--accent); color: var(--text); }

.theme-btn {
  width: 34px; height: 34px; border: 1px solid var(--border);
  border-radius: var(--radius-s); background: var(--surface); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .15s, color .15s, background .22s var(--ease), transform .15s; flex-shrink: 0;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.06); }
.theme-btn svg { width: 16px; height: 16px; }

/* ─── HERO ─── */
.hero {
  text-align: center;
  padding: clamp(52px,9vw,88px) clamp(16px,5%,72px) clamp(48px,7vw,72px);
  background: var(--bg);
  transition: background .22s var(--ease);
}
.hero h1 {
  font-size: clamp(1.75rem,4.5vw,3rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.18; margin-bottom: 12px;
  animation: fadeUp .45s var(--ease) both;
}
.hero h1 .blue { color: var(--accent); }
.hero-sub {
  color: var(--text-2); font-size: 15px; font-weight: 400;
  max-width: 420px; margin: 0 auto 32px;
  animation: fadeUp .45s .08s var(--ease) both;
}

/* ─── PAGE HERO (non-homepage) ─── */
.page-hero {
  text-align: center;
  padding: clamp(40px,7vw,72px) clamp(16px,5%,72px) clamp(32px,5vw,52px);
  background: var(--bg);
}
.page-hero h1 {
  font-size: clamp(1.5rem,4vw,2.5rem); font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 10px; line-height: 1.2;
}
.page-hero p { color: var(--text-2); font-size: 15px; max-width: 500px; margin: 0 auto; }
.page-hero .blog-date { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* ─── DOWNLOAD BAR ─── */
.dl-wrap { max-width: 580px; margin: 0 auto; animation: fadeUp .45s .16s var(--ease) both; }
.dl-bar {
  display: flex; align-items: center;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-m); box-shadow: var(--shadow-l); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .22s var(--ease);
}
.dl-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-l); }
.dl-bar.error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.14) !important; animation: shake .32s var(--ease); }
.dl-bar input {
  flex: 1; min-width: 0; border: none; outline: none; padding: 14px 15px;
  font-family: inherit; font-size: 13.5px; color: var(--text); background: transparent;
  transition: color .22s var(--ease);
}
.dl-bar input::placeholder { color: var(--text-3); }
.bar-divider { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; transition: background .22s var(--ease); }

.btn-paste {
  position: relative; display: flex; align-items: center; gap: 5px;
  background: none; border: none; padding: 0 13px; height: 48px;
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--text-2);
  cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: color .15s;
}
.btn-paste:hover { color: var(--accent); }
.btn-paste svg { width: 13px; height: 13px; flex-shrink: 0; }
.paste-tip {
  position: absolute; bottom: calc(100% + 7px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text); color: var(--surface); font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 5px; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s;
}
.paste-tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 4px solid transparent; border-top-color: var(--text); }
.paste-tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.btn-dl {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff; border: none;
  padding: 0 20px; height: 48px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.btn-dl:hover   { background: var(--accent-dark); }
.btn-dl:active  { transform: scale(.985); }
.btn-dl:disabled { opacity: .65; cursor: default; }
.btn-dl svg { width: 14px; height: 14px; }

/* Spinner */
.spinner { width:14px; height:14px; border:2px solid rgba(255,255,255,.4); border-top-color:#fff; border-radius:50%; display:inline-block; animation:spin .7s linear infinite; }

/* ─── DOWNLOAD RESULT ─── */
.dl-result {
  margin-top: 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 20px; box-shadow: var(--shadow-m); text-align: left;
  animation: fadeUp .3s var(--ease);
}
.dl-result .dl-error { color: #ef4444; font-size: 13.5px; text-align: center; }
.dl-quality-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.dl-cards { display: flex; flex-direction: column; gap: 8px; }
.dl-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-s);
  background: var(--surface-2); transition: border-color .15s;
}
.dl-card:hover { border-color: var(--accent); }
.dl-card-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dl-card-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dl-badge {
  font-size: 11.5px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; white-space: nowrap;
}
.dl-badge.tier-hd  { background: rgba(42,175,248,.15); color: var(--accent); }
.dl-badge.tier-sd  { background: rgba(34,197,94,.13);  color: #16a34a; }
.dl-badge.tier-low { background: var(--surface);       color: var(--text-3); border: 1px solid var(--border); }
[data-theme="dark"] .dl-badge.tier-sd { color: #4ade80; }
.dl-res { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.dl-size-chip {
  font-size: 11.5px; font-weight: 500; color: var(--text-3);
  background: var(--surface); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 4px; white-space: nowrap;
}
.dl-dl-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 7px 13px; border-radius: var(--radius-s); font-size: 12.5px; font-weight: 600;
  transition: background .15s, transform .15s; white-space: nowrap;
}
.dl-dl-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
@media (max-width: 480px) {
  .dl-card { flex-direction: column; align-items: flex-start; }
  .dl-card-right { width: 100%; justify-content: space-between; }
  .dl-dl-btn { flex: 1; justify-content: center; }
  .dl-size-chip { display: none; }
}

/* Profile pic result */
.pp-result { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pp-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.pp-info { flex: 1; }
.pp-info strong { display: block; font-size: 15px; }
.pp-info span   { font-size: 13px; color: var(--text-3); }

/* ─── CONTENT ─── */
.wrap { max-width: 860px; margin: 0 auto; padding: clamp(20px,4vw,44px) clamp(16px,5%,72px); display: flex; flex-direction: column; gap: 18px; }

/* ─── CARD ─── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-l); box-shadow: var(--shadow-m);
  padding: clamp(22px,3.5vw,36px);
  transition: background .22s var(--ease), border-color .22s var(--ease), box-shadow .2s;
}
.card h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.3; }
.card h2 .blue { color: var(--accent); }
.card p { color: var(--text-2); font-size: 14px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

/* Prose (legal pages / blog posts) */
.prose h2 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 8px; }
.prose h3 { font-size: .95rem; margin-top: 18px; margin-bottom: 6px; }
.prose p  { color: var(--text-2); font-size: 14px; margin-bottom: 12px; line-height: 1.75; }
.prose a  { color: var(--accent); }
.prose strong { color: var(--text); }

.section-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }

/* Feature list */
.feat-list { list-style: none; margin: 14px 0 2px; display: flex; flex-direction: column; gap: 7px; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.feat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; }
.step { text-align: center; z-index: 2; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step h3 { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.step p  { font-size: 12.5px; color: var(--text-3); margin: 0; line-height: 1.55; }
.steps-wrap { position: relative; }
.steps-wrap::before { content: ''; position: absolute; top: 18px; left: calc(16.66% + 18px); right: calc(16.66% + 18px); height: 1px; background: var(--accent); pointer-events: none; z-index: 1; }

/* How-to steps with images */
.howto-steps { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.howto-step { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); }
.howto-step-img-wrap { width: 100%; background: var(--bg-2); line-height: 0; }
.howto-step-img { width: 100%; height: auto; display: block; object-fit: cover; }
.howto-step-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.howto-step-body .step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.howto-step-body h3 { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }
.howto-step-body p { font-size: 13px; color: var(--text-3); margin: 0; line-height: 1.55; }

/* Platform list */
.plat-list { margin-top: 16px; display: flex; flex-direction: column; gap: 0; }
.plat-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.plat-item:last-child { border-bottom: none; padding-bottom: 0; }
.plat-name { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.plat-item p { font-size: 13px; color: var(--text-2); margin: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; text-align: left; font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--text); padding: 15px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color .15s; }
.faq-q:hover { color: var(--accent); }
.faq-icon { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; color: var(--text-3); flex-shrink: 0; transition: border-color .15s, color .15s, background .15s; }
.faq-item.open .faq-icon { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.faq-a { max-height: 0; overflow: hidden; font-size: 13px; color: var(--text-2); line-height: 1.65; transition: max-height .3s var(--ease), padding .22s; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 16px; }

/* ─── POST HERO IMAGE ─── */
.post-hero-img {
  position: relative; width: 100%;
  height: clamp(260px, 40vw, 480px);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px,5vw,56px);
}
.post-hero-overlay .blog-date { color: rgba(255,255,255,.75); margin-bottom: 10px; }
.post-hero-overlay h1 {
  color: #fff; font-size: clamp(1.4rem,4vw,2.6rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.2; margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* ─── BLOG FEED ─── */
.blog-date { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.read-more { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }

/* Featured (first) card */
.blog-card-link { text-decoration: none; display: block; }
.blog-featured-link { text-decoration: none; display: block; margin-bottom: 28px; }
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-m);
  border: 1px solid var(--border); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-m); transition: box-shadow .2s, transform .2s;
}
.blog-featured:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
.blog-featured-img {
  background-size: cover; background-position: center;
  min-height: 260px;
}
.blog-featured-img--placeholder {
  background: linear-gradient(135deg, var(--accent-subtle), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
}
.blog-featured-img--placeholder svg { opacity: .18; }
.blog-featured-body {
  padding: 36px 32px; display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-body h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.3; color: var(--text); margin-bottom: 10px;
}
.blog-featured-body p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; flex: 1; }

/* Grid of remaining cards */
.blog-grid-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-card {
  border-radius: var(--radius-m); border: 1px solid var(--border); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-s);
  transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
.blog-card-img {
  width: 100%; height: 160px;
  background-size: cover; background-position: center; flex-shrink: 0;
}
.blog-card-img--placeholder {
  height: 160px; background: linear-gradient(135deg, var(--accent-subtle), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img--placeholder svg { opacity: .15; }
.blog-card-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h2 { font-size: .95rem; font-weight: 700; line-height: 1.35; color: var(--text); margin-bottom: 8px; }
.blog-card-body p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; flex: 1; }

/* Homepage blog section */
.home-blog-section { padding: clamp(32px,5vw,56px) 0; }
.home-blog-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.home-blog-header h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-blog-card {
  border-radius: var(--radius-m); border: 1px solid var(--border); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-s);
  transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
  text-decoration: none;
}
.home-blog-card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
.home-blog-card-img {
  width: 100%; height: 140px;
  background-size: cover; background-position: center;
}
.home-blog-card-img--placeholder {
  height: 140px; background: linear-gradient(135deg, var(--accent-subtle), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
}
.home-blog-card-img--placeholder svg { opacity: .15; }
.home-blog-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.home-blog-card-body h3 { font-size: .9rem; font-weight: 700; line-height: 1.35; color: var(--text); margin-bottom: 6px; }
.home-blog-card-body p { font-size: 12px; color: var(--text-2); line-height: 1.6; flex: 1; }

@media (max-width: 700px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 22px 20px; }
  .blog-grid-feed { grid-template-columns: 1fr; }
  .home-blog-grid { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .home-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── BUTTONS ─── */
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius-s); border: 1.5px solid var(--border);
  background: none; color: var(--text-2); font-size: 13.5px; font-weight: 500;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: border-color .15s, color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }

/* ─── FOOTER ─── */
footer {
  margin-top: 8px; border-top: 1px solid var(--border);
  background: var(--surface); padding: clamp(32px,5vw,52px) clamp(16px,5%,72px);
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.foot-inner { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { font-size: 12.5px; color: var(--text-3); max-width: 230px; line-height: 1.6; margin-top: 10px; }
.social-icons { display: flex; gap: 8px; margin-top: 16px; }
.social-icon { width: 32px; height: 32px; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--surface-2); color: var(--text-3); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: border-color .15s, color .15s, background .15s; flex-shrink: 0; }
.social-icon:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.social-icon svg { width: 14px; height: 14px; }
.foot-col h4 { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); margin-bottom: 12px; }
.foot-col a { display: block; font-size: 13px; color: var(--text-2); text-decoration: none; margin-bottom: 8px; transition: color .15s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { max-width: 860px; margin: 24px auto 0; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-3); transition: border-color .22s var(--ease); }
.foot-bottom a { color: var(--text-3); text-decoration: none; transition: color .15s; }
.foot-bottom a:hover { color: var(--accent); }
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── MOBILE NAV ─── */
.mobile-menu-btn { display: none; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); color: var(--text-2); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: border-color .15s, color .15s, background .22s var(--ease); }
.mobile-menu-btn:hover { border-color: var(--accent); color: var(--accent); }
.mobile-menu-btn svg { width: 16px; height: 16px; }
.mobile-nav { display: none; position: fixed; top: 58px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-l); z-index: 199; padding: 10px 16px 16px; flex-direction: column; gap: 2px; transition: background .22s var(--ease), border-color .22s var(--ease); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 10px 12px; border-radius: var(--radius-s); transition: color .15s, background .15s; }
.mobile-nav a:hover  { color: var(--text); background: var(--surface-2); }
.mobile-nav a.active { color: var(--accent); background: var(--accent-subtle); }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ─── RTL ─── */
[dir="rtl"] .dl-bar { flex-direction: row-reverse; }
[dir="rtl"] .foot-inner { direction: rtl; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .steps-wrap::before { display: none; }
.foot-inner { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .paste-label { display: none; }
  .btn-paste { padding: 0 10px; }
  select.lang-sel { width: 34px; height: 34px; padding: 0 0 0 26px; color: transparent; font-size: 0; line-height: 34px; }
  select.lang-sel option { font-size: 14px; color: var(--text); }
  .lang-chevron { display: none; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .pp-result { flex-direction: column; }
}
