:root {
      --theme: #0B3D91;
      --theme-dark: #071f4c;
      --ink: #172033;
      --muted: #6b7280;
      --line: #e5eaf2;
      --soft: #f4f7fb;
      --white: #fff;
      --radius: 18px;
      --shadow: 0 18px 45px rgba(11, 61, 145, .10);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #f7f9fc;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Microsoft YaHei", sans-serif;
      line-height: 1.7;
    }

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

    button,
    input {
      font: inherit;
    }

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

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

    .topbar {
      color: #dbe8ff;
      background: #071a3d;
      font-size: 13px;
    }

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

    .topbar-links {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .topbar a {
      color: #dbe8ff;
      transition: color .2s ease;
    }

    .topbar a:hover {
      color: #8fc5ff;
    }

    .header {
      position: relative;
      z-index: 20;
      background: var(--white);
      border-bottom: 1px solid var(--line);
    }

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

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--theme-dark);
      font-size: 18px;
      font-weight: 800;
      white-space: nowrap;
    }

    .logo img {
      width: 38px;
      height: 38px;
      object-fit: contain;
    }

    .main-nav {
      flex: 1;
    }

    .nav-list {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 78px;
      padding: 0 15px;
      color: #334155;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }

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

    .has-arrow::after {
      width: 6px;
      height: 6px;
      margin: -4px 0 0 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
      content: "";
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: calc(100% - 1px);
      left: 50%;
      z-index: 30;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 8px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .dropdown-panel {
      width: 260px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      box-shadow: var(--shadow);
    }

    .dropdown-panel a {
      display: block;
      padding: 10px 12px;
      border-radius: 9px;
      color: #334155;
      font-size: 13px;
    }

    .dropdown-panel a:hover {
      color: var(--theme);
      background: var(--soft);
    }

    .mega-menu {
      width: min(850px, 90vw);
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 22px 55px rgba(7, 31, 76, .18);
    }

    .mega-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
      padding-bottom: 15px;
      border-bottom: 1px solid var(--line);
    }

    .mega-heading strong {
      color: var(--theme-dark);
      font-size: 16px;
    }

    .mega-heading span {
      color: var(--muted);
      font-size: 12px;
    }

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

    .mega-card {
      min-height: 112px;
      padding: 13px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fbfcff;
      transition: border-color .2s ease, transform .2s ease;
    }

    .mega-card:hover {
      border-color: #9db9e6;
      transform: translateY(-2px);
    }

    .mega-card img {
      width: 28px;
      height: 28px;
      margin-bottom: 7px;
      border-radius: 7px;
      object-fit: contain;
    }

    .mega-card strong,
    .mega-card small {
      display: block;
    }

    .mega-card strong {
      overflow: hidden;
      color: var(--theme-dark);
      font-size: 13px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card small {
      overflow: hidden;
      margin-top: 3px;
      color: var(--muted);
      font-size: 11px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-footer {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .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;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }

    .nav-item > .dropdown-panel::before,
    .nav-item > .mega-menu::before {
      position: absolute;
      top: -12px;
      right: 0;
      left: 0;
      height: 12px;
      content: "";
    }

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

    .member-link {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .account-link {
      padding: 9px 16px;
      border-radius: 9px;
      color: #fff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: #fff;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      margin: 4px auto;
      background: var(--theme-dark);
      transition: transform .2s ease;
    }

    .hamburger.active span:first-child {
      transform: translateY(6px) rotate(45deg);
    }

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

    .hamburger.active span:last-child {
      transform: translateY(-6px) rotate(-45deg);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 40;
      visibility: hidden;
      opacity: 0;
      background: rgba(3, 12, 29, .5);
      transition: opacity .2s ease, visibility .2s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 50;
      width: min(370px, 88vw);
      padding: 22px;
      overflow-y: auto;
      visibility: hidden;
      background: #fff;
      box-shadow: -16px 0 45px rgba(7, 31, 76, .18);
      transform: translateX(100%);
      transition: transform .25s ease, visibility .25s ease;
    }

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

    .drawer-head {
      display: flex;
      align-items: center;
      gap: 14px;
      padding-bottom: 19px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head strong {
      flex: 1;
      color: var(--theme-dark);
    }

    .drawer-head a {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .drawer-close {
      border: 0;
      color: var(--theme-dark);
      background: transparent;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
    }

    .drawer-menu {
      padding-top: 12px;
    }

    .drawer-link,
    .drawer-toggle {
      display: block;
      width: 100%;
      padding: 13px 0;
      border: 0;
      border-bottom: 1px solid var(--line);
      color: #26364f;
      background: transparent;
      text-align: left;
      font-size: 15px;
      cursor: pointer;
    }

    .drawer-toggle::after {
      float: right;
      width: 7px;
      height: 7px;
      margin-top: 5px;
      border-right: 1px solid currentColor;
      border-bottom: 1px solid currentColor;
      transform: rotate(45deg);
      content: "";
    }

    .drawer-toggle.active {
      color: var(--theme);
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

    .drawer-submenu {
      display: grid;
      grid-template-rows: 0fr;
      padding-left: 14px;
      overflow: hidden;
      transition: grid-template-rows .2s ease;
    }

    .drawer-submenu.open {
      grid-template-rows: 1fr;
    }

    .drawer-submenu > * {
      min-height: 0;
    }

    .drawer-submenu a {
      display: block;
      padding: 8px 0;
      color: var(--muted);
      font-size: 13px;
    }

    .footer {
      margin-top: 80px;
      padding: 54px 0 22px;
      color: #c8d7f1;
      background: #071a3d;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
      gap: 38px;
    }

    .footer-brand strong {
      color: #fff;
      font-size: 20px;
    }

    .footer p {
      max-width: 360px;
      margin: 12px 0 0;
      color: #aabbd8;
      font-size: 13px;
    }

    .footer h3 {
      margin: 0 0 13px;
      color: #fff;
      font-size: 14px;
    }

    .footer-grid > div:not(.footer-brand) a,
    .footer-grid > div:not(.footer-brand) span {
      display: block;
      margin: 7px 0;
      color: #aabbd8;
      font-size: 13px;
    }

    .footer a:hover {
      color: #fff;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 42px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, .14);
      color: #8fa5c8;
      font-size: 12px;
    }

    .ea-content-stack {
      padding: 54px 0 0;
    }

    .product-breadcrumb {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
      color: var(--muted);
      font-size: 13px;
    }

    .product-breadcrumb a {
      color: var(--theme);
    }

    .product-hero {
      display: grid;
      grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
      gap: 42px;
      align-items: center;
      padding: 34px;
      border: 1px solid #dce6f5;
      border-radius: 24px;
      background: linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
      box-shadow: var(--shadow);
    }

    .product-cover {
      min-height: 310px;
      display: grid;
      place-items: center;
      padding: 25px;
      border-radius: 18px;
      background: linear-gradient(145deg, #0b3d91, #1767c9);
    }

    .product-cover img {
      width: 100%;
      max-height: 270px;
      object-fit: contain;
      border-radius: 12px;
    }

    .product-kicker {
      margin: 0 0 9px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .12em;
    }

    .product-title {
      margin: 0;
      color: var(--theme-dark);
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.2;
    }

    .product-summary {
      margin: 19px 0;
      color: #536176;
      font-size: 17px;
    }

    .product-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      padding: 17px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-size: 13px;
    }

    .product-meta strong {
      color: var(--theme-dark);
    }

    .product-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 23px;
    }

    .product-actions a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 22px;
      border-radius: 9px;
      color: #fff;
      background: var(--theme);
      font-size: 14px;
      font-weight: 700;
    }

    .product-actions a.secondary {
      color: var(--theme);
      background: #e5efff;
    }

    .product-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 310px;
      gap: 28px;
      align-items: start;
      margin-top: 30px;
    }

    .product-content,
    .related-products {
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 8px 24px rgba(11, 61, 145, .05);
    }

    .product-content h2,
    .related-products h2 {
      margin: 0 0 20px;
      color: var(--theme-dark);
      font-size: 22px;
    }

    .product-body {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      color: #46546a;
      font-size: 15px;
    }

    .product-body img,
    .product-body table,
    .product-body iframe {
      max-width: 100%;
    }

    .product-body table {
      display: block;
      overflow-x: auto;
    }

    .product-body h2,
    .product-body h3,
    .product-body h4 {
      color: var(--theme-dark);
    }

    .product-body a {
      color: var(--theme);
      text-decoration: underline;
    }

    .related-products {
      position: sticky;
      top: 22px;
    }

    .related-product {
      display: grid;
      grid-template-columns: 62px minmax(0, 1fr);
      gap: 12px;
      padding: 14px 0;
      border-top: 1px solid var(--line);
    }

    .related-product img {
      width: 62px;
      height: 62px;
      border-radius: 10px;
      object-fit: cover;
      background: var(--soft);
    }

    .related-product strong {
      display: block;
      overflow: hidden;
      color: var(--theme-dark);
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .related-product p {
      display: -webkit-box;
      overflow: hidden;
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 12px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

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

      .hamburger {
        display: block;
      }

      .header-inner {
        justify-content: space-between;
      }

      .product-layout {
        grid-template-columns: 1fr;
      }

      .related-products {
        position: static;
      }
    }

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

      .topbar .container,
      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }

      .topbar {
        padding: 8px 0;
      }

      .topbar-links {
        flex-wrap: wrap;
        gap: 4px 14px;
      }

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

      .account-link,
      .member-link {
        display: none;
      }

      .product-hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 18px;
      }

      .product-cover {
        min-height: 220px;
      }

      .product-summary {
        font-size: 15px;
      }

      .product-content,
      .related-products {
        padding: 22px;
      }

      .footer {
        margin-top: 52px;
      }

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

    @media (max-width: 450px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .product-actions a {
        width: 100%;
      }
    }