  * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: #f4f7fb;
      color: #1f2937;
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.7;
    }

    a {
      color: inherit;
    }

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

    header {
      padding: 48px 20px;
      background: linear-gradient(135deg, #d9ffd7, #effff5);
      border-bottom: 1px solid #ccebc9;
    }

    .header-inner,
    .page {
      width: min(92%, 1080px);
      margin: 0 auto;
    }

    h1 {
      max-width: 820px;
      margin: 0;
      color: #0f172a;
      font-size: clamp(2rem, 5vw, 3.35rem);
      line-height: 1.15;
      letter-spacing: -0.04em;
    }

    .subtitle {
      max-width: 760px;
      margin: 18px 0 0;
      color: #334155;
      font-size: 18px;
    }

    .page {
      margin-top: 34px;
      margin-bottom: 60px;
      padding: 38px;
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    }

    .affiliate-note {
      margin: 0 0 24px;
      padding: 14px 18px;
      color: #7c2d12;
      background: #fff7ed;
      border: 1px solid #fed7aa;
      border-radius: 12px;
      font-size: 14px;
    }

    .intro {
      font-size: 18px;
      margin: 30px 0;
    }

    h2 {
      margin: 78px 0 20px;
      padding-left: 14px;
      color: #111827;
      border-left: 6px solid #22c55e;
      font-size: clamp(1.6rem, 3vw, 2rem);
      line-height: 1.3;
    }

    h3 {
      margin: 0 0 10px;
      color: #111827;
      font-size: 22px;
    }

    .toc {
      margin: 32px 0;
      padding: 24px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
    }

    .toc-title {
      margin: 0 0 14px;
      color: #0f172a;
      font-size: 20px;
      font-weight: 800;
    }

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

    .toc-link {
      display: block;
      height: 100%;
      padding: 16px;
      color: #166534;
      background: #ecfdf5;
      border: 1px solid #bbf7d0;
      border-radius: 12px;
      font-weight: 800;
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .toc-link:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 22px rgba(34, 197, 94, 0.15);
    }

    .summary-box {
      margin: 58px 0;
      padding: 22px;
      background: linear-gradient(135deg, #effff3, #ffffff);
      border: 1px solid #bbf7d0;
      border-radius: 16px;
    }

    .summary-box strong {
      color: #166534;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      margin-top: 26px;
    }

    .product-card {
      display: flex;
      flex-direction: column;
      padding: 22px;
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 32px rgba(15, 23, 42, 0.12);
    }

    .product-card img {
      width: 100%;
      height: 180px;
      margin: 12px auto 18px;
      object-fit: contain;
    }

    .product-card p {
      flex-grow: 1;
      margin: 0 0 18px;
      color: #475569;
    }

    .amazon-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 12px 18px;
      color: #ffffff;
      background: #f97316;
      border-radius: 999px;
      box-shadow: 0 8px 18px rgba(249, 115, 22, 0.25);
      font-weight: 800;
      line-height: 1.35;
      text-align: center;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .amazon-button:hover {
      background: #ea580c;
      transform: translateY(-2px);
    }

    .starter-kit {
      margin-top: 24px;
      padding: 28px;
      background: linear-gradient(135deg, #fff7ed, #ffffff);
      border: 2px solid #fb923c;
      border-radius: 20px;
      box-shadow: 0 12px 28px rgba(249, 115, 22, 0.11);
    }

    .starter-kit-layout {
      display: grid;
      grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
      gap: 28px;
      align-items: center;
    }

    .starter-kit img {
      width: 100%;
      max-height: 280px;
      object-fit: contain;
    }

    .starter-kit ul {
      margin: 18px 0 22px;
      padding-left: 22px;
    }

    .starter-kit li {
      margin-bottom: 8px;
    }

    .recommended-label {
      display: inline-block;
      margin-bottom: 10px;
      padding: 5px 11px;
      color: #ffffff;
      background: #f97316;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
    }

    .comparison {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
      margin-top: 100px;
    }

    .comparison-card {
      padding: 22px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
    }

    .comparison-card ul {
      margin-bottom: 0;
      padding-left: 22px;
    }

    .notice {
      margin-top: 24px;
      padding: 16px 18px;
      color: #334155;
      background: #f8fafc;
      border-left: 5px solid #64748b;
      border-radius: 10px;
      font-size: 14px;
    }

    /* =========================
       Internal link to code tutorial
    ========================= */

    .code-guide {
      margin-top: 100px;
    }

    .code-guide-inner {
      padding: 30px;
      text-align: center;
      background: linear-gradient(135deg, #eff6ff, #ffffff);
      border: 1px solid #bfdbfe;
      border-radius: 18px;
      box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
    }

    .code-guide-label {
      display: inline-block;
      margin: 0 0 8px;
      padding: 5px 11px;
      color: #1d4ed8;
      background: #dbeafe;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
    }

    .code-guide h2 {
      margin-top: 8px;
      padding-left: 0;
      border-left: none;
    }

    .code-guide p {
      max-width: 720px;
      margin-left: auto;
      margin-right: auto;
    }

    .code-guide-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      margin-top: 8px;
      padding: 12px 22px;
      color: #ffffff;
      background: #2563eb;
      border-radius: 999px;
      box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
      font-weight: 800;
      line-height: 1.35;
      text-align: center;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .code-guide-button:hover {
      background: #1d4ed8;
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    }

    .final-cta {
      margin-top: 120px;
      padding: 30px;
      text-align: center;
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      border-radius: 18px;
    }

    .final-cta h2 {
      margin-top: 0;
      padding-left: 0;
      border-left: none;
    }

    footer {
      padding: 28px 20px;
      color: #64748b;
      text-align: center;
      font-size: 14px;
    }

    section[id] {
      scroll-margin-top: 24px;
    }

    @media (max-width: 820px) {
      .page {
        width: min(94%, 720px);
        padding: 24px 18px;
      }

      .toc-list,
      .product-grid,
      .comparison,
      .starter-kit-layout {
        grid-template-columns: 1fr;
      }

      .product-card img {
        height: 160px;
      }

      .amazon-button,
      .code-guide-button {
        width: 100%;
      }
    }