/* ClipDock â€” High Performance & Accessible Y2mate-Aligned Styling
   Clean Typography, Exact Font Hierarchy, Responsive Layout, Zero Clutter */
:root {
  --fog: #f9f9f9;
  --paper: #ffffff;
  --ink: #293a46;
  --slate: #5a6a78;
  --line: #dcdfe4;
  --line-light: #e8ecf1;
  --brand: #FF5722;
  --brand-hover: #E64A19;
  --accent: #c10841;
  --accent-pink: #ff0068;
  --success: #10B981;
  --success-hover: #059669;
  --signal: #FFC83D;
  --danger: #d93025;
  --strip: #1e293b;
  --strip-text: #f8fafc;
  --strip-muted: #94a3b8;
  --strip-line: #334155;
  --strip-track: #0f172a;
  --font-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lh: 1.6;
  --wrap: 890px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--fog);
  color: var(--ink);
  font: 400 16px/var(--lh) var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 10px;
  line-height: var(--lh);
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

h1,
.hero-title,
.page-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}

h2,
.section h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0;
}

h3,
.section h3,
.card-heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 10px 0;
}

h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 6px 0;
}

.wrap {
  width: min(100% - 30px, var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 10px;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--brand);
  font-weight: 700;
  border-radius: 4px;
  z-index: 1000;
}

.skip:focus {
  inset-inline-start: 12px;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-head {
  height: 66px;
  background: var(--paper);
  position: relative;
  z-index: 50;
  margin-bottom: 0;
}

.site-head .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.brand:hover {
  color: var(--accent);
}

.brand-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.head-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color .15s ease, background-color .15s ease;
}

.main-nav a:hover {
  color: var(--accent);
  background-color: #f0f0f0;
}

.main-nav a[aria-current=page] {
  color: var(--accent);
  background-color: #f4f4f4;
  font-weight: 700;
}

/* ==========================================================================
   Compact Language Switcher
   ========================================================================== */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 9px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  user-select: none;
  white-space: nowrap;
}

.lang-pill-btn:hover,
.lang-dropdown.open .lang-pill-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-cur-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.lang-chevron {
  transition: transform .18s ease;
  opacity: .75;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

/* Dropdown list */
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1050;
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .13);
  list-style: none;
  margin: 0;
  padding: 4px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu li {
  padding: 0;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #1e293b;
  font-size: 13px;
  font-weight: 500;
  transition: background .12s ease;
  white-space: nowrap;
}

.lang-opt:hover {
  background: #f1f5f9;
}

.lang-opt.active {
  background: #fff7ed;
  color: #c2410c;
  font-weight: 700;
}

.lang-opt-code {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 5px;
  border-radius: 4px;
  min-width: 26px;
  text-align: center;
}

.lang-opt.active .lang-opt-code {
  background: #fed7aa;
  color: #9a3412;
}

.lang-opt-name {
  flex: 1;
  font-size: 13px;
}

.lang-opt-check {
  color: #10b981;
  font-size: 13px;
  margin-left: auto;
}

@media (max-width: 600px) {
  .lang-menu {
    right: 0;
    min-width: 140px;
  }
}

.navbar-toggler {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  outline: none;
}

.navbar-toggler .toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.navbar-toggler .toggle-icon+.toggle-icon {
  margin-top: 4px;
}

/* ==========================================================================
   Hero Download Banner
   ========================================================================== */
