:root {
      --theme: #0B3D91;
      --theme-dark: #072b68;
      --theme-soft: #eaf1fc;
      --ink: #101828;
      --muted: #667085;
      --line: #e4e7ec;
      --surface: #ffffff;
      --surface-soft: #f7f9fc;
      --danger: #c92a2a;
      --shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
      --radius: 18px;
      --container: 1220px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface-soft);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
    }

    body.drawer-lock {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

    button {
      color: inherit;
    }

    .container {
      width: min(var(--container), calc(100% - 40px));
      margin-inline: auto;
    }

    .topbar {
      color: #ffffff;
      background: #07152f;
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .topbar-contact a {
      color: #dce7fb;
      transition: color 0.2s ease;
    }

    .topbar-contact a:hover {
      color: #ffffff;
    }

    .header {
      position: relative;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 3px 14px rgba(16, 24, 40, 0.04);
    }

    .header-inner {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      font-weight: 800;
      color: var(--ink);
    }

    .logo img {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      object-fit: contain;
      border-radius: 10px;
    }

    .logo span {
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      align-self: stretch;
      display: flex;
      align-items: stretch;
      margin-left: auto;
    }

    .nav-list {
      height: 100%;
      display: flex;
      align-items: stretch;
      gap: 2px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav-item {
      position: static;
      display: flex;
      align-items: stretch;
    }

    .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      padding: 0 13px;
      color: #344054;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .nav-link::after {
      position: absolute;
      right: 13px;
      bottom: 15px;
      left: 13px;
      height: 2px;
      content: "";
      background: var(--theme);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.2s ease;
    }

    .nav-item:hover > .nav-link,
    .nav-item:focus-within > .nav-link {
      color: var(--theme);
    }

    .nav-item:hover > .nav-link::after,
    .nav-item:focus-within > .nav-link::after {
      transform: scaleX(1);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      z-index: 80;
      visibility: hidden;
      opacity: 0;
      background: #ffffff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .dropdown-panel {
      width: 320px;
      margin-left: -10px;
      padding: 24px;
      border-radius: 0 0 16px 16px;
    }

    .mega-menu {
      right: 20px;
      left: 20px;
      max-height: calc(100vh - 130px);
      padding: 26px;
      overflow-y: auto;
      border-radius: 0 0 22px 22px;
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .dropdown-title,
    .mega-title {
      margin: 0 0 10px;
      color: var(--ink);
      font-size: 19px;
      line-height: 1.25;
    }

    .dropdown-list {
      display: grid;
      gap: 4px;
    }

    .dropdown-list a {
      padding: 10px 0;
      color: #344054;
      border-bottom: 1px solid #eef1f5;
      font-size: 14px;
      font-weight: 600;
    }

    .dropdown-list a:hover {
      color: var(--theme);
    }

    .panel-more {
      display: inline-flex;
      margin-top: 16px;
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2.4fr);
      gap: 28px;
    }

    .mega-intro {
      padding: 22px;
      color: #ffffff;
      background: linear-gradient(145deg, var(--theme), var(--theme-dark));
      border-radius: 17px;
    }

    .mega-intro .mega-title {
      color: #ffffff;
    }

    .mega-intro p {
      margin: 0 0 18px;
      color: #dbe8ff;
      font-size: 14px;
    }

    .mega-intro a {
      display: inline-flex;
      padding: 9px 13px;
      color: var(--theme-dark);
      background: #ffffff;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
    }

    .category-links {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-bottom: 20px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }

    .category-links a {
      padding: 8px 13px;
      color: var(--theme-dark);
      background: var(--theme-soft);
      border: 1px solid #cad9f3;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 750;
    }

    .mega-cards {
      min-width: 0;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .mega-card {
      min-width: 0;
      padding: 15px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 14px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .mega-card:hover {
      border-color: #a9bee3;
      box-shadow: 0 10px 25px rgba(11, 61, 145, 0.1);
      transform: translateY(-2px);
    }

    .mega-card > img:not(.video-thumb):not(.product-thumb):not(.tool-icon) {
      width: 38px;
      height: 38px;
      margin-bottom: 10px;
      object-fit: contain;
      border-radius: 9px;
    }

    .mega-card .video-thumb,
    .mega-card .product-thumb {
      width: 100%;
      height: 90px;
      margin-bottom: 10px;
      object-fit: cover;
      border-radius: 9px;
      background: #edf1f7;
    }

    .mega-card .tool-icon {
      width: 38px;
      height: 38px;
      margin-bottom: 10px;
      object-fit: contain;
    }

    .mega-card strong {
      display: block;
      overflow: hidden;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.4;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card p {
      display: -webkit-box;
      margin: 7px 0 0;
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mega-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 5px 10px;
      margin-top: 8px;
      color: var(--theme);
      font-size: 11px;
      font-weight: 750;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
    }

    .open-account {
      display: inline-flex;
      min-height: 42px;
      align-items: center;
      justify-content: center;
      padding: 0 17px;
      color: #ffffff;
      background: var(--theme);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .open-account:hover {
      background: var(--theme-dark);
      transform: translateY(-1px);
    }

    .hamburger {
      width: 44px;
      height: 42px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 10px;
      cursor: pointer;
    }

    .hamburger span {
      width: 20px;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 98;
      visibility: hidden;
      opacity: 0;
      background: rgba(5, 13, 31, 0.62);
      backdrop-filter: blur(3px);
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .drawer-overlay.open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 99;
      width: min(390px, 92vw);
      height: 100vh;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -18px 0 50px rgba(16, 24, 40, 0.18);
      transform: translateX(105%);
      transition: transform 0.28s ease;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 15px 18px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head > a {
      padding: 9px 12px;
      color: #ffffff;
      background: var(--theme);
      border-radius: 9px;
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 40px;
      height: 40px;
      margin-left: auto;
      padding: 0;
      color: var(--ink);
      background: #f2f4f7;
      border: 0;
      border-radius: 10px;
      font-size: 27px;
      line-height: 1;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 15px 18px 28px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      display: flex;
      align-items: center;
      padding: 10px 3px;
      color: var(--ink);
      background: transparent;
      border: 0;
      border-bottom: 1px solid #edf0f4;
      font-size: 15px;
      font-weight: 750;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle {
      justify-content: space-between;
    }

    .drawer-toggle::after {
      content: "+";
      color: var(--theme);
      font-size: 21px;
      font-weight: 500;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      max-height: 0;
      display: grid;
      gap: 3px;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
    }

    .drawer-submenu.open {
      max-height: 520px;
      padding: 8px 0 12px 14px;
      opacity: 1;
    }

    .drawer-submenu a {
      padding: 9px 11px;
      color: #475467;
      background: #f8fafc;
      border-radius: 8px;
      font-size: 14px;
    }

    .drawer-submenu a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .tag-index-page {
      min-height: 620px;
      overflow: hidden;
    }

    .tag-index-page .tag-hero {
      position: relative;
      padding: 84px 0 76px;
      color: #ffffff;
      background:
        radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 26%, rgba(255, 255, 255, 0.15) 0 4px, transparent 5px),
        linear-gradient(135deg, #061d49 0%, var(--theme) 55%, #1761c4 100%);
    }

    .tag-index-page .tag-hero::before,
    .tag-index-page .tag-hero::after {
      position: absolute;
      content: "";
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 50%;
      pointer-events: none;
    }

    .tag-index-page .tag-hero::before {
      top: -150px;
      right: -90px;
      width: 410px;
      height: 410px;
    }

    .tag-index-page .tag-hero::after {
      bottom: -170px;
      left: -130px;
      width: 340px;
      height: 340px;
    }

    .tag-index-page .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 860px;
    }

    .tag-index-page .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      padding: 7px 12px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .tag-index-page .eyebrow::before {
      width: 7px;
      height: 7px;
      content: "";
      background: #8fc0ff;
      border-radius: 50%;
      box-shadow: 0 0 0 5px rgba(143, 192, 255, 0.15);
    }

    .tag-index-page h1 {
      max-width: 760px;
      margin: 0;
      font-size: clamp(42px, 7vw, 78px);
      line-height: 0.98;
      letter-spacing: -0.055em;
    }

    .tag-index-page .hero-description {
      max-width: 720px;
      margin: 24px 0 0;
      color: #dce8fb;
      font-size: clamp(16px, 2vw, 19px);
    }

    .tag-index-page .topic-search {
      max-width: 680px;
      display: flex;
      gap: 10px;
      margin-top: 30px;
      padding: 8px;
      background: #ffffff;
      border-radius: 14px;
      box-shadow: 0 16px 45px rgba(2, 16, 44, 0.24);
    }

    .tag-index-page .topic-search input {
      min-width: 0;
      flex: 1;
      padding: 10px 13px;
      color: var(--ink);
      background: transparent;
      border: 0;
      outline: none;
    }

    .tag-index-page .topic-search button {
      flex: 0 0 auto;
      padding: 11px 18px;
      color: #ffffff;
      background: var(--theme);
      border: 0;
      border-radius: 10px;
      font-weight: 800;
      cursor: pointer;
    }

    .tag-index-page .topic-search button:hover {
      background: var(--theme-dark);
    }

    .tag-index-page .index-section {
      padding: 70px 0;
    }

    .tag-index-page .section-head {
      max-width: 750px;
      margin-bottom: 30px;
    }

    .tag-index-page .section-kicker {
      margin: 0 0 7px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }

    .tag-index-page .section-head h2 {
      margin: 0;
      font-size: clamp(29px, 4vw, 44px);
      line-height: 1.12;
      letter-spacing: -0.035em;
    }

    .tag-index-page .section-head p {
      margin: 13px 0 0;
      color: var(--muted);
      font-size: 16px;
    }

    .tag-index-page .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      padding: 34px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 24px;
      box-shadow: 0 14px 40px rgba(16, 24, 40, 0.07);
    }

    .tag-index-page .tag-pill {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 11px 16px;
      color: #263b61;
      background: #f4f7fc;
      border: 1px solid #d9e3f3;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 750;
      transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .tag-index-page .tag-pill::before {
      content: "#";
      color: var(--theme);
      font-weight: 900;
    }

    .tag-index-page .tag-pill:hover {
      color: #ffffff;
      background: var(--theme);
      border-color: var(--theme);
      transform: translateY(-2px);
    }

    .tag-index-page .tag-count {
      min-width: 25px;
      padding: 2px 7px;
      color: var(--theme);
      background: #ffffff;
      border-radius: 999px;
      font-size: 11px;
      text-align: center;
    }

    .tag-index-page .discovery {
      padding: 0 0 78px;
    }

    .tag-index-page .discovery-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .tag-index-page .discovery-card {
      min-width: 0;
      padding: 27px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 18px;
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    .tag-index-page .discovery-card:hover {
      box-shadow: 0 16px 35px rgba(16, 24, 40, 0.09);
      transform: translateY(-3px);
    }

    .tag-index-page .card-number {
      width: 43px;
      height: 43px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 12px;
      font-weight: 900;
    }

    .tag-index-page .discovery-card h3 {
      margin: 0 0 9px;
      font-size: 20px;
    }

    .tag-index-page .discovery-card p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .tag-index-page .discovery-card a {
      color: var(--theme);
      font-size: 14px;
      font-weight: 850;
    }

    .tag-index-page .notice {
      margin-top: 24px;
      padding: 18px 21px;
      color: #475467;
      background: #eef4fd;
      border-left: 4px solid var(--theme);
      border-radius: 0 12px 12px 0;
      font-size: 14px;
    }

    .footer {
      color: #d5deed;
      background: #07152f;
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr;
      gap: 42px;
      padding-top: 62px;
      padding-bottom: 48px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 430px;
      margin: 19px 0;
      color: #aebbd0;
      font-size: 14px;
    }

    .social-links {
      color: #ffffff;
    }

    .footer h3 {
      margin: 4px 0 17px;
      color: #ffffff;
      font-size: 15px;
    }

    .footer-links,
    .footer-contact {
      display: grid;
      gap: 10px;
      color: #aebbd0;
      font-size: 14px;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding-top: 17px;
      padding-bottom: 17px;
      border-top: 1px solid rgba(255, 255, 255, 0.11);
      color: #93a2ba;
      font-size: 13px;
    }

    .footer-bottom-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 16px;
    }

    .footer-bottom a:hover {
      color: #ffffff;
    }

    @media (max-width: 1120px) {
      .main-nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .header-btns {
        margin-left: auto;
      }

      .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 800px) {
      .container {
        width: min(100% - 28px, var(--container));
      }

      .topbar-inner {
        min-height: 48px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-top: 6px;
        padding-bottom: 6px;
      }

      .topbar-contact {
        flex-wrap: wrap;
        gap: 3px 12px;
      }

      .header-inner {
        min-height: 70px;
      }

      .header-btns > .open-account {
        display: none;
      }

      .tag-index-page .tag-hero {
        padding: 64px 0 60px;
      }

      .tag-index-page .topic-search {
        align-items: stretch;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
      }

      .tag-index-page .topic-search button {
        min-height: 46px;
      }

      .tag-index-page .index-section {
        padding: 54px 0;
      }

      .tag-index-page .tag-cloud {
        gap: 9px;
        padding: 22px;
        border-radius: 18px;
      }

      .tag-index-page .discovery-grid {
        grid-template-columns: 1fr;
      }

      .footer-main {
        grid-template-columns: 1fr;
        gap: 31px;
        padding-top: 48px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
      }

      .footer-bottom-links {
        justify-content: flex-start;
      }
    }

    @media (max-width: 520px) {
      .logo span {
        max-width: 126px;
      }

      .header-btns {
        gap: 7px;
      }

      .tag-index-page h1 {
        font-size: 42px;
      }

      .tag-index-page .tag-pill {
        padding: 9px 12px;
        font-size: 13px;
      }

      .tag-index-page .tag-count {
        display: none;
      }
    }