:root{
    --ink:#1B2430;
    --paper:#FAFAF8;
    --panel:#F1EFE8;
    --panel-line:#E1DCCF;
    --gold:#2E5496;
    --gold-dark:#1F3864;
    --teal:#2E5496;
    --teal-dark:#1F3864;
    --blue:#2E5496;
    --blue-light:#5B8DEF;
    --blue-lighter:#DCE7FA;
    --blue-dark:#1F3864;
    --blue-band:#1F3864;
    --muted:#8C8377;
    --danger:#B3452F;
    --danger-bg:#FBEAE4;
    --success:#2E5496;
    --success-bg:#EEF2F8;
    --radius:10px;
    --shadow: 0 1px 2px rgba(27,36,48,0.06), 0 6px 20px rgba(27,36,48,0.06);
  }
  *{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
  html,body{margin:0;padding:0;}
  html{-webkit-text-size-adjust:100%; text-size-adjust:100%;}
  button, .fmt-tile, .dropzone, a{touch-action:manipulation;}
  body{
    background-color:#FFFFFF;
    color:var(--ink);
    font-family:'Inter', system-ui, sans-serif;
    min-height:100vh;
    line-height:1.5;
    border:6px solid var(--ink);
    box-sizing:border-box;
  }
  /* Thin accent frame just inside the main border for a polished look. */
  body::before{
    content:"";
    position:fixed;
    top:6px; left:6px; right:6px; bottom:6px;
    border:1px solid var(--panel-line);
    pointer-events:none;
    z-index:40;
  }
  @media (max-width:600px){
    body{border-width:4px;}
    body::before{top:4px; left:4px; right:4px; bottom:4px;}
  }
  .wrap{max-width:1200px;margin:0 auto;padding:40px 24px 0;}
  @media (max-width:480px){
    .wrap{padding:24px 16px 0;}
  }
  .hero-row{
    display:flex; align-items:center; gap:40px;
    margin:8px 0 40px;
    justify-content:flex-start;
    text-align:left;
  }
  .hero-text{max-width:760px;}
  .hero-text{flex:1; min-width:0;}
  .hero-graphic{flex:0 0 200px; width:200px;}
  .hero-graphic svg{width:100%; height:auto; display:block;}
  @media (max-width:680px){
    .hero-row{flex-direction:column; align-items:flex-start;}
    .hero-graphic{flex:0 0 auto; width:150px; align-self:center; margin-bottom:4px;}
  }
  .hero-fan-card{animation:fan-float 3.2s ease-in-out infinite;}
  .hero-fan-card.c2{animation-delay:.15s;}
  .hero-fan-card.c3{animation-delay:.3s;}
  @keyframes fan-float{
    0%, 100%{transform:translateY(0);}
    50%{transform:translateY(-3px);}
  }
  .hero-arrow-dash{stroke-dasharray:4 5; animation:dash-move 1.2s linear infinite;}
  @keyframes dash-move{to{stroke-dashoffset:-18;}}
  @media (prefers-reduced-motion: reduce){
    .hero-fan-card{animation:none;}
    .hero-arrow-dash{animation:none;}
  }
  .kicker{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--blue);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
  }
  .kicker::before{
    content:"";
    width:8px;height:8px;border-radius:50%;
    background:var(--blue);
    display:inline-block;
  }
  h1{
    font-family:'Space Grotesk', sans-serif;
    font-size:clamp(34px, 5.2vw, 56px);
    font-weight:700;
    line-height:1.08;
    letter-spacing:-0.02em;
    margin:0 0 18px;
    color:var(--ink);
  }
  h1 .accent{
    background:linear-gradient(120deg, var(--teal), var(--gold));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .lede{
    font-size:18px;
    line-height:1.6;
    color:#4A5262;
    max-width:78ch;
    margin:0 0 8px;
  }
  .lede-sub{
    font-size:15.5px;
    line-height:1.68;
    color:#5B6473;
    max-width:82ch;
    margin:14px 0 8px;
  }
  .lede code, .lede-sub code{
    font-family:'JetBrains Mono', monospace;
    font-size:0.86em;
    background:var(--blue-lighter);
    color:var(--blue-dark);
    padding:1px 6px;
    border-radius:5px;
    white-space:nowrap;
  }
  .trust-line{
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    color:var(--muted);
    margin:14px 0 40px;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .trust-line svg{flex:none;}

  .card{
    position:relative;
    background:#fff;
    border:1.5px solid var(--panel-line);
    border-radius:18px;
    box-shadow:0 2px 6px rgba(27,36,48,0.06), 0 18px 44px rgba(27,36,48,0.10);
    overflow:hidden;
    scroll-margin-top:96px;
  }
  .card::before{
    content:"";
    position:absolute; top:0; left:0; right:0; height:4px;
    background:linear-gradient(90deg, var(--teal), #3D6BB0, var(--gold));
  }
  .card-section{padding:28px 30px;}
  @media (max-width:480px){
    .card-section{padding:20px 18px;}
  }
  .card-section + .card-section{border-top:1px solid var(--panel-line);}
  .step-label{
    font-family:'JetBrains Mono', monospace;
    font-size:11.5px;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--muted);
    margin:0 0 14px;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .step-label .num{
    width:20px;height:20px;border-radius:50%;
    background:var(--ink); color:var(--paper);
    display:inline-flex;align-items:center;justify-content:center;
    font-size:11px; font-weight:600;
  }

  /* Dropzone */
  .dropzone{
    border:1.5px dashed #A9C0E8;
    border-radius:12px;
    padding:34px 20px;
    text-align:center;
    cursor:pointer;
    transition: border-color .15s ease, background .15s ease;
    background:var(--blue-lighter);
  }
  .dropzone:hover, .dropzone.dragover{
    border-color:var(--blue);
    background:#CBDBF7;
  }
  .dropzone svg{margin-bottom:10px;}
  .dropzone .dz-title{font-weight:600; font-size:15px; color:var(--blue-dark);}
  .dropzone .dz-sub{font-size:13px; color:#5B6473; margin-top:4px;}
  #fileInput{display:none;}

  .file-chip{
    display:flex;align-items:center;gap:12px;
    background:var(--panel);
    border:1px solid var(--panel-line);
    border-radius:10px;
    padding:12px 16px;
  }
  .file-chip .icon{
    width:34px;height:34px;border-radius:8px;
    background:var(--ink); color:var(--paper);
    display:flex;align-items:center;justify-content:center;
    font-family:'JetBrains Mono', monospace; font-size:10px; font-weight:700;
    flex:none;
  }
  .file-chip .meta{flex:1; min-width:0;}
  .file-chip .fname{font-weight:600; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .file-chip .fsize{font-size:12px; color:var(--muted); font-family:'JetBrains Mono', monospace;}
  .file-chip .folder-note{
    font-size:11.5px; color:var(--teal); font-family:'JetBrains Mono', monospace;
    margin-top:3px; display:flex; align-items:center; gap:5px;
  }
  .file-chip .folder-note svg{flex:none;}
  .file-chip button{
    background:none;border:none;color:var(--muted);
    font-family:'JetBrains Mono', monospace; font-size:12px;
    cursor:pointer; text-decoration:underline; padding:4px;
  }
  .file-chip button:hover{color:var(--ink);}

  .folder-listing{
    margin-top:12px;
    border:1px solid var(--panel-line);
    border-radius:10px;
    overflow:hidden;
  }
  .folder-listing-head{
    display:flex; align-items:center; justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    background:var(--panel);
    font-size:12.5px; font-weight:600;
  }
  .folder-listing-head #chooseDifferentFolderBtn{
    background:none; border:none; color:var(--teal);
    font-family:'JetBrains Mono', monospace; font-size:11.5px;
    text-decoration:underline; cursor:pointer; padding:2px; flex:none;
  }
  .folder-listing-body{
    max-height:220px; overflow-y:auto;
  }
  .folder-pdf-row{
    display:flex; align-items:center; gap:10px;
    padding:10px 12px;
    cursor:pointer;
    border-top:1px solid var(--panel-line);
    font-size:13.5px;
  }
  .folder-pdf-row:first-child{border-top:none;}
  .folder-pdf-row:hover{background:var(--panel);}
  .folder-pdf-row .fname{flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .folder-listing-empty{
    padding:16px 12px; font-size:13px; color:var(--muted); text-align:center;
  }

  /* Checkbox tiles */
  .format-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
    margin-top:14px;
  }
  @media (max-width:560px){ .format-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:360px){ .format-grid{grid-template-columns:1fr; gap:8px;} }

  .select-all-row{display:none;}

  .fmt-tile{
    position:relative;
    border:1.5px solid #D3E0F2;
    border-radius:10px;
    padding:14px 12px 12px;
    cursor:pointer;
    background:var(--blue-lighter);
    transition: border-color .12s ease, background .12s ease, transform .08s ease;
    user-select:none;
  }
  .fmt-tile:hover{border-color:#B9CBEA; background:#CBDBF7;}
  .fmt-tile.checked{
    border-color:var(--blue-dark);
    background:var(--blue-dark);
  }
  .fmt-tile:active{transform:scale(0.98);}
  .fmt-tile input{position:absolute; opacity:0; pointer-events:none;}
  .fmt-tile .top-row{display:flex; align-items:flex-start; justify-content:space-between;}
  .fmt-tile .fmt-icon{display:flex; line-height:0; color:var(--blue);}
  .fmt-tile.checked .fmt-icon{color:#fff;}
  .fmt-tile .ext{
    font-family:'JetBrains Mono', monospace;
    font-weight:700; font-size:14.5px; letter-spacing:.02em;
    display:block; margin-top:8px;
    color:var(--blue-dark);
  }
  /* When selected (dark-blue tile), flip text and icon to light for contrast. */
  .fmt-tile.checked .ext{color:#fff;}
  .fmt-tile.checked .desc{color:#C9D6EC;}
  .fmt-tile .box{
    width:18px;height:18px;border-radius:50%;
    border:1.5px solid #97A9C9;
    display:flex;align-items:center;justify-content:center;
    flex:none;
    background:transparent;
  }
  .fmt-tile.checked .box{border-color:#fff;}
  .fmt-tile .box .dot{
    width:9px;height:9px;border-radius:50%;
    background:#fff;
    opacity:0; transform:scale(0.4);
    transition:opacity .1s ease, transform .1s ease;
  }
  .fmt-tile.checked .box .dot{opacity:1; transform:scale(1);}
  .fmt-tile .desc{font-size:11.5px; color:#5B6473; margin-top:6px; line-height:1.35;}

  /* Convert button */
  .convert-btn{
    width:100%;
    margin-top:20px;
    padding:15px 20px;
    border:none;
    border-radius:10px;
    background:var(--blue-lighter);
    color:var(--blue-dark);
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    font-size:15.5px;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center; gap:10px;
    transition:background .15s ease, color .15s ease, transform .08s ease;
  }
  .convert-btn:hover:not(:disabled){background:#CBDBF7;}
  /* On click/press, switch to dark blue with light-blue text. */
  .convert-btn:active:not(:disabled){background:var(--blue-dark); color:var(--blue-light); transform:scale(0.995);}
  .convert-btn:disabled{background:var(--blue-lighter); color:#7E93B8; cursor:not-allowed;}
  .convert-btn .spinner{
    width:16px;height:16px;border-radius:50%;
    border:2px solid rgba(31,56,100,0.25);
    border-top-color:var(--blue-dark);
    animation:spin .7s linear infinite;
    display:none;
  }
  .convert-btn.loading .spinner{display:inline-block;}
  @keyframes spin{to{transform:rotate(360deg);}}

  /* Progress list */
  .progress-list{display:flex; flex-direction:column; gap:8px;}
  .progress-wrap{margin-top:18px;}
  .progress-row{
    display:flex; align-items:center; gap:10px;
    padding:10px 12px;
    border-radius:8px;
    background:var(--panel);
    font-size:13.5px;
  }
  .progress-row .status-icon{
    width:18px;height:18px;flex:none;
    display:flex;align-items:center;justify-content:center;
  }
  .progress-row .ext-tag{
    font-family:'JetBrains Mono', monospace;
    font-weight:700;
    width:52px; flex:none;
  }
  .progress-row .msg{color:var(--muted); flex:1; min-width:0;}
  .progress-row.state-pending .status-icon{color:var(--muted);}
  .progress-row.state-working .status-icon svg{animation:spin 0.8s linear infinite;}
  .progress-row.state-done{background:var(--success-bg);}
  .progress-row.state-done .msg{color:var(--teal-dark);}
  .progress-row.state-error{background:var(--danger-bg);}
  .progress-row.state-error .msg{color:var(--danger);}

  /* Compact inline result (used only if the status pop-up is blocked) */
  .inline-result{
    display:flex; align-items:flex-start; gap:12px;
    padding:14px 16px;
    border-radius:10px;
    margin-top:14px;
    border:1px solid var(--panel-line);
  }
  .inline-result.ok{background:var(--success-bg); border-color:#C9D6EC;}
  .inline-result.fail{background:var(--danger-bg); border-color:#EBC9BC;}
  .inline-result strong{display:block; font-family:'Space Grotesk',sans-serif; margin-bottom:2px;}
  .popup-note{
    font-family:'JetBrains Mono', monospace; font-size:11.5px; color:var(--muted);
    margin-top:10px; text-align:center;
  }

  /* Error banner */
  .banner{
    display:flex; align-items:flex-start; gap:12px;
    padding:14px 16px;
    border-radius:10px;
    background:var(--danger-bg);
    border:1px solid #EBC9BC;
    color:var(--danger);
    font-size:13.5px;
    margin-bottom:14px;
  }
  .banner .close-btn{
    margin-left:auto; background:none; border:none; color:var(--danger);
    cursor:pointer; font-size:16px; line-height:1; padding:2px;
    flex:none;
  }
  .banner strong{display:block; margin-bottom:2px; font-family:'Space Grotesk',sans-serif;}
  .banner.notice{
    background:#EEF2F8; border-color:#C9D6EC; color:var(--gold-dark);
  }
  .banner.notice .close-btn{color:var(--gold-dark);}

  .hidden{display:none !important;}

  .pw-modal-backdrop{
    position:fixed; inset:0; background:rgba(27,36,48,0.45);
    display:flex; align-items:center; justify-content:center;
    z-index:50; padding:20px;
  }
  .pw-modal{
    background:#fff; border-radius:12px; padding:24px;
    max-width:360px; width:100%;
    box-shadow:0 20px 60px rgba(0,0,0,0.25);
  }
  .pw-modal-title{
    font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:16px;
    margin-bottom:6px;
  }
  .pw-modal-desc{font-size:13px; color:#4A5262; margin-bottom:14px;}
  .pw-modal-input{
    width:100%; padding:12px; border:1.5px solid #D9D5C9; border-radius:8px;
    font-size:16px; margin-bottom:14px; box-sizing:border-box;
  }
  .pw-modal-actions{display:flex; gap:8px; justify-content:flex-end;}
  .pw-modal-btn{
    padding:12px 16px; border-radius:8px; cursor:pointer; font-size:14px; min-height:44px;
  }
  .pw-modal-btn-cancel{border:1px solid #D9D5C9; background:#fff;}
  .pw-modal-btn-submit{border:none; background:var(--ink); color:#fff;}

  .again-row{margin-top:16px; text-align:center;}
  .again-row button{
    background:none; border:none; color:var(--teal);
    font-family:'JetBrains Mono', monospace; font-size:12.5px;
    text-decoration:underline; cursor:pointer;
  }

  footer{
    margin-top:36px;
    font-family:'JetBrains Mono', monospace;
    font-size:11.5px; color:var(--muted); text-align:center;
  }

  @media (prefers-reduced-motion: reduce){
    .convert-btn .spinner{animation:none;}
    .progress-row.state-working .status-icon svg{animation:none;}
  }

  /* ===================== HEADER MENU BAR ===================== */
  .site-header{
    position:sticky; top:0; z-index:50;
    background:var(--blue-dark);
    box-shadow:0 2px 12px rgba(31,56,100,0.28);
    transition:box-shadow .2s ease;
    /* Full-bleed: extend past the body's 6px frame to the true page edges. */
    margin:-6px -6px 0;
  }
  /* No separate accent strip needed — the whole band is blue now. */
  .site-header::before{ content:none; }
  @media (max-width:600px){
    .site-header{margin:-4px -4px 0;}
  }
  /* Accent band across the very top of the header. */
  .site-header::before{
    content:"";
    display:block; height:4px;
    background:var(--blue);
  }
  .site-header.scrolled{
    border-bottom-color:var(--panel-line);
    box-shadow:0 4px 20px rgba(27,36,48,0.06);
  }
  .site-header-inner{
    max-width:1080px; margin:0 auto;
    padding:16px 24px;
    display:flex; align-items:center; gap:18px;
  }
  @media (max-width:480px){ .site-header-inner{padding:12px 16px;} }
  .brand{
    display:inline-flex; align-items:center; gap:11px;
    text-decoration:none; color:#ffffff;
    font-weight:700; font-size:17px;
    font-family:'Space Grotesk', sans-serif;
    margin-right:auto;
  }
  .brand-mark{
    width:36px; height:36px; border-radius:10px;
    background:rgba(255,255,255,0.14);
    color:#fff; display:grid; place-items:center; flex:none;
  }
  .brand-name{white-space:nowrap;}
  .main-nav{
    display:flex; align-items:center; gap:4px;
    background:transparent;
    padding:0;
    border-radius:0;
  }
  .main-nav a{
    color:#EAF0FA; text-decoration:none;
    font-size:14px; font-weight:500;
    padding:8px 12px; border-radius:8px;
    transition:background .15s ease, color .15s ease;
  }
  .main-nav a:hover{background:rgba(255,255,255,0.14); color:#fff;}
  .main-nav a.nav-cta{
    background:var(--blue-lighter);
    color:var(--blue-dark); font-weight:600; margin-left:6px;
    box-shadow:0 2px 8px rgba(31,56,100,0.18);
  }
  .main-nav a.nav-cta:hover{background:#fff; color:var(--blue-dark);}
  .main-nav a.nav-cta:active{background:var(--blue-dark); color:var(--blue-light);}
  /* Hide the toggle checkbox visually but keep it interactive. iOS Safari
     will NOT toggle a display:none checkbox from its label tap, so we take it
     out of flow off-screen instead of removing it from the interaction model. */
  .nav-toggle{
    position:absolute; opacity:0; pointer-events:none;
    width:1px; height:1px; margin:-1px; padding:0; border:0;
    overflow:hidden; clip:rect(0 0 0 0);
  }
  .nav-burger{display:none;}
  @media (max-width:760px){
    .nav-burger{
      display:flex; flex-direction:column; justify-content:center; gap:5px;
      width:42px; height:42px; border-radius:9px; cursor:pointer;
      border:1px solid var(--panel-line); background:#fff; flex:none;
    }
    .nav-burger span{
      display:block; height:2px; width:20px; margin:0 auto;
      background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease;
    }
    .nav-toggle:checked + .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
    .nav-toggle:checked + .nav-burger span:nth-child(2){opacity:0;}
    .nav-toggle:checked + .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
    .main-nav{
      position:absolute; top:100%; left:0; right:0;
      z-index:49;
      flex-direction:column; align-items:stretch; gap:2px;
      background:#ffffff; border-bottom:1px solid var(--panel-line);
      padding:10px 16px 16px;
      box-shadow:0 12px 24px rgba(27,36,48,0.14);
      max-height:0; overflow:hidden; opacity:0; visibility:hidden;
      transition:max-height .28s ease, opacity .2s ease, padding .28s ease, visibility .28s ease;
    }
    .nav-toggle:checked ~ .main-nav{max-height:70vh; opacity:1; visibility:visible; overflow:auto;}
    .main-nav a{padding:13px 14px; font-size:15px; color:var(--ink); border-radius:8px;}
    .main-nav a:hover, .main-nav a:active{background:var(--panel); color:var(--blue-dark);}
    .main-nav a.nav-cta{
      margin-left:0; margin-top:8px; text-align:center;
      background:var(--blue); color:#fff;
    }
    .main-nav a.nav-cta:active{background:var(--blue-dark); color:var(--blue-light);}
    .main-nav .nav-search{justify-content:flex-start;}
  }

  /* ===================== SECTIONS ===================== */
  .section{max-width:1200px; margin:0 auto; padding:clamp(40px,7vw,72px) 24px 0;}
  @media (max-width:480px){ .section{padding:44px 16px 0;} }
  .section-head{text-align:left; max-width:820px; margin:0 0 32px;}
  .section-title{
    font-family:'Space Grotesk', sans-serif; font-weight:700;
    font-size:clamp(22px,3.6vw,30px); line-height:1.15; margin:6px 0 0;
    letter-spacing:-0.01em;
  }
  .section-sub{color:var(--muted); font-size:15px; margin:12px 0 0; line-height:1.6;}

  .steps-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  }
  @media (max-width:720px){ .steps-grid{grid-template-columns:1fr;} }
  .step-card{
    background:#fff; border:1.5px solid var(--panel-line); border-radius:16px;
    padding:24px 22px;
    box-shadow:0 2px 6px rgba(27,36,48,0.05), 0 10px 26px rgba(27,36,48,0.06);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .step-card:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 14px rgba(27,36,48,0.08), 0 20px 40px rgba(27,36,48,0.10);
    border-color:#D6CFBE;
  }
  .step-ic{
    width:46px; height:46px; border-radius:12px;
    display:grid; place-items:center; margin-bottom:14px;
    background:var(--success-bg); color:var(--teal-dark);
  }
  .step-card:nth-child(2) .step-ic{background:#EEF2F8; color:var(--gold-dark);}
  .step-card:nth-child(3) .step-ic{background:#EAF2FB; color:#3A6EA5;}
  .step-card h3{
    font-family:'Space Grotesk', sans-serif; font-size:16px; font-weight:600;
    margin:0 0 6px;
  }
  .step-card p{margin:0; font-size:14px; color:var(--muted); line-height:1.6;}

  /* ===================== HELP / GUIDE CALLOUT ===================== */
  .help-callout{
    max-width:900px; margin:clamp(40px,7vw,72px) auto 0;
    padding:clamp(24px,4vw,36px);
    background:linear-gradient(135deg, var(--ink), #24304A);
    border-radius:20px; color:#fff;
    display:flex; align-items:center; justify-content:space-between; gap:24px;
    flex-wrap:wrap;
    box-shadow:0 14px 40px rgba(27,36,48,0.24);
  }
  .help-callout .kicker{color:var(--gold);}
  .help-callout .section-title{color:#fff; margin-top:4px;}
  .help-callout .section-sub{color:rgba(255,255,255,0.72); margin-top:8px;}
  .help-callout-text{max-width:560px;}
  .help-callout-btn{
    display:inline-flex; align-items:center; gap:8px; flex:none;
    background:#fff; color:var(--ink);
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:15px;
    padding:13px 22px; border-radius:11px; text-decoration:none;
    box-shadow:0 4px 14px rgba(0,0,0,0.20);
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .help-callout-btn:hover{transform:translateY(-2px); box-shadow:0 8px 22px rgba(0,0,0,0.28);}
  .help-callout-btn svg{transition:transform .18s ease;}
  .help-callout-btn:hover svg{transform:translateX(3px);}

  /* ===================== FAQ ===================== */
  .faq-list{display:flex; flex-direction:column; gap:10px;}
  .faq-item{
    background:#fff; border:1.5px solid var(--panel-line); border-radius:14px;
    overflow:hidden; transition:border-color .18s ease, box-shadow .18s ease;
  }
  .faq-item[open]{border-color:#D6CFBE; box-shadow:0 6px 18px rgba(27,36,48,0.07);}
  .faq-item summary{
    list-style:none; cursor:pointer;
    padding:17px 20px; font-weight:600; font-size:15.5px;
    font-family:'Space Grotesk', sans-serif;
    display:flex; align-items:center; justify-content:space-between; gap:14px;
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-chev{
    flex:none; width:11px; height:11px; position:relative; margin-right:2px;
  }
  .faq-chev::before, .faq-chev::after{
    content:""; position:absolute; top:50%; left:50%;
    width:11px; height:2px; border-radius:2px; background:var(--teal);
    transform:translate(-50%,-50%); transition:transform .22s ease;
  }
  .faq-chev::after{transform:translate(-50%,-50%) rotate(90deg);}
  .faq-item[open] .faq-chev::after{transform:translate(-50%,-50%) rotate(0deg);}
  .faq-body{
    padding:0 20px 18px; font-size:14.5px; color:var(--muted); line-height:1.65;
    animation:faq-open .28s ease;
  }
  .faq-body p{margin:0;}
  @keyframes faq-open{from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;}}

  /* ===================== FOOTER ===================== */
  .site-footer{
    margin:clamp(52px,8vw,88px) 0 0;
    padding:0;
    background:var(--blue-dark);
    color:#E7EAF0;
    position:relative;
  }
  /* Accent band across the top of the footer. */
  .site-footer::before{
    content:"";
    display:block; height:4px;
    background:var(--blue);
  }
  .footer-grid{
    max-width:1080px; margin:0 auto;
    padding:48px 24px 28px;
  }
  @media (max-width:480px){ .footer-grid{padding:36px 16px 24px;} }
  .site-footer .footer-tag{color:#AEB6C4;}
  .site-footer .footer-col h4{color:#FFFFFF;}
  .site-footer .footer-col a,
  .site-footer .footer-brand{color:#D4DAE4;}
  .site-footer .footer-col a:hover{color:#FFFFFF;}
  .site-footer .footer-col a.footer-email{
    color:#EAF0FA; font-weight:600; margin-top:8px;
    font-size:13.5px; word-break:break-all;
  }
  .site-footer .footer-col a.footer-email:hover{color:#FFFFFF; text-decoration:underline;}
  .site-footer .footer-bottom{
    max-width:1080px; margin:0 auto;
    padding:18px 24px;
    border-top:1px solid rgba(255,255,255,0.12);
    color:#AEB6C4;
  }
  @media (max-width:480px){ .site-footer{padding:36px 16px 28px;} }
  .footer-grid{
    display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px;
  }
  @media (max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:440px){ .footer-grid{grid-template-columns:1fr; gap:26px;} }
  .footer-brand{font-size:15px; margin-bottom:12px;}
  .footer-tag{font-size:13.5px; color:var(--muted); line-height:1.6; margin:0; max-width:34ch;}
  .footer-col h4{
    font-family:'JetBrains Mono', monospace; font-size:11.5px; letter-spacing:0.08em;
    text-transform:uppercase; color:var(--muted); margin:0 0 12px;
  }
  .footer-col a{
    display:block; color:var(--ink); text-decoration:none;
    font-size:14px; padding:5px 0;
    transition:color .15s ease, transform .15s ease;
  }
  .footer-col a:hover{color:var(--teal); transform:translateX(3px);}
  .footer-bottom{
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    flex-wrap:wrap;
    margin-top:36px; padding-top:20px; border-top:1px solid var(--panel-line);
    font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--muted);
  }

  /* ===================== SCROLL REVEAL ANIMATION ===================== */
  .reveal{opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease;}
  .reveal.in{opacity:1; transform:none;}
  .steps-grid .step-card.reveal{transition-delay:.05s;}
  .steps-grid .step-card:nth-child(2).reveal{transition-delay:.13s;}
  .steps-grid .step-card:nth-child(3).reveal{transition-delay:.21s;}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
  }

  /* ===================== SUBPAGE CONTENT ===================== */
  .page-wrap{max-width:1200px; margin:0 auto; padding:44px 24px 0;}
  @media (max-width:480px){ .page-wrap{padding:28px 16px 0;} }
  .page-header{margin-bottom:28px;}
  .page-h1{
    font-family:'Space Grotesk', sans-serif; font-weight:700;
    font-size:clamp(28px,4.4vw,40px); line-height:1.1; letter-spacing:-0.02em;
    margin:12px 0 0;
  }
  .page-h1 .grad{
    background:linear-gradient(120deg, var(--blue), var(--blue-light));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .page-intro{font-size:16.5px; line-height:1.6; color:var(--muted); max-width:82ch; margin:16px 0 0;}
  .content-card{
    position:relative;
    background:#fff; border:1.5px solid var(--panel-line); border-radius:18px;
    box-shadow:0 2px 6px rgba(27,36,48,0.05), 0 14px 36px rgba(27,36,48,0.09);
    overflow:hidden;
  }
  .content-card::before{
    content:""; position:absolute; top:0; left:0; right:0; height:4px;
    background:linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-light));
  }
  .content-sec{padding:26px 30px;}
  .content-sec + .content-sec{border-top:1px solid var(--panel-line);}
  @media (max-width:480px){ .content-sec{padding:20px 18px;} }
  .content-sec h2{
    font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:18px;
    margin:0 0 12px; display:flex; align-items:center; gap:10px;
  }
  .content-sec h2 .ic{
    width:32px; height:32px; border-radius:9px; flex:none;
    display:grid; place-items:center; background:var(--blue-lighter); color:var(--blue);
  }
  .content-sec p{font-size:14.8px; line-height:1.68; color:#3A4150; margin:0 0 12px;}
  .content-sec p:last-child{margin-bottom:0;}
  .content-sec a{color:var(--blue); text-underline-offset:2px;}
  .content-sec code{
    font-family:'JetBrains Mono', monospace; font-size:12.5px;
    background:var(--panel); padding:1px 6px; border-radius:6px;
  }
  .guide-steps{list-style:none; margin:0; padding:0; counter-reset:g;}
  .guide-steps li{
    position:relative; padding:0 0 18px 44px; counter-increment:g;
  }
  .guide-steps li::before{
    content:counter(g); position:absolute; left:0; top:-2px;
    width:30px; height:30px; border-radius:50%;
    background:var(--ink); color:var(--paper);
    display:grid; place-items:center; font-family:'JetBrains Mono', monospace;
    font-size:13px; font-weight:700;
  }
  .guide-steps li:not(:last-child)::after{
    content:""; position:absolute; left:14px; top:32px; bottom:2px;
    width:1.5px; background:var(--panel-line);
  }
  .guide-steps strong{display:block; font-size:15px; margin-bottom:3px; font-family:'Space Grotesk', sans-serif;}
  .guide-steps span{font-size:14px; color:var(--muted); line-height:1.6;}
  .fmt-guide{display:flex; flex-direction:column; gap:14px;}
  .fmt-guide-row{display:flex; gap:14px; align-items:flex-start;}
  .fmt-badge{
    flex:none; font-family:'JetBrains Mono', monospace; font-size:11.5px; font-weight:700;
    background:var(--panel); border:1px solid var(--panel-line); border-radius:8px;
    padding:6px 9px; min-width:52px; text-align:center; color:var(--ink);
  }
  .fmt-guide-row .fg-text strong{display:block; font-size:14.5px; margin-bottom:2px;}
  .fmt-guide-row .fg-text span{font-size:13.5px; color:var(--muted); line-height:1.55;}
  .callout-tip{
    background:var(--success-bg); border:1px solid #C9D6EC; border-radius:12px;
    padding:14px 16px; font-size:14px; color:var(--teal-dark); line-height:1.6;
    display:flex; gap:10px;
  }
  .callout-tip svg{flex:none; margin-top:1px;}
  .back-home{
    display:inline-flex; align-items:center; gap:7px; margin-top:26px;
    color:var(--teal); text-decoration:none; font-weight:600; font-size:14.5px;
  }
  .back-home:hover{gap:10px;}
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  @media (max-width:560px){ .contact-grid{grid-template-columns:1fr;} }
  .contact-tile{
    border:1.5px solid var(--panel-line); border-radius:14px; padding:18px;
    display:flex; flex-direction:column; gap:9px; background:#fff;
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .contact-tile:hover{transform:translateY(-3px); box-shadow:0 12px 28px rgba(27,36,48,0.10);}
  .contact-tile .ct-ic{
    width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
    background:var(--panel); color:var(--teal);
  }
  .contact-tile h3{font-family:'Space Grotesk', sans-serif; font-size:15px; margin:0;}
  .contact-tile p{font-size:13.5px; color:var(--muted); margin:0; line-height:1.5;}
  .contact-tile a.ct-act{
    font-family:'JetBrains Mono', monospace; font-size:12.5px; font-weight:600;
    color:var(--teal); text-decoration:none; margin-top:2px;
    display:inline-flex; align-items:center; gap:6px;
  }
  .contact-tile a.ct-act:hover{text-decoration:underline;}
  .placeholder-note{
    font-family:'JetBrains Mono', monospace; font-size:11.5px; color:var(--gold-dark);
    background:#EEF2F8; border:1px solid #C9D6EC; border-radius:8px;
    padding:10px 12px; margin-top:18px; line-height:1.5;
  }

  .page-wrap .site-footer{margin-top:clamp(40px,7vw,72px);}

  .callout-tip.mb{margin-bottom:14px;}

  /* ===================== LONG-FORM CONTENT SECTION ===================== */
  .prose-section{max-width:1200px; margin:0 auto; padding:clamp(40px,7vw,72px) 24px 0;}
  @media (max-width:480px){ .prose-section{padding:44px 16px 0;} }
  .prose-section h2{
    font-family:'Space Grotesk', sans-serif; font-weight:700;
    font-size:clamp(21px,3.4vw,28px); line-height:1.18; letter-spacing:-0.01em;
    margin:0 0 6px;
  }
  .prose-section h3{
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:18px;
    margin:30px 0 8px;
  }
  .prose-section p{font-size:15.5px; line-height:1.72; color:#3A4150; margin:0 0 14px;}
  .prose-section p:last-child{margin-bottom:0;}
  .prose-section a{color:var(--teal); text-underline-offset:2px;}
  .prose-lede{font-size:16.5px; color:var(--muted); line-height:1.65; margin-bottom:8px;}
  .prose-divider{
    height:1px; background:var(--panel-line); border:0;
    max-width:760px; margin:clamp(40px,7vw,68px) auto 0;
  }
  .usecase-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:20px 0 6px;
  }
  @media (max-width:560px){ .usecase-grid{grid-template-columns:1fr;} }
  .usecase{
    background:#fff; border:1.5px solid var(--panel-line); border-radius:14px;
    padding:18px 20px;
  }
  .usecase h4{
    font-family:'Space Grotesk', sans-serif; font-size:15px; margin:0 0 6px;
    display:flex; align-items:center; gap:9px;
  }
  .usecase h4 .uic{
    width:30px; height:30px; border-radius:8px; flex:none; display:grid; place-items:center;
    background:var(--success-bg); color:var(--teal-dark);
  }
  .usecase p{font-size:13.8px; line-height:1.6; color:var(--muted); margin:0;}

  /* ===================== SEARCH PAGE ===================== */
  .search-box{
    position:relative; max-width:640px; margin:8px 0 6px;
  }
  .search-box .search-ic{
    position:absolute; left:16px; top:50%; transform:translateY(-50%);
    color:var(--muted); pointer-events:none;
  }
  #searchInput{
    width:100%; box-sizing:border-box;
    padding:15px 16px 15px 46px;
    font-family:'Inter', system-ui, sans-serif; font-size:16px; color:var(--ink);
    background:#fff; border:1.5px solid var(--panel-line); border-radius:13px;
    box-shadow:0 2px 6px rgba(27,36,48,0.05);
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  #searchInput:focus{
    outline:none; border-color:var(--teal);
    box-shadow:0 0 0 3px rgba(47,111,94,0.14);
  }
  .search-summary{font-size:14px; color:var(--muted); margin:14px 0 16px;}
  .search-results-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
  .search-result{margin:0;}
  .sr-link{
    display:block; text-decoration:none;
    background:#fff; border:1.5px solid var(--panel-line); border-radius:13px;
    padding:16px 18px;
    transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  }
  .sr-link:hover{
    transform:translateY(-2px); border-color:#D6CFBE;
    box-shadow:0 10px 26px rgba(27,36,48,0.10);
  }
  .sr-page{
    display:inline-block; font-family:'JetBrains Mono', monospace;
    font-size:11px; letter-spacing:0.05em; text-transform:uppercase;
    color:var(--teal-dark); background:var(--success-bg);
    padding:3px 9px; border-radius:999px; margin-bottom:8px;
  }
  .sr-heading{
    display:block; font-family:'Space Grotesk', sans-serif; font-weight:600;
    font-size:16px; color:var(--ink); margin-bottom:5px;
  }
  .sr-snippet{display:block; font-size:14px; line-height:1.6; color:var(--muted);}
  .sr-snippet mark{
    background:#FBECC2; color:var(--ink); border-radius:3px; padding:0 2px;
  }
  .search-suggests{
    display:flex; flex-wrap:wrap; align-items:center; gap:9px;
    margin-top:26px; padding-top:20px; border-top:1px solid var(--panel-line);
  }
  .search-suggests .ss-label{
    font-family:'JetBrains Mono', monospace; font-size:11.5px;
    text-transform:uppercase; letter-spacing:0.06em; color:var(--muted);
  }
  .search-suggests a{
    font-size:13.5px; color:var(--ink); text-decoration:none;
    background:#fff; border:1px solid var(--panel-line); border-radius:999px;
    padding:6px 14px; transition:border-color .15s ease, color .15s ease, background .15s ease;
  }
  .search-suggests a:hover{border-color:var(--teal); color:var(--teal-dark); background:var(--success-bg);}
  /* header search icon link */
  .nav-search{display:inline-flex; align-items:center; gap:6px;}

  /* ===================== HERO ANIMATED ROTATOR ===================== */
  .hero-rotator{
    display:flex; align-items:center; gap:10px;
    margin-top:22px;
    font-family:'Space Grotesk', sans-serif;
    font-size:16px; font-weight:600;
  }
  .hero-rotator-label{color:var(--teal); white-space:nowrap;}
  .hero-rotator-words{
    position:relative;
    display:inline-block;
    height:1.5em; overflow:hidden;
    min-width:150px;
  }
  .hero-rotator-words span{
    display:block; height:1.5em; line-height:1.5em;
    color:var(--ink);
    animation:rotateWords 8s infinite;
    opacity:0;
  }
  .hero-rotator-words span:nth-child(1){animation-delay:0s;}
  .hero-rotator-words span:nth-child(2){animation-delay:2s;}
  .hero-rotator-words span:nth-child(3){animation-delay:4s;}
  .hero-rotator-words span:nth-child(4){animation-delay:6s;}
  @keyframes rotateWords{
    0%   {opacity:0; transform:translateY(100%);}
    5%   {opacity:1; transform:translateY(0);}
    22%  {opacity:1; transform:translateY(0);}
    27%  {opacity:0; transform:translateY(-100%);}
    100% {opacity:0; transform:translateY(-100%);}
  }
  /* Gentle entrance for the whole hero. */
  .hero-text{animation:heroFadeUp .7s ease both;}
  @keyframes heroFadeUp{
    from{opacity:0; transform:translateY(16px);}
    to{opacity:1; transform:none;}
  }
  /* Shimmer sweep on the gradient accent word. */
  h1 .accent{
    background:linear-gradient(120deg, var(--teal), var(--gold), var(--teal));
    background-size:200% auto;
    -webkit-background-clip:text; background-clip:text; color:transparent;
    animation:accentShimmer 6s linear infinite;
  }
  @keyframes accentShimmer{
    to{background-position:200% center;}
  }
  @media (prefers-reduced-motion: reduce){
    .hero-rotator-words span{animation:none; opacity:1; position:absolute; top:0;}
    .hero-rotator-words span:nth-child(1){opacity:1;}
    .hero-rotator-words span:nth-child(n+2){opacity:0;}
    .hero-text{animation:none;}
    h1 .accent{animation:none;}
  }

  /* ===================== TO-PDF MODE TOGGLE ===================== */
  .mode-toggle{
    display:flex; gap:6px;
    background:#EEF2F8; border:1px solid #D3E0F2;
    border-radius:12px; padding:5px; margin:4px 4px 20px;
  }
  .mode-btn{
    flex:1; border:0; cursor:pointer;
    background:var(--blue-lighter); color:var(--blue-dark);
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:13.5px;
    padding:11px 12px; border-radius:9px;
    transition:background .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .mode-btn:hover:not(.active){background:#CBDBF7; color:var(--blue-dark);}
  .mode-btn.active{
    background:var(--blue); color:#fff;
    box-shadow:0 1px 3px rgba(31,56,100,0.25);
  }
  @media (max-width:480px){
    .mode-toggle{flex-direction:column;}
    .mode-btn{font-size:13px;}
  }
  .topdf-note{margin-top:10px;}
  .inline-result.err{
    margin-top:12px; padding:12px 14px; border-radius:10px;
    background:var(--danger-bg); border:1px solid #EBC9BC; color:var(--danger);
    font-size:14px;
  }
  .inline-result.ok{
    margin-top:12px; padding:12px 14px; border-radius:10px;
    background:var(--success-bg); border:1px solid #C9D6EC; color:var(--teal-dark);
    font-size:14px; font-weight:600;
  }

  /* ===================== HERO ANIMATED UPLOAD/DOWNLOAD ===================== */
  .hero-io{
    display:flex; gap:14px; margin-top:22px;
  }
  .io-badge{
    display:inline-flex; align-items:center; gap:8px;
    padding:9px 15px 9px 12px; border-radius:11px;
    background:var(--blue); color:#fff;
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:14px;
    box-shadow:0 3px 12px rgba(31,56,100,0.22);
  }
  .io-badge svg{width:20px; height:20px;}
  .io-up svg{animation:ioUp 1.6s ease-in-out infinite;}
  .io-down{background:var(--blue-dark);}
  .io-down svg{animation:ioDown 1.6s ease-in-out infinite;}
  @keyframes ioUp{
    0%,100%{transform:translateY(0); opacity:1;}
    50%{transform:translateY(-4px); opacity:.75;}
  }
  @keyframes ioDown{
    0%,100%{transform:translateY(0); opacity:1;}
    50%{transform:translateY(4px); opacity:.75;}
  }
  @media (prefers-reduced-motion: reduce){
    .io-up svg, .io-down svg{animation:none;}
  }
  @media (max-width:480px){
    .hero-io{flex-wrap:wrap;}
  }

  /* ===================== PROMINENT PRIVACY BANNER ===================== */
  .privacy-banner{
    display:flex; align-items:flex-start; gap:13px;
    margin:6px 0 22px;
    padding:15px 18px;
    background:#EEF2F8;
    border:1px solid #C9D6EC;
    border-left:4px solid var(--blue);
    border-radius:12px;
    color:var(--blue-dark);
  }
  .privacy-banner svg{flex:none; margin-top:1px; color:var(--blue);}
  .privacy-banner p{
    margin:0; font-size:15px; line-height:1.55; color:#33415C;
  }
  .privacy-banner strong{
    color:var(--blue-dark); font-weight:700;
  }

  /* Honest note about what formatting is preserved in conversion. */
  .format-note{
    font-size:12.5px; line-height:1.55; color:#5B6473;
    background:var(--blue-lighter); border:1px solid #D3E0F2;
    border-radius:9px; padding:11px 14px; margin:16px 0 0;
  }
  .format-note.mac-note{
    background:#F4F6FA; margin-top:8px;
  }
  .format-note.mac-note strong{color:var(--blue-dark);}
  .format-note code{
    font-family:'JetBrains Mono', monospace; font-size:0.86em;
    background:#fff; border:1px solid #D3E0F2;
    color:var(--blue-dark); padding:0 4px; border-radius:4px;
  }

  /* ===================== LISTEN (text-to-speech) MODE ===================== */
  .mode-toggle-3{ flex-wrap:wrap; }
  .mode-toggle-3 .mode-btn{ min-width:calc(33% - 8px); }
  @media (max-width:560px){ .mode-toggle-3 .mode-btn{ min-width:100%; } }

  .listen-controls{
    display:flex; gap:16px; flex-wrap:wrap; margin:4px 0 14px;
  }
  .listen-ctl{
    display:flex; align-items:center; gap:8px;
    font-size:13px; color:var(--blue-dark); font-weight:600;
  }
  .listen-ctl select{
    font-family:inherit; font-size:13px; padding:7px 10px;
    border:1px solid #C9D6EC; border-radius:8px; background:#fff; color:var(--ink);
    max-width:230px;
  }
  .listen-ctl input[type="range"]{ accent-color:var(--blue); width:120px; }
  .listen-rate-val{ font-variant-numeric:tabular-nums; color:#5B6473; min-width:34px; }

  .listen-now{
    background:var(--blue-lighter); border:1px solid #D3E0F2; border-radius:10px;
    padding:14px 16px; min-height:56px; font-size:15px; line-height:1.55;
    color:var(--ink); margin-bottom:14px;
  }
  .listen-now.speaking{ border-color:var(--blue); }

  .listen-transport{ display:flex; gap:10px; align-items:center; margin-bottom:16px; }
  .listen-btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:14px;
    padding:10px 16px; border-radius:10px; cursor:pointer;
    border:1px solid #C9D6EC; background:var(--blue-lighter); color:var(--blue-dark);
    transition:background .15s ease, color .15s ease;
  }
  .listen-btn:hover{ background:#CBDBF7; }
  .listen-btn:active{ background:var(--blue-dark); color:var(--blue-light); }
  .listen-btn-primary{ background:var(--blue); color:#fff; border-color:var(--blue); }
  .listen-btn-primary:hover{ background:var(--blue-dark); }
  .listen-btn-primary:active{ background:var(--blue-dark); color:var(--blue-light); }

  .listen-slider-wrap{ margin:4px 0 6px; }
  #listenPageSlider{ width:100%; accent-color:var(--blue); }
  .listen-page-label{
    display:flex; gap:6px; justify-content:center; margin-top:6px;
    font-size:13px; color:var(--blue-dark); font-weight:600;
  }
  .listen-page-total{ color:#5B6473; font-weight:500; }
  .listen-note{ margin-top:8px; }

  /* Language auto-detection status line for the Listen player. */
  .listen-status{
    font-size:13px; line-height:1.5; color:var(--blue-dark);
    background:#F4F6FA; border:1px solid #D3E0F2; border-radius:8px;
    padding:9px 12px; margin:0 0 12px;
  }

  /* ===================== SUPPORT / DONATION ===================== */
  /* Inline support line under the converter card. */
  .support-inline{
    max-width:1200px; margin:22px auto 0; padding:14px 22px;
    background:var(--blue-lighter); border:1px solid #D3E0F2; border-radius:12px;
    font-size:14.5px; line-height:1.55; color:#3A4150;
    display:flex; flex-wrap:wrap; gap:6px; align-items:center; justify-content:center;
    text-align:center;
  }
  .support-inline a{
    color:var(--blue); font-weight:600; text-decoration:none;
    white-space:nowrap;
  }
  .support-inline a:hover{ text-decoration:underline; }

  /* Footer support block. */
  .footer-support{ margin-top:18px; }
  .footer-support-text{
    font-size:13px; line-height:1.55; color:#AEB6C4; margin:0 0 10px; max-width:34ch;
  }
  .support-btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:13.5px;
    padding:9px 16px; border-radius:10px; text-decoration:none;
    background:#EAF0FA; color:var(--blue-dark);
    transition:background .15s ease, transform .08s ease;
  }
  .support-btn svg{ color:var(--blue); }
  .support-btn:hover{ background:#fff; }
  .support-btn:active{ transform:scale(0.98); }
