 /* ---------- Contribution page scope ---------- */
  .contribution-page a:not(.btn-min){ color:#0d6efd !important; text-decoration: underline; }
  .contribution-page a:not(.btn-min):hover{ text-decoration: none; }

  /* ---------- Hero with soft gradient + spotlight ---------- */
  .about-hero{
    position: relative;
    max-width: 1100px; margin: 18px auto 0;
    padding: 36px 20px;
    border-radius: 18px;
    background:
      radial-gradient(1200px 300px at 50% -10%, rgba(172,203,221,.35), transparent 60%),
      linear-gradient(180deg, rgba(189,225,239,.45), rgba(172,203,221,.22));
    box-shadow: 0 8px 30px rgba(46,45,77,.08);
    overflow: hidden;
  }
  .about-hero h1{ color: var(--c1); margin: 0 0 6px; text-align:center; }
  .about-hero .subtitle{ color:#2e2d4dcc; text-align:center; margin:0; }


  /* ---------- Hero split ---------- */
  .about-hero .wrap{
    display:grid;  gap:18px; align-items:center;
    max-width: 1000px; margin: 12px auto 0;
  }
  @media (max-width: 900px){ .about-hero .wrap{ grid-template-columns: 1fr; } }

  /* ---------- Wave divider ---------- */
  .wave{ display:block; width:100%; height:60px; margin-top: 6px; }
  .wave svg{ width:100%; height:100%; display:block; }

  /* ---------- Simple decorative element ---------- */
  .hero-decoration{
    position: absolute; right: 20px; bottom: 20px; width: 80px; height: 80px;
    pointer-events: none; opacity: 0.6;
  }
  .hero-decoration::before{
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid var(--c3); border-radius: 50%; opacity: 0.3;
    animation: rotate 20s linear infinite;
  }
  .hero-decoration::after{
    content: ''; position: absolute; top: 20px; left: 20px; width: 40px; height: 40px;
    border: 1px solid var(--c4); border-radius: 50%; opacity: 0.5;
    animation: rotate 15s linear infinite reverse;
  }
  @keyframes rotate{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
  }
  @media (max-width: 900px){ .hero-decoration{ display:none; } }

  /* ---------- Cards ---------- */
  .about-cards{
    display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap:20px; max-width:1100px; margin: 18px auto 0;
  }
  .about-card{
    background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:20px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .15s, box-shadow .2s;
    position: relative; overflow: hidden;
  }
  .about-card:hover{ transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
  .about-card h3{ font-size:1.1rem; margin:0 0 8px; color:var(--c1); display: flex; align-items: center; gap: 8px; }
  .about-card .icon{ font-size: 1.3rem; color: var(--c3); }
  .about-card p{ margin:0; line-height: 1.5; }

  /* ---------- Chemical Structure Cards ---------- */
  .structure-cards{
    display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:16px; max-width:1100px; margin: 20px auto 0;
  }
  .structure-card{
    background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: all .2s ease;
    text-align: center; cursor: pointer;
  }
  .structure-card:hover{ 
    transform: translateY(-2px); 
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    border-color: var(--c3);
  }
  .structure-card .molecule{
    width: 80px; height: 80px; margin: 0 auto 8px;
    background: linear-gradient(135deg, var(--c4), var(--c3));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; font-weight: bold;
  }
  .structure-card .name{ font-size: 0.85rem; color: var(--c1); font-weight: 600; }
  .structure-card .arrow{ 
    font-size: 1.2rem; color: var(--c2); margin: 4px 0; 
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

  /* ---------- Process Steps ---------- */
  .process-steps{
    display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:20px; max-width:1100px; margin: 20px auto 0;
  }
  .process-step{
    background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:20px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06); position: relative;
    transition: all .2s ease;
  }
  .process-step:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
  .process-step .step-number{
    position: absolute; top: -12px; left: 20px;
    background: var(--c3); color: white; width: 24px; height: 24px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: bold;
  }
  .process-step h4{ margin: 8px 0 8px; color: var(--c1); font-size: 1.1rem; }
  .process-step p{ margin: 0; color: #2e2d4dcc; line-height: 1.5; }

  /* ---------- Interactive Elements ---------- */
  .interactive-demo{
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px dashed var(--c3); border-radius: 16px; padding: 30px;
    text-align: center; margin: 20px auto; max-width: 800px;
  }
  .demo-molecules{
    display: flex; justify-content: center; align-items: center; gap: 20px;
    margin: 20px 0; flex-wrap: wrap;
  }
  .demo-molecule{
    width: 60px; height: 60px; background: var(--c3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: bold; font-size: 0.9rem;
    transition: all .3s ease; cursor: pointer;
  }
  .demo-molecule:hover{ transform: scale(1.1); background: var(--c2); }
  .demo-arrow{ font-size: 1.5rem; color: var(--c2); animation: bounce 2s infinite; }
  @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

  /* ---------- Feature Highlights ---------- */
  .feature-highlights{
    display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:20px; max-width:1100px; margin: 20px auto 0;
  }
  .feature-card{
    background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:20px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .2s ease;
    border-left: 4px solid var(--c3);
  }
  .feature-card:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
  .feature-card .feature-icon{
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--c4), var(--c3));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; margin-bottom: 12px;
  }
  .feature-card h4{ margin: 0 0 8px; color: var(--c1); font-size: 1.1rem; }
  .feature-card p{ margin: 0; color: #2e2d4dcc; line-height: 1.5; font-size: 0.9rem; }

  /* ---------- Template Guide ---------- */
  .template-guide{
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px; padding: 30px; margin: 20px auto; max-width: 1100px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }
  .template-header{
    text-align: center; margin-bottom: 30px;
  }
  .template-header h3{
    color: var(--c1); font-size: 1.8rem; margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
  }
  .template-header .template-icon{
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--c3), var(--c2));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
  }
  .template-tabs{
    display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center;
  }
  .template-tab{
    padding: 8px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
    cursor: pointer; transition: all .2s ease; font-size: 0.9rem; font-weight: 600;
    color: var(--c1);
  }
  .template-tab.active{
    background: var(--c3); color: white; border-color: var(--c3);
  }
  .template-tab:hover:not(.active){
    background: #f3f4f6; border-color: var(--c3);
  }
  .template-content{
    display: none;
  }
  .template-content.active{
    display: block;
  }

  /* ---------- Field Cards ---------- */
  .field-grid{
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px; margin: 20px 0;
  }
  .field-card{
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: all .2s ease;
    position: relative; overflow: hidden;
  }
  .field-card:hover{
    transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08);
    border-color: var(--c3);
  }
  .field-card .field-header{
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  }
  .field-card .field-icon{
    width: 32px; height: 32px; background: var(--c3); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: white;
    font-size: 0.9rem; font-weight: bold;
  }
  .field-card .field-name{
    font-weight: 700; color: var(--c1); font-size: 1rem;
  }
  .field-card .field-type{
    background: #e2e8f0; color: var(--c1); padding: 2px 8px; border-radius: 12px;
    font-size: 0.75rem; font-weight: 600; margin-left: auto;
  }
  .field-card .field-description{
    color: #2e2d4dcc; font-size: 0.9rem; line-height: 1.4; margin-bottom: 8px;
  }

  .field-card .field-required{
    position: absolute; top: 8px; right: 8px;
    background: #ef4444; color: white; padding: 2px 6px; border-radius: 4px;
    font-size: 0.7rem; font-weight: bold;
  }

  /* ---------- Template Comparison ---------- */
  .template-comparison{
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px; margin: 20px 0;
  }
  .comparison-card{
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .2s ease;
  }
  .comparison-card:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
  .comparison-card .card-header{
    display: flex; align-items: center; gap: 12px; margin-bottom: 15px;
  }
  .comparison-card .card-icon{
    width: 40px; height: 40px; background: linear-gradient(135deg, var(--c4), var(--c3));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white;
  }
  .comparison-card h4{ margin: 0; color: var(--c1); font-size: 1.2rem; }
  .comparison-card .card-badge{
    background: var(--c3); color: white; padding: 4px 8px; border-radius: 12px;
    font-size: 0.75rem; font-weight: 600; margin-left: auto;
  }
  .comparison-card ul{
    list-style: none; padding: 0; margin: 0;
  }
  .comparison-card li{
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
    color: #2e2d4dcc; font-size: 0.9rem;
  }
  .comparison-card .check-icon{
    color: #10b981; font-size: 0.9rem;
  }

  /* ---------- Interactive Examples ---------- */
  .example-section{
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px;
    margin: 20px 0; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  }
  .example-header{
    display: flex; align-items: center; gap: 10px; margin-bottom: 15px;
  }
  .example-icon{
    width: 36px; height: 36px; background: var(--c3); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: white;
    font-size: 1rem;
  }
  .example-tabs{
    display: flex; gap: 4px; margin-bottom: 15px; flex-wrap: wrap;
  }
  .example-tab{
    padding: 6px 12px; background: #f3f4f6; border: 1px solid #e2e8f0; border-radius: 16px;
    cursor: pointer; transition: all .2s ease; font-size: 0.85rem; font-weight: 600;
    color: var(--c1);
  }
  .example-tab.active{
    background: var(--c3); color: white; border-color: var(--c3);
  }
  .example-content{
    display: none;
  }
  .example-content.active{
    display: block;
  }
  .example-code{
    background: #1e293b; color: #e2e8f0; padding: 15px; border-radius: 8px;
    font-family: monospace; font-size: 0.85rem; line-height: 1.4;
    overflow-x: auto; margin: 10px 0;
  }
  .example-description{
    color: #2e2d4dcc; font-size: 0.9rem; line-height: 1.5; margin-bottom: 10px;
  }

  /* ---------- Info section tweaks ---------- */
  .info-section{ max-width:1100px; margin: 20px auto 0; }
  .info-text p + p { margin-top:.8rem; }

  /* ---------- Neutral CTA (non-blue) ---------- */
  .about-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px; }

  /* ===== Larger CTA buttons in hero only ===== */
  .about-hero .btn-min {
    font-size: 1.1rem;      
    padding: 10px 16px;       
    border-radius: 12px;     
  }

  .about-cta .btn-min {
    color: var(--c1) !important;
    font-weight: 700;
  }

  .about-hero .btn-min:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
  }

  .btn-min{
    background: #fff; border:1px solid #d0d5dd; color:#111 !important;
    border-radius:10px; padding:6px 10px; font-size:.75rem; text-decoration:none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  }
  .btn-min:hover{ background:#f3f4f6; border-color:#c5cad3; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }

  /* ---------- Reveal on scroll ---------- */
  .reveal{ opacity:0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
  .reveal.show{ opacity:1; transform: none; }

  /* ---------- Respect reduced motion ---------- */
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity:1; transform:none; }
  }

  /* ---------- Field Descriptions ---------- */
  .field-descriptions{ max-width: 100%; }
  .field-intro{ margin-bottom: 30px; }
  .field-categories{ display: grid; gap: 24px; margin-bottom: 30px; }
  .field-category{ background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
  .field-list{ display: grid; gap: 16px; }
  .field-item{ 
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
    padding: 16px; background: #f8fafc; border-radius: 8px; border-left: 4px solid var(--c3);
    transition: all .2s ease;
  }
  .field-item:hover{ background: #f1f5f9; transform: translateX(4px); }
  .field-name{ 
    font-weight: 700; color: var(--c1); font-size: 1rem; margin-bottom: 6px;
    font-family: 'Courier New', monospace; background: var(--c3); color: white;
    padding: 4px 8px; border-radius: 4px; display: inline-block; width: fit-content;
  }
  .field-desc{ color: #2e2d4dcc; font-size: 0.9rem; line-height: 1.5; }
  /* Creative gradient-outline chips with mini indicator */
  .field-required-badge,
  .field-optional-badge{
    --chip-bg: #ffffff;
    --chip-border-1: var(--c3);
    --chip-border-2: var(--c4);
    --chip-text: var(--c1);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .2px;
    background: linear-gradient(var(--chip-bg), var(--chip-bg)) padding-box,
                linear-gradient(135deg, var(--chip-border-1), var(--chip-border-2)) border-box;
    border: 1.5px solid transparent; color: var(--chip-text);
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
    width: 92px; /* ensure same visual width for all */
    min-height: 22px;
  }
  .field-required-badge::before,
  .field-optional-badge::before{
    content: ""; width: 8px; height: 8px; border-radius: 50%; display:inline-block;
    box-shadow: 0 0 0 2px rgba(0,0,0,.02) inset;
  }
  .field-required-badge{
    --chip-bg: #fbfdff;
    --chip-border-1: var(--c3);
    --chip-border-2: var(--c2);
  }
  .field-required-badge::before{ background: linear-gradient(135deg, var(--c3), var(--c2)); }
  .field-optional-badge{
    --chip-bg: #ffffff;
    --chip-border-1: #cbd5e1;
    --chip-border-2: #e2e8f0;
    --chip-text: #475569;
  }
  .field-optional-badge::before{ background: linear-gradient(135deg, #94a3b8, #cbd5e1); }
  .field-required-badge:hover,
  .field-optional-badge:hover{ transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
  .field-tips{
    background: linear-gradient(135deg, #fef3c7, #fde68a); border: 1px solid #f59e0b;
    border-radius: 12px; padding: 20px; margin-top: 20px;
  }
  .field-tips ul{ margin: 0; padding-left: 20px; }
  .field-tips li{ margin-bottom: 8px; }

  /* ---------- Partner marquee (like About page) ---------- */
  .marquee{ overflow:hidden; white-space:nowrap; border:1px solid #e2e8f0; border-radius:12px; background:#fff; box-shadow: 0 4px 14px rgba(0,0,0,.04); max-width:1100px; margin: 18px auto 0; padding:8px; }
  .marquee .track{ display:inline-block; animation: scrollX 52s linear infinite; }
  @keyframes scrollX{ from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
  .marquee img{ height:40px; margin: 0 18px; vertical-align:middle; }