.hero-banner-orange {
  position: relative;
  color: #ffffff;
  padding: 34px 0 38px;
  margin: 0;
  text-align: center;
  background: linear-gradient(135deg, #FF5722 0%, #E64A19 50%, #D84315 100%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.hero-banner-orange .hero-title {
  color: #ffffff;
  margin: 0 0 8px;
}

.hero-banner-orange .hero-lede {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.5;
  max-width: 62ch;
  margin: 0 auto 20px;
}

.section-title-head {
  padding: 28px 0 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.section-title-head .page-title {
  margin: 0;
}

/* Modern Input Dock */
.dock-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.dock-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding-left: 12px;
  padding-right: 4px;
  transition: border-color .15s ease;
}

.dock-input-wrap:focus-within {
  border-color: var(--brand);
}

.dock-link-icon {
  display: flex;
  align-items: center;
  color: #94a3b8;
  flex-shrink: 0;
}

.dock-input-wrap input {
  flex: 1;
  height: 48px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.dock-input-wrap input::placeholder {
  color: #94a3b8;
}

.btn-dock-paste {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background-color .15s ease;
}

.btn-dock-paste:hover {
  background: #e2e8f0;
}

.btn-dock-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  background: var(--success);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: background-color .15s ease, transform .15s ease;
  white-space: nowrap;
}

.btn-dock-download:hover {
  background: var(--success-hover);
  transform: translateY(-1px);
}

.btn-dock-download:active {
  transform: translateY(0);
}

.dock-terms {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.dock-terms a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.dock-terms a:hover {
  color: #ffe0b2;
}

/* ==========================================================================
   Download Result Strip (Direct Stream Downloads)
   ========================================================================== */
.strip {
  position: relative;
  max-width: 760px;
  margin: 22px auto 0;
  padding: 24px;
  background: var(--strip);
  color: var(--strip-text);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.strip.enter {
  animation: feedIn .35s ease-out;
}

@keyframes feedIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.frame {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: 18px;
  align-items: start;
}

.frame img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}

.frame h2 {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--strip-text);
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.frame p {
  margin: 0;
  color: var(--strip-muted);
  font-size: 0.9rem;
}

.direct-download-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.btn-format-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, filter .15s ease;
}

.btn-format-download:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-video-dl {
  background: linear-gradient(135deg, #FF5722 0%, #D84315 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(230, 74, 25, 0.3);
}

.btn-audio-dl {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.fmt-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
}

.fmt-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fmt-name {
  font-size: 1rem;
  font-weight: 700;
}

.fmt-desc {
  font-size: 0.8rem;
  opacity: 0.92;
}

.fmt-icon {
  font-size: 1.2rem;
  font-weight: 800;
}

.direct-stream-status {
  margin-top: 14px;
  padding: 12px 16px;
  background: #0f172a;
  color: #38bdf8;
  border-radius: 8px;
  font-size: 0.9rem;
  border-left: 4px solid #38bdf8;
}

.result-reset-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--strip-text);
  border: 1px solid var(--strip-line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.message {
  max-width: 760px;
  margin: 14px auto 0;
  padding: 10px 14px;
  background: #fef2f2;
  color: var(--danger);
  border-left: 4px solid var(--danger);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

/* ==========================================================================
   Feature Boxes (3 Cards Below Banner)
   ========================================================================== */
.section-cards-bar {
  margin-top: 0;
  position: relative;
  z-index: 10;
  padding: 0 0 24px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  background: var(--paper);
  padding: 24px 20px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card-feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.card-icon-wrap {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #FFF1EE;
  color: var(--brand);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 14px;
  border: 1px solid #FFCCBC;
}

.card-custom-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.card-text-wrap {
  flex: 1;
  width: 100%;
}

.card-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--ink);
}

.card-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
}

/* ==========================================================================
   Content Sections (How-to, FAQ, Prose)
   ========================================================================== */
.section {
  padding: 24px 0;
}

.section-header-center {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 24px;
}

.section-header-center h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
}

.section-subtext {
  font-size: 15px;
  color: var(--slate);
  margin: 0;
}

/* â”€â”€ How-To Steps Section â”€â”€ */
.howto-section {
  padding: 24px 0;
  background: transparent !important;
}

.howto-box {
  background: var(--howto-grad, linear-gradient(135deg, #FF5722 0%, #E64A19 100%));
  border-radius: 16px;
  padding: 22px 20px;
  overflow: hidden;
}

.howto-header {
  margin-bottom: 20px;
}

.howto-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.3;
}

.howto-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.howto-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.howto-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 8px;
  flex-shrink: 0;
}

.howto-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.35;
}

.howto-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin: 0;
}

/* Page Article & Body Content (Classic WYSIWYG) */
.section-content-body {
  padding: 24px 0;
}

.prose {
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  padding-bottom: 20px;
}

