
    :root {
      --bg: #f5f8ff;
      --card: rgba(255,255,255,0.94);
      --text: #081c33;
      --muted: #5d6f8c;
      --primary: #1478ff;
      --primary2: #743bff;
      --cyan: #20c7ff;
      --line: rgba(24, 85, 150, 0.13);
      --shadow: 0 24px 70px rgba(24, 70, 140, 0.13);
      --green: #12b981;
      --red: #ef4444;
      --radius: 24px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 12% 5%, rgba(20,120,255,0.16), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(116,59,255,0.16), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 46%, #f8fbff 100%);
    }

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

    button,
    input,
    select {
      font: inherit;
    }

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

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 8px 28px rgba(20,70,140,0.06);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand,
    .footer-brand {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .custom-logo,
    .footer-logo-svg {
      width: 190px;
      max-width: 190px;
      height: auto;
      display: block;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      flex-wrap: wrap;
    }

    .nav a {
      padding: 9px 8px;
      color: #172b47;
      font-size: 14px;
      font-weight: 850;
      border-bottom: 3px solid transparent;
    }

    .nav a:hover,
    .nav a.active {
      color: var(--primary);
      border-bottom-color: var(--primary2);
    }

    .header-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 22px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 14px;
      font-weight: 950;
      box-shadow: 0 15px 30px rgba(20,120,255,0.26);
      white-space: nowrap;
    }

    .hero {
      padding: 52px 0 34px;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      color: #6680a3;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 22px;
    }

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

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 48px;
      align-items: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 18px;
      border-radius: 999px;
      background: rgba(255,255,255,0.84);
      border: 1px solid var(--line);
      color: var(--primary);
      font-weight: 950;
      font-size: 14px;
      box-shadow: 0 10px 26px rgba(20,70,140,0.07);
      margin-bottom: 18px;
    }

    .hero h1 {
      margin: 0;
      max-width: 720px;
      font-size: clamp(56px, 6vw, 86px);
      line-height: 0.92;
      letter-spacing: -0.08em;
      color: #081c33;
    }

    .hero h1 span {
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      max-width: 720px;
      margin: 22px 0 0;
      color: #4f6482;
      font-size: 18px;
      line-height: 1.8;
      font-weight: 650;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 24px;
    }

    .primary-btn,
    .secondary-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 24px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 950;
      border: 0;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .primary-btn {
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      box-shadow: 0 14px 28px rgba(20,120,255,0.22);
    }

    .secondary-btn {
      background: rgba(255,255,255,0.86);
      border: 1px solid var(--line);
      color: #172b47;
    }

    .primary-btn:hover,
    .secondary-btn:hover {
      transform: translateY(-2px);
    }

    .hero-pills {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .hero-pills span {
      padding: 10px 15px;
      border-radius: 999px;
      background: rgba(255,255,255,0.84);
      border: 1px solid var(--line);
      color: #354b68;
      font-size: 13px;
      font-weight: 850;
    }

    .hero-visual {
      border-radius: 34px;
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.7);
      padding: 18px;
      box-shadow: var(--shadow);
    }

    .visual-card {
      min-height: 330px;
      border-radius: 28px;
      background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,0.32), transparent 24%),
        linear-gradient(135deg, #9c78ff, #1478ff 52%, #20c7ff);
      display: grid;
      place-items: center;
      text-align: center;
      color: #fff;
      padding: 34px;
    }

    .visual-reorder {
      position: relative;
      width: 174px;
      height: 152px;
      margin: 0 auto 20px;
    }

    .visual-page {
      position: absolute;
      width: 88px;
      height: 114px;
      border-radius: 16px;
      background: rgba(255,255,255,0.95);
      color: var(--primary);
      display: grid;
      place-items: center;
      font-size: 22px;
      font-weight: 950;
      box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .visual-page:nth-child(1) {
      left: 0;
      top: 24px;
      transform: rotate(-8deg);
    }

    .visual-page:nth-child(2) {
      left: 43px;
      top: 7px;
      z-index: 2;
    }

    .visual-page:nth-child(3) {
      right: 0;
      top: 26px;
      transform: rotate(8deg);
    }

    .visual-arrows {
      position: absolute;
      left: 66px;
      bottom: -4px;
      z-index: 4;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #ff4ba3;
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 25px;
      font-weight: 950;
      box-shadow: 0 12px 22px rgba(255,75,163,0.25);
    }

    .visual-card h2 {
      margin: 0;
      font-size: 30px;
      letter-spacing: -0.04em;
    }

    .visual-card p {
      max-width: 450px;
      margin: 12px auto 0;
      color: rgba(255,255,255,0.88);
      font-size: 16px;
      line-height: 1.6;
      font-weight: 700;
    }

    .tool-section {
      padding: 20px 0 30px;
    }

    .tool-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 34px;
      box-shadow: var(--shadow);
      padding: 34px;
    }

    .tool-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 22px;
      margin-bottom: 26px;
    }

    .tool-head h2 {
      margin: 0;
      font-size: 38px;
      letter-spacing: -0.05em;
    }

    .tool-head p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.7;
      font-weight: 650;
      max-width: 820px;
    }

    .tool-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      min-width: 250px;
    }

    .tool-stat {
      padding: 12px 10px;
      border-radius: 14px;
      background: #f7fbff;
      border: 1px solid var(--line);
      text-align: center;
    }

    .tool-stat strong {
      display: block;
      font-size: 16px;
      color: #142846;
    }

    .tool-stat span {
      display: block;
      margin-top: 3px;
      font-size: 11px;
      color: #718098;
      font-weight: 800;
    }

    .tool-layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 28px;
    }

    .upload-panel {
      min-height: 250px;
      border: 2px dashed rgba(20,120,255,0.28);
      border-radius: 24px;
      background:
        radial-gradient(circle at center, rgba(20,120,255,0.07), transparent 58%),
        #f8fcff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .upload-panel.dragover {
      border-color: var(--primary);
      background: #eef7ff;
      transform: translateY(-2px);
    }

    .upload-round {
      width: 70px;
      height: 70px;
      margin: 0 auto 14px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 34px;
      box-shadow: 0 12px 24px rgba(20,120,255,0.2);
    }

    .upload-panel h3 {
      margin: 0;
      font-size: 24px;
      letter-spacing: -0.03em;
    }

    .upload-panel p {
      margin: 10px auto 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      font-weight: 700;
      max-width: 520px;
    }

    .choose-btn {
      margin-top: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 18px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 13px;
      font-weight: 950;
    }

    #fileInput {
      display: none;
    }

    .file-shell {
      margin-top: 18px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(20,70,140,0.07);
    }

    .file-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      background: #f8fbff;
      flex-wrap: wrap;
    }

    .file-top strong {
      color: #102033;
      font-size: 14px;
      font-weight: 950;
    }

    .file-top span {
      color: #718098;
      font-size: 12px;
      font-weight: 800;
    }

    .file-preview {
      min-height: 180px;
      padding: 18px;
    }

    .empty-list {
      display: grid;
      place-items: center;
      text-align: center;
      color: #6c7c95;
      min-height: 150px;
      line-height: 1.7;
      font-size: 14px;
      font-weight: 750;
      background: #f8fbff;
      border-radius: 14px;
    }

    .pdf-summary {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: 16px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 16px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(20,70,140,0.05);
    }

    .pdf-badge {
      width: 64px;
      height: 76px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 14px;
      font-weight: 950;
      box-shadow: 0 12px 22px rgba(20,120,255,0.18);
    }

    .pdf-info h4 {
      margin: 0 0 8px;
      color: #102033;
      font-size: 18px;
      line-height: 1.35;
      word-break: break-word;
    }

    .pdf-info p {
      margin: 0;
      color: #718098;
      font-size: 13px;
      line-height: 1.7;
      font-weight: 800;
    }

    .range-help {
      margin-top: 14px;
      border-radius: 14px;
      background: #f8fbff;
      border: 1px solid var(--line);
      padding: 14px;
      color: #5d6f8c;
      font-size: 13px;
      line-height: 1.7;
      font-weight: 750;
    }

    .live-preview-wrap {
      margin-top: 16px;
      border-radius: 16px;
      background: #f8fbff;
      border: 1px solid var(--line);
      padding: 14px;
    }

    .live-preview-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .live-preview-head strong {
      color: #102033;
      font-size: 14px;
      font-weight: 950;
    }

    .live-preview-head span {
      color: #718098;
      font-size: 12px;
      font-weight: 800;
    }

    .preview-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
      gap: 12px;
      max-height: 620px;
      overflow: auto;
      padding-right: 4px;
    }

    .preview-thumb {
      border: 1px solid rgba(20, 120, 255, 0.18);
      border-radius: 14px;
      background: #fff;
      padding: 10px;
      box-shadow: 0 10px 22px rgba(20,70,140,0.06);
      cursor: grab;
      transition: 0.2s ease;
      position: relative;
    }

    .preview-thumb.dragging {
      opacity: 0.45;
      transform: scale(0.98);
    }

    .preview-thumb.over {
      border-color: var(--primary);
      background: #eef7ff;
    }

    .order-pill {
      position: absolute;
      left: 8px;
      top: 8px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 950;
      z-index: 2;
      box-shadow: 0 8px 18px rgba(20,120,255,0.18);
    }

    .preview-thumb:hover {
      transform: translateY(-2px);
      border-color: rgba(20, 120, 255, 0.38);
    }

    .preview-thumb canvas {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 10px;
      background: #fff;
      border: 1px solid rgba(18,72,130,0.08);
    }

    .preview-thumb span {
      display: block;
      margin-top: 8px;
      text-align: center;
      color: #31445f;
      font-size: 12px;
      font-weight: 950;
    }

    .thumb-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      margin-top: 8px;
    }

    .thumb-btn {
      min-height: 30px;
      border-radius: 9px;
      border: 1px solid var(--line);
      background: #f8fbff;
      color: #174670;
      cursor: pointer;
      font-size: 12px;
      font-weight: 950;
    }

    .preview-loading {
      min-height: 120px;
      display: grid;
      place-items: center;
      text-align: center;
      border-radius: 14px;
      background: #fff;
      border: 1px solid var(--line);
      color: #5d6f8c;
      font-size: 13px;
      line-height: 1.7;
      font-weight: 800;
    }

    .preview-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .preview-mini-btn {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--primary);
      cursor: pointer;
      font-size: 12px;
      font-weight: 950;
    }

    .settings-panel {
      border-radius: 24px;
      background: #fff;
      border: 1px solid var(--line);
      padding: 24px;
      box-shadow: 0 10px 28px rgba(20,70,140,0.06);
    }

    .settings-panel h3 {
      margin: 0 0 16px;
      font-size: 26px;
      letter-spacing: -0.04em;
    }

    .field {
      display: grid;
      gap: 7px;
      margin-bottom: 13px;
    }

    .field label {
      font-size: 14px;
      color: #31445f;
      font-weight: 950;
    }

    .field input {
      width: 100%;
      min-height: 48px;
      border-radius: 12px;
      border: 1px solid rgba(18,72,130,0.15);
      background: #fff;
      padding: 0 12px;
      color: #102033;
      font-size: 15px;
      font-weight: 800;
      outline: none;
    }

    .field small {
      color: #75869b;
      line-height: 1.5;
      font-size: 12px;
      font-weight: 750;
    }

    .progress-track {
      height: 10px;
      background: rgba(20,120,255,0.1);
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .progress-bar {
      width: 0%;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      transition: width 0.25s ease;
    }

    .message {
      display: none;
      margin-bottom: 12px;
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.5;
    }

    .message.success {
      display: block;
      color: #087d58;
      background: rgba(21,185,129,0.12);
      border: 1px solid rgba(21,185,129,0.22);
    }

    .message.error {
      display: block;
      color: #b42323;
      background: rgba(239,68,68,0.1);
      border: 1px solid rgba(239,68,68,0.22);
    }

    .message.info {
      display: block;
      color: #185fc2;
      background: rgba(20,120,255,0.1);
      border: 1px solid rgba(20,120,255,0.2);
    }

    .tool-actions {
      display: grid;
      gap: 10px;
    }

    .tool-btn,
    .download-btn {
      min-height: 46px;
      border-radius: 12px;
      border: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 950;
      text-align: center;
      transition: 0.2s ease;
    }

    .convert-btn {
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 12px 22px rgba(20,120,255,0.2);
    }

    .add-btn {
      background: #fff;
      border: 1px solid var(--line);
      color: var(--primary);
    }

    .clear-btn {
      background: #fff5f5;
      color: var(--red);
      border: 1px solid rgba(239,68,68,0.18);
    }

    .download-btn {
      background: #f8fbff;
      color: #6a7c95;
      border: 1px solid var(--line);
      box-shadow: none;
      cursor: not-allowed;
      opacity: 0.65;
    }

    .download-btn.ready {
      cursor: pointer;
      opacity: 1;
      color: #fff;
      background: linear-gradient(135deg, var(--green), #5be1ad);
      border: 0;
      box-shadow: 0 12px 22px rgba(21,185,129,0.2);
    }

    .tool-btn:hover,
    .download-btn.ready:hover,
    .preview-mini-btn:hover,
    .thumb-btn:hover {
      transform: translateY(-2px);
    }

    .privacy-note {
      margin-top: 12px;
      padding: 14px;
      border-radius: 12px;
      background: #f8fbff;
      border: 1px solid var(--line);
      color: #6a7c95;
      font-size: 12px;
      line-height: 1.6;
      font-weight: 750;
    }

    .article-section {
      padding: 30px 0;
    }

    .article-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 40px 46px;
    }

    .article-card h2 {
      margin: 0 0 14px;
      color: #081c33;
      text-align: center;
      font-size: 34px;
      line-height: 1.2;
      letter-spacing: -0.05em;
    }

    .article-intro {
      max-width: 920px;
      margin: 0 auto 28px;
      text-align: center;
      color: var(--muted);
      line-height: 1.8;
      font-size: 16px;
      font-weight: 650;
    }

    .article-card h3 {
      margin: 30px 0 12px;
      color: #081c33;
      font-size: 24px;
      letter-spacing: -0.04em;
    }

    .article-card p {
      margin: 0 0 16px;
      color: #425774;
      line-height: 1.9;
      font-size: 16px;
      font-weight: 620;
    }

    .article-card ul,
    .article-card ol {
      margin: 12px 0 20px;
      padding-left: 22px;
      color: #425774;
      line-height: 1.9;
      font-size: 16px;
      font-weight: 650;
    }

    .article-card li {
      margin-bottom: 8px;
    }

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

    .info-box {
      padding: 20px;
      border-radius: 18px;
      background: #f8fbff;
      border: 1px solid var(--line);
    }

    .info-box strong {
      display: block;
      color: var(--primary);
      font-size: 18px;
      margin-bottom: 8px;
    }

    .info-box span {
      display: block;
      color: var(--muted);
      line-height: 1.7;
      font-size: 14px;
      font-weight: 650;
    }

    .faq-wrap {
      margin-top: 28px;
    }

    .faq-title {
      margin: 0 0 16px;
      font-size: 26px;
      color: #081c33;
      letter-spacing: -0.04em;
    }

    .faq-list {
      display: grid;
      gap: 12px;
    }

    .faq-item {
      background: #f8fbff;
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 20px 58px 20px 20px;
      font-size: 16px;
      font-weight: 950;
      color: #102033;
      position: relative;
    }

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

    .faq-item summary::after {
      content: "+";
      width: 30px;
      height: 30px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      display: grid;
      place-items: center;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      transition: 0.2s ease;
    }

    .faq-item[open] summary::after {
      transform: translateY(-50%) rotate(45deg);
    }

    .faq-item p {
      margin: 0;
      padding: 0 20px 20px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.8;
      font-weight: 650;
    }

    .related-section {
      padding: 28px 0 38px;
    }

    .related-card-main {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 34px;
      text-align: center;
    }

    .related-card-main h2 {
      margin: 0;
      font-size: 34px;
      letter-spacing: -0.05em;
    }

    .related-card-main > p {
      margin: 10px 0 24px;
      color: var(--muted);
      font-size: 16px;
      font-weight: 700;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      text-align: left;
    }

    .related-card {
      padding: 20px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 12px 32px rgba(20,70,140,0.06);
      transition: 0.2s ease;
    }

    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 42px rgba(20,70,140,0.11);
    }

    .related-icon {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      font-size: 13px;
      font-weight: 950;
      margin-bottom: 14px;
    }

    .related-card h3 {
      margin: 0 0 8px;
      font-size: 18px;
      letter-spacing: -0.03em;
    }

    .related-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
      font-size: 14px;
      font-weight: 650;
    }

    .site-footer {
      padding: 14px 0 46px;
    }

    .footer-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 22px;
      box-shadow: var(--shadow);
      padding: 24px 28px;
      text-align: center;
    }

    .footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: #172b47;
      font-size: 14px;
      font-weight: 850;
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      padding-top: 16px;
      color: #6a7c95;
      font-size: 13px;
      font-weight: 750;
      line-height: 1.7;
      text-align: center;
    }

    @media (max-width: 980px) {
      .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
      }

      .nav {
        order: 3;
        width: 100%;
      }

      .hero-grid,
      .tool-layout {
        grid-template-columns: 1fr;
      }

      .tool-stats {
        min-width: 100%;
      }

      .related-grid,
      .info-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 22px, 1320px);
      }

      .custom-logo,
      .footer-logo-svg {
        width: 170px;
        max-width: 170px;
      }

      .header-btn {
        width: 100%;
      }

      .hero {
        padding-top: 32px;
      }

      .hero h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 15px;
      }

      .tool-head {
        flex-direction: column;
      }

      .tool-head h2 {
        font-size: 28px;
      }

      .tool-head p {
        font-size: 15px;
      }

      .tool-card,
      .article-card,
      .related-card-main {
        padding: 18px;
      }

      .related-grid,
      .info-grid {
        grid-template-columns: 1fr;
      }

      .pdf-summary {
        grid-template-columns: 1fr;
      }

      .article-card p,
      .article-card ul,
      .article-card ol {
        font-size: 14px;
      }

      .footer-top {
        align-items: center;
        justify-content: center;
        flex-direction: column;
      }
    }
  