/* Self-hosted Google Fonts — Latin + Latin-ext only */
/* Inter 400 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/montserrat-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/montserrat-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 800 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/montserrat-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
      --bg-base:    #ffffff;
      --bg-raised:  #f5f8fe;
      --bg-card:    #ffffff;
      --clr-h:      #0D1B3E;
      --clr-b:      #5a6e8c;
      --clr-muted:  #4a5870;
      --bdr:        #dde5f4;
    }
    html.dark {
      --bg-base:    #0a1428;
      --bg-raised:  #0D1B3E;
      --bg-card:    #122244;
      --clr-h:      #e8f0fa;
      --clr-b:      #8aaac8;
      --clr-muted:  #6888a8;
      --bdr:        rgba(77,174,229,0.18);
    }

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

    html { overflow-x: hidden; }
    body {
      overflow-x: hidden;
      font-family: 'Inter', sans-serif;
      background: var(--bg-base);
      color: var(--clr-h);
      transition: background 0.25s ease, color 0.25s ease;
      line-height: 1.7;
    }

    .nav-blur { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
    .logo-img { height: 52px; width: auto; display: block; }

    .nav-link {
      font-family: 'Inter', sans-serif;
      font-size: 0.84rem;
      font-weight: 500;
      color: rgba(195,215,245,0.70);
      text-decoration: none;
      padding: 0.42rem 0.85rem;
      border-radius: 8px;
      transition: color 0.15s ease, background 0.15s ease;
      letter-spacing: 0.01em;
    }
    .nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
    .nav-link:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 2px; }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      background: #1E56B5;
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 0.84rem;
      border: none;
      border-radius: 10px;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 4px 12px rgba(30,86,181,0.35);
      transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
    }
    .btn-primary:hover  { background: #2563c4; box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 6px 18px rgba(30,86,181,0.45); transform: translateY(-1px); }
    .btn-primary:active { transform: translateY(0); }
    .btn-primary:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 2px; }
    @media(max-width:639px){header .btn-primary,header .lang-toggle,header #dark-toggle{display:none!important}}

    .content-wrap {
      max-width:1060px;
      margin: 0 auto;
      padding: 3.5rem clamp(2rem, 5vw, 4rem) 5rem;
    }

    .ds-breadcrumb {
      font-size: 0.82rem;
      color: rgba(195,215,245,0.50);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
     justify-content:center; }
    .ds-breadcrumb a {
      color: #4DAEE5;
      text-decoration: none;
      transition: color 0.14s ease;
    }
    .ds-breadcrumb a:hover { color: rgba(195,215,245,0.9); }

    .ds-eyebrow {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #4DAEE5;
      margin-bottom: 0.9rem;
     text-align:center; }

    .ds-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--clr-h);
      line-height: 1.15;
      margin-bottom: 0.5rem;
     text-align:center; }

    .ds-updated {
      font-size: 0.82rem;
      color: rgba(195,215,245,0.50);
      margin-bottom: 3.5rem;
      padding-bottom: 2.5rem;
      border-bottom: 1px solid var(--bdr);
     text-align:center; }

    .ds-section { margin-bottom: 4.5rem;
    }
    .ds-section:nth-child(even) {
      background: var(--bg-raised);
      margin-left: calc(-1 * clamp(2rem, 5vw, 4rem));
      margin-right: calc(-1 * clamp(2rem, 5vw, 4rem));
      padding: 3rem clamp(2rem, 5vw, 4rem);
      border-radius: 20px;
      border: 1px solid var(--bdr);
    }
    .ds-section h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.65rem;
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--clr-h);
      margin-bottom: 1.2rem;
      padding-bottom: 0;
      border-bottom: none;
      line-height: 1.2;
      text-align: center;
    }
    .ds-section h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--clr-h);
      margin-top: 1.8rem;
      margin-bottom: 0.7rem;
      letter-spacing: -0.01em;
     text-align:center; }
    .ds-section p {
      font-size: 0.9rem;
      color: var(--clr-b, #5a6e8c);
      line-height: 1.75;
      margin-bottom: 0.85rem;
    }
    .ds-section ul, .ds-section ol {
      margin: 0.6rem 0 1.1rem 1.2rem;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }
    .ds-section ul li, .ds-section ol li {
      font-size: 0.9rem;
      color: var(--clr-b, #5a6e8c);
      line-height: 1.65;
    }
    .ds-section a {
      color: #4DAEE5;
      text-decoration: none;
      transition: color 0.14s ease;
    }
    .ds-section a:hover { color: #7ec8f0; text-decoration: underline; }

    .ds-box {
      background: var(--bg-raised);
      border: 1px solid var(--bdr);
      border-radius: 12px;
      padding: 1.25rem 1.5rem;
      font-size: 0.88rem;
      color: var(--clr-b, #5a6e8c);
      line-height: 1.7;
      transition: background 0.25s ease, border-color 0.25s ease;
     box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(30,86,181,0.06); position: relative; overflow: hidden; }
    .ds-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #1E56B5, #4DAEE5); border-radius: 12px 12px 0 0; }
    .ds-box strong {
      color: var(--clr-h);
      font-weight: 600;
    }

    footer { background: #04091a; border-top: 1px solid rgba(255,255,255,0.07); }

    html.dark .ds-box { background: var(--bg-card); }
    .logo-light { display: none; }
    html.dark .logo-dark  { display: none !important; }
    html.dark .logo-light { display: inline !important; }

    html { overflow-y: scroll; }
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(77,174,229,0.38); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(77,174,229,0.55); }
    html { scrollbar-width: thin; scrollbar-color: rgba(77,174,229,0.38) transparent; }
    html.dark ::-webkit-scrollbar-thumb { background: rgba(77,174,229,0.30); }
    html.dark ::-webkit-scrollbar-thumb:hover { background: rgba(77,174,229,0.48); }
    html.dark { scrollbar-color: rgba(77,174,229,0.30) transparent; }

    .lang-toggle {
      display: flex; align-items: center;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px; overflow: hidden; flex-shrink: 0;
    }
    .lang-btn {
      padding: 0.28rem 0.62rem; border: none; background: transparent; cursor: pointer;
      font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.71rem;
      color: rgba(255,255,255,0.48); letter-spacing: 0.06em;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .lang-btn.active { background: rgba(255,255,255,0.16); color: #fff; }
    .lang-btn:hover { color: rgba(255,255,255,0.85); }
    .lang-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
  
    html.dark .section-card{background:var(--bg-card)!important;border-color:var(--bdr)!important;box-shadow:0 1px 2px rgba(0,0,0,0.3),0 4px 8px rgba(0,0,0,0.2),0 0 0 1px rgba(77,174,229,0.08) inset!important}
    html.dark .section-h2{color:#e8f0fa!important}
    html.dark .section-h3{color:#e8f0fa!important}
    html.dark .body-text{color:#8aaac8!important}
    html.dark .body-text a{color:#4DAEE5!important}
    html.dark .step-content h3{color:#e8f0fa!important}
    html.dark .info-box{background:var(--bg-raised)!important;border-color:var(--bdr)!important;color:#8aaac8!important}
    html.dark .info-box strong{color:#c8daf0!important}
    html.dark .mistake-item{background:var(--bg-raised)!important;border-color:var(--bdr)!important}
    html.dark .faq-item{background:var(--bg-faq-btn)!important;border-color:var(--bdr)!important}
    html.dark .faq-q{color:#e8f0fa!important}
    html.dark .faq-q:hover{background:var(--bg-faq-hov)!important}
    html.dark .faq-a-inner{color:#8aaac8!important}
    html.dark .related-card{background:var(--bg-card)!important;border-color:var(--bdr)!important}
    html.dark .related-card h3,html.dark .related-card strong{color:#e8f0fa!important}
    html.dark .related-card p,html.dark .related-card span{color:#8aaac8!important}
    html.dark .cta-box{background:var(--bg-raised)!important;border-color:var(--bdr)!important}
    html.dark .cta-box h2{color:#e8f0fa!important}
    html.dark .cta-box p{color:#8aaac8!important}
    html.dark .trust-badge{color:#8aaac8!important}
    html.dark .tldr-summary{background:var(--bg-raised)!important;border-color:var(--bdr)!important;color:#8aaac8!important}
    html.dark .tldr-summary strong{color:#c8daf0!important}
    html.dark .tldr-summary span{color:#8aaac8!important}
    html.dark [style*="color:#0D1B3E"]{color:#e8f0fa!important}
    html.dark [style*="color:#5a6e8c"]{color:#8aaac8!important}
    html.dark [style*="color:#374151"]{color:#a8c0d8!important}