/* â”€â”€ H2: Contained badge with gradient, rounded corners â”€â”€ */
.prose h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 22px 10px;
  padding: 11px 18px;
  background: var(--page-grad, linear-gradient(135deg, #FF5722 0%, #E64A19 100%));
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.35;
  border-radius: 10px;
  display: block;
}

.prose>h2:first-child {
  margin-top: 20px;
}

/* All elements have consistent horizontal padding */
.prose>*:not(h2):not(h3) {
  padding-left: 22px;
  padding-right: 22px;
}

/* â”€â”€ H3: Left orange border accent â”€â”€ */
.prose h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 24px 22px 10px;
  padding: 6px 16px;
  border-left: 5px solid var(--brand, #FF5722);
  color: var(--ink);
  line-height: 1.35;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* â”€â”€ Paragraphs â”€â”€ */
.prose p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 12px;
  color: var(--ink);
  padding-left: 22px;
  padding-right: 22px;
}

/* â”€â”€ Lists â”€â”€ */
.prose ul,
.prose ol {
  padding-inline-start: 42px;
  padding-right: 22px;
  margin: 0 0 14px;
}

.prose li {
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.prose ul li::marker {
  color: var(--brand, #FF5722);
}

.prose ol li::marker {
  color: var(--brand, #FF5722);
  font-weight: 700;
}

/* â”€â”€ Links â”€â”€ */
.prose a {
  color: var(--brand, #FF5722);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 87, 34, 0.35);
  transition: border-color .15s ease, color .15s ease;
}

.prose a:hover {
  color: #e64a19;
  border-bottom-color: #e64a19;
}

/* â”€â”€ Bold / Strong â”€â”€ */
.prose strong,
.prose b {
  font-weight: 700;
  color: var(--ink);
}

/* â”€â”€ Tables â”€â”€ */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 14px;
}

.prose thead tr {
  background: var(--page-grad, linear-gradient(135deg, #FF5722 0%, #E64A19 100%));
  color: #fff;
}

.prose thead th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  border: none;
}

.prose tbody tr:nth-child(even) {
  background: #fff8f5;
}

.prose tbody tr:nth-child(odd) {
  background: #fff;
}

.prose tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  vertical-align: top;
}

/* â”€â”€ Blockquotes â”€â”€ */
.prose blockquote {
  margin: 0 22px 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--brand, #FF5722);
  background: #fff8f5;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
  font-size: 15px;
}

/* â”€â”€ Code â”€â”€ */
.prose code {
  background: #1e293b;
  color: #f8fafc;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
}

.prose pre {
  background: #1e293b;
  color: #f8fafc;
  padding: 16px 22px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  margin: 0 0 18px;
}

.prose pre code {
  background: none;
  padding: 0;
}

/* â”€â”€ Images â”€â”€ */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 16px;
}

/* â”€â”€ Horizontal Rule â”€â”€ */
.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 22px;
}

/* â”€â”€ Top/bottom spacing â”€â”€ */
.prose>*:first-child {
  margin-top: 0;
}

.prose>*:last-child {
  margin-bottom: 0;
  padding-bottom: 24px;
}

.prose>h2:last-child,
.prose>h3:last-child {
  padding-bottom: 13px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .15s ease;
}

.faq-item[open] {
  border-color: var(--brand);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform .2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 18px 14px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
}

.faq-content p {
  margin: 0;
  color: var(--slate);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.faq {
  padding: 24px 0 32px;
}

.site-foot {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  color: var(--slate);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-grid h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.footer-about {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
  max-width: 44ch;
  margin: 8px 0 0;
}

.foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-links a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: color .15s ease;
}

.foot-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: #718096;
}

.footer-bottom p {
  margin: 0;
  color: #718096;
}

/* Social Icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  transition: transform .18s ease, opacity .18s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: .88;
}

.social-icon--wa {
  background: #25D366;
}

.social-icon--x {
  background: #000;
}

.social-icon--fb {
  background: #1877F2;
}

.social-icon--tk {
  background: #000;
}

.social-icon--ig {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.ad-slot {
  margin: 20px auto 0;
  max-width: 760px;
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* â”€â”€ Tablet: 2-column grids â”€â”€ */
@media (max-width: 900px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .howto-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .howto-box {
    padding: 20px 16px;
    border-radius: 12px;
  }
}

/* â”€â”€ Small tablet â”€â”€ */
@media (max-width: 860px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .site-head {
    height: 60px;
  }

  .navbar-toggler {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding: 10px 14px;
    z-index: 100;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 12px;
  }

  /* Lang switcher inside open mobile nav â€” tight, no gap */
  .main-nav .lang-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--line-light);
    padding-top: 6px;
    margin-top: 4px;
    position: relative;
  }

  .main-nav .lang-pill-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    color: var(--ink);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    cursor: pointer;
  }

  .main-nav .lang-pill-btn:hover,
  .main-nav .lang-dropdown.open .lang-pill-btn {
    background: #f0f0f0;
  }

  .main-nav .lang-menu {
    display: none;
    position: static;
    width: 100%;
    max-width: 250px;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: none;
  }

  .main-nav .lang-dropdown.open .lang-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  h1,
  .hero-title,
  .page-title {
    font-size: 28px;
  }

  h2,
  .section h2 {
    font-size: 24px;
  }

  .hero-banner-orange {
    padding: 24px 0 28px;
  }

  .dock-modern {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .dock-input-wrap {
    width: 100%;
  }

  .btn-dock-download {
    width: 100%;
    height: 46px;
  }

  .frame {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wrap {
    width: calc(100% - 24px);
  }
}

@media (max-width: 575px) {

  h2,
  .section h2 {
    font-size: 22px;
  }

  .card-heading,
  .step-body h3 {
    font-size: 17px;
  }

  /* 1-column grids on small mobile */
  .cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .howto-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Howto cards horizontal on mobile (num + text side by side) */
  .howto-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .howto-box {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .howto-title {
    font-size: 18px;
  }

  /* Feature cards: smaller image on tiny screens */
  .card-custom-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon-wrap {
    width: 60px;
    height: 60px;
  }

  .wrap {
    width: calc(100% - 20px);
  }

  .prose h2 {
    font-size: 16px;
    padding: 11px 16px;
  }

  .prose h3 {
    padding-left: 14px;
  }

  .prose>*:not(h2):not(h3) {
    padding-left: 14px;
    padding-right: 14px;
  }

  .prose p {
    padding-left: 14px;
    padding-right: 14px;
  }

  .prose ul,
  .prose ol {
    padding-inline-start: 30px;
    padding-right: 14px;
  }

  .prose table {
    font-size: 12px;
  }

  .prose thead th,
  .prose tbody td {
    padding: 7px